Skip to content
Snippets Groups Projects
Select Git revision
  • e4ffe03b04d9ad1e2ed2ec9303a308e180f0381e
  • master default protected
2 results

challenge_phase_1_description.html

Blame
  • join_settings.py 490 B
    
    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