From eb760cf8a9a527ee1eda0941e61bc2115ba7d815 Mon Sep 17 00:00:00 2001 From: Delaigue Olivier <olivier.delaigue@irstea.priv> Date: Tue, 21 May 2019 17:06:37 +0200 Subject: [PATCH] v1.3.0.18 CLEAN: time step corrected in warning message --- DESCRIPTION | 2 +- NEWS.rmd | 2 +- R/RunModel_CemaNeigeGR4H.R | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 02e1ad18..c0473074 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.3.0.17 +Version: 1.3.0.18 Date: 2019-05-21 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 39370af9..e5de3ce0 100644 --- a/NEWS.rmd +++ b/NEWS.rmd @@ -14,7 +14,7 @@ output: -### 1.3.0.17 Release Notes (2019-05-21) +### 1.3.0.18 Release Notes (2019-05-21) #### New features diff --git a/R/RunModel_CemaNeigeGR4H.R b/R/RunModel_CemaNeigeGR4H.R index 2247f573..a9526bf6 100644 --- a/R/RunModel_CemaNeigeGR4H.R +++ b/R/RunModel_CemaNeigeGR4H.R @@ -31,7 +31,7 @@ RunModel_CemaNeigeGR4H <- function(InputsModel,RunOptions,Param){ Param[3L] <- Param_X1X3_threshold } if (Param[4L] < Param_X4_threshold) { - warning(sprintf("Param[4] (X4: unit hydrograph time constant [d]) < %.2f\n X4 set to %.2f", Param_X4_threshold, Param_X4_threshold)) + warning(sprintf("Param[4] (X4: unit hydrograph time constant [hour]) < %.2f\n X4 set to %.2f", Param_X4_threshold, Param_X4_threshold)) Param[4L] <- Param_X4_threshold } -- GitLab