Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
HYCAR-Hydro
airGR
Commits
19f749e0
Commit
19f749e0
authored
Jan 30, 2019
by
Delaigue Olivier
Browse files
v1.1.2.39 CLEAN: RunModel_CemaNeige syntax cleaned
parent
da5bb03c
Changes
3
Hide whitespace changes
Inline
Side-by-side
DESCRIPTION
View file @
19f749e0
Package: airGR
Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.1.2.3
8
Version: 1.1.2.3
9
Date: 2019-01-29
Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")),
...
...
NEWS.rmd
View file @
19f749e0
...
...
@@ -13,7 +13,7 @@ output:
### 1.1.2.3
8
Release Notes (2019-01-29)
### 1.1.2.3
9
Release Notes (2019-01-29)
...
...
R/RunModel_CemaNeige.R
View file @
19f749e0
...
...
@@ -93,8 +93,8 @@ RunModel_CemaNeige <- function(InputsModel, RunOptions, Param) {
ncol
=
length
(
IndOutputsCemaNeige
)),
StateEnd
=
rep
(
-999.999
,
2
)
### state variables at the end of the model run (reservoir levels [mm] and HU)
)
RESULTS
$
Outputs
[
round
(
RESULTS
$
Outputs
,
3
)
==
(
-999.999
)
]
<-
NA
RESULTS
$
StateEnd
[
round
(
RESULTS
$
StateEnd
,
3
)
==
(
-999.999
)
]
<-
NA
RESULTS
$
Outputs
[
round
(
RESULTS
$
Outputs
,
3
)
==
-999.999
]
<-
NA
RESULTS
$
StateEnd
[
round
(
RESULTS
$
StateEnd
,
3
)
==
-999.999
]
<-
NA
...
...
@@ -109,7 +109,7 @@ RunModel_CemaNeige <- function(InputsModel, RunOptions, Param) {
}
### ENDFOR_iLayer
names
(
CemaNeigeLayers
)
<-
paste
(
"Layer"
,
formatC
(
1
:
NLayers
,
width
=
2
,
flag
=
"0"
),
sep
=
""
)
names
(
CemaNeigeLayers
)
<-
sprintf
(
"Layer%02i"
,
seq_len
(
NLayers
)
)
if
(
ExportStateEnd
)
{
CemaNeigeStateEnd
<-
CreateIniStates
(
FUN_MOD
=
RunModel_CemaNeige
,
InputsModel
=
InputsModel
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment