界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
数据与研究 · SKILL.md

dhmz-weather

dhmz-weather

【数据与研究】Get Croatian weather data, forecasts, and alerts from DHMZ (meteo.hr) - no API key required.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: dhmz-weather description: Get Croatian weather data, forecasts, and alerts from DHMZ (meteo.hr) - no API key required. homepage: https://meteo.hr/proizvodi.php?section=podaci&param=xml_korisnici metadata: { "openclaw": { "emoji": "🇭🇷", "requires": { "bins": ["curl"] } } }

DHMZ Weather (Croatia)

Croatian Meteorological and Hydrological Service (DHMZ) provides free XML APIs. All data in Croatian, no authentication needed.

Default Behavior

When this skill is invoked:

  1. If a city is provided as argument (e.g., /dhmz-weather Zagreb): Immediately fetch and display weather for that city
  2. If no city is provided: Infer the city from conversation context (user's location, previously mentioned cities, or project context). If no context available, default to Zagreb (capital city)

Do not ask the user what they want - just fetch the weather data immediately and present it in a readable format.

Weather Emojis

Use these emojis when displaying weather data to make it more intuitive:

Conditions

CroatianEnglishEmoji
vedro, sunčanoclear, sunny☀️
djelomično oblačnopartly cloudy⛅
pretežno oblačnomostly cloudy🌥️
potpuno oblačnoovercast☁️
slaba kišalight rain🌦️
kišarain🌧️
jaka kišaheavy rain🌧️🌧️
grmljavinathunderstorm⛈️
snijegsnow🌨️
susnježicasleet🌨️🌧️
maglafog🌫️
rosadew💧

Metrics

MetricEmoji
Temperature🌡️
Humidity💧
Pressure📊
Wind💨
Rain/Precipitation🌧️
UV Index☀️
Sea temperature🌊

Wind Strength

DescriptionEmoji
calm, light🍃
moderate💨
strong/windy (vjetrovito)💨💨
stormy (olujni)🌬️

Alerts

LevelEmoji
Green (no warning)🟢
Yellow🟡
Orange🟠
Red🔴

Current Weather

All Croatian stations (alphabetical):

curl -s "https://vrijeme.hr/hrvatska_n.xml"

By regions:

curl -s "https://vrijeme.hr/hrvatska1_n.xml"

European cities:

curl -s "https://vrijeme.hr/europa_n.xml"

Temperature Extremes

Max temperatures:

curl -s "https://vrijeme.hr/tx.xml"

Min temperatures:

curl -s "https://vrijeme.hr/tn.xml"

Min at 5cm (ground frost):

curl -s "https://vrijeme.hr/t5.xml"

Sea & Water

Adriatic sea temperature:

curl -s "https://vrijeme.hr/more_n.xml"

River temperatures:

curl -s "https://vrijeme.hr/temp_vode.xml"

Precipitation & Snow

Precipitation data:

curl -s "https://vrijeme.hr/oborina.xml"

Snow height:

curl -s "https://vrijeme.hr/snijeg_n.xml"

Forecasts

Today's forecast:

curl -s "https://prognoza.hr/prognoza_danas.xml"

Tomorrow's forecast:

curl -s "https://prognoza.hr/prognoza_sutra.xml"

3-day outlook:

curl -s "https://prognoza.hr/prognoza_izgledi.xml"

Regional forecasts:

curl -s "https://prognoza.hr/regije_danas.xml"

3-day meteograms (detailed):

curl -s "https://prognoza.hr/tri/3d_graf_i_simboli.xml"

7-day meteograms:

curl -s "https://prognoza.hr/sedam/hrvatska/7d_meteogrami.xml"

Weather Alerts (CAP format)

Today's warnings:

curl -s "https://meteo.hr/upozorenja/cap_hr_today.xml"

Tomorrow's warnings:

curl -s "https://meteo.hr/upozorenja/cap_hr_tomorrow.xml"

Day after tomorrow:

curl -s "https://meteo.hr/upozorenja/cap_hr_day_after_tomorrow.xml"

Specialized Data

UV index:

curl -s "https://vrijeme.hr/uvi.xml"

Forest fire risk index:

curl -s "https://vrijeme.hr/indeks.xml"

Biometeorological forecast (health):

curl -s "https://prognoza.hr/bio_novo.xml"

Heat wave alerts:

curl -s "https://prognoza.hr/toplinskival_5.xml"

Cold wave alerts:

curl -s "https://prognoza.hr/hladnival.xml"

Maritime / Adriatic

Nautical forecast:

curl -s "https://prognoza.hr/jadran_h.xml"

Maritime forecast (sailors):

curl -s "https://prognoza.hr/pomorci.xml"

Agriculture

Agro bulletin:

curl -s "https://klima.hr/agro_bilten.xml"

Soil temperature:

curl -s "https://vrijeme.hr/agro_temp.xml"

7-day agricultural data:

curl -s "https://klima.hr/agro7.xml"

Hydrology

Hydro bulletin:

curl -s "https://hidro.hr/hidro_bilten.xml"

Tips

  • All responses are XML format
  • Data is in Croatian language
  • Station names use Croatian characters (UTF-8)
  • Updates vary: current data ~hourly, forecasts ~daily
  • For parsing, use xmllint or pipe to a JSON converter

Extract specific station with xmllint:

curl -s "https://vrijeme.hr/hrvatska_n.xml" | xmllint --xpath "//Grad[GradIme='Zagreb']" -

Convert to JSON (requires xq from yq package):

curl -s "https://vrijeme.hr/hrvatska_n.xml" | xq .

Common Station Names

Zagreb, Split, Rijeka, Osijek, Zadar, Pula, Dubrovnik, Slavonski Brod, Karlovac, Varazdin, Sisak, Bjelovar, Cakovec, Gospic, Knin, Makarska, Sibenik

Data Source

Official DHMZ (Drzavni hidrometeoroloski zavod) - Croatian Meteorological and Hydrological Service: https://meteo.hr

我的收藏