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
5ce462ce
Commit
5ce462ce
authored
Jan 30, 2019
by
Delaigue Olivier
Browse files
CHEKOUT
19f749e0
v1.1.2.39 CLEAN: RunModel_CemaNeige syntax cleaned
parent
29d8d102
Changes
1
Hide whitespace changes
Inline
Side-by-side
R/RunModel_CemaNeige.R
View file @
5ce462ce
...
...
@@ -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