aboutsummaryrefslogtreecommitdiff
path: root/internal/openmeteo
diff options
context:
space:
mode:
Diffstat (limited to 'internal/openmeteo')
-rw-r--r--internal/openmeteo/testdata/forecast.json2
-rw-r--r--internal/openmeteo/testdata/pollen.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/internal/openmeteo/testdata/forecast.json b/internal/openmeteo/testdata/forecast.json
index b8948f7..287bbed 100644
--- a/internal/openmeteo/testdata/forecast.json
+++ b/internal/openmeteo/testdata/forecast.json
@@ -1 +1 @@
-{"latitude":50.061700,"longitude":19.937300,"generationtime_ms":1.4580488204956055,"utc_offset_seconds":7200,"timezone":"Europe/Warsaw","timezone_abbreviation":"GMT+2","elevation":236.0,"hourly_units":{"time":"iso8601","temperature_2m":"°C","apparent_temperature":"°C","precipitation":"mm","precipitation_probability":"%","weather_code":"wmo code"},"hourly":{"time":["2026-08-10T00:00","2026-08-10T01:00","2026-08-10T02:00","2026-08-10T03:00","2026-08-10T04:00","2026-08-10T05:00","2026-08-10T06:00","2026-08-10T07:00","2026-08-10T08:00","2026-08-10T09:00","2026-08-10T10:00","2026-08-10T11:00","2026-08-10T12:00","2026-08-10T13:00","2026-08-10T14:00","2026-08-10T15:00","2026-08-10T16:00","2026-08-10T17:00","2026-08-10T18:00","2026-08-10T19:00","2026-08-10T20:00","2026-08-10T21:00","2026-08-10T22:00","2026-08-10T23:00","2026-08-11T00:00","2026-08-11T01:00","2026-08-11T02:00","2026-08-11T03:00","2026-08-11T04:00","2026-08-11T05:00","2026-08-11T06:00","2026-08-11T07:00","2026-08-11T08:00","2026-08-11T09:00","2026-08-11T10:00","2026-08-11T11:00","2026-08-11T12:00","2026-08-11T13:00","2026-08-11T14:00","2026-08-11T15:00","2026-08-11T16:00","2026-08-11T17:00","2026-08-11T18:00","2026-08-11T19:00","2026-08-11T20:00","2026-08-11T21:00","2026-08-11T22:00","2026-08-11T23:00"],"temperature_2m":[15.0,14.4,13.4,13.0,12.9,12.1,11.9,14.4,19.2,22.4,24.6,26.2,27.5,28.7,29.3,29.4,29.3,28.9,28.4,27.0,24.8,23.6,22.9,22.6,22.3,22.5,22.4,21.9,21.6,20.3,18.9,19.8,20.9,22.4,22.0,22.1,23.1,22.7,21.5,22.2,21.9,21.8,21.7,21.3,19.5,18.3,16.8,15.6],"apparent_temperature":[13.8,13.3,12.5,11.8,11.5,11.2,11.0,14.0,18.3,21.6,24.1,26.2,27.6,29.1,29.5,28.2,28.3,28.7,28.9,28.2,25.5,24.1,22.2,21.8,21.3,20.4,20.0,19.5,19.7,18.7,18.3,19.4,21.3,23.1,21.6,22.0,23.3,21.8,20.4,20.8,19.8,19.7,20.2,19.6,18.3,16.3,15.1,13.7],"precipitation":[0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00],"precipitation_probability":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,3,4,4,3,2,1,0,0,2,6,8,8,6,4,3,1,0,0,0,0,0,0,0,0,0,0,0,0,0],"weather_code":[1,3,2,0,0,0,0,1,0,2,2,3,3,0,3,3,3,3,3,0,0,3,1,0,0,0,0,0,0,0,0,0,3,3,3,3,2,3,3,3,3,3,0,0,0,0,0,0]},"daily_units":{"time":"iso8601","sunrise":"iso8601","sunset":"iso8601","temperature_2m_max":"°C","temperature_2m_min":"°C","precipitation_sum":"mm","precipitation_hours":"h","daylight_duration":"s","sunshine_duration":"s"},"daily":{"time":["2026-08-10","2026-08-11"],"sunrise":["2026-08-10T05:15","2026-08-11T05:16"],"sunset":["2026-08-10T20:01","2026-08-11T19:59"],"temperature_2m_max":[29.4,23.1],"temperature_2m_min":[11.9,15.6],"precipitation_sum":[0.00,0.00],"precipitation_hours":[0.0,0.0],"daylight_duration":[53154.79,52962.40],"sunshine_duration":[43387.38,856.60]}} \ No newline at end of file
+{"latitude":50.057274,"longitude":19.949356,"generationtime_ms":0.13709068298339844,"utc_offset_seconds":7200,"timezone":"Europe/Warsaw","timezone_abbreviation":"GMT+2","elevation":222.0,"hourly_units":{"time":"iso8601","temperature_2m":"°C","apparent_temperature":"°C","precipitation":"mm","precipitation_probability":"%","weather_code":"wmo code"},"hourly":{"time":["2026-08-25T00:00","2026-08-25T01:00","2026-08-25T02:00","2026-08-25T03:00","2026-08-25T04:00","2026-08-25T05:00","2026-08-25T06:00","2026-08-25T07:00","2026-08-25T08:00","2026-08-25T09:00","2026-08-25T10:00","2026-08-25T11:00","2026-08-25T12:00","2026-08-25T13:00","2026-08-25T14:00","2026-08-25T15:00","2026-08-25T16:00","2026-08-25T17:00","2026-08-25T18:00","2026-08-25T19:00","2026-08-25T20:00","2026-08-25T21:00","2026-08-25T22:00","2026-08-25T23:00","2026-08-26T00:00","2026-08-26T01:00","2026-08-26T02:00","2026-08-26T03:00","2026-08-26T04:00","2026-08-26T05:00","2026-08-26T06:00","2026-08-26T07:00","2026-08-26T08:00","2026-08-26T09:00","2026-08-26T10:00","2026-08-26T11:00","2026-08-26T12:00","2026-08-26T13:00","2026-08-26T14:00","2026-08-26T15:00","2026-08-26T16:00","2026-08-26T17:00","2026-08-26T18:00","2026-08-26T19:00","2026-08-26T20:00","2026-08-26T21:00","2026-08-26T22:00","2026-08-26T23:00"],"temperature_2m":[15.7,15.2,14.2,13.4,12.7,12.3,11.7,12.3,13.5,14.7,15.9,16.3,16.4,16.9,16.5,15.8,15.7,16.0,16.0,15.2,14.8,15.1,15.2,15.2,14.6,14.7,14.5,14.2,14.2,14.2,14.1,14.6,15.0,15.9,16.7,17.8,19.4,19.9,21.6,22.5,22.9,23.0,22.7,21.9,20.7,19.7,17.7,16.8],"apparent_temperature":[14.3,14.1,13.0,11.9,11.2,10.5,10.0,10.6,11.7,12.4,13.4,13.8,14.5,15.3,15.4,15.0,14.7,15.2,15.6,14.8,13.9,14.4,14.3,14.4,14.3,14.4,14.1,13.7,13.7,13.5,13.2,13.8,14.2,15.0,15.8,16.9,18.5,18.9,20.3,21.7,21.5,21.3,21.0,20.6,20.0,19.5,16.9,16.3],"precipitation":[0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.30,0.40,0.30,0.00,0.10,0.20,0.40,0.20,0.00,0.00,0.00,0.00,0.00,0.20,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00],"precipitation_probability":[0,0,0,0,0,0,0,0,0,14,33,51,67,82,86,70,44,27,27,36,45,52,58,59,50,36,25,20,18,16,13,10,8,7,8,8,8,7,6,4,2,0,0,0,0,1,2,2],"weather_code":[0,0,0,0,0,0,3,2,3,3,3,3,3,3,51,51,51,3,51,51,51,51,3,3,3,3,3,51,3,3,3,3,3,3,3,3,3,3,2,0,1,0,0,0,0,0,1,1]},"daily_units":{"time":"iso8601","sunrise":"iso8601","sunset":"iso8601","temperature_2m_max":"°C","temperature_2m_min":"°C","precipitation_sum":"mm","precipitation_hours":"h","daylight_duration":"s","sunshine_duration":"s"},"daily":{"time":["2026-08-25","2026-08-26"],"sunrise":["2026-08-25T05:44","2026-08-26T05:46"],"sunset":["2026-08-25T19:39","2026-08-26T19:37"],"temperature_2m_max":[16.9,23.0],"temperature_2m_min":[11.7,14.1],"precipitation_sum":[1.90,0.20],"precipitation_hours":[7.0,1.0],"daylight_duration":[50091.86,49879.20],"sunshine_duration":[2602.91,18000.00]}} \ No newline at end of file
diff --git a/internal/openmeteo/testdata/pollen.json b/internal/openmeteo/testdata/pollen.json
index eba1a73..f377143 100644
--- a/internal/openmeteo/testdata/pollen.json
+++ b/internal/openmeteo/testdata/pollen.json
@@ -1 +1 @@
-{"latitude":50.0,"longitude":21.8,"generationtime_ms":0.19991397857666016,"utc_offset_seconds":7200,"timezone":"Europe/Warsaw","timezone_abbreviation":"GMT+2","elevation":236.0,"hourly_units":{"time":"iso8601","grass_pollen":"grains/m³","birch_pollen":"grains/m³"},"hourly":{"time":["2026-08-10T00:00","2026-08-10T01:00","2026-08-10T02:00","2026-08-10T03:00","2026-08-10T04:00","2026-08-10T05:00","2026-08-10T06:00","2026-08-10T07:00","2026-08-10T08:00","2026-08-10T09:00","2026-08-10T10:00","2026-08-10T11:00","2026-08-10T12:00","2026-08-10T13:00","2026-08-10T14:00","2026-08-10T15:00","2026-08-10T16:00","2026-08-10T17:00","2026-08-10T18:00","2026-08-10T19:00","2026-08-10T20:00","2026-08-10T21:00","2026-08-10T22:00","2026-08-10T23:00","2026-08-11T00:00","2026-08-11T01:00","2026-08-11T02:00","2026-08-11T03:00","2026-08-11T04:00","2026-08-11T05:00","2026-08-11T06:00","2026-08-11T07:00","2026-08-11T08:00","2026-08-11T09:00","2026-08-11T10:00","2026-08-11T11:00","2026-08-11T12:00","2026-08-11T13:00","2026-08-11T14:00","2026-08-11T15:00","2026-08-11T16:00","2026-08-11T17:00","2026-08-11T18:00","2026-08-11T19:00","2026-08-11T20:00","2026-08-11T21:00","2026-08-11T22:00","2026-08-11T23:00"],"grass_pollen":[7.2,6.7,5.4,2.6,1.7,2.6,2.6,6.2,6.3,6.5,6.9,6.6,5.5,4.7,4.5,4.7,5.0,4.9,5.5,6.0,10.6,6.4,6.3,6.5,6.4,5.4,5.4,6.0,5.4,4.9,4.8,4.6,4.6,3.8,3.4,3.5,3.5,3.8,3.9,3.8,3.7,4.4,4.2,4.9,5.8,5.8,6.6,8.0],"birch_pollen":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]}} \ No newline at end of file
+{"latitude":50.1,"longitude":19.900002,"generationtime_ms":0.21314620971679688,"utc_offset_seconds":7200,"timezone":"Europe/Warsaw","timezone_abbreviation":"GMT+2","elevation":222.0,"hourly_units":{"time":"iso8601","grass_pollen":"grains/m³","birch_pollen":"grains/m³"},"hourly":{"time":["2026-08-25T00:00","2026-08-25T01:00","2026-08-25T02:00","2026-08-25T03:00","2026-08-25T04:00","2026-08-25T05:00","2026-08-25T06:00","2026-08-25T07:00","2026-08-25T08:00","2026-08-25T09:00","2026-08-25T10:00","2026-08-25T11:00","2026-08-25T12:00","2026-08-25T13:00","2026-08-25T14:00","2026-08-25T15:00","2026-08-25T16:00","2026-08-25T17:00","2026-08-25T18:00","2026-08-25T19:00","2026-08-25T20:00","2026-08-25T21:00","2026-08-25T22:00","2026-08-25T23:00","2026-08-26T00:00","2026-08-26T01:00","2026-08-26T02:00","2026-08-26T03:00","2026-08-26T04:00","2026-08-26T05:00","2026-08-26T06:00","2026-08-26T07:00","2026-08-26T08:00","2026-08-26T09:00","2026-08-26T10:00","2026-08-26T11:00","2026-08-26T12:00","2026-08-26T13:00","2026-08-26T14:00","2026-08-26T15:00","2026-08-26T16:00","2026-08-26T17:00","2026-08-26T18:00","2026-08-26T19:00","2026-08-26T20:00","2026-08-26T21:00","2026-08-26T22:00","2026-08-26T23:00"],"grass_pollen":[2.9,2.9,1.8,1.6,1.4,1.4,0.8,0.7,1.1,1.6,2.0,2.3,2.7,2.9,1.8,3.0,2.8,3.1,3.0,2.6,2.3,2.2,2.1,2.1,2.1,2.2,2.4,2.1,1.8,1.9,2.0,1.6,2.1,2.0,1.8,2.1,2.3,2.4,2.2,2.1,1.7,1.5,1.5,2.2,2.5,2.9,2.8,2.3],"birch_pollen":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]}} \ No newline at end of file