Skip to content
Snippets Groups Projects
Select Git revision
  • d2118a5e35f6bf568b466d16bed72fbcf724be2c
  • main default protected
  • jsccloud
  • 1.0.0
  • 4.0.20
  • 4.0.19
  • 4.0.18
  • 4.0.17
  • 4.0.16
9 results

start_jupyter.sh

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