Add-on package to the 'airGR' package that simplifies its use and is aimed at being used for teaching hydrology. The package provides 1) three functions that allow to complete very simply a hydrological modelling exercise 2) plotting functions to help students to explore observed data and to interpret the results of calibration and simulation of the GR ('Génie rural') models 3) a 'Shiny' graphical interface that allows for displaying the impact of model parameters on hydrographs and models internal variables.
Release History of the airGRteaching Package
##################### 0.2.6.27 Release Notes (2019-04-23) #####################
ShinyGR() may now run for any timezone
ShinyGR() takes into account the fact that on 1 time step airGR::ErrorCrit_KGE do not return CritName (temporary patch)
ShinyGR() takes into account the fact that the previous simulation could have a missing value criterion
ShinyGR() takes into account the fact the prevuous Qsim is sometimes to long of one value (temporary patch)
##################### 0.2.6.14 Release Notes (2019-04-03) #####################
now depends on the latest version (1.2.13.16) of the airGR package: CalGR(), SimGR() and ShinyGR() have been updated
the htmlwidget package is no longer imported
the CemaNeige model is now allowed when the model diagram is drawn in ShinyGR()
.DiagramGR() and .TypeModelGR() are now private functions
time format of "Period" and "Event" sliders of the ShinyGR() function is now "%Y-%m-%d" with the latest versions of the shiny package (like it was with th old versions)
##################### 0.2.3.2 Release Notes (2018-08-08) #####################
the article reference is updated
.DiagramGR() no longer returns errors when inputs are not yet available in ShinyGR()
##################### 0.2.2.2 Release Notes (2018-03-21) #####################
##################### 0.2.0.9 Release Notes (2018-03-16) #####################
##################### 0.1.11.26 Release Notes (2018-02-01) #####################
bug fixed in ShinyGR() when C1 (or C2) is modified after calibration; the calibration button is now reset
bug fixed in warm-up, calibration and simulation periods checks in CalGR() and SimGR() functions
update and homogenization of the unit of time abbreviation in .TypeModelGR() and ShinyGR()
graphical parameters recorded and executed when the plot.PrepGR(), plot.CalGR() and plot.SimGR() functions exit
##################### 0.1.10.0 Release Notes (2018-01-30) #####################
##################### 0.1.9.29 Release Notes (2018-01-30) #####################
missing exchange added on exp. store when plotting GR6J model diagram in ShinyGR()
exp store now appears exported png file of state variables plot in ShinyGR() when GR6J is used
animate button fixed in ShinyGR()
bug fixed in ShinyGR() to show previous sim. when model or dataset changes
bug fixed in ShinyGR() to show previous sim. when time window changes but keeps the same length
bug fixed to disable calibration when there is no Qobs in ShinyGR()
it is now possible to draw the model diagram in ShinyGR() using the GR6J model
exp. store now appears in state variables plot in ShinyGR() when GR6J is used
update and homogenization of the unit of time abbreviation in .TypeModelGR() and ShinyGR()
write "< - 99.99" in the criteria table of ShinyGR() when a criterion is very low
ShinyGR() now allows a list format for ObsBV data.frame and CemaNeige inputs
##################### 0.1.8.14 Release Notes (2017-11-29) #####################
ObsGR() function now returns an error if the time zone is not defined as "UTC"
in ShinyGR() background color defined to black when the Flatly theme is used
bug fixed in ShinyGR() when inputs are defined in vectors (not in a data.frame)
Psol et Pliq bars are reversed in dyplot.default()
##################### 0.1.7.6 Release Notes (2017-10-05) #####################
SimGR() now runs only once to compute all ErrorCrit
it is now possible to show the table of the last simulation criteria in the ShinyGR() interface
it is now possible to export state variable plot from ShinyGR() interface
##################### 0.1.6.15 Release Notes (2017-09-29) #####################
bug fixed when zooming after changing snow model on plot to see the last simulation in ShinyGR()
dyplot() now plots Pliq and Psol when CemaNeige is used (dyStackedBarGroup() instead of the plotter argument)
disable and enable buttons in ShinyGR() interface (using the shinyjs package)
it is now possible to register the last simulation and draw it on Model diagram of ShinyGR()
##################### 0.1.5.22 Release Notes (2017-09-14) #####################
it is now possible to export some plots and tables from ShinyGR() interface
in ShinyGR(), TypeModel inputIds renamed into HydroModel
##################### 0.1.4.0 Release Notes (2017-07-21) #####################
##################### 0.1.3.9 Release Notes (2017-06-22) #####################
added GR5J in the Model diagram of ShinyGR()
it is now possible to choose the objective function to calibrate the model
##################### 0.1.2.52 Release Notes (2017-06-02) #####################
##################### 0.1.1.20 Release Notes (2017-03-21) #####################
in shiny.SimGR() if the model diagram is plotted, the animation can be run only from the Event slider and no more from the "Period" slider
SimGR() now also returns the OptionsCrit value
##################### 0.0.3.15 Release Notes (2017-01-19) #####################
it is now possible to calibrate the model in shiny.SimGR() and to draw new plots
dyplot.default() gains a Roller period argument
bug fixed, it is now possible to run CalGR() with verbose = FALSE
bug fixed in plot.CalGR() (it does not use anymore a global variable)