Package: hydromt
What is HydroMT?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 includingxarray,rasterio,rioxarray,geopandas,scipyandpyflwdir.Why HydroMT?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 processfast,modularandreproducibleby configuring the model building process from a singleiniconfiguration file
andmodel- and data-agnosticthrough a common model and data interface.How to use HydroMT?HydroMT can be used as acommand lineapplication (CLI) which provides commands tobuild,updateandclipmodels with a single line, orfrom Pythonto exploit its rich interface.
You can learn more about how to use HydroMT in itsonline documentation.For a smooth installing experience, we recommend installing HydroMT and its dependencies
from conda-forge in a clean environment, seeinstallation guide.HydroMT model pluginsHydroMT is commonly used in combination with amodel pluginwhich
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).hydromt_delft3dfm: A flexible mesh hydrodynamic suite for 1D2D and 2D3D modelling (Delft3D FM).How to cite?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.04897To cite a specific software version please use the DOI provided in the Zenodo badgethat points to the latest release.How to contribute?If you find any issues in the code or documentation feel free to leave an issue on thegithub issue tracker.You can find information about how to contribute to the HydroMT project at ourcontributing page.HydroMT seeks active contribution from the (hydro) geoscientific community.
So far, it has been developed and tested with a range ofDeltaresmodels, 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.