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
da2680b0
Commit
da2680b0
authored
Mar 29, 2021
by
Delaigue Olivier
Browse files
fix(Utils): change the CemaNeige class in the FeatModelsGR table
Refs
#106
parent
54818ce0
Pipeline
#21794
passed with stages
in 8 minutes and 5 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
R/Utils.R
View file @
da2680b0
...
...
@@ -57,9 +57,9 @@
res
$
TimeStep
<-
res
$
TimeStep
*
3600
res
$
Class
<-
c
(
res
$
TimeUnit
,
res
$
Class
)
if
(
grepl
(
"CemaNeige"
,
res
$
NameFunMod
))
{
res
$
Class
<-
unique
(
c
(
res
$
Class
,
"CemaNeige"
))
res
$
Class
<-
c
(
res
$
Class
,
"CemaNeige"
)
}
res
$
Class
<-
res
$
Class
[
!
is.na
(
res
$
Class
)]
if
(
!
is.null
(
DatesR
))
{
if
(
all
(
DiffTimeStep
!=
res
$
TimeStep
))
{
stop
(
"the time step of the model inputs must be "
,
res
$
TimeUnit
,
"\n"
)
...
...
inst/modelsFeatures/FeatModelsGR.csv
View file @
da2680b0
...
...
@@ -6,7 +6,7 @@ GR5J;GR5J;5;daily;NA;GR;airGR
GR6J;GR6J;6;daily;NA;GR;airGR
GR4H;GR4H;4;hourly;NA;GR;airGR
GR5H;GR5H;5;hourly;NA;GR;airGR
CemaNeige;CemaNeige;2;NA;NA;
CemaNeige
;airGR
CemaNeige;CemaNeige;2;NA;NA;
NA
;airGR
CemaNeigeGR4J;CemaNeigeGR4J;6;daily;NA;GR;airGR
CemaNeigeGR5J;CemaNeigeGR5J;7;daily;NA;GR;airGR
CemaNeigeGR6J;CemaNeigeGR6J;8;daily;NA;GR;airGR
...
...
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