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
a69f0b5b
Commit
a69f0b5b
authored
May 22, 2019
by
Delaigue Olivier
Browse files
v1.3.2.4 BUG: check added for hourly data in PE_Oudin
parent
40ef0791
Changes
3
Hide whitespace changes
Inline
Side-by-side
DESCRIPTION
View file @
a69f0b5b
Package: airGR
Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.3.2.
3
Version: 1.3.2.
4
Date: 2019-05-22
Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")),
...
...
NEWS.rmd
View file @
a69f0b5b
...
...
@@ -14,7 +14,7 @@ output:
### 1.3.2.
3
Release Notes (2019-05-22)
### 1.3.2.
4
Release Notes (2019-05-22)
#### New features
...
...
R/PE_Oudin.R
View file @
a69f0b5b
...
...
@@ -53,6 +53,12 @@ PE_Oudin <- function(JD, Temp,
if
(
!
(
TimeStepOut
%in%
c
(
"daily"
,
"hourly"
)))
{
stop
(
"'TimeStepOut' must be one of \"daily\" or \"hourly\""
)
}
if
(
TimeStepIn
==
"daily"
)
{
rleJD
<-
rle
(
JD
)
if
(
any
(
rleJD
$
lengths
!=
1
))
{
stop
(
"each day must have only one identical value of julian days"
)
}
}
## ---------- hourly inputs aggregation
...
...
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