diff --git a/weather_example.json b/weather_example.json new file mode 100644 index 0000000..27eea72 --- /dev/null +++ b/weather_example.json @@ -0,0 +1,988 @@ +{ + "latitude": 39.26186, + "longitude": -76.8595, + "generationtime_ms": 15.3275728225708, + "utc_offset_seconds": 0, + "timezone": "GMT", + "timezone_abbreviation": "GMT", + "elevation": 54.0, + "hourly_units": { + "time": "iso8601", + "temperature_2m": "°C", + "relative_humidity_2m": "%", + "dew_point_2m": "°C", + "apparent_temperature": "°C", + "pressure_msl": "hPa", + "surface_pressure": "hPa", + "precipitation": "mm", + "rain": "mm", + "snowfall": "cm", + "cloud_cover": "%", + "cloud_cover_low": "%", + "cloud_cover_mid": "%", + "cloud_cover_high": "%", + "shortwave_radiation": "W/m²", + "direct_radiation": "W/m²", + "direct_normal_irradiance": "W/m²", + "diffuse_radiation": "W/m²", + "global_tilted_irradiance": "W/m²", + "sunshine_duration": "s", + "wind_speed_10m": "km/h", + "wind_speed_100m": "km/h", + "wind_direction_10m": "°", + "wind_direction_100m": "°", + "wind_gusts_10m": "km/h", + "et0_fao_evapotranspiration": "mm", + "weather_code": "wmo code", + "snow_depth": "m", + "vapour_pressure_deficit": "kPa", + "soil_temperature_0_to_7cm": "°C", + "soil_temperature_7_to_28cm": "°C", + "soil_temperature_28_to_100cm": "°C", + "soil_temperature_100_to_255cm": "°C", + "soil_moisture_0_to_7cm": "m³/m³", + "soil_moisture_7_to_28cm": "m³/m³", + "soil_moisture_28_to_100cm": "m³/m³", + "soil_moisture_100_to_255cm": "m³/m³" + }, + "hourly": { + "time": [ + "2025-07-06T00:00", + "2025-07-06T01:00", + "2025-07-06T02:00", + "2025-07-06T03:00", + "2025-07-06T04:00", + "2025-07-06T05:00", + "2025-07-06T06:00", + "2025-07-06T07:00", + "2025-07-06T08:00", + "2025-07-06T09:00", + "2025-07-06T10:00", + "2025-07-06T11:00", + "2025-07-06T12:00", + "2025-07-06T13:00", + "2025-07-06T14:00", + "2025-07-06T15:00", + "2025-07-06T16:00", + "2025-07-06T17:00", + "2025-07-06T18:00", + "2025-07-06T19:00", + "2025-07-06T20:00", + "2025-07-06T21:00", + "2025-07-06T22:00", + "2025-07-06T23:00" + ], + "temperature_2m": [ + 25.4, + 24.2, + 23.4, + 22.8, + 22.2, + 21.6, + 21.1, + 20.7, + 20.2, + 19.9, + 19.5, + 20.4, + 22.4, + 24.7, + 26.6, + 27.7, + 27.7, + 29.4, + 29.4, + 29.4, + 29.8, + 29.5, + 29.0, + 28.2 + ], + "relative_humidity_2m": [ + 57, + 69, + 71, + 73, + 76, + 78, + 79, + 79, + 80, + 82, + 84, + 82, + 77, + 74, + 69, + 67, + 66, + 59, + 60, + 62, + 63, + 61, + 64, + 68 + ], + "dew_point_2m": [ + 16.2, + 18.2, + 17.8, + 17.8, + 17.8, + 17.6, + 17.2, + 16.9, + 16.7, + 16.7, + 16.7, + 17.2, + 18.1, + 19.9, + 20.5, + 21.0, + 20.7, + 20.6, + 20.9, + 21.4, + 21.9, + 21.3, + 21.5, + 21.8 + ], + "apparent_temperature": [ + 25.9, + 25.6, + 24.6, + 24.2, + 23.7, + 23.0, + 22.3, + 21.8, + 21.3, + 21.0, + 20.8, + 22.0, + 24.6, + 27.8, + 29.1, + 31.2, + 30.5, + 33.4, + 33.0, + 32.8, + 33.4, + 32.1, + 31.4, + 31.0 + ], + "pressure_msl": [ + 1018.7, + 1019.2, + 1019.6, + 1019.8, + 1019.8, + 1019.6, + 1019.4, + 1019.1, + 1018.8, + 1018.9, + 1018.9, + 1018.9, + 1019.1, + 1019.6, + 1019.2, + 1018.8, + 1018.8, + 1018.1, + 1017.2, + 1016.2, + 1015.6, + 1015.1, + 1014.8, + 1014.9 + ], + "surface_pressure": [ + 1012.4, + 1012.9, + 1013.3, + 1013.5, + 1013.5, + 1013.2, + 1013.0, + 1012.7, + 1012.4, + 1012.5, + 1012.5, + 1012.5, + 1012.8, + 1013.3, + 1012.9, + 1012.6, + 1012.6, + 1011.9, + 1011.0, + 1010.0, + 1009.4, + 1008.9, + 1008.6, + 1008.7 + ], + "precipitation": [ + 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.1, + 0.1, + 0.3, + 0.4, + 0.6, + 0.1, + 0.1, + 0.0, + 0.0 + ], + "rain": [ + 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.1, + 0.1, + 0.3, + 0.4, + 0.6, + 0.1, + 0.1, + 0.0, + 0.0 + ], + "snowfall": [ + 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 + ], + "cloud_cover": [ + 99, + 99, + 98, + 100, + 98, + 100, + 97, + 99, + 98, + 99, + 92, + 6, + 5, + 11, + 39, + 65, + 30, + 31, + 53, + 60, + 20, + 28, + 15, + 11 + ], + "cloud_cover_low": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 11, + 39, + 64, + 30, + 29, + 28, + 39, + 11, + 15, + 12, + 0 + ], + "cloud_cover_mid": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 7, + 4, + 10, + 37, + 35, + 11, + 19, + 7, + 11 + ], + "cloud_cover_high": [ + 99, + 99, + 98, + 100, + 98, + 100, + 97, + 99, + 98, + 99, + 92, + 6, + 5, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "shortwave_radiation": [ + 121.0, + 11.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0, + 63.0, + 224.0, + 394.0, + 553.0, + 664.0, + 388.0, + 821.0, + 771.0, + 670.0, + 638.0, + 455.0, + 379.0, + 261.0 + ], + "direct_radiation": [ + 73.0, + 3.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 31.0, + 155.0, + 292.0, + 419.0, + 480.0, + 52.0, + 598.0, + 558.0, + 438.0, + 465.0, + 287.0, + 237.0, + 166.0 + ], + "direct_normal_irradiance": [ + 386.8, + 35.6, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 223.5, + 519.1, + 607.6, + 648.2, + 611.7, + 58.7, + 633.5, + 585.0, + 478.5, + 559.5, + 406.0, + 430.2, + 443.9 + ], + "diffuse_radiation": [ + 48.0, + 8.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0, + 32.0, + 69.0, + 102.0, + 134.0, + 184.0, + 336.0, + 223.0, + 213.0, + 232.0, + 173.0, + 168.0, + 142.0, + 95.0 + ], + "global_tilted_irradiance": [ + 121.0, + 11.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 1.0, + 63.0, + 224.0, + 394.0, + 553.0, + 664.0, + 388.0, + 821.0, + 771.0, + 670.0, + 638.0, + 455.0, + 379.0, + 261.0 + ], + "sunshine_duration": [ + 3600.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 0.0, + 2585.07, + 3600.0, + 3600.0, + 3600.0, + 3600.0, + 0.0, + 3600.0, + 3600.0, + 3600.0, + 3600.0, + 3600.0, + 3600.0, + 3600.0 + ], + "wind_speed_10m": [ + 10.8, + 10.9, + 11.4, + 9.5, + 9.1, + 9.1, + 8.9, + 8.5, + 8.1, + 8.3, + 7.3, + 6.5, + 4.7, + 4.8, + 11.0, + 10.3, + 9.5, + 11.5, + 12.9, + 12.5, + 11.7, + 13.4, + 15.2, + 13.5 + ], + "wind_speed_100m": [ + 23.0, + 23.5, + 25.4, + 22.0, + 21.3, + 20.7, + 20.5, + 20.5, + 19.6, + 19.8, + 18.9, + 14.7, + 13.5, + 7.3, + 14.9, + 13.9, + 12.9, + 15.2, + 17.5, + 16.8, + 16.1, + 18.7, + 21.9, + 20.7 + ], + "wind_direction_10m": [ + 133, + 147, + 157, + 179, + 189, + 195, + 198, + 205, + 219, + 219, + 216, + 231, + 198, + 202, + 194, + 178, + 171, + 158, + 148, + 143, + 149, + 143, + 137, + 136 + ], + "wind_direction_100m": [ + 137, + 148, + 162, + 184, + 193, + 198, + 198, + 203, + 212, + 215, + 214, + 220, + 205, + 203, + 195, + 179, + 172, + 159, + 148, + 142, + 148, + 145, + 141, + 139 + ], + "wind_gusts_10m": [ + 21.2, + 19.4, + 19.8, + 20.2, + 16.2, + 15.5, + 15.5, + 14.8, + 14.4, + 13.7, + 13.7, + 11.5, + 11.5, + 14.4, + 24.5, + 26.3, + 25.2, + 27.7, + 29.9, + 29.9, + 28.4, + 27.7, + 31.7, + 31.3 + ], + "et0_fao_evapotranspiration": [ + 0.13, + 0.06, + 0.04, + 0.03, + 0.02, + 0.02, + 0.02, + 0.01, + 0.01, + 0.01, + 0.02, + 0.04, + 0.13, + 0.26, + 0.38, + 0.47, + 0.31, + 0.6, + 0.57, + 0.5, + 0.48, + 0.37, + 0.32, + 0.22 + ], + "weather_code": [ + 3, + 3, + 3, + 3, + 3, + 3, + 3, + 3, + 3, + 3, + 3, + 0, + 0, + 0, + 1, + 51, + 51, + 51, + 51, + 53, + 51, + 51, + 0, + 0 + ], + "snow_depth": [None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None + ], + "vapour_pressure_deficit": [ + 1.39, + 0.92, + 0.84, + 0.74, + 0.64, + 0.57, + 0.53, + 0.52, + 0.47, + 0.42, + 0.37, + 0.44, + 0.62, + 0.8, + 1.07, + 1.22, + 1.28, + 1.68, + 1.62, + 1.54, + 1.56, + 1.59, + 1.44, + 1.22 + ], + "soil_temperature_0_to_7cm": [ + 26.8, + 25.8, + 24.9, + 24.1, + 23.3, + 22.7, + 22.1, + 21.6, + 21.1, + 20.7, + 20.3, + 20.4, + 21.3, + 22.9, + 24.3, + 25.7, + 26.2, + 27.5, + 28.3, + 28.7, + 29.0, + 28.9, + 28.7, + 28.2 + ], + "soil_temperature_7_to_28cm": [ + 24.3, + 24.4, + 24.4, + 24.4, + 24.3, + 24.2, + 24.1, + 24.0, + 23.8, + 23.6, + 23.5, + 23.3, + 23.1, + 23.1, + 23.1, + 23.2, + 23.3, + 23.4, + 23.6, + 23.8, + 24.0, + 24.2, + 24.4, + 24.5 + ], + "soil_temperature_28_to_100cm": [ + 21.6, + 21.6, + 21.6, + 21.6, + 21.6, + 21.6, + 21.6, + 21.6, + 21.6, + 21.6, + 21.6, + 21.6, + 21.6, + 21.6, + 21.6, + 21.6, + 21.6, + 21.6, + 21.6, + 21.6, + 21.6, + 21.6, + 21.6, + 21.6 + ], + "soil_temperature_100_to_255cm": [ + 14.3, + 14.3, + 14.3, + 14.3, + 14.4, + 14.4, + 14.4, + 14.4, + 14.4, + 14.4, + 14.4, + 14.4, + 14.4, + 14.4, + 14.4, + 14.4, + 14.4, + 14.4, + 14.4, + 14.4, + 14.4, + 14.4, + 14.4, + 14.4 + ], + "soil_moisture_0_to_7cm": [ + 0.247, + 0.244, + 0.244, + 0.244, + 0.244, + 0.244, + 0.244, + 0.244, + 0.244, + 0.244, + 0.244, + 0.244, + 0.244, + 0.248, + 0.246, + 0.245, + 0.246, + 0.246, + 0.247, + 0.251, + 0.25, + 0.249, + 0.248, + 0.247 + ], + "soil_moisture_7_to_28cm": [ + 0.362, + 0.361, + 0.36, + 0.36, + 0.36, + 0.36, + 0.36, + 0.36, + 0.36, + 0.36, + 0.36, + 0.36, + 0.359, + 0.362, + 0.361, + 0.36, + 0.359, + 0.358, + 0.357, + 0.356, + 0.355, + 0.355, + 0.354, + 0.353 + ], + "soil_moisture_28_to_100cm": [ + 0.287, + 0.286, + 0.286, + 0.287, + 0.287, + 0.287, + 0.287, + 0.287, + 0.287, + 0.287, + 0.287, + 0.287, + 0.287, + 0.288, + 0.288, + 0.288, + 0.288, + 0.288, + 0.288, + 0.288, + 0.288, + 0.288, + 0.288, + 0.288 + ], + "soil_moisture_100_to_255cm": [ + 0.352, + 0.352, + 0.352, + 0.352, + 0.352, + 0.352, + 0.352, + 0.352, + 0.352, + 0.352, + 0.352, + 0.352, + 0.352, + 0.352, + 0.352, + 0.352, + 0.352, + 0.352, + 0.352, + 0.352, + 0.352, + 0.352, + 0.352, + 0.352 + ] + } +} \ No newline at end of file