Installation Guide#

Prerequisites#

For more information about the prerequisites for an installation of the HydroMT package and related dependencies, please visit the documentation of HydroMT core

Compared to HydroMT, HydroMT-Wflow has additional dependencies, namely:

If you already have a python & conda installation but do not yet have mamba installed, we recommend installing it into your base environment using:

$ conda install mamba -n base -c conda-forge

Installation#

HydroMT-Wflow is available from pypi and conda-forge. We recommend installing using mamba from conda-forge in a new environment.

Note

In the commands below you can exchange mamba for conda, see here for the difference between both.

Install HydroMT-Wflow in an existing environment#

To install HydroMT-Wflow in an existing environment execute the command below where you replace <environment_name> with the name of the existing environment. Note that if some dependencies are not installed from conda-forge but from other channels the installation may fail.

$ mamba install -c conda-forge hydromt_wflow -n <environment_name>

Note

Please take into account that gwwapi or hydroengine packages are not available from conda and therefore have to be installed from pypi separately.

$ pip install gwwapi
$ pip install hydroengine

Developer install#

To be able to test and develop the HydroMT-Wflow package see instructions in the Developer installation guide.