Skip to content

Instantly share code, notes, and snippets.

@tommylees112
Created April 5, 2021 08:50
Show Gist options
  • Save tommylees112/a0960f8dea3f6095d8a3d45b80b61efc to your computer and use it in GitHub Desktop.
Save tommylees112/a0960f8dea3f6095d8a3d45b80b61efc to your computer and use it in GitHub Desktop.
working metpy conda environment
# metpy_env.sh
conda create -n metpy --yes
conda activate metpy
conda install -c conda-forge metpy --yes
conda install -c conda-forge matplotlib tqdm jupyterlab ipython pip ruamel.yaml xarray descartes black mypy --yes
# NOTE: can only install geopandas with conda if python=3.7
# conda install -c conda-forge geopandas --yes
# pip install geopandas
# test it has worked
ipython -c "import metpy; import xarray; print('Downloaded and installed!')"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment