Convert D-HYDRO output to ISG
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
Dhydro2ISG
Dhydro2ISG is a Python package for extracting data from D-Hydro models and converting it into ISG format for groundwater modeling.
The initial version was developed by Haskoning for Waterschap Brabantse Delta and further enhanced by Waterschap Aa & Maas. In 2025, the tool was open-sourced with support from Waterboard De Dommel.
Features
- Export D-Hydro models to ISG format, supporting segments, cross-sections, and water levels at calculation points (time series).
- Read both D-Hydro and ISG formats into a standardized format (STF), which can be edited in GIS and exported to ISG.
ISG Support
The tool generates ISG files without surface-flow routing (ASFR=0). Supported parameters:
| Parameter | Description | Source |
|---|---|---|
| Water level | Water level at the calculation node for the defined period | D-Hydro model |
| Bottom level | Bottom level at the calculation node | D-Hydro model |
| Resistance | River bed resistance at the calculation node (days) | Manual input |
| Inf.factor | Infiltration factor at the calculation node (-) | Manual input |
| mrc | Manning’s Resistance Coefficient for the cross-section (-) | Manual input |
Note: Q-H relationships and structures are not supported.
Notes
- The code has been tested on a limited set of D-Hydro models. Please validate the output before use.
- Tested with D-Hydro versions: XX, XX, 2025.01, and 2025.03.
- If you need additional functionality, create a branch and propose a solution via GitHub.
- For bugs, please create an issue (and, if possible, a proposed fix).
- The tool depends on
hydrolib-core. Unsupported model versions may cause errors.
Installation & Usage
-
Install via pip:
pip install dhydro2isg
-
Documentation in the example notebook: examples folder demonstrates reading a D-Hydro model and exporting to ISG.
Changelog
Version 1.0.0
- First release
- Minor textual improvements
Version 0.4.0
- Removed hydrolib-core dependency
Version 0.3.3
- Published open source under GPL v3 license
- Added pip installation support
- Added example notebooks
- Migrated environment file to
pyproject.tomland updated dependencies - Improved aggregation of water levels over defined periods
Version 0.2.0
- Updated environment and hydrolib-core version (Python < 3.12, tested with 3.11.6)
- Required
pydantic = 1.10for hydrolib-core compatibility - New environment file:
environment - new HL.yml - Improved snapping of calculation points to waterlines using buffer + spatial join (sjoin), replacing
ckdnearest - Added aggregation window option for final calculation period (e.g., "1D" for last day, with "mean" or "min" aggregation)
- Default: 1-day window, mean aggregation
Contact
Product Owner
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dhydro2isg-1.0.0.tar.gz.
File metadata
- Download URL: dhydro2isg-1.0.0.tar.gz
- Upload date:
- Size: 41.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2accabcf03d23963e3c2b566768f2a7451f29d19d1ef73cca48e6b6d4a712fdf
|
|
| MD5 |
83cb1a771dce9c40154108593eb862bc
|
|
| BLAKE2b-256 |
1bd9f0521fba44b89ce05aaff99a67d049f2c54a51c77cc1c90b7ef592540a80
|
File details
Details for the file dhydro2isg-1.0.0-py3-none-any.whl.
File metadata
- Download URL: dhydro2isg-1.0.0-py3-none-any.whl
- Upload date:
- Size: 40.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aee5e9bd6cdf9bf0911aa2ff6678cb40fb73de74a22c669316aeeb69775a6e5a
|
|
| MD5 |
39526bd1b6c195febaf17e4d8990e6db
|
|
| BLAKE2b-256 |
efc9cbfdaeafffc4d269aad8e30b994c06a8db7f7a2fe95b3232bf97d26c5965
|