Set Open-Meteo as MVP weather source

This commit is contained in:
2026-05-15 23:13:03 -07:00
parent a4aa2095be
commit 902bc3b42b
4 changed files with 157 additions and 1 deletions
+37
View File
@@ -0,0 +1,37 @@
{
"schema_version": 1,
"provider_id": "open-meteo",
"provider_name": "Open-Meteo Forecast API",
"provider_docs_url": "https://open-meteo.com/en/docs",
"forecast_endpoint": "https://api.open-meteo.com/v1/forecast",
"api_key_required": false,
"tile_lookup_rule": "Use each source-backed tile center latitude/longitude from Data/Tiles/tile_weather_manifest.json.",
"request_parameters": {
"current": [
"temperature_2m",
"relative_humidity_2m",
"precipitation",
"rain",
"showers",
"snowfall",
"weather_code",
"cloud_cover",
"pressure_msl",
"wind_speed_10m"
],
"daily": [
"temperature_2m_max",
"temperature_2m_min",
"weather_code",
"precipitation_sum",
"wind_speed_10m_max"
],
"forecast_days": 1,
"timezone": "auto"
},
"agrarian_mapping": {
"temperature": "current.temperature_2m feeds RegionalObservedTemperatureC; daily min/max feed RegionalDailyLowTemperatureC and RegionalDailyHighTemperatureC.",
"weather_state": "weather_code, precipitation, and wind speed map into Clear, Rain, ColdWind, or Storm.",
"source_tracking": "provider id and provider current timestamp are stored in the game-state weather source string until full persistence metadata is implemented."
}
}