Examples#

https://mybinder.org/badge_logo.svg

This folder contains several iPython notebook examples for HydroMT-wflow.

These examples can be run online or on your local machine. To run these examples online press the binder badge above.

Local installation#

To run these examples on your local machine you need a copy of the examples folder of the repository and an installation of HydroMT-Wflow including some additional packages required to run the notebooks.

1 - Install HydroMT-wflow#

The first step is to install HydroMT-Wflow and the other Python dependencies in a separate environment, see the Install HydroMT-Wflow in a new environment section in the installation guide

2 - Download the content of the HydroMT github repository#

To run the examples locally, you will need to download the content of the examples folder in the HydroMT-Wflow repository. You can do a manual download and extract the content of the downloaded ZIP folder or clone the repository locally (this requires git):

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

3 - Running the examples#

Finally, start a jupyter lab server inside the examples folder after activating the hydromt-wflow environment, see below.

Alternatively, you can run the notebooks from Visual Studio Code.

$ conda activate hydromt-wflow
$ cd hydromt-wflow/examples
$ jupyter lab

List of examples#

For a static (non-interactive) view of the examples follow one of the links below:

Build model from command line interface

Update model from command line interface

Clip model from command line interface

Pre- Post-processing and visualization