Developer’s environment#

If you want to download the HydroMT-Wflow plugin directly from git to easily have access to the latest developments or make changes to the code you can use the following steps.

First, clone the HydroMT-Wflow plugin git repo from github, then navigate into the the code folder (where the envs folder and pyproject.toml are located):

$ git clone https://github.com/Deltares/hydromt_wflow.git
$ cd hydromt_wflow

Then, make and activate a new hydromt-wflow conda environment based on the envs/hydromt-wflow.yml file contained in the repository:

$ conda env create -f envs/hydromt-wflow.yml
$ conda activate hydromt-wflow

If you wish to make changes in HydroMT-Wflow, you should make an editable install of the plugin. This can be done with:

$ pip install -e .

If you encounter issues with the installation of some packages, you might consider cleaning conda to remove unused packages and caches. This can be done through the following command from your base environment:

$ conda clean -a