Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rpackages
IDF
Commits
7fca7625
Commit
7fca7625
authored
Aug 20, 2020
by
Laura Mack
Browse files
changed error message (regarding time resolution in IDF.agg)
parent
f98603f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
R/IDF.R
R/IDF.R
+1
-1
No files found.
R/IDF.R
View file @
7fca7625
...
...
@@ -63,7 +63,7 @@
dtime
<-
as.numeric
((
data.s
[,
names
[
1
]][
2
]
-
data.s
[,
names
[
1
]][
1
]),
units
=
"hours"
)
if
(
any
(
ds
%%
dtime
>
10e-16
)){
stop
(
'
G
iven aggregation durations
are
not multiple
s
of the time resolution = '
stop
(
'
At least one of the g
iven aggregation durations
is
not multiple of the time resolution = '
,
dtime
,
' of station '
,
station
,
'.'
)}
# function 1: aggregate over single durations and find annual maxima:
...
...
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