name: meteo description: Access weather and climate data for thousands of weather stations and any place worldwide.
Meteo
Commands
Meteo is a CLI tool, run meteo --help to see a list of all available commands and options.
Gotchas
- If the
meteocommand is not found, use uvx:uvx meteostat-cli [YOUR_COMMAND] meteo nearbyrequires numericLAT,LONargument — city names are not accepted; use coordinates directly- When looking for stations that match the elevation of a place, use
meteo nearbywithout a radius and filter results by elevation - Pass multiple station IDs in one call instead of looping:
meteo daily D1424 EDEV0 10635 --start 2025 --end 2025 - Fetch only the columns you need with
--parametersto eliminate post-processing:--parameters tmaxor--parameters tmax,prcp - Aggregate all rows with
--agg(Pandas.agg()):--agg max,--agg mean,--agg sum --startand--endaccept YYYY-MM-DD, YYYY-MM, YYYY- Machine-readable output for piping:
--format jsonor--format csv - To get the date of extreme values, fetch the parameter without aggregation and filter with
sortafter fetching:meteo daily D1424 --start 2025-01-01 --end 2025-12-31 --parameters tmax -f csv | awk -F',' 'NR>1' | sort -t',' -k3 -rn | head -1