Check the Setup
- Python 3.10 or newer
- An internet connection
- The requests Python package
Official Norwegian weather warnings from MET Norway's MetAlerts service for reviewing affected areas and alert validity.
Report a ProblemFrom Source to Product Signal
MetAlerts publishes official weather warnings in CAP and beta GeoJSON. Start with five features from the current GeoJSON endpoint. Preserve CAP IDs, updates and cancellations when building an alert timeline, and use a distinct client User-Agent. Weather alerts differ from Locationforecast.
Install the packages, then run the notebook cell.
python -m pip install requests
import requests
response = requests.get(
"https://api.met.no/weatherapi/metalerts/2.0/current.json",
headers={"User-Agent": "TrilemmaDataCatalogExample/1.0 (https://data.trilemma.foundation)"},
timeout=30,
)
response.raise_for_status()
for warning in response.json()["features"][:5]:
details = warning["properties"]
print(details.get("id"), details.get("event"), details.get("area"))Test a Useful Signal
Test whether current alert geometry supports a local warning card.
Norwegian Meteorological Institute is a government source. Last verified 2026-09-28. Temporal coverage: current official weather alerts.