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
137288ff
Commit
137288ff
authored
Mar 29, 2021
by
Delaigue Olivier
Browse files
fix(Utils): return the truncated integer value of the mean time step from .GetFeatModel
Refs
#106
parent
a914dfc6
Pipeline
#21797
passed with stages
in 8 minutes and 10 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
R/Utils.R
View file @
137288ff
...
...
@@ -60,7 +60,7 @@
monthly
=
365.2425
/
12
*
24
,
yearly
=
365.2425
*
24
)
res
$
TimeStep
<-
res
$
TimeStep
*
3600
res
$
TimeStepMean
<-
res
$
TimeStepMean
*
3600
res
$
TimeStepMean
<-
as.integer
(
res
$
TimeStepMean
*
3600
)
res
$
Class
<-
c
(
res
$
TimeUnit
,
res
$
Class
)
if
(
grepl
(
"CemaNeige"
,
res
$
NameFunMod
))
{
res
$
Class
<-
c
(
res
$
Class
,
"CemaNeige"
)
...
...
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