diff --git a/DESCRIPTION b/DESCRIPTION index 710083766a7f7fb8f8304ac7b99b3dd96f6c5ce5..bcbc640a5322db71dcdfb87af342025f6b01c377 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: airGR Type: Package Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling -Version: 1.4.2.8 +Version: 1.4.2.9 Date: 2019-12-10 Authors@R: c( person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")), diff --git a/NEWS.md b/NEWS.md index bf5d743491257ee1752d6431cf73663816815aaf..989ae2f0c8da0dfbc15a02a8060a4e49990be6dd 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,7 +2,7 @@ -### 1.4.2.8 Release Notes (2019-12-10) +### 1.4.2.9 Release Notes (2019-12-10) #### New features diff --git a/man/Imax.Rd b/man/Imax.Rd index 41d2a692734e8c9843566bcbacb3f918c6ab4c25..fc26e512ab41683b7f5b3031472f6a78bfe96ac8 100644 --- a/man/Imax.Rd +++ b/man/Imax.Rd @@ -32,29 +32,19 @@ Function which performs a single run for the GR4J daily lumped model over the te } -\details{ -For further details on the model, see the references section. -For further details on the argument structures and initialisation options, see \code{\link{CreateRunOptions}}. -\cr -\cr -\if{html}{\figure{diagramGR4J-EN.png}{options: width="60\%" alt="Figure: diagramGR4J-EN.png"}} -\if{latex}{\figure{diagramGR4J-EN.pdf}{options: width=6cm}} -} - - \examples{ library(airGR) ## loading catchment data -data(L0123001) +data(L0123003) ## preparation of the InputsModel object -InputsModel <- CreateInputsModel(FUN_MOD = RunModel_GR5H, DatesR = BasinObs$DatesR, +InputsModel <- CreateInputsModel(FUN_MOD = RunModel_GR5H, DatesR = BasinObs$DatesR, Precip = BasinObs$P, PotEvap = BasinObs$E) ## run period selection -Ind_Run <- seq(which(format(BasinObs$DatesR, format = "\%Y-\%m-\%d")=="1990-01-01"), - which(format(BasinObs$DatesR, format = "\%Y-\%m-\%d")=="1999-12-31")) +Ind_Run <- seq(which(format(BasinObs$DatesR, format = "\%Y-\%m-\%d \%H:\%M")=="2004-03-01 00:00"), + which(format(BasinObs$DatesR, format = "\%Y-\%m-\%d \%H:\%M")=="2008-12-31 23:00")) ## Imax compuattion Imax <- Imax(InputsModel = InputsModel, IndPeriod_Run = Ind_Run,