get_ogd_recent
Fetch recent MeteoSwiss OGD station measurements from STAC CSV assets; set station, collection, parameters, granularity, and row limit for weather analysis.
Instructions
Get the latest MeteoSwiss OGD measurements for one station by reading the STAC CSV asset (10-minute/hourly 'now' file when available, otherwise the recent file). Times are Swiss local time. Use list_ogd_stations for codes such as BER, SMA, LUG.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of most recent rows (default 24, max 168). | |
| station | Yes | Station abbreviation (e.g. BER, SMA, LUG, BAS). | |
| collection | No | OGD collection alias (default smn). Aliases: smn, smn-precip, smn-tower, nime, nbcn, nbcn-precip, obs, phenology, tot. A full STAC id such as ch.meteoschweiz.ogd-smn is also accepted. | |
| parameters | No | Comma-separated parameter codes (e.g. tre200h0,rre150h0). Omit for the common temperature, humidity, precipitation, wind, pressure, sunshine, and radiation columns. Use 'all' for the first data columns. | |
| granularity | No | Resolution: t (10-minute), h (hourly, default), d (daily), m (monthly), y (yearly). |