Commit eb760cf8 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

v1.3.0.18 CLEAN: time step corrected in warning message

Showing with 3 additions and 3 deletions
+3 -3
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")),
......
......@@ -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
......
......@@ -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
}
......
Supports Markdown
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