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

bugfix for renaming of stat_var values

parent 569364d2
No related branches found
No related tags found
2 merge requests!37include new development,!36include using of hourly data
Pipeline #29128 passed
...@@ -45,6 +45,7 @@ def download_join(station_name: Union[str, List[str]], stat_var: dict, station_t ...@@ -45,6 +45,7 @@ def download_join(station_name: Union[str, List[str]], stat_var: dict, station_t
vars_dict = load_series_information(station_name, station_type, network_name, join_url_base, headers) vars_dict = load_series_information(station_name, station_type, network_name, join_url_base, headers)
# correct stat_var values if data is not aggregated (hourly) # 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.update({k: "values"}) for k in stat_var.keys()]
# download all variables with given statistic # download all variables with given statistic
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment