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

v1.3.0.1 UPDATE: CreateInputsModel modified to take into account RunModel_CemaNeigeGR4H

Showing with 10 additions and 2 deletions
+10 -2
Package: airGR Package: airGR
Type: Package Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.3.0.0 Version: 1.3.0.1
Date: 2019-05-20 Date: 2019-05-20
Authors@R: c( Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")), person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")),
......
...@@ -13,7 +13,8 @@ output: ...@@ -13,7 +13,8 @@ output:
3.0.02.15.7 Release Notes (2019-05-20)
### 1.3.0.1 Release Notes (2019-05-20)
#### New features #### New features
......
...@@ -59,6 +59,13 @@ CreateInputsModel <- function(FUN_MOD, ...@@ -59,6 +59,13 @@ CreateInputsModel <- function(FUN_MOD,
BOOL <- TRUE BOOL <- TRUE
} }
if (identical(FUN_MOD, RunModel_CemaNeigeGR4H)) {
ObjectClass <- c(ObjectClass, "hourly", "GR", "CemaNeige")
TimeStep <- as.integer(24 * 60 * 60)
BOOL <- TRUE
}
if (!BOOL) { if (!BOOL) {
stop("incorrect 'FUN_MOD' for use in 'CreateInputsModel'") stop("incorrect 'FUN_MOD' for use in 'CreateInputsModel'")
} }
......
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