From a5fd57d514ff3f1a6614545896e07550beea1dfc Mon Sep 17 00:00:00 2001 From: Lene Wasskog <lene.wasskog@nibio.no> Date: Thu, 19 Dec 2024 13:05:37 +0100 Subject: [PATCH] feat: Update URLs, add 86400 as valid interval for Tahmo --- weather_datasources.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/weather_datasources.yaml b/weather_datasources.yaml index 267c5fb..ca6711a 100644 --- a/weather_datasources.yaml +++ b/weather_datasources.yaml @@ -16,7 +16,7 @@ datasources: city: Oslo email: david.melchior@met.no url: https://www.met.no/en - endpoint: "{WEATHER_API_URL}/rest/weatheradapter/yr/" + endpoint: "{WEATHER_API_URL}/weatheradapter/metnorwaylocationforecast/" authentication_type: NONE needs_data_control: false temporal: @@ -98,7 +98,7 @@ datasources: city: Nairobi email: info@tahmo.org url: https://tahmo.org/ - endpoint: "{WEATHER_API_URL}/rest/weatheradapter/tahmo/" + endpoint: "{WEATHER_API_URL}/weatheradapter/tahmo/" authentication_type: CREDENTIALS # This implies http(s) POST and sending parameters x-www-form-urlencoded, adding parameter credentials={"username":"XXX", "password":"XXX"} needs_data_control: true temporal: @@ -108,6 +108,7 @@ datasources: forecast: 0 intervals: - 3600 + - 86400 access_type: stations spatial: countries: @@ -138,7 +139,7 @@ datasources: city: Unknown email: info@open-meteo.com url: https://open-meteo.com/ - endpoint: "{WEATHER_API_URL}/rest/weatheradapter/openmeteo/" + endpoint: "{WEATHER_API_URL}/weatheradapter/openmeteo/" authentication_type: NONE needs_data_control: false temporal: -- GitLab