diff --git a/DESCRIPTION b/DESCRIPTION index 22fe42a274e562848c8a7b079352e124534b6374..cb138342046839b95875f6f3162aa27478bbfb8b 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.1.2.30 +Version: 1.1.2.31 Date: 2019-01-18 Authors@R: c( person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")), diff --git a/NEWS.rmd b/NEWS.rmd index 860e476ae95d2dd968abf1d28b95ed1bb784f7cb..b2c9bad0c372f1632c0cc1f75ab0bd51b00d1578 100644 --- a/NEWS.rmd +++ b/NEWS.rmd @@ -13,7 +13,7 @@ output: -### 1.1.2.30 Release Notes (2019-01-18) +### 1.1.2.31 Release Notes (2019-01-18) diff --git a/R/CreateRunOptions.R b/R/CreateRunOptions.R index e04b399f3ad95227da8c47c4b0ef734d5caed67f..cdc6fad0db9f518300faf527a1da1b0bf0e2bfd3 100644 --- a/R/CreateRunOptions.R +++ b/R/CreateRunOptions.R @@ -394,8 +394,9 @@ CreateRunOptions <- function(FUN_MOD, InputsModel, IndPeriod_WarmUp = NULL, IndP MeanAnSolidPrecip <- rep(mean(SolidPrecip) * Factor, NLayers) ### default value: same Gseuil for all layers if (warnings) { - warning("\t MeanAnSolidPrecip not defined -> it was automatically set to c(", - paste(round(MeanAnSolidPrecip), collapse = ","), ") \n") + warning("\t 'MeanAnSolidPrecip' not defined -> it was automatically set to c(", + paste(round(MeanAnSolidPrecip), collapse = ","), ") from the 'InputsModel' given to the function. ", + "Be careful in case your application is (short-term) forecasting.\n") } } if ("CemaNeige" %in% ObjectClass & !is.null(MeanAnSolidPrecip)) {