Skip to content

SimonDelmas/hydrogr

Repository files navigation

PyPi version GitHub Actions Workflow Status GitHub issues GitHub License PyPI - Downloads

HydroGR Python Rust

HydroGR is a Python package for hydrological modeling that implements several conceptual rainfall-runoff models for watershed simulation and streamflow prediction:

  • GR4H: 4-parameter hourly model
  • GR4J: 4-parameter daily model
  • GR5J: 5-parameter daily model
  • GR6J: 6-parameter daily model
  • GR2M: 2-parameter monthly model
  • GR1A: 1-parameter annual model

This package is inspired by the INRAE R language package: airGR.

Getting Started

Installation

The package can be installed with pip:

python -m pip install hydrogr

Test the installation by importing the package in Python:

import hydrogr
print(hydrogr.__version__)

Examples

Examples based on the examples in the airGR package are available in the example folder for the different models.

An example for calibrating models using spotpy is also available in the calibrating_gr4j.ipynb notebook.

gr4h

License

This project is licensed under the GPL-2.0 License - see the LICENSE.txt file for details.

About

hydrogr is a package for hydrological modelling based on Irstea GR models

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors