Check the Setup
- Python 3.10 or newer
- An internet connection
- The requests Python package
Official German weather-warning CAP files from DWD for monitoring current municipal alert status and affected area.
Report a ProblemFrom Source to Product Signal
DWD publishes versioned and latest CAP ZIP snapshots for German municipal warnings. Start with one latest English status ZIP and list at most five contained files. An empty ZIP is a valid current state, not a provider outage or a general all-clear outside the product's reviewed coverage.
Install the packages, then run the notebook cell.
python -m pip install requests
from io import BytesIO
from zipfile import ZipFile
import requests
url = ("https://opendata.dwd.de/weather/alerts/cap/COMMUNEUNION_EVENT_STAT/"
"Z_CAP_C_EDZW_LATEST_PVW_STATUS_PREMIUMEVENT_COMMUNEUNION_EN.zip")
response = requests.get(url, timeout=30)
response.raise_for_status()
with ZipFile(BytesIO(response.content)) as archive:
names = archive.namelist()
print(f"{len(names)} CAP files in the current status ZIP")
print(names[:5])Test a Useful Signal
Check a bounded official warning snapshot before local matching.
Deutscher Wetterdienst is a government source. Last verified 2026-09-28. Temporal coverage: current CAP warning status snapshots.