Open jpreardon opened 4 years ago
This is a new feature. Note that more than one alert can apply at any time. Here's an example response with two alerts:
{ "@context": [ "https://raw.githubusercontent.com/geojson/geojson-ld/master/contexts/geojson-base.jsonld", { "wx": "https://api.weather.gov/ontology#", "@vocab": "https://api.weather.gov/ontology#" } ], "type": "FeatureCollection", "features": [ { "id": "https://api.weather.gov/alerts/NWS-IDP-PROD-4155287-3519237", "type": "Feature", "geometry": null, "properties": { "@id": "https://api.weather.gov/alerts/NWS-IDP-PROD-4155287-3519237", "@type": "wx:Alert", "id": "NWS-IDP-PROD-4155287-3519237", "areaDesc": "Southern Nassau; Southwest Suffolk; Southern New Haven; Bronx; Northwest Suffolk; New York (Manhattan); Southern Middlesex; Southern Fairfield; Richmond (Staten Is.); Northern Queens; Kings (Brooklyn); Northern Nassau; Southern Westchester; Southern Queens", "geocode": { "UGC": [ "NYZ179", "NYZ080", "CTZ010", "NYZ073", "NYZ078", "NYZ072", "CTZ011", "CTZ009", "NYZ074", "NYZ176", "NYZ075", "NYZ177", "NYZ071", "NYZ178" ], "SAME": [ "036059", "036103", "009009", "036005", "036061", "009007", "009001", "036085", "036081", "036047", "036119" ] }, "affectedZones": [ "https://api.weather.gov/zones/forecast/NYZ179", "https://api.weather.gov/zones/forecast/NYZ080", "https://api.weather.gov/zones/forecast/CTZ010", "https://api.weather.gov/zones/forecast/NYZ073", "https://api.weather.gov/zones/forecast/NYZ078", "https://api.weather.gov/zones/forecast/NYZ072", "https://api.weather.gov/zones/forecast/CTZ011", "https://api.weather.gov/zones/forecast/CTZ009", "https://api.weather.gov/zones/forecast/NYZ074", "https://api.weather.gov/zones/forecast/NYZ176", "https://api.weather.gov/zones/forecast/NYZ075", "https://api.weather.gov/zones/forecast/NYZ177", "https://api.weather.gov/zones/forecast/NYZ071", "https://api.weather.gov/zones/forecast/NYZ178" ], "references": [ { "@id": "https://api.weather.gov/alerts/NWS-IDP-PROD-4152957-3517132", "identifier": "NWS-IDP-PROD-4152957-3517132", "sender": "w-nws.webmaster@noaa.gov", "sent": "2020-04-12T15:54:00-04:00" }, { "@id": "https://api.weather.gov/alerts/NWS-IDP-PROD-4152957-3517133", "identifier": "NWS-IDP-PROD-4152957-3517133", "sender": "w-nws.webmaster@noaa.gov", "sent": "2020-04-12T15:54:00-04:00" }, { "@id": "https://api.weather.gov/alerts/NWS-IDP-PROD-4152956-3517130", "identifier": "NWS-IDP-PROD-4152956-3517130", "sender": "w-nws.webmaster@noaa.gov", "sent": "2020-04-12T15:54:00-04:00" }, { "@id": "https://api.weather.gov/alerts/NWS-IDP-PROD-4152956-3517131", "identifier": "NWS-IDP-PROD-4152956-3517131", "sender": "w-nws.webmaster@noaa.gov", "sent": "2020-04-12T15:54:00-04:00" }, { "@id": "https://api.weather.gov/alerts/NWS-IDP-PROD-4154162-3518193", "identifier": "NWS-IDP-PROD-4154162-3518193", "sender": "w-nws.webmaster@noaa.gov", "sent": "2020-04-12T22:00:00-04:00" } ], "sent": "2020-04-13T03:40:00-04:00", "effective": "2020-04-13T03:40:00-04:00", "onset": "2020-04-13T06:00:00-04:00", "expires": "2020-04-13T18:00:00-04:00", "ends": "2020-04-13T18:00:00-04:00", "status": "Actual", "messageType": "Update", "category": "Met", "severity": "Severe", "certainty": "Likely", "urgency": "Expected", "event": "High Wind Warning", "sender": "w-nws.webmaster@noaa.gov", "senderName": "NWS Upton NY", "headline": "High Wind Warning issued April 13 at 3:40AM EDT until April 13 at 6:00PM EDT by NWS Upton NY", "description": "* WHAT...South winds 30 to 40 mph with gusts up to 65 mph\nexpected.\n\n* WHERE...Portions of southern Connecticut and southeast New\nYork.\n\n* WHEN...Until 6 PM EDT this evening.\n\n* IMPACTS...Damaging winds will blow down trees and power lines.\nEven sturdy and well secured tent structures could be damaged.\nWidespread power outages are expected. Travel will be\ndifficult, especially for high profile vehicles.", "instruction": "People should avoid being outside in forested areas and around\ntrees and branches. If possible, remain in the lower levels of\nyour home during the windstorm, and avoid windows. Use caution if\nyou must drive.", "response": "Prepare", "parameters": { "NWSheadline": [ "HIGH WIND WARNING REMAINS IN EFFECT UNTIL 6 PM EDT THIS EVENING" ], "VTEC": [ "/O.CON.KOKX.HW.W.0002.200413T1000Z-200413T2200Z/" ], "EAS-ORG": [ "WXR" ], "PIL": [ "OKXNPWOKX" ], "BLOCKCHANNEL": [ "CMAS", "EAS", "NWEM" ], "eventEndingTime": [ "2020-04-13T18:00:00-04:00" ] } } }, { "id": "https://api.weather.gov/alerts/NWS-IDP-PROD-4153208-3517355", "type": "Feature", "geometry": null, "properties": { "@id": "https://api.weather.gov/alerts/NWS-IDP-PROD-4153208-3517355", "@type": "wx:Alert", "id": "NWS-IDP-PROD-4153208-3517355", "areaDesc": "Kings (Brooklyn); Southern Nassau; Southwest Suffolk; Southeast Suffolk; Northeast Suffolk; Southern Queens", "geocode": { "UGC": [ "NYZ075", "NYZ179", "NYZ080", "NYZ081", "NYZ079", "NYZ178" ], "SAME": [ "036047", "036059", "036103", "036081" ] }, "affectedZones": [ "https://api.weather.gov/zones/forecast/NYZ075", "https://api.weather.gov/zones/forecast/NYZ179", "https://api.weather.gov/zones/forecast/NYZ080", "https://api.weather.gov/zones/forecast/NYZ081", "https://api.weather.gov/zones/forecast/NYZ079", "https://api.weather.gov/zones/forecast/NYZ178" ], "references": [], "sent": "2020-04-12T17:01:00-04:00", "effective": "2020-04-12T17:01:00-04:00", "onset": "2020-04-13T12:00:00-04:00", "expires": "2020-04-13T18:00:00-04:00", "ends": "2020-04-13T18:00:00-04:00", "status": "Actual", "messageType": "Alert", "category": "Met", "severity": "Minor", "certainty": "Likely", "urgency": "Expected", "event": "Coastal Flood Advisory", "sender": "w-nws.webmaster@noaa.gov", "senderName": "NWS Upton NY", "headline": "Coastal Flood Advisory issued April 12 at 5:01PM EDT until April 13 at 6:00PM EDT by NWS Upton NY", "description": "* WHAT...Minor to locally moderate coastal flooding and shoreline\nimpacts during Monday afternoon high tide.\n\n* WHERE...Kings (Brooklyn), Northeastern Suffolk, Southwestern\nSuffolk, Southeastern Suffolk, Southern Queens and Southern\nNassau Counties.\n\n* WHEN...From noon to 6 PM EDT Monday.\n\n* COASTAL FLOOD IMPACTS...Minor to locally moderate flooding is\nexpected in the most vulnerable locations near the waterfront\nand shoreline. Expect around 1 to 2 feet of inundation above\nground level in low lying, vulnerable areas. Localized areas of\n2 to 2 1/2 ft of inundation are possible. Several roads and low\nlying property including parking lots, parks, lawns and\nhomes/businesses with basements near the waterfront will\nexperience shallow flooding. Vehicles parked in the most\nvulnerable areas near the waterfront may become flooded.\n\n* SHORELINE IMPACTS...Along the Atlantic ocean beach front of\nLong Island, large breaking waves of 12 to 16 ft will result in\nsignificant beach erosion. Areas of dune erosion and localized\noverwashes are possible, which would result in some flooding of\nroadways and vulnerable structures behind protective dunes.\nAlong the Brooklyn beachfront and Orient Point, breaking waves\nof 4 to 7 ft will result in beach erosion with minor dune\nerosion, localized damage to dune structures and wave\nsplashovers possible.", "instruction": "If travel is required, allow extra time as some roads may be\nclosed. Do not drive around barricades or through water of\nunknown depth. Take the necessary actions to protect flood-prone\nproperty.", "response": "Monitor", "parameters": { "NWSheadline": [ "COASTAL FLOOD ADVISORY IN EFFECT FROM NOON TO 6 PM EDT MONDAY" ], "VTEC": [ "/O.NEW.KOKX.CF.Y.0009.200413T1600Z-200413T2200Z/" ], "PIL": [ "OKXCFWOKX" ], "BLOCKCHANNEL": [ "CMAS", "EAS", "NWEM" ], "eventEndingTime": [ "2020-04-13T18:00:00-04:00" ] } } } ], "title": "current watches, warnings, and advisories for Kings (Brooklyn) (NYZ075) NY", "updated": "2020-04-13T07:41:15+00:00" }
This is a new feature. Note that more than one alert can apply at any time. Here's an example response with two alerts: