NWS Alerts
RAMADDA's NWS Alert entry type allows you to specify any number of NWS areas or zones.
The areas can be any number of state 2-character identifiers, one per line.
AL - Alabama
AK - Alaska
AZ - Arizona
AR - Arkansas
CA - California
CO - Colorado
CT - Connecticut
DE - Delaware
DC - District of Columbia
FL - Florida
GU - Guam
GA - Georgia
HI - Hawaii
ID - Idaho
IL - Illinois
IN - Indiana
IA - Iowa
KS - Kansas
KY - Kentucky
LA - Louisiana
ME - Maine
MD - Maryland
MA - Massachusetts
MI - Michigan
MN - Minnesota
MS - Mississippi
MO - Missouri
MT - Montana
NE - Nebraska
NV - Nevada
NH - New Hampshire
NJ - New Jersey
NM - New Mexico
NY - New York
NC - North Carolina
ND - North Dakota
OH - Ohio
OK - Oklahoma
OR - Oregon
PA - Pennsylvania
RI - Rhode Island
SC - South Carolina
SD - South Dakota
TN - Tennessee
TX - Texas
UT - Utah
VT - Vermont
VA - Virginia
VI - US Virgin Islands
WA - Washington
WV - West Virginia
WI - Wisconsin
WY - Wyoming
PR - Puerto Rico
Zones can be any number of NWS forecast zones, fire zones or county UGC codes.
More documentation is available at
weather.gov.
You can set the geolocation of the Alerts entry to a point that will be used to show alerts.
When editing the entry simply set the latitude/longitude.
The display of the alerts can be embedded in other pages with the
nws_alerts wiki tag.
{{nws_alerts entry="the alert entry"}}
The areas or zones can be overwritten with:
{{nws_alerts areas="CO,SD" zones="KSZ081,SDZ049"}}
There can be multiple zones/areas producing mulitple alerts. Some of the alerts
coming from different zones/areas can be the same alert. To only show unique alerts do:
{{nws_alerts alertsUnique=true}}
Because the order the alerts are loaded is not deterministic when there are multiple zones/areas
then the order they show up in the display can be any order, e.g., if you had a state (e.g., SD) and
a county (e.g, SDC121) then if the state alerts load first the county alerts might be subsumed by the ones
loaded by the state. To prioritize the loading you can set the following property for a zone/area, e.g. "SD":
{{nws_alerts loadFirst.SD=false}}
This will cause the other areas/zones to be loaded first (e.g, the counties) then the whole state will be loaded.
Header labels can be specified with "alertLabel.<area or zone>", e.g.:
{{nws_alerts
alertLabel.SD="All South Dakota Alerts"
alertLabel.point="Boulder Area Alerts"
alertLabel="Label for all alerts"}}
You can specify that the toggle is not shown with:
{{nws_alerts
showToggle.SD=false
showToggle.point=false
showToggle=false
}}
You can specify that the toggle is open or closed with:
{{nws_alerts
toggleOpen.SD=false
toggleOpen.point=false
toggleOpen=false
}}
The NWS classifies alerts with the following phenomena types.
You can specify a message that will be displayed in the header in two ways.
First, there is a Header Messages property of the Alert entry where you can add, one per line, messages of the form:
<event>:<message>
Where event is either one of the IDs listed below or one of the Event Types.
e.g.:
heat:Some message when heat
AQ:Some message for air quality
Also, when using a custom
nws_alerts wiki tag you can specify the properties with, e.g.:
{{nws_alerts
headerMessage.heat="There are heat related alerts. Please see..."
headerMessage.AQ="Some Air quality message"
}}
Click on an event to copy.
ID | Event Type | Description |
AQ | | Air Quality |
AV | | Avalanche |
BH | | Beach Hazards |
BZ | | Blizzard |
SP | | Special Weather |
DS | | Dust Storm |
DU | | Blowing Dust |
EC | cold | Extreme Cold |
EH | heat | Excessive Heat |
XH | heat | Extreme Heat |
HT | heat | Heat |
CF | flood | Coastal Flood |
FA | flood | Areal Flood |
FF | flood | Flash Flood |
FL | flood | Flood |
LS | flood | Lakeshore Flood |
UW | flood | Urban and Small Stream Flood |
FG | | Dense Fog |
FR | | Frost |
FW | | Fire Weather |
AF | | Ashfall |
FZ | | Freeze |
GL | | Gale |
HF | wind | Hurricane Force Wind |
HU | | Hurricane |
HZ | | Hard Freeze |
IP | | Sleet |
IS | | Ice Storm |
LB | | Lake Effect Snow and Blowing Snow |
LE | | Lake Effect Snow |
LO | | Low Water |
MA | | Marine |
RB | | Small Craft for Rough Bar |
RD | | Radiological Hazard |
RF | | Small Craft for Rough Waters |
SC | | Small Craft |
SE | | Hazardous Seas |
SI | wind | Small Craft for Winds |
SM | | Dense Smoke |
SN | | Snow |
SQ | | Snow Squall |
SR | | Storm Surge |
SS | | Storm Surge |
SU | | Blowing Snow |
SV | | Severe Thunderstorm |
SW | | Small Craft for Hazardous Seas |
TO | | Tornado |
TR | | Tropical Storm |
TS | | Tsunami |
TY | | Typhoon |
UP | | Unknown Precipitation |
VO | | Volcano |
WC | | Wind Chill |
WI | wind | Wind |
HW | wind | High Wind |
BW | wind | Brisk Wind |
EW | wind | Extreme Wind |
WS | cold | Winter Storm |
WW | cold | Winter Weather |
ZF | | Freezing Fog |
ZR | | Freezing Rain |