Skip to content

feat: pollen module — MeteoSwiss real-time pollen concentrations #132

@agent-heidi

Description

@agent-heidi

What

Add a new Pollen module using MeteoSwiss open data from the national pollen monitoring network (16 automatic stations).

API

  • STAC Collection: https://data.geo.admin.ch/api/stac/v1/collections/ch.meteoschweiz.ogd-pollen
  • Data files: CSV per station at https://data.geo.admin.ch/ch.meteoschweiz.ogd-pollen/{station}/ogd-pollen_{station}_{granularity}_{period}.csv
  • Station metadata: https://data.geo.admin.ch/ch.meteoschweiz.ogd-pollen/ogd-pollen_meta_stations.csv
  • Parameter metadata: https://data.geo.admin.ch/ch.meteoschweiz.ogd-pollen/ogd-pollen_meta_parameters.csv
  • Auth: None (zero API keys, Source: MeteoSwiss required)
  • License: Open Data, source must be cited

Stations (16)

Bern, Basel, Buchs SG, La Chaux-de-Fonds, Davos, Geneve, Jungfraujoch, Locarno, Lausanne, Lugano, Luzern, Munsterlingen, Neuchatel, Payerne, Sion, Zurich

Pollen types (7)

Alder (Alnus), Birch (Betula), Hazel (Corylus), Beech (Fagus), Ash (Fraxinus), Oak (Quercus), Grasses (Poaceae)

Data granularities

  • h (hourly) — real-time, updated every hour
  • d (daily) — daily averages
  • y (yearly) — annual integrals

Proposed Tools (3)

Tool Description
get_pollen_current Current pollen levels at a station (latest hourly data). Returns concentration per pollen type.
get_pollen_daily Daily pollen averages for a station over recent days. Good for trend analysis.
list_pollen_stations List all 16 pollen monitoring stations with location, canton, coordinates.

Use Cases

  • "What's the pollen situation in Zurich right now?" -> Alder 106, Oak 93 pollen/m3
  • "Is birch pollen high in Basel this week?"
  • "Which stations have the lowest grass pollen right now?"
  • "Pollen trend in Bern over the last 7 days?"

Impact

  • New module: pollen (3 tools)
  • Total: 76 -> 79 tools, 21 -> 22 modules
  • Highly seasonal and practical — affects ~20% of Swiss population (hayfever)

Attribution

Data source: MeteoSwiss (Source must be cited)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions