A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

HydroMT

An open-source Python package that facilitates the process of building and analyzing spatial geoscientific models with a focus on water system model.
https://github.com/Deltares/hydromt

Category: Hydrosphere
Sub Category: Freshwater and Hydrology

Keywords

geoscience hydrodynamics hydrology modeling

Keywords from Contributors

hydrological-modelling measur wflow control transforms products reporting simulator features annotation

Last synced: about 5 hours ago
JSON representation

Repository metadata

HydroMT: Automated and reproducible model building and analysis

README.rst

          .. _readme:

===============================================================
HydroMT: Automated and reproducible model building and analysis
===============================================================

|pypi| |conda forge| |docs_latest| |docs_stable| |binder| |license| |doi| |joss_paper| |sonarqube_coverage| |sonarqube|


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


.. _scipy: https://scipy.org/
.. _xarray: https://xarray.pydata.org
.. _geopandas: https://geopandas.org
.. _rioxarray: https://corteva.github.io/rioxarray/stable/
.. _rasterio: https://rasterio.readthedocs.io
.. _pyflwdir: https://deltares.github.io/pyflwdir
.. _hydromt_wflow: https://deltares.github.io/hydromt_wflow
.. _hydromt_sfincs: https://deltares.github.io/hydromt_sfincs
.. _hydromt_delwaq: https://deltares.github.io/hydromt_delwaq
.. _hydromt_fiat: https://deltares.github.io/hydromt_fiat
.. _hydromt_delft3dfm: https://deltares.github.io/hydromt_delft3dfm

.. |pypi| image:: https://img.shields.io/pypi/v/hydromt.svg?style=flat
    :alt: PyPI
    :target: https://pypi.org/project/hydromt/

.. |conda forge| image:: https://anaconda.org/conda-forge/hydromt/badges/version.svg
    :alt: Conda-Forge
    :target: https://anaconda.org/conda-forge/hydromt

.. |sonarqube_coverage| image:: https://sonarcloud.io/api/project_badges/measure?project=Deltares_hydromt&metric=coverage
    :alt: Coverage
    :target: https://sonarcloud.io/summary/new_code?id=Deltares_hydromt

.. |docs_latest| image:: https://img.shields.io/badge/docs-latest-brightgreen.svg
    :alt: Latest developers docs
    :target: https://deltares.github.io/hydromt/latest

.. |docs_stable| image:: https://img.shields.io/badge/docs-stable-brightgreen.svg
    :target: https://deltares.github.io/hydromt/stable
    :alt: Stable docs last release

.. |binder| image:: https://mybinder.org/badge_logo.svg
    :alt: Binder
    :target: https://mybinder.org/v2/gh/Deltares/hydromt/main?urlpath=lab/tree/examples

.. |doi| image:: https://zenodo.org/badge/348020332.svg
    :alt: Zenodo
    :target: https://zenodo.org/badge/latestdoi/348020332

.. |license| image:: https://img.shields.io/github/license/Deltares/hydromt?style=flat
    :alt: License
    :target: https://github.com/Deltares/hydromt/blob/main/LICENSE

.. |joss_paper| image:: https://joss.theoj.org/papers/10.21105/joss.04897/status.svg
   :target: https://doi.org/10.21105/joss.04897

.. |sonarqube| image:: https://sonarcloud.io/api/project_badges/measure?project=Deltares_hydromt&metric=alert_status
    :target: https://sonarcloud.io/summary/new_code?id=Deltares_hydromt
    :alt: SonarQube status

        

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 5 days ago

Total Commits: 1,320
Total Committers: 28
Avg Commits per committer: 47.143
Development Distribution Score (DDS): 0.625

Commits in past year: 171
Committers in past year: 14
Avg Commits per committer in past year: 12.214
Development Distribution Score (DDS) in past year: 0.62

Name Email Commits
Dirk Eilander d****r@g****m 495
Sam Vente s****3@g****m 219
hboisgon h****r@d****l 177
Brendan b****t@o****m 105
Jaap Langemeijer 3****l 64
Tjalling-dejong 9****g 62
Marnix 1****x 29
Anaïs Couasnon c****s@g****m 28
Indra Marth I****h@d****l 27
bouaziz l****z@d****l 25
JoostBuitink 4****k 19
alimeshgi 1****i 17
github-actions[bot] 4****] 9
dependabot[bot] 4****] 9
Sibren Loos s****s@d****l 7
daanrooze d****e@d****l 5
GitHub Actions Bot 3
Leynse t****4@g****m 3
roeldegoede 8****e 3
dalmijn 9****n 3
xiaohan.li-deltares x****i@d****l 2
rhutten 5****n 2
Albrecht Weerts A****s@d****l 2
Huite h****a@g****m 1
Martijn Visser m****r@g****m 1
markhegnauer 3****r 1
shartgring 1****g 1
veenstrajelmer 6****r 1

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 495
Total pull requests: 465
Average time to close issues: 4 months
Average time to close pull requests: 14 days
Total issue authors: 39
Total pull request authors: 24
Average comments per issue: 1.46
Average comments per pull request: 1.18
Merged pull request: 391
Bot issues: 0
Bot pull requests: 43

Past year issues: 105
Past year pull requests: 198
Past year average time to close issues: about 1 month
Past year average time to close pull requests: 7 days
Past year issue authors: 21
Past year pull request authors: 14
Past year average comments per issue: 0.9
Past year average comments per pull request: 0.81
Past year merged pull request: 157
Past year bot issues: 0
Past year bot pull requests: 39

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/Deltares/hydromt

Top Issue Authors

  • savente93 (128)
  • DirkEilander (86)
  • hboisgon (75)
  • Jaapel (53)
  • Tjalling-dejong (26)
  • dalmijn (19)
  • alimeshgi (15)
  • xldeltares (12)
  • veenstrajelmer (9)
  • roeldegoede (9)
  • deltamarnix (7)
  • abdulrehman565 (6)
  • couasnonanais (6)
  • jensdebruijn (5)
  • shartgring (5)

Top Pull Request Authors

  • savente93 (165)
  • DirkEilander (69)
  • Jaapel (58)
  • Tjalling-dejong (39)
  • deltamarnix (35)
  • dependabot[bot] (22)
  • github-actions[bot] (21)
  • hboisgon (19)
  • veenstrajelmer (7)
  • dalmijn (5)
  • roeldegoede (4)
  • B-Dalmijn (4)
  • IMarth (3)
  • Huite (2)
  • alimeshgi (2)

Top Issue Labels

  • Enhancement (261)
  • Needs refinement (173)
  • Bug (120)
  • V1 (99)
  • Documentation (60)
  • DataCatalog & DataAdapters (48)
  • Model (34)
  • Datasets (15)
  • RasterDataset (12)
  • GIS (11)
  • enhancement (9)
  • Workflows (6)
  • CLI & API (6)
  • documentation (6)
  • datasets (6)
  • Examples (5)
  • Blocked (4)
  • Spillover (4)
  • GeoDataset (4)
  • Tracking (3)
  • bug (3)
  • GeoDataFrame (3)
  • plugin-request (2)
  • Model processes (2)
  • Blocked issue (2)
  • Cloud (2)
  • Config (2)
  • Maintenance (2)
  • Plugin (1)
  • invalid (1)

Top Pull Request Labels

  • V1 (36)
  • Dependencies (20)
  • Documentation (11)
  • Bug (10)
  • github_actions (8)
  • Enhancement (6)
  • Examples (4)
  • enhancement (4)
  • RasterDataset (4)
  • datasets (3)
  • Model (2)
  • DataCatalog & DataAdapters (2)
  • dependencies (2)
  • Blocked PR (1)
  • GeoDataset (1)
  • GeoDataFrame (1)
  • bug (1)

Package metadata

pypi.org: hydromt

HydroMT: Automated and reproducible model building and analysis.

  • Homepage:
  • Documentation: https://deltares.github.io/hydromt
  • Licenses: MIT License
  • Latest release: 1.1.0 (published 15 days ago)
  • Last Synced: 2025-04-25T14:34:43.946Z (1 day ago)
  • Versions: 24
  • Dependent Packages: 6
  • Dependent Repositories: 8
  • Downloads: 2,183 Last month
  • Rankings:
    • Dependent packages count: 1.4%
    • Dependent repos count: 5.156%
    • Average: 6.58%
    • Downloads: 7.858%
    • Forks count: 9.115%
    • Stargazers count: 9.371%
  • Maintainers (2)
conda-forge.org: hydromt

  • Homepage: https://pypi.org/project/hydromt/
  • Licenses: MIT
  • Latest release: 0.6.0 (published over 2 years ago)
  • Last Synced: 2025-04-25T14:34:49.898Z (1 day ago)
  • Versions: 9
  • Dependent Packages: 2
  • Dependent Repositories: 2
  • Rankings:
    • Dependent packages count: 19.607%
    • Dependent repos count: 20.27%
    • Average: 32.406%
    • Stargazers count: 44.743%
    • Forks count: 45.002%

Dependencies

.github/workflows/docs.yml actions
  • actions/checkout v2 composite
  • conda-incubator/setup-miniconda v2 composite
  • peaceiris/actions-gh-pages v3.8.0 composite
.github/workflows/tests.yml actions
  • actions/checkout v2 composite
  • codecov/codecov-action v1 composite
  • conda-incubator/setup-miniconda v2 composite
pyproject.toml pypi
  • affine *
  • bottleneck *
  • click *
  • dask *
  • entrypoints *
  • fsspec *
  • gdal >=3.1
  • geopandas >=0.10
  • netcdf4 *
  • numpy *
  • openpyxl *
  • packaging *
  • pandas *
  • pyflwdir >=0.5.4
  • pyproj *
  • rasterio *
  • requests *
  • rioxarray *
  • scipy *
  • shapely >=2.0.0
  • universal_pathlib *
  • xarray *
  • xmltodict *
  • zarr *
.github/workflows/linting.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v3 composite
  • pre-commit/action v3.0.0 composite
.github/workflows/publish-docker.yml actions
  • actions/checkout v3 composite
  • docker/build-push-action v4 composite
  • docker/login-action v2 composite
  • docker/setup-buildx-action v2 composite
  • docker/setup-qemu-action v2 composite
.github/workflows/publish-pypi.yml actions
  • actions/checkout v3 composite
  • actions/download-artifact v3 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact v3 composite
  • conda-incubator/setup-miniconda v2 composite
  • pypa/gh-action-pypi-publish v1.5.1 composite
.github/workflows/purge_all_cache.yml actions
  • actions/checkout v3 composite
.github/workflows/purge_pr_cache.yml actions
  • actions/checkout v3 composite
.github/workflows/test-docker.yml actions
  • actions/checkout v3 composite
  • docker/build-push-action v4 composite
  • docker/setup-buildx-action v2 composite
  • docker/setup-qemu-action v2 composite
.binder/Dockerfile docker
  • savente/hydromt slim build
Dockerfile docker
  • mambaorg/micromamba 1.4-alpine build

Score: 16.266221819807495