added as.data.frame.airGRt()
method in order to create a data.frame
from outputs of PrepGR()
, CalGR()
and SimGR()
functions. This data.frame
always presents the same structure and contains observed flow, simulated flow, simulated solid precipitation fraction, etc. When it does not make sense, the concerned column is assigned with NA
values (e.g. Qsim with the PrepGR()
function)
a digital object identifier (DOI) now allows to identify the manual of the ‘airGRteaching’ package. When you use airGRteaching in your work, please always cite both the article and the manual. The last one allows to know the version of the package that is used in order to enhance reproducible research. The references can be displayed with the citation(“airGRteaching”)
command
two themes of alternative stylesheet are available (“Inrae”
and “Saclay”
)
CalGR
argument is now deprecated in the SimGR()
function. It has been replaced by the use of the Param
argument which can be set by an object of the class CalGR
or by a vector of parametersShinyGR()
now runs when independent arguments (DatesR
, Precip
, etc.) are used instead of the ObsDF
argumentit is now possible to use the GR4H and GR5H hourly models with or without CemaNeige. For that, in the PrepGR()
, the HydroModel
argument could be set to “GR4H”
or “GR5H”
. In the GUI, launched by ShinyGR()
function, nothing changed, only the daily models are available. So, now airGRteaching depends on the version of airGR >= 1.4.3.52)
it is now possible to run the PrepGR()
function when discharge is not provided in Qobs
. If it is the case, the CalGR()
function will return an error message because it is not possible to calibrate the model. The SimGR()
function will return a warning message because it is not possible to compute any efficiency criterion
it is now possible to run the ShinyGR()
function when discharge is not provided in Qobs
when observed discharge is provided in ShinyGR()
, the first plotting panel now draws the flow error time series
the plot()
function is now exported
the dyplot.PrepGR()
, dyplot.CalGR()
and dyplot.SimGR()
functions are no longer exported
there is now only one help page for all plot.*()
functions (use ?plot
to call it)
dyplot*()
and the ShinyGR()
functions)ShinyGR()
can export the csv table again. It was broken due to modifications to the version 1.2.13.16 of the ‘airGR’ packageShinyGR()
interfaceShinyGR()
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)
CalGR()
and SimGR()
now presents a timezone defined as UTCnow 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)
the article reference is updated
.DiagramGR() no longer returns errors when inputs are not yet available in ShinyGR()
ShinyGR()
, the criteria values are now right on Unix systembug 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
ObsBV
argument has been renamed ObsDF
in PrepGR()
and ShinyGR()
functionsupdate 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
ObsGR()
function (and relatives arguments in CalGR()
and SimGR()
has been renamed PrepGR()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
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()
ShinyGR()
interfaceSimGR()
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 the ShinyGR()
interface
dyplot()
now allows to draw an additional time series of flowbug 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()
it is now possible to export some plots and tables from ShinyGR()
interface
in ShinyGR()
, TypeModel
inputIds renamed into HydroModel
Param
arguments in ShinyGR()
dyplot()
updated to be compatible with dygraphs >= 1.1.1.4 (available only on GitHub)ShinyGR()
now use dygraph devices (except for model perf.)dyplot.default()
now draws precipitation as a true bar plot and not a step plotadded GR5J in the Model diagram of ShinyGR()
it is now possible to choose the objective function to calibrate the model
dyplot*()
functionsshiny.SimGR()
now presents a theme argument that allows to change the stylesheetshiny.SimGR()
function has been renamed into ShinyGR()
ShinyGR()
to plot state variables with GRJshiny.SimGR()
function has been renamed into ShinyGR()
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
it is now possible to calibrate the model in shiny.SimGR()
and to draw new plots
dyplot.default()
gains a Roller
period argument
TypeModelGR()
is now a private functionbug fixed, it is now possible to run CalGR()
with verbose = FALSE
bug fixed in plot.CalGR()
(it does not use anymore a global variable)