Return to airGR packages


airGRteaching is an add-on package to the airGR package. It simplifies its use and was more specifically oriented towards teaching. It provides access to the IRSTEA’s rainfall-runoff models (GR4H, GR4J, GR5J, GR6J, GR2M, GR1A) and a snow melt and accumulation model (CemaNeige) with limited programming skills. This package also provides a graphical interface to help students exploring data and model results.

The airGRteaching package has been designed to fulfil a major requirement: facilitating the use of the airGR functionalities by students. The names of the functions and their arguments were chosen to this end.

The package is mostly based on three families of functions:
– the functions that allow to complete very simply a hydrological modelling exercise;
– plotting functions to help students to explore observed data and to interpret the results of calibration and simulation of the GR models;
– a function which runs a ‘Shiny’ graphical interface that allows for displaying in real-time model parameters impacts on hydrographs.

Screenshot of the airGRteaching interface (launched by the ShinyGR function).


For more information and to getting started with the package, you can go on the airGR website.


airGRteaching is available on the Comprehensive R Archive Network (CRAN).


If you use airGRteaching, we ask you to use the following references to cite the package in your publications (you can obtain the references in R using the following command: citation(“airGRteaching”)) :

  • Delaigue, O., Coron, L., Brigode, P. (XXXX). airGRteaching: Teaching Hydrological Modelling with GR (Shiny Interface Included). R package version X.X.X.X. URL:


Author: Olivier Delaigue, Laurent Coron, Pierre Brigode
Maintainer: Olivier Delaigue
Licence: GPL-2

Oral communication

The poster presenting airGRteaching shown at EGU 2018:

The poster presenting airGRteaching shown at Rencontres R in 2017:

More oral communication materials are available on the ‘Publications’ page of the airGR website.