HydroMT (Hydro Model Tools) is an open-source Python package that facilitates the process of building and analyzing spatial geoscientific models with a focus on water system models. It does so by automating the workflow to go from raw data to a complete model instance which is ready to run and to analyse model results once the simulation has finished. HydroMT builds on the latest packages in the scientific and geospatial python eco-system including xarray, rasterio, rioxarray, geopandas, scipy and pyflwdir.
Setting up spatial geoscientific models typically requires many (manual) steps to process input data and might therefore be time consuming and hard to reproduce. Especially improving models based on global geospatial datasets, which are rapidly becoming available at increasingly high resolutions, might be challenging. Furthermore, analyzing model schematization and results from different models, which often use model-specific peculiar data formats, can be time consuming. This package aims to make the model building process fast, modular and reproducible by configuring the model building process from a single ini configuration file and model- and data-agnostic through a common model and data interface.
HydroMT can be used as a command line application (CLI) which provides commands to build, update and clip models with a single line, or from Python to exploit its rich interface. You can learn more about how to use HydroMT in its online documentation. For a smooth installing experience, we recommend installing HydroMT and its dependencies from conda-forge in a clean environment, see installation guide.
HydroMT is commonly used in combination with a model plugin which provides a HydroMT implementation for specific model software. Using the plugins allows to prepare a ready-to-run set of input files from raw geoscientific datasets and analyse model results in a fast and reproducible way. Known model plugins include:
- hydromt_wflow: A framework for distributed rainfall-runoff (wflow_sbm) and sediment transport (wflow_sediment) modelling.
- hydromt_delwaq: A framework for water quality (D-Water Quality) and emissions (D-Emissions) modelling.
- hydromt_sfincs: A fast 2D hydrodynamic flood model (SFINCS).
- hydromt_fiat: A flood impact model (FIAT).
For publications, please cite our JOSS paper
- ::
- Eilander et al., (2023). HydroMT: Automated and reproducible model building and analysis. Journal of Open Source Software, 8(83), 4897, https://doi.org/10.21105/joss.04897
To cite a specific software version please use the DOI provided in the Zenodo badge
that points to the latest release.
If you find any issues in the code or documentation feel free to leave an issue on the github issue tracker. You can find information about how to contribute to the HydroMT project at our contributing page.
HydroMT seeks active contribution from the (hydro) geoscientific community. So far, it has been developed and tested with a range of Deltares models, but we believe it is applicable to a much wider set of geoscientific models and are happy to discuss how it can be implemented for your model.