Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
esde
toar-public
toarstats
Commits
b2901dc8
Commit
b2901dc8
authored
Dec 06, 2021
by
Niklas Selke
Browse files
Set the 'resample_rule' to the correct value for all sampling values.
parent
376f1b99
Changes
1
Hide whitespace changes
Inline
Side-by-side
toarstats/interface.py
View file @
b2901dc8
...
...
@@ -105,6 +105,8 @@ def calculate_statistics(
sampling
,
statistics
,
data
,
metadata
,
seasons
,
crops
,
data_capture
,
datetimes
,
values
,
station_lat
,
station_lon
,
station_climatic_zone
)
resample_rule
=
(
"seasonal"
if
input_parameters
.
sampling
==
"vegseason"
else
input_parameters
.
sampling
)
reference_data_frame
=
create_reference_data_frame
(
input_parameters
.
data
.
index
)
Write
Preview
Supports
Markdown
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