From e49eea1931e85914b90543a81e73316a5a2ace27 Mon Sep 17 00:00:00 2001 From: Delaigue Olivier <olivier.delaigue@irstea.priv> Date: Tue, 21 Jan 2020 08:41:18 +0100 Subject: [PATCH] v1.4.3.52 DOC: run period is reduced in Imax example to pass CRAN checks (and changed for RunModel_GR5H) --- DESCRIPTION | 4 ++-- NEWS.md | 2 +- man/Imax.Rd | 2 +- man/RunModel_GR5H.Rd | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index d1f5a955..98951467 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: airGR Type: Package Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling -Version: 1.4.3.51 -Date: 2020-01-20 +Version: 1.4.3.52 +Date: 2020-01-21 Authors@R: c( person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")), person("Olivier", "Delaigue", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-7668-8468"), email = "airGR@inrae.fr"), diff --git a/NEWS.md b/NEWS.md index dff9a070..169e7c5f 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,7 +2,7 @@ -### 1.4.3.51 Release Notes (2020-01-20) +### 1.4.3.52 Release Notes (2020-01-20) #### New features diff --git a/man/Imax.Rd b/man/Imax.Rd index f77ccf8f..338515e8 100644 --- a/man/Imax.Rd +++ b/man/Imax.Rd @@ -43,7 +43,7 @@ InputsModel <- CreateInputsModel(FUN_MOD = RunModel_GR5H, DatesR = BasinObs$Date Precip = BasinObs$P, PotEvap = BasinObs$E) ## run period selection -Ind_Run <- seq(which(format(BasinObs$DatesR, format = "\%Y-\%m-\%d \%H:\%M")=="2004-03-01 00:00"), +Ind_Run <- seq(which(format(BasinObs$DatesR, format = "\%Y-\%m-\%d \%H:\%M")=="2005-01-01 00:00"), which(format(BasinObs$DatesR, format = "\%Y-\%m-\%d \%H:\%M")=="2006-12-31 23:00")) ## Imax computation diff --git a/man/RunModel_GR5H.Rd b/man/RunModel_GR5H.Rd index 6878375a..dd55413d 100644 --- a/man/RunModel_GR5H.Rd +++ b/man/RunModel_GR5H.Rd @@ -84,8 +84,8 @@ InputsModel <- CreateInputsModel(FUN_MOD = RunModel_GR5H, DatesR = BasinObs$Date Precip = BasinObs$P, PotEvap = BasinObs$E) ## run period selection -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")=="2005-12-31 23:00")) +Ind_Run <- seq(which(format(BasinObs$DatesR, format = "\%Y-\%m-\%d \%H:\%M")=="2005-01-01 00:00"), + which(format(BasinObs$DatesR, format = "\%Y-\%m-\%d \%H:\%M")=="2006-12-31 23:00")) ## Imax computation Imax <- Imax(InputsModel = InputsModel, IndPeriod_Run = Ind_Run, -- GitLab