Python Package Installation#

Once Miniconda is installed, use it to create a dedicated environment for PyClm101.

πŸ› οΈ Create and Configure the Environment#

conda update conda
conda create -n geocat -c conda-forge geocat-comp geocat-viz
conda install -n geocat -c conda-forge jupyter jupyterlab ncview cmap ipynbname

🐍 Activate the Environment#

conda activate geocat

πŸ”§ Set Up Jupyter Kernel for This Environment#

After activating the environment, register it as a kernel for Jupyter:

python -m ipykernel install --user --name geocat --display-name "Python (geocat)"

This will allow you to select β€œPython (geocat)” from both Jupyter Notebook and JupyterLab interfaces.

πŸ“¦ Optional: GRIB Support#

If you’ll be working with GRIB data (common in ECMWF datasets):

conda install -c conda-forge cfgrib eccodes

Note: These may take longer to install due to their dependencies.