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

add join_settings

parent 16d8ee51
Branches
Tags
3 merge requests!125Release v0.10.0,!124Update Master to new version v0.10.0,!91WIP: Resolve "create sphinx docu"
Pipeline #35067 failed
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.
Please register or to comment