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
0bf5bf7e
Commit
0bf5bf7e
authored
Apr 23, 2021
by
Delaigue Olivier
Browse files
fix: add missing TimeStep object in CreateInputsModel (erroneously removed)
Refs
#106
,
839d21d6
,
cb1e05b0
parent
cb1e05b0
Pipeline
#22521
passed with stages
in 9 minutes and 2 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
R/CreateInputsModel.R
View file @
0bf5bf7e
...
...
@@ -30,6 +30,7 @@ CreateInputsModel <- function(FUN_MOD,
FUN_MOD
<-
match.fun
(
FUN_MOD
)
FeatFUN_MOD
<-
.GetFeatModel
(
FUN_MOD
=
FUN_MOD
,
DatesR
=
DatesR
)
ObjectClass
<-
FeatFUN_MOD
$
Class
TimeStep
<-
FeatFUN_MOD
$
TimeStep
##check_arguments
...
...
@@ -286,7 +287,7 @@ CreateInputsModel <- function(FUN_MOD,
Qupstream
<-
Qupstream
*
TimeStep
/
1e3
}
InputsModel
<-
c
(
InputsModel
,
list
(
Qupstream
=
Qupstream
,
LengthHydro
=
LengthHydro
,
LengthHydro
=
LengthHydro
,
BasinAreas
=
BasinAreas
))
}
...
...
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