Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Then open a terminal and type:

Code Block
languagebash
themeEmacs
titleSet up the python local environment and install required packages
# create a local virtual environment, you can call it as you wish, here 'myenv' is used.
conda create -n myenv python=3.8 

# add repository channel
conda config --add channels conda-forge

# activate the local environment. 
conda activate myenv

# install the required packages
conda install -c conda-forge/label/main xarray cfgrib eccodes netcdf4

# make sure you have installed eccodes version >= 2.23.0 
python -c "import eccodes; print(eccodes.__version__)"

...