Skip to main content

HydroMT: Automated and reproducible model building and analysis.

Project description

PyPI Conda-Forge Latest developers docs Stable docs last release Binder License Zenodo joss_paper Coverage SonarQube status

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 including xarray, rasterio, rioxarray, geopandas, scipy and pyflwdir.

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 process fast, modular and reproducible by configuring the model building process from a single yaml configuration file and model- and data-agnostic through a common model and data interface.

How to use HydroMT?

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 model plugins

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).

  • hydromt_delft3dfm: A flexible mesh hydrodynamic suite for 1D2D and 2D3D modelling (Delft3D FM).

How to cite?

For publications, please cite our JOSS paper 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 Zenodo that 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 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.

Changelog

See the full changelog for a complete list of changes and release notes.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hydromt-1.4.0rc1.tar.gz (818.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hydromt-1.4.0rc1-py3-none-any.whl (304.9 kB view details)

Uploaded Python 3

File details

Details for the file hydromt-1.4.0rc1.tar.gz.

File metadata

  • Download URL: hydromt-1.4.0rc1.tar.gz
  • Upload date:
  • Size: 818.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for hydromt-1.4.0rc1.tar.gz
Algorithm Hash digest
SHA256 ad5a3576bb4983801f8af0d4446393e06629ed948ac83b6962657b7bd1c897f6
MD5 abd342a7f2eff80e08d047c2fd3f0ba7
BLAKE2b-256 568cd384fc0c6b140607b9ee7596124277d352073ca61f84836b5dda6a62281e

See more details on using hashes here.

File details

Details for the file hydromt-1.4.0rc1-py3-none-any.whl.

File metadata

  • Download URL: hydromt-1.4.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 304.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for hydromt-1.4.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 2ce16e114a979542bc4bd492b92b221e898b5c68e51ccffe73a96859d4a06b26
MD5 acd914a3faff9d343346b5cda374bdd0
BLAKE2b-256 ea6d8a0db512b19735883b6511987e283a6dd2967427c5876f969049f212e338

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page