Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Overview
Hydrological modelling tools developed at INRAE-Antony (HYCAR Research Unit, France). The package includes several conceptual rainfall-runoff models (GR4H, GR5H, GR4J, GR5J, GR6J, GR2M, GR1A) that can be applied either on a lumped or semi-distributed way. A snow accumulation and melt model (CemaNeige) and the associated functions for the calibration and evaluation of models are also included. Use help(airGR) for package description and references.
Bug fixes
CreateRunOptions()no longer displays irrelevant warnings about unused initial states (e.g., CemaNeige or Interception states) whenIniStatesis not provided by the user. (#204)CreateRunOptions()now correctly takes into account theIniStatesargument when using theRunModel_GR2M()function. (#209)RunModel_GR2M()now uses the fixed 60 mm capacity of the routing reservoir to calculate its initial state, instead of incorrectly using the groundwater exchange coefficient (X2). This fix only impacts results when no warm-up period is used (i.e., when the simulation starts at the first time step). (#206)- Fixed a crash in the internal
.GetOutputsModelGR()function that occurred whenWarmUpQsimwas explicitly requested in theOutputs_Simargument ofCreateRunOptions(). (#208)
Minor user-visible changes
RunModel_GR2M()warning message for the X2 parameter threshold has been corrected to display the proper parameter name and unit ([-]). (#206)RunModel_Lag()has been cleaned of experimental code related to leaks on routed flows that was unintentionally included in the previous release. (#207)
Version control and issue tracking
- Updated project URLs to reflect the migration from the old IRSTEA GitLab to the new INRAE Forge. (#210)
- Added several regression tests for
CreateRunOptions()to ensureIniStateshandling, correct output lists, and the absence of intempestive warnings. (#209, #204, #208)
____________________________________________________________________________________
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-09
- ERROR12 OK, 1 ERROR2026-09-04
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
Show 4 earlier changesHide 4 earlier changes
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-04-10
- ERROR13 OK, 1 ERROR2026-04-09
- OK14 OK2026-03-10
Documentation
- Help pages
- 39includes a package overview page
- Examples that run
- 95%35 run in a plain check · 2 never run
- Exported functions with examples
- 97%
- Documented parameters
- 97%
- Return-value docs
- 100%
- Help pages citing references
- 64%
Downloads
Repository
Repository forge.inrae.fr/hydrogr/airgrgalaxy is linked, but repository-practices checks have not run for it yet. Checks are GitHub-only for now.
Dependencies
Installing airGR adds no packages beyond those that come with R.
Code & Tests
Datasets
People & History
Show 1 more contributorHide 1 contributor
Pick two releases to compare their code metrics.
- 1.7.9Latest
- RR 4.6.0 released · 2026-04-24
- 1.7.82025-12-12 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.7.62023-10-26 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.7.4
- RR 4.2.0 released · 2022-04-22
- 1.7.02022-02-22 · diff ↗ ·
removed 1 export
PEdaily_Oudinadded 2 exports
CreateErrorCrit_GAPX, CreateInputsCrit_Lavenne - RR 4.1.0 released · 2021-05-18
- 1.6.12
- 1.6.10.42021-01-29 · diff ↗
- 1.6.9.272021-01-22 · diff ↗ ·
removed 2 exports
pattern:.FortranOutputs, pattern:.ErrorCritadded 3 exports
RunModel_Lag, TransfoParam_Lag, .ErrorCrit - RR 4.0.0 released · 2020-04-24
- 1.4.3.652020-02-28 · diff ↗
Show 15 earlier eventsHide 15 earlier events
- 1.4.3.602020-01-29 · diff ↗
- 1.4.3.52
- 1.3.2.422019-09-22 · diff ↗
- 1.3.2.23
- RR 3.6.0 released · 2019-04-26
- 1.2.13.162019-04-03 · diff ↗ ·
removed 1 export
plot_OutputsModeladded 2 exports
TransfoParam_CemaNeigeHyst, pattern:.FortranOutputs - 1.0.15.22018-10-10 · diff ↗
- 1.0.14.12018-09-28 · diff ↗
- 1.0.13.192018-09-27 · diff ↗
- 1.0.10.112018-06-29 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 1.0.9.64
- RR 3.4.0 released · 2017-04-21
- 1.0.5.122017-01-24
- RR 3.3.0 released · 2016-05-03
Package metadata
- First published
- 2017-01-24
- Total releases
- 20 / 9 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 2.0 MB / 7 files
- Download size
- 2.7 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("airGR")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.