MetAlerts - Weather alerts from the Norwegian Meteorological Institute
Delivers weather alerts in CAP format plus an RSS 2.0 feed of such.
Documentation (in Norwegian) of the MetAlerts service and warnings in CAP format may be found in the MET report Samordning av farevarsler ved MET og NVE (20-2017).
Also see the instructions on how to use the RSS feed (in Norwegian).
Use the RSS feed to get a list of CAP warnings, optionally filtered by query parameters.
Do not download each CAP file more than once, and certainly not every time you download the RSS feed! (this is liable to getting you throttled). Once issued the CAP file never changes, so it should be downloaded only once and stored locally.
Unless the cap parameter is given, we return an RSS 2.0 feed of alerts
Retrieve CAP XML message with given guid (Note: From 1.0 this is the CAP identifier, not a date!)
Output language, currently "no" or "en" for Norwegian and English, respectively
Filter by CAP eventType (experimental)
Filter by incident
Filter by Norwegian county number where available (only land areas, not gale warnings etc). The county number is defined as always having 2 digits, so the counties Østfold to Aust-Agder must be zero prefixed. Currently one single county allowed per request.
Coordinates for geographical search (returns all alerts covered by the search location)
Note: This feature is experimental, and may be changed without prior notice!
Alerts to be listed, either "all" to include expired/updated alerts (up to one month past), or nothing to list only current
Sort RSS items on field (in ascending order). The following fields are available:
https://api.met.no/weatherapi/metalerts/1.1/?county=42(show alerts for Agder county)
https://api.met.no/weatherapi/metalerts/1.1/?cap=18.104.22.168.578.0.170912185028.1114(non-functional example - check RSS feed above for working URLs)
To check if any files that should be available are missing,
Support for filter on incidentName
Support for search by county number (for warnings issued after 2018-03-15)
Experimental support for search by coordinates
New version of CAP format (1.0). MetAlerts 1.0 will expire 2017-12-01
More search parameters, improved stability
Format officially changed to RSS 2.0
RSS now validates, using RFC-822 date format and no duplicate items
Renamed to MetAlerts. Format claimed to be Atom, but is in fact RSS 2.0 (invalid)
New product for testing