The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

airGRteaching: Tools to Simplify the Use of the airGR Hydrological Package for Education (Including a Shiny Application)

Overview

‘airGRteaching’ is an add-on package to the airGR package that simplifies its use and is teaching-oriented. It allows to use with very low programming skills the rainfall-runoff models (GR4H, GR5H, GR4J, GR5J, GR6J, GR2M, GR1A) and a snow melt and accumulation model (CemaNeige). This package also provides graphical devices to help students to explore data and modelling 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:

This package brings into R the hydrological modelling tools developed at INRAE-Antony (Catchment Hydrology research group of the HYCAR Research Unit, France).

Installation

Release version

To install the version of the package that is on the CRAN, you just have to use the following command line:

install.packages("airGRteaching")

Unrelease version

To use the development version of the package that is on GitLab, you have first install the ‘remotes’ package. Then you can install the ‘airGRteaching’ package in the R environment:

install.packages("remotes")
remotes::install_gitlab(repo = "HYCAR-Hydro/airgrteaching", 
                        host = "https://gitlab.irstea.fr", 
                        dependencies = TRUE, 
                        build_vignettes = TRUE)

Modelling Functions

Three functions allow to complete very simply a hydrological modelling exercise:

Plotting Functions

‘airGRteaching’ provides two types of plotting functions that allow to produce static (plot()) or dynamic (dyplot()) graphics (incl. mouse events and interactive graphics). The devices allow to explore observed data and to interpret the results of calibration and simulation of the GR models.

Graphical user interface

The package also provides the ShinyGR() function, which allows to launch a Shiny interface. Thus its is possible to perform:

A demonstrator of the graphical user interface is available for free online on the Sunshine platform.

Models

The six hydrological models and the snow melt and accumulation model already available in airGR are available in ‘airGRteaching’. These models can be called in ‘airGRteaching’ using the following model names (*: available in the Shiny interface):

For more information and to get started with the package, you can refer to the vignette (vignette("get_started", package = "airGRteaching")) and go on the ‘airGRteaching’ website.

References

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.