2. Installation
THUNER uses conda
or pip for installation and to manage dependencies.
First ensure either conda or pip is installed; conda is the preferred method. Note
that THUNER depends on xesmf for regridding, which is not currently supported on
Windows. While THUNER can still be installed on Windows systems, some features may not
work as intended.
2.1. From GitHub
The THUNER repository can be cloned from GitHub in the usual ways. Cloning the repository is the easiest way to access the demo, workflow and gallery folders. After cloning, navigate to the THUNER directory and create a new conda environment using
conda env create -f environment.yml
conda activate thuner
Then run
pip install .
from the THUNER root directory.
2.2. From conda-forge
Alternatively, THUNER can be installed using conda. Create a new conda environment
as above, then run
conda install -c conda-forge thuner
2.3. From PyPI
While conda installation is preferred, pip may also be used to install directly
from PyPI. First install the esmpy package manually as detailed
here.
Then run
pip install thuner