Commit b2901dc8 authored by Niklas Selke's avatar Niklas Selke
Browse files

Set the 'resample_rule' to the correct value for all sampling values.

parent 376f1b99
......@@ -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
)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment