From 6e48d1b2a73bf90e6a168c9fb7962eec832c9275 Mon Sep 17 00:00:00 2001
From: Delaigue Olivier <olivier.delaigue@irstea.priv>
Date: Tue, 19 Mar 2019 08:04:10 +0100
Subject: [PATCH] v1.2.9.23 DOC: CreateIniStates doc updated to take into
 account the use of hysteresis #5252

---
 DESCRIPTION            |  2 +-
 NEWS.rmd               |  2 +-
 man/CreateIniStates.Rd | 10 ++++++----
 3 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/DESCRIPTION b/DESCRIPTION
index e71d6215..3f48cc82 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.2.9.22
+Version: 1.2.9.23
 Date: 2019-03-19
 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 59a8cdb4..86355695 100644
--- a/NEWS.rmd
+++ b/NEWS.rmd
@@ -13,7 +13,7 @@ output:
 
 
 
-### 1.2.9.22 Release Notes (2019-03-19) 
+### 1.2.9.23 Release Notes (2019-03-19) 
 
 
 
diff --git a/man/CreateIniStates.Rd b/man/CreateIniStates.Rd
index 685efb96..caf19c6a 100644
--- a/man/CreateIniStates.Rd
+++ b/man/CreateIniStates.Rd
@@ -37,9 +37,9 @@ CreateIniStates(FUN_MOD, InputsModel,
 
 \item{eTGCemaNeigeLayers}{(optional) [numeric] snow pack thermal state [°C], possibly used to create the CemaNeige model initial state}
 
-\item{GthrCemaNeigeLayers}{}
+\item{GthrCemaNeigeLayers}{(optional) [numeric] melt threshold [mm], possibly used to create the CemaNeige model initial state in case the linear hysteresis version is used}
 
-\item{GlocmaxCemaNeigeLayers}{}
+\item{GlocmaxCemaNeigeLayers}{(optional) [numeric] local melt threshold for hysteresis [mm], possibly used to create the CemaNeige model initial state in case the linear hysteresis version is used}
 
 \item{verbose}{(optional) [boolean] boolean indicating if the function is run in verbose mode or not, default = \code{TRUE}}
 
@@ -90,7 +90,8 @@ IniStates <- CreateIniStates(FUN_MOD = RunModel_GR4J, InputsModel = InputsModel,
                              ProdStore = 0, RoutStore = 0, ExpStore = NULL,
                              UH1 = c(0.52, 0.54, 0.15, rep(0, 17)),
                              UH2 = c(0.057, 0.042, 0.015, 0.005, rep(0, 36)),
-                             GCemaNeigeLayers = NULL, eTGCemaNeigeLayers = NULL)
+                             GCemaNeigeLayers = NULL, eTGCemaNeigeLayers = NULL,
+                             GthrCemaNeigeLayers = NULL, GlocmaxCemaNeigeLayers = NULL)
 str(IniStates)  
 
 ## preparation of the RunOptions object
@@ -111,7 +112,8 @@ IniStates <- CreateIniStates(FUN_MOD = RunModel_GR4J, InputsModel = InputsModel,
                              ProdStore = 450, RoutStore = 100, ExpStore = NULL,
                              UH1 = c(0.52, 0.54, 0.15, rep(0, 17)),
                              UH2 = c(0.057, 0.042, 0.015, 0.005, rep(0, 36)),
-                             GCemaNeigeLayers = NULL, eTGCemaNeigeLayers = NULL)
+                             GCemaNeigeLayers = NULL, eTGCemaNeigeLayers = NULL,
+                             GthrCemaNeigeLayers = NULL, GlocmaxCemaNeigeLayers = NULL)
 str(IniStates)  
 
 ## preparation of the RunOptions object
-- 
GitLab