Skip to content
Snippets Groups Projects
Select Git revision
  • f593a6c4f69aa11986b2a3836d90f013c25b8cc4
  • 2022 default
  • 2021
  • master protected
  • 2021
5 results

README.md

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