Microproduct Data GuideIntermediate

DHMZ Croatia CAP Warnings

Croatian weather warnings published as CAP XML by DHMZ for reading official warning severity, geography, and validity.

Report a Problem

At a Glance

Difficulty
Intermediate — some data preparation helps
Size
Tiny · ≤0.01 GB
Formats
XML
Access
Download
API Key
Not Required
Provider
Croatian Meteorological and Hydrological Service
Updates
Daily
Last Verified
Sep 28, 2026
Source Type
Government Source
  • Python Syntax Checked

From Source to Product Signal

Test a Product Idea in Four Steps

DHMZ lists freely reusable Croatian CAP warning files with attribution. Start with today's CAP XML file and inspect its message ID, status and issue time. A feed may contain updates or cancellations; check validity and mapped area before displaying any warning.

1

Check the Setup

  • Python 3.10 or newer
  • An internet connection
  • The requests Python package
2

Access the Data

  1. 1.Read the official DHMZ XML file list and open-licence statement.
  2. 2.Download today's CAP file, retaining its source URL and retrieval time.
  3. 3.Inspect CAP status and geography before treating it as a current warning.
Open Official Source
3

Run the Python Example

Install the packages, then run the notebook cell.

python -m pip install requests

import xml.etree.ElementTree as ET
import requests

response = requests.get("https://meteo.hr/upozorenja/cap_hr_today.xml", timeout=30)
response.raise_for_status()
root = ET.fromstring(response.content)
cap = "{urn:oasis:names:tc:emergency:cap:1.2}"
print(root.findtext(f"{cap}identifier"), root.findtext(f"{cap}status"),
      root.findtext(f"{cap}sent"))
4

Inspect One Croatian CAP Message

Check an official warning file for a small regional alert display.

  1. 01Keep CAP identifier, issue time, status, type, and affected area.
  2. 02Account for update and cancel messages before displaying severity.
  3. 03Explain why a downloaded CAP message alone does not prove local applicability.

Dataset Details

Croatian Meteorological and Hydrological Service is a government source. Last verified 2026-09-28. Temporal coverage: current daily CAP warning files.

Geography

Formats

Provider

Croatian Meteorological and Hydrological Service

Data Terms

Croatian Open Licence; DHMZ attribution is required.

Send Feedback