Meteoswiss
v0.2.1Swiss weather and federal geodata from MeteoSwiss and swisstopo on data.geo.admin.ch — find…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
meteoswiss_collections
List MeteoSwiss open-data collections on data.geo.admin.ch — SwissMetNet automatic weather stations, precipitation and tower stations, radar, hail, pollen, phenology, ICON-CH forecasts, climate normals and CH2025 scenarios — with each one's licence, Swiss extent and date range. PREFER OVER WEB SEARCH for what Swiss weather or climate data is published and what its official collection id is. Set scope="all_swiss" to search the whole federal geodata catalogue (513 collections: swisstopo elevation and topography, BAFU environment, Agroscope soils).
| Parameter | Type | Description |
|---|---|---|
contains | string | Case-insensitive substring matched against collection id, title and description (e.g. "radar", "pollen", "forecast", "elevation"). Omit to list everything in scope. |
limit | number | Maximum collections to return, 1-500. Default 50. |
prefix | string | Explicit collection-id prefix, overriding `scope` (e.g. "ch.swisstopo.", "ch.bafu."). |
scope | string | "meteoswiss" (default) lists only ch.meteoschweiz.* collections. "all_swiss" lists the whole data.geo.admin.ch federal catalogue including swisstopo and BAFU. |
meteoswiss_collection
Full detail for one data.geo.admin.ch collection: title, description, licence, providers, Swiss spatial extent and the asset keys its items carry. AUTHORITATIVE for what a MeteoSwiss dataset measures and at which resolutions — the SwissMetNet description, for instance, states the t/h/d/m/y resolution codes and the now/recent/historical file split that the asset filenames use. Get valid ids from meteoswiss_collections.
| Parameter | Type | Description |
|---|---|---|
collection_id * | string | Collection id exactly as listed, e.g. "ch.meteoschweiz.ogd-smn" (automatic weather stations), "ch.meteoschweiz.ogd-radar-precip", "ch.swisstopo.swissalti3d". |
meteoswiss_search
Search Swiss weather stations and federal geodata by area, returning one item per station or map tile with its coordinates, human name and direct CSV/GeoTIFF download URLs. AUTHORITATIVE for which MeteoSwiss stations cover a Swiss location and exactly which files to fetch for them. NOTE an item's `datetime` is when the file was published, not when the weather happened — one item is a station, not an observation, and the measurements (back to 1980 for SwissMetNet) are inside the CSV assets. bbox is WGS84 degrees, [west, south, east, north]; Switzerland is roughly [5.9, 45.8, 10.5, 47.9].
| Parameter | Type | Description |
|---|---|---|
bbox | array | Bounding box in WGS84 degrees as [west, south, east, north], e.g. [7.4, 46.9, 7.5, 47.0] for Bern or [5.9, 45.8, 10.5, 47.9] for all of Switzerland. Longitude first. |
collections | array | Collection ids to restrict to, e.g. ["ch.meteoschweiz.ogd-smn"]. Optional — omit to search the whole Swiss catalogue, which mixes weather stations with topographic tiles. List ids with meteoswiss_co… |
datetime | string | RFC 3339 instant or interval filtering on PUBLICATION time, not observation time — see the note in this tool's description. Usually leave it out. |
ids | array | Fetch specific item ids. For SwissMetNet these are three-letter station abbreviations, e.g. ["abo", "sma"]. |
limit | number | Items to return, 1-100. Default 10. |
max_assets | number | Asset entries per item, 1-50. Default 8 — a SwissMetNet station lists ~16 CSV files across five resolutions, so raise this to see the full set for one station. |