Skip to content
Snippets Groups Projects
Commit 91292c01 authored by lukas leufen's avatar lukas leufen
Browse files

fixed bug

parent 5c58d438
Branches
Tags
3 merge requests!192include Develop,!191Resolve "release v1.1.0",!188Resolve "BUG: mixed sampling causing errors on data loading"
Pipeline #51984 passed
...@@ -46,7 +46,7 @@ def download_join(station_name: Union[str, List[str]], stat_var: dict, station_t ...@@ -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) # correct stat_var values if data is not aggregated (hourly)
if sampling == "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 # download all variables with given statistic
data = None data = None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment