diff --git a/weather_datasources.yaml b/weather_datasources.yaml index ca6711ae9bc162e40234ba7581311f7f4ef99117..902b8d3cac513b02fd7f83491c862e999b257aac 100644 --- a/weather_datasources.yaml +++ b/weather_datasources.yaml @@ -44,47 +44,46 @@ datasources: - 2001 # Precipitation (mm) - 4002 # Instantaneous wind speed at 2m - - id: no.nibio.mockweatherdatasource - name: "Mock Weather Data Source" - description: "Placeholder datasource providing same data for all locations and periods" - public_URL: https://test.madiphs.org/mwds/ - priority: 0 # From 0 (lowest) - 10 (highest) When more than one datasource relevant, use this value for prioritization + id: mw.gov.dccms.locationforecast + name: "DCCMS Locationforecast" + description: "5-day forecasts for Malawi" + public_URL: "https://https://www.metmalawi.gov.mw/" + priority: 10 # From 0 (lowest) - 10 (highest) When more than one datasource relevant, use this value for prioritization organization: - name: NIBIO - country: Norway - address: Høgskoleveien 7 - postal_code: "1431" - city: Ås - email: tor-einar.skog@nibio.no - url: https://nibio.no - endpoint: https://test.madiphs.org/mwds/weather_data + name: Departmend of Climate Change and Meteorological Services + country: Malawi + address: Southern Regional Government Buildings, Victoria Avenue + city: Blantyre + email: metdept@metmalawi.gov.mw + url: https://https://www.metmalawi.gov.mw/ + endpoint: "{WEATHER_API_URL}/rest/weatheradapter/dccmslocationforecast/" authentication_type: NONE needs_data_control: false temporal: - historic: - start: 2021-01-01 - end: 2021-12-31 - forecast: 0 - intervals: + historic: # + #start: null # Start == null => No measured/historic/observational data + #end: null #null => Recent data available (continuously updated) UNLESS OF COURSE start == null + forecast: 5 # 0 = no forecast. All other positive integers indicate the number of days ahead + intervals: # Array of accepted interval requests - 3600 - - 86400 access_type: location spatial: - countries: null + # Using country codes to get GeoJSON. Saves a lot of duplication. + # ISO-3166-1 Three-letter country codes https://en.wikipedia.org/wiki/ISO_3166-1#Current_codes + # e.g. + # - NOR + # - SWE + countries: + - MWI + # "Sphere" simply means the whole globe (NOT part of GEOJson spec!) geoJSON: |- {"type": "Sphere"} parameters: common: - - 1002 # Average temperature at 2m (Celcius) - - 1003 # Minimum temperature at 2m (Celcius) - - 1004 # Maximum temperature at 2m (Celcius) - - 1112 # Soil temp 10cm - - 2001 # Precipitation (mm) - - 3002 # Average RH at 2m (%) - - 3101 # Leaf wetness + - 1001 # Instantaneous temperature at 2m (Celcius) + - 2001 # Precipitation + - 4001 # Average wind speed - 4002 # Instantaneous wind speed at 2m - - 4003 # Mean wind speed at 2m - - 5001 # Global radiation (w/sqm) - id: org.tahmo name: "Tahmo weather stations"