...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
# 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__)" |
...