Skip to content

Commit

Permalink
Merge pull request #1801 from weather-gov/eg-1697-alert-priority-updates
Browse files Browse the repository at this point in the history
[HOLD UNTIL OCT 1] WWA name and priority updates
  • Loading branch information
eric-gade authored Oct 1, 2024
2 parents c9419a2 + 6eb3a2c commit 9c0837a
Show file tree
Hide file tree
Showing 5 changed files with 208 additions and 194 deletions.
90 changes: 90 additions & 0 deletions tests/api/data/e2e/alerts/active__status=actual&area=CA.json
Original file line number Diff line number Diff line change
Expand Up @@ -5588,6 +5588,96 @@
"eventEndingTime": ["2024-01-05T02:00:00+00:00"]
}
}
},
{
"id": "https://alert/tropical_cyclone_local_statement}",
"type": "Feature",
"geometry": null,
"properties": {
"@id": "https://alert/tropical_cyclone_local_statement}",
"@type": "wx:Alert",
"id": "tropical_cyclone_local_statement",
"areaDesc": "Over there. Over there. Send the word, to be heard, over there",
"geocode": {
"SAME": [],
"UGC": []
},
"affectedZones": ["https://every-alert/zone"],
"references": [],
"sent": "date:now -1 hour",
"effective": "date:now -1 hour",
"onset": "date:now -1 hour",
"expires": "date:now +1 hour",
"ends": "date:now +1 hour",
"status": "Actual",
"messageType": "Alert",
"category": "Met",
"severity": "Severe",
"certainty": "Likely",
"urgency": "Expected",
"event": "tropical cyclone local statement",
"sender": "w-nws.webmaster@noaa.gov",
"senderName": "NWS Anchorage AK",
"headline": "Tropical Cyclone Local Statement",
"description": "Not real",
"instruction": null,
"response": "Avoid",
"parameters": {
"AWIPSidentifier": ["CWFALU"],
"WMOidentifier": ["FZAK52 PAFC 031605 AAA"],
"NWSheadline": [
"GALE WARNING THROUGH THURSDAY... ...HEAVY FREEZING SPRAY WARNING TONIGHT AND THURSDAY"
],
"BLOCKCHANNEL": ["EAS", "NWEM", "CMAS"],
"VTEC": ["/O.NEW.PAFC.UP.W.3097.240104T0200Z-240105T0200Z/"],
"eventEndingTime": ["2024-01-05T02:00:00+00:00"]
}
}
},
{
"id": "https://alert/cold_weather_advisory}",
"type": "Feature",
"geometry": null,
"properties": {
"@id": "https://alert/cold_weather_advisory}",
"@type": "wx:Alert",
"id": "cold_weather_advisory",
"areaDesc": "Over there. Over there. Send the word, to be heard, over there",
"geocode": {
"SAME": [],
"UGC": []
},
"affectedZones": ["https://every-alert/zone"],
"references": [],
"sent": "date:now -1 hour",
"effective": "date:now -1 hour",
"onset": "date:now -1 hour",
"expires": "date:now +1 hour",
"ends": "date:now +1 hour",
"status": "Actual",
"messageType": "Alert",
"category": "Met",
"severity": "Severe",
"certainty": "Likely",
"urgency": "Expected",
"event": "cold weather advisory",
"sender": "w-nws.webmaster@noaa.gov",
"senderName": "NWS Anchorage AK",
"headline": "Dummy alert",
"description": "Not real",
"instruction": null,
"response": "Avoid",
"parameters": {
"AWIPSidentifier": ["CWFALU"],
"WMOidentifier": ["FZAK52 PAFC 031605 AAA"],
"NWSheadline": [
"GALE WARNING THROUGH THURSDAY... ...HEAVY FREEZING SPRAY WARNING TONIGHT AND THURSDAY"
],
"BLOCKCHANNEL": ["EAS", "NWEM", "CMAS"],
"VTEC": ["/O.NEW.PAFC.UP.W.3097.240104T0200Z-240105T0200Z/"],
"eventEndingTime": ["2024-01-05T02:00:00+00:00"]
}
}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ final class AlertFilterTest extends EndToEndBase
/**
* Test that alerts are sorted correctly.
* @group e2e
* @group eric
*/
public function testAlertSorting(): void
{
Expand Down Expand Up @@ -143,6 +144,8 @@ final class AlertFilterTest extends EndToEndBase
"snow squall warning",
"ice storm warning",
"winter storm warning",
"lake effect snow warning",
"dust storm warning",
"high wind warning",
"tropical storm warning",
"tsunami advisory",
Expand All @@ -151,63 +154,49 @@ final class AlertFilterTest extends EndToEndBase
"earthquake warning",
"volcano warning",
"ashfall warning",
"flood warning",
"coastal flood warning",
"lakeshore flood warning",
"flood warning",
"ashfall advisory",
"high surf warning",
"dust storm warning",
"lake effect snow warning",
"excessive heat warning",
"tornado watch",
"severe thunderstorm watch",
"flash flood watch",
"flood statement",
"wind chill warning",
"extreme cold warning",
"hard freeze warning",
"freeze warning",
"red flag warning",
"hurricane watch",
"typhoon watch",
"tropical storm watch",
"hurricane local statement",
"typhoon local statement",
"tropical storm local statement",
"tropical depression local statement",
"avalanche advisory",
"tropical cyclone local statement",
"winter weather advisory",
"wind chill advisory",
"avalanche advisory",
"cold weather advisory",
"heat advisory",
"urban and small stream flood advisory",
"small stream flood advisory",
"arroyo and small stream flood advisory",
"flood advisory",
"hydrologic advisory",
"lakeshore flood advisory",
"coastal flood advisory",
"lakeshore flood advisory",
"high surf advisory",
"dense fog advisory",
"dense smoke advisory",
"blowing dust advisory",
"lake wind advisory",
"wind advisory",
"frost advisory",
"ashfall advisory",
"freezing fog advisory",
"local area emergency",
"avalanche watch",
"blizzard watch",
"winter storm watch",
"rip current statement",
"beach hazards statement",
"winter storm watch",
"avalanche watch",
"flood watch",
"coastal flood watch",
"lakeshore flood watch",
"flood watch",
"high wind watch",
"excessive heat watch",
"extreme cold watch",
"wind chill watch",
"lake effect snow watch",
"freeze watch",
"fire weather watch",
"extreme fire danger",
Expand All @@ -222,7 +211,7 @@ final class AlertFilterTest extends EndToEndBase
"short term forecast",
"administrative message",
"test",
"child abduction emergency",
"child abduction emergency"
];

$this->onLocationRoute(37.805, -122.273);
Expand Down
Loading

0 comments on commit 9c0837a

Please sign in to comment.