meteoswissClimateData
Get homogeneous climate measurement series from Switzerland's National Basic Climatic Network (NBCN). Returns temperature, precipitation, sunshine, radiation, wind, pressure, and climate indicators (frost days, summer days, heat days) going back decades.
29 climate stations + 46 precipitation stations with daily, monthly, and yearly resolution.
Use cases: "What are typical January temperatures in Zurich?", "How has precipitation changed in Basel over 50 years?", "How many heat days did Lugano have last year?"
Accepts station names ("Zurich", "Basel"), abbreviations ("SMA", "BAS"), or WGS84 coordinates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of data rows to return (default 30) | |
| station | No | Climate station name or abbreviation (e.g., "Zurich", "BAS", "Davos"). Part of the National Basic Climatic Network (29 climate + 46 precipitation stations). Provide either this or `coordinates`; if both are given, `coordinates` takes precedence. | |
| end_date | No | End date filter (YYYY-MM-DD). Only rows on or before this date are returned. | |
| resolution | No | Data resolution: daily (temp min/max/mean), monthly (full climate summary), yearly (annual summary) | monthly |
| start_date | No | Start date filter (YYYY-MM-DD). Only rows on or after this date are returned. | |
| coordinates | No | WGS84 coordinates (alternative to station name) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Measurement rows, filtered and limited as requested | |
| note | No | Present only when `data` is empty because the requested date range fell outside the fetched series (e.g. a daily request older than the ~2-year `_recent` window). Explains why and suggests a fallback resolution. | |
| source | Yes | Data attribution | |
| station | Yes | ||
| resolution | Yes | Resolution the returned rows are in |