Skip to main content

Python library to create hydrological models for rainfall-runoff prediction using deep learning methods

Project description

Hy2DL: Hybrid Hydrological modeling using Deep Learning methods

Hy2DL Logo

Hy2DL is a python library to create hydrological models for rainfall-runoff prediction using deep learning methods. The repository includes implementations with Large-Sample Hydrology datasets such as CAMELS-GB, CAMELS-US, and CAMELS-DE. Besides data-driven architectures, the repository also supports hybrid hydrological models that combine machine learning with process-based knowledge.

The logic of the codes presented here is based on 'NeuralHydrology --- A Python library for Deep Learning research in hydrology' (https://github.com/neuralhydrology/neuralhydrology.git). For a more modular implementation of deep learning method in hydrological modeling we advice the use of Neural Hydrology.

Structure of the repository:

The codes presented in the repository are in the form of python scripts. Additionally several experiments are in the form of JupyterNotebooks for easy reproduction and execution. Following is a quick overview of the repository structure:

  • benchmarks: Comparison of our library against other studies from scientific literature.
  • data: Folder where the different datasets (e.g CAMELS-GB, CAMELS-US...) should be added. This information should be independently downloaded by the user.
  • docs: Library documentation
  • examples: Configuration files to run multiple examples.
  • notebooks: Jupyter notebooks showing implementation examples, for different cases.
  • results: Folder where the results generated by the codes will be stored.
  • src/hy2dl: Code of the library.

Installation

A release version is available on PyPI and can be installed using:

uv

uv add hy2dl

or pip.

pip install hy2dl

The pyproject.toml file includes the package requirements.

Documentation:

Detailed documentation for the repository can be found at Hy2DL.readthedocs.io.

Citation:

If you find Hy²DL useful in your research or applications, please cite it as:

@software{hy2dl2025,
  author       = {Eduardo Acuña-Espinoza},
  title        = {Hy²DL: Hybrid Hydrological Modeling using Deep Learning methods},
  year         = {2025},
  publisher    = {Zenodo},
  doi          = {10.5281/zenodo.XXXXXXX},
  url          = {https://doi.org/10.5281/zenodo.XXXXXXX}
}

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

hy2dl-1.0.1.tar.gz (43.4 kB view details)

Uploaded Source

Built Distribution

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

hy2dl-1.0.1-py3-none-any.whl (64.5 kB view details)

Uploaded Python 3

File details

Details for the file hy2dl-1.0.1.tar.gz.

File metadata

  • Download URL: hy2dl-1.0.1.tar.gz
  • Upload date:
  • Size: 43.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hy2dl-1.0.1.tar.gz
Algorithm Hash digest
SHA256 6dd2c0d7a2e44e9ec99bb8d0407685ed5c40132fb17e65937e6f7921edf3d6d0
MD5 f3a8fb71a6f288a6e9992c119078e2ca
BLAKE2b-256 1d23402eef19bb98274db463b5095c88e9c11e936c399d898aa6a5ef0a636b93

See more details on using hashes here.

Provenance

The following attestation bundles were made for hy2dl-1.0.1.tar.gz:

Publisher: publish-to-pypi.yml on eduardoAcunaEspinoza/Hy2DL

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hy2dl-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: hy2dl-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 64.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hy2dl-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e132e31b3d02fd3d8430d345d5b7396ccfa7f26bc63edb2bddb17702ce2dfc65
MD5 dc935729de3d0b06b473c73099639ed5
BLAKE2b-256 4aca5547ffa1a0b39e0cc9cbb9b58b1dd07844a35b646ba197820b243ec3b6f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for hy2dl-1.0.1-py3-none-any.whl:

Publisher: publish-to-pypi.yml on eduardoAcunaEspinoza/Hy2DL

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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