Commit 98824fd9 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

v0.2.6.6 UPDATE: SimGR modified to avoid warnings due to the update of airGR...

v0.2.6.6 UPDATE: SimGR modified to avoid warnings due to the update of airGR (Qobs arg modified in Obs in CreateInputsCrit and FUN_CRIT deprectated in ErrorCrit)
parent c99dd008
Package: airGRteaching
Type: Package
Title: Teaching Hydrological Modelling with the GR Rainfall-Runoff Models ('Shiny' Interface Included)
Version: 0.2.6.5
Date: 2019-03-14
Version: 0.2.6.6
Date: 2019-04-02
Authors@R: c(
person("Olivier", "Delaigue", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-7668-8468"), email = "airGR@irstea.fr"),
person("Laurent", "Coron", role = c("aut"), comment = c(ORCID = "0000-0002-1503-6204")),
......
......@@ -13,7 +13,7 @@ output:
### 0.2.6.5 Release Notes (2019-03-14)
### 0.2.6.6 Release Notes (2019-04-02)
#### CRAN-compatibility updates
......
......@@ -66,14 +66,14 @@ SimGR <- function(PrepGR, CalGR = NULL, Param = NULL, EffCrit = c("NSE", "KGE",
MOD_crt <- CreateInputsCrit(FUN_CRIT = FUN_CRIT, InputsModel = PrepGR$InputsModel,
RunOptions = MOD_opt, Qobs = PrepGR$Qobs[SimInd], transfo = transfo)
RunOptions = MOD_opt, Obs = PrepGR$Qobs[SimInd], transfo = transfo)
SIM <- RunModel(InputsModel = PrepGR$InputsModel, RunOptions = MOD_opt,
Param = Param, FUN_MOD = get(PrepGR$TypeModel))
CRT <- ErrorCrit(InputsCrit = MOD_crt, OutputsModel = SIM, FUN_CRIT = FUN_CRIT, verbose = verbose)
CRT <- ErrorCrit(InputsCrit = MOD_crt, OutputsModel = SIM, verbose = verbose)
SimGR <- list(OptionsSimul = MOD_opt, OptionsCrit = MOD_crt, OutputsModel = SIM, Qobs = PrepGR$Qobs[SimInd],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment