Skip to content
Snippets Groups Projects
install_instructions.txt 1.04 KiB
###################
# Instructions for installing enstools-feature using conda
# You can download miniconda for free at:
# https://docs.conda.io/en/latest/miniconda.html
###################
# 

# Go into the current directory
cd enstools-feature

# Create a conda environment:

conda create --name enstools-feature python=3.7
conda activate enstools-feature

conda config --add channels conda-forge
conda config --set channel_priority strict

# Install requirements listed in given venv_setup.sh:
# Force install cartopy using conda to fetch conda versions of dependencies
# Otherwise enstools will install cartopy without them leading to errors
# Also gives us free cross-platform
# Also need to downgrade numpy

conda install -c conda-forge cartopy
pip install wheel numpy==1.20.0

# Integrate git and the public enstools repo
pip install -e git+https://github.com/wavestoweather/enstools.git@main#egg=enstools

# Install requirements for the enstools-feature package
conda install --file requirements.txt

# Install enstools as source package
pip install -e .