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
76b9df44
Commit
76b9df44
authored
Aug 16, 2017
by
unknown
Browse files
v1.0.9.21 CreateInputsModel now stops when DatesR contains duplicated values
parent
2b5c96c2
Changes
2
Hide whitespace changes
Inline
Side-by-side
DESCRIPTION
View file @
76b9df44
Package: airGR
Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.0.9.2
0
Date: 2017-08-1
1
Version: 1.0.9.2
1
Date: 2017-08-1
6
Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl")),
person("Charles", "Perrin", role = c("aut", "ths")),
...
...
R/CreateInputsModel.R
View file @
76b9df44
...
...
@@ -79,6 +79,10 @@ CreateInputsModel <- function(FUN_MOD,
stop
(
paste
(
"the time step of the model inputs must be "
,
TimeStep
,
" seconds \n"
,
sep
=
""
))
return
(
NULL
)
}
if
(
anyDuplicated
(
DatesR
)
!=
0
)
{
stop
(
"DatesR must not include duplicated values \n"
)
return
(
NULL
)
}
LLL
<-
length
(
DatesR
)
}
if
(
"GR"
%in%
ObjectClass
)
{
...
...
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