Commit 48ddffd4 authored by lukas leufen's avatar lukas leufen

Merge branch 'lukas_issue212_bug_mixed-sampling-data-loading' into 'develop'

Resolve "BUG: mixed sampling causing errors on data loading"

See merge request !188
parents 5c58d438 91292c01
Pipeline #51988 passed with stages
in 10 minutes and 17 seconds
......@@ -46,7 +46,7 @@ def download_join(station_name: Union[str, List[str]], stat_var: dict, station_t
# correct stat_var values if data is not aggregated (hourly)
if sampling == "hourly":
[stat_var.update({k: "values"}) for k in stat_var.keys()]
stat_var = {key: "values" for key in stat_var.keys()}
# download all variables with given statistic
data = None
......
Markdown is supported
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