This repository has been archived on 2026-05-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
AgrarianGameArchive/Data/Weather/open_meteo_mvp_source.json

38 lines
1.3 KiB
JSON

{
"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."
}
}