Fetch daily weather (historical and forecast) by location name or coordinates via Open-Meteo. No API key needed. Scripts: fetch_historical.py (historical), fetch_forecast.py (forecast).
Use this skill when the user asks for:
Provide either:
--location / -l (e.g. "Oslo, Norway") — geocoded via Open-Meteo--lat and --lon (both required)Days: --days N — history default 10 (max 30), forecast default 7 (max 15).
weather_fetch_historical#Run scripts/fetch_historical.py. Observed weather (Open-Meteo archive API). Default 10 days, max 30 ( --days N).
bash
python scripts/fetch_historical.py "Oslo, Norway"
python scripts/fetch_historical.py "Oslo, Norway" --days 20 --format json --kc 1.05
python scripts/fetch_historical.py --location "London, UK" --format csv
python scripts/fetch_historical.py --lat 59.91 --lon 10.75 --days 30
weather_fetch_forecast#Run scripts/fetch_forecast.py. Forecast weather. Default 7 days, max 15 ( --days N).
bash
python scripts/fetch_forecast.py "Oslo, Norway"
python scripts/fetch_forecast.py "Paris, France" --days 15 --format json --kc 1.0
python scripts/fetch_forecast.py --lat 59.91 --lon 10.75 --days 14 --format csv
ColumnDescriptiondateYYYY-MM-DDtempMean daily temperature (°C)precipTotal daily precipitation (mm)et0_faoFAO-56 reference evapotranspiration (mm/day), after kc``evaporationEstimated crop evaporation (mm)agg_precipCumulative precipitationagg_evaporationCumulative evapotranspiration
kc (crop coefficient): multiplier applied to ET₀. Default 1.0.
--lat/ --lon.SymptomFixLocation not foundTry a simpler string (e.g. "Oslo") or use --lat and --lonProvide either location or both --lat and --lonGive a location (positional or --location) or both --lat and --lonAPI failureCheck internet access; retry — Open-Meteo is free and usually reliable