← 返回
数据分析 中文

Pollen rapporten

Fetch pollen forecasts for Swedish locations from Pollenrapporten (Swedish Museum of Natural History). Use when Boss asks about pollen levels, pollen forecas...
从瑞典自然历史博物馆的 Pollenrapporten 获取瑞典地区花粉预报。用于 Boss 询问花粉水平及预报时。
laurobrcwb
数据分析 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 497
下载
💾 9
安装
1
版本
#latest

概述

Pollen Forecast (Sweden)

Fetch current pollen forecasts from the Swedish Pollen Report (Pollenrapporten) API.

Quick Start

# Basic forecast
python3 $OPENCLAW_HOME/workspace/skills/pollen-forecast/scripts/get_forecast.py <city-name>

# With grass pollen alerts (for allergy sufferers)
python3 $OPENCLAW_HOME/workspace/skills/pollen-forecast/scripts/get_forecast.py <city-name> --alert

Example cities: Göteborg, Stockholm, Malmö, Jönköping, Uppsala

How It Works

  1. Location mapping: The script matches your city to the nearest region ID from the Swedish Pollen Report network
  2. Fetches forecast: Current pollen levels and text summary from api.pollenrapporten.se
  3. Fetches pollen types: Maps pollen IDs to human-readable names with threshold values
  4. Fetches level definitions: Swedish names for severity levels from API
  5. Returns formatted output: Severity levels + text forecast + grass pollen alerts (if --alert flag used)

Severity Levels

  • 0: None (Inga halter)
  • 1: Low (Låga halter)
  • 2: Moderate (Måttliga halter)
  • 3: High (Höga halter)
  • 4: Very High (Mycket höga halter)

Grass Pollen Alerts

Use the --alert flag for enhanced warnings about grass pollen (Gräs), which is the most common trigger for severe allergies.

Alert triggers:

LevelAlertRecommendations
-------------------------------
2 - Moderate💊 Start allergy medicationConsider mask for extended outdoor time
3 - High😷 Mask + 👓 glasses requiredKeep windows closed, use air purifier
4 - Very High🚨 CRITICALMinimize outdoor exposure, shower after being outside

Usage for allergy sufferers:

python3 $OPENCLAW_HOME/workspace/skills/pollen-forecast/scripts/get_forecast.py Göteborg --alert

Usage

Command Line

# Get forecast for Gothenburg
python3 $OPENCLAW_HOME/workspace/skills/pollen-forecast/scripts/get_forecast.py Göteborg

# Get forecast for Stockholm with grass pollen alerts
python3 $OPENCLAW_HOME/workspace/skills/pollen-forecast/scripts/get_forecast.py Stockholm --alert

# List available cities
python3 $OPENCLAW_HOME/workspace/skills/pollen-forecast/scripts/get_forecast.py --help

From SKILL.md

The skill automatically:

  1. Reads the region mappings from references/regions.json
  2. Finds the closest matching region for the requested city
  3. Calls the Pollenrapporten API
  4. Formats the response with pollen types and severity levels

Data Sources

  • API: https://api.pollenrapporten.se/v1/
  • Source: Swedish Museum of Natural History (Naturhistoriska riksmuseet)
  • Coverage: 24 regions across Sweden
  • Update frequency: Daily during pollen season

Output Format

Standard output:

🌿 Pollen Forecast for Göteborg
📅 2026-03-10 to 2026-03-11

📝 Summary:
Under tisdagen och onsdagen väntas måttliga till höga halter av alpollen...

📊 Current Levels:
• Hassel: Low / Låga
• Al: Very High / Måttliga till höga
• Sälg och viden: None / Inga halter
• Gräs: None / Inga halter

With --alert flag (grass pollen warning mode):

🌿 Pollen Forecast for Göteborg
📅 2026-03-10 to 2026-03-11

📝 Summary:
...

📊 Current Levels:
• Gräs: High / Höga halter
...

⚠️ GRASS POLLEN ALERT ⚠️
🌾 Gräs is at HIGH levels.
💊 Take allergy medication now.
😷 Wear mask + 👓 glasses when outside.
🚪 Keep windows closed. Use air purifier if available.

Region Coverage

See references/regions.json for the complete list of 24 monitored regions including:

  • Göteborg (Gothenburg)
  • Stockholm
  • Malmö
  • Jönköping
  • Uppsala (nearest: Stockholm)
  • Linköping (nearest: Norrköping)
  • Lund (nearest: Malmö)

Notes

  • Forecasts are in Swedish; the API returns Swedish text summaries. You must send in Swedish, and also in English.
  • Pollen season typically runs February–September
  • Some smaller towns map to the nearest major monitoring station

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 02:58 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 368 📥 140,302

Notion co-worker

laurobrcwb
一个自主的Notion同事代理,监控Gmail中的Notion评论提及(来自notify@mail.notion.so),读取评论以理解...
★ 0 📥 508
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 164 📥 59,901