Skip to content
Snippets Groups Projects
Select Git revision
  • b67315b1b417f2b7bfb70d85fe75dd54e89c9199
  • master default protected
  • faster_ia_sampler
  • 3WeekPred
  • add_rki_data
  • clean-up
  • MinusPlus5-Plots
  • Future-Prediction
  • plain_temporal_ia
  • hierarchical_ia
  • flexible_timestamps
  • sampleViaMAP
  • NotebookDocumentation
  • final_run
  • 2_2_exp
  • rev1
  • preprint
17 results

BaseModel.py

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