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

add missing join_settings.py

parent 9937bd31
No related branches found
No related tags found
2 merge requests!37include new development,!36include using of hourly data
def join_settings(sampling="daily"):
if sampling == "daily": # pragma: no branch
TOAR_SERVICE_URL = 'https://join.fz-juelich.de/services/rest/surfacedata/'
headers = {}
elif sampling == "hourly":
TOAR_SERVICE_URL = 'https://join.fz-juelich.de/services/rest/surfacedata/'
headers = {}
else:
raise NameError(f"Given sampling {sampling} is not supported, choose from either daily or hourly sampling.")
return TOAR_SERVICE_URL, headers
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment