Overview
Environmental agencies in Canada, the US, UK, and Europe regularly issue severe weather warnings.
DTN Weather Warning API delivers these warnings to you in a standard format.
The service queries the following agencies' warnings:
- UKMO: UK MetOffice's National Severe Weather Warnings
- NOAA: National Oceanic and Atmospheric Administration - National Weather Service
- PAAQ: National Oceanic and Atmospheric Administration - Pacific Tsunami Warning Centre
- ENVCA: Environment Canada Public Weather Alerts
- UKENVA: UK Environment Agency Real Time Flood-Monitoring
- NATWALES: Natural Resources Wales Flood Warnings
- SEPA: Scottish Environment Protection Agency Flooding
If you have suggestions for agencies you'd like included, please reach out to your DTN Sales Representative.
Formatting
A sample request using the Weather Warning API looks like this:
https://warning.weather.mg/search?source=ENVCA&fields=id,text,language,source,severity,certainty,validFrom,validUntil,warningType,country
The above request will return all weather warnings issued by Environment Canada ("ENVCA").
The data is returned to you in the JSON format.
A selection of the full return (over 3,000 lines long!) is below:
{
"id": "urn:oid:2.49.0.1.124.3700585640.2017",
"version": 2,
"source": "ENVCA",
"country": "CA",
"language": "en-CA",
"text": "Blizzard conditions with poor visibility in snow and blowing snow are expected or occurring."
"warningType": "winterstorm",
"severity": "Moderate",
"validFrom": "2017-03-24T08:32:55-00:00",
"validUntil": "2017-03-25T00:32:55-00:00",
"webLink": "http://weather.gc.ca/warnings",
"areas": [
{
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-85.7531,
66.5732
],
[
-85.7443,
66.2549
],
[
-86.7151,
66.4201
],
[
-86.749,
66.5553
],
[
-86.721,
66.6086
],
[
-86.6393,
66.6527
],
[
-86.4314,
66.7104
],
[
-86.228,
66.725
],
[
-86.1114,
66.7333
],
[
-86.0194,
66.7039
],
[
-85.846,
66.6482
],
[
-85.7543,
66.6185
],
[
-85.7531,
66.5732
]
]
]
},
"areaName": "Naujaat"
}
]
}
Authentication
For detailed instructions on how to obtain the necessary authorization information, please refer to the technical documentation on Bitbucket. and for requests to ReST service interface