Make Your Own Python Environment/Kernel:

  1. Make new environment/kernel:
wget https://raw.githubusercontent.com/ocp-cmdg/ingrid2python/main/assets/pangeo.yml
# edit pangeo.yml, adding other packages you would like to start with
conda env create -f pangeo.yml -n my-pangeo
  1. Add new kernel to your jupyter list:
conda activate my-pangeo
ipython kernel install --user --name=my-pangeo
conda deactivate

CONGRATULATIONS! - your new kernel should be added to the list!


Other useful commands:

jupyter kernelspec list
jupyter kernelspec uninstall my-pangeo
cd ~/miniconda3/envs/my-pangeo/lib/python3.7/site-packages/
conda activate my-pangeo
conda install package-name
conda deactivate




Basic Examples : Advanced Examples : Plotting : Troubleshooting : Notebooks

 

XARRAY LINKS: User Guide : How Do I...?