full warning product colorname definitions

This commit is contained in:
Michael James 2018-06-18 16:06:45 -06:00
parent 73db9505d2
commit b4651fb2ad

View file

@ -1473,39 +1473,50 @@ nexrad = {
} }
} }
#
# Dictionary that maps VTEC codes to headlines # Dictionary that maps VTEC codes to headlines
# Modified from com.raytheon.uf.edex.activetable/utility/common_static/base/vtec/VTECTable.py # Modified from com.raytheon.uf.edex.activetable/utility/common_static/base/vtec/VTECTable.py
# Colors from https://www.weather.gov/bro/mapcolors # Colornames from:
# 1) https://www.weather.gov/bro/mapcolors
# 2) https://digital.weather.gov/staticpages/definitions.php
# 3) https://www.w3schools.com/colors/colors_names.asp
#
vtec = { vtec = {
'AF.W' : {'phen': 'AF', 'AF.W' : {'phen': 'AF',
'sig': 'W', 'sig': 'W',
'color': 'gray',
'hdln': 'Ashfall Warning'}, 'hdln': 'Ashfall Warning'},
'AF.Y' : {'phen': 'AF', 'AF.Y' : {'phen': 'AF',
'sig': 'Y', 'sig': 'Y',
'gray' 'color': 'gray',
'hdln': 'Ashfall Advisory'}, 'hdln': 'Ashfall Advisory'},
'AQ.Y' : {'phen': 'AQ', 'AQ.Y' : {'phen': 'AQ',
'sig': 'Y', 'sig': 'Y',
'color': 'gray',
'hdln': 'Air Quality Alert'}, 'hdln': 'Air Quality Alert'},
'AS.O' : {'phen': 'AS', 'AS.O' : {'phen': 'AS',
'sig': 'O', 'sig': 'O',
'color': 'gray',
'hdln': 'Air Stagnation Outlook'}, 'hdln': 'Air Stagnation Outlook'},
'AS.Y' : {'phen': 'AS', 'AS.Y' : {'phen': 'AS',
'sig': 'Y', 'sig': 'Y',
'color': 'gray',
'hdln': 'Air Stagnation Advisory'}, 'hdln': 'Air Stagnation Advisory'},
'BH.S' : {'phen': 'BH', 'BH.S' : {'phen': 'BH',
'sig': 'S', 'sig': 'S',
'color': 'turquoise',
'hdln': 'Beach Hazards Statement'}, 'hdln': 'Beach Hazards Statement'},
'BW.Y' : {'phen': 'BW', 'BW.Y' : {'phen': 'BW',
'sig': 'Y', 'sig': 'Y',
'color': 'thistle',
'hdln': 'Brisk Wind Advisory'}, 'hdln': 'Brisk Wind Advisory'},
'BZ.A' : {'phen' : 'BZ', 'BZ.A' : {'phen' : 'BZ',
'sig' : 'A', 'sig' : 'A',
'color': 'orangered', 'color': 'greenyellow',
'hdln' : 'Blizzard Watch'}, 'hdln' : 'Blizzard Watch'},
'BZ.W' : {'phen' : 'BZ', 'BZ.W' : {'phen' : 'BZ',
'sig' : 'W', 'sig' : 'W',
'color': 'greenyellow', 'color': 'orangered',
'hdln' : 'Blizzard Warning'}, 'hdln' : 'Blizzard Warning'},
'CF.A' : {'phen': 'CF', 'CF.A' : {'phen': 'CF',
'sig': 'A', 'sig': 'A',
@ -1533,15 +1544,19 @@ vtec = {
'hdln': 'Blowing Dust Advisory'}, 'hdln': 'Blowing Dust Advisory'},
'EC.A' : {'phen': 'EC', 'EC.A' : {'phen': 'EC',
'sig': 'A', 'sig': 'A',
'color': 'blue',
'hdln': 'Extreme Cold Watch'}, 'hdln': 'Extreme Cold Watch'},
'EC.W' : {'phen': 'EC', 'EC.W' : {'phen': 'EC',
'sig': 'W', 'sig': 'W',
'color': 'blue',
'hdln': 'Extreme Cold Warning'}, 'hdln': 'Extreme Cold Warning'},
'EH.A' : {'phen': 'EH', 'EH.A' : {'phen': 'EH',
'sig': 'A', 'sig': 'A',
'color': 'maroon',
'hdln': 'Excessive Heat Watch'}, 'hdln': 'Excessive Heat Watch'},
'EH.W' : {'phen': 'EH', 'EH.W' : {'phen': 'EH',
'sig': 'W', 'sig': 'W',
'color': 'mediumvioletred',
'hdln': 'Excessive Heat Warning'}, 'hdln': 'Excessive Heat Warning'},
'EW.W' : {'phen': 'EW', 'EW.W' : {'phen': 'EW',
'sig': 'W', 'sig': 'W',
@ -1597,6 +1612,7 @@ vtec = {
'hdln': 'Flood Advisory'}, 'hdln': 'Flood Advisory'},
'FR.Y' : {'phen': 'FR', 'FR.Y' : {'phen': 'FR',
'sig': 'Y', 'sig': 'Y',
'color': 'cornflowerblue',
'hdln': 'Frost Advisory'}, 'hdln': 'Frost Advisory'},
'FW.A' : {'phen': 'FW', 'FW.A' : {'phen': 'FW',
'sig': 'A', 'sig': 'A',
@ -1664,33 +1680,43 @@ vtec = {
'hdln': 'Hard Freeze Warning'}, 'hdln': 'Hard Freeze Warning'},
'IS.W' : {'phen': 'IS', 'IS.W' : {'phen': 'IS',
'sig': 'W', 'sig': 'W',
'color': 'darkmagenta',
'hdln': 'Ice Storm Warning'}, 'hdln': 'Ice Storm Warning'},
'LE.A' : {'phen': 'LE', 'LE.A' : {'phen': 'LE',
'sig': 'A', 'sig': 'A',
'color': 'LightSkyBlue',
'hdln': 'Lake Effect Snow Watch'}, 'hdln': 'Lake Effect Snow Watch'},
'LE.W' : {'phen': 'LE', 'LE.W' : {'phen': 'LE',
'sig': 'W', 'sig': 'W',
'color': 'DarkCyan',
'hdln': 'Lake Effect Snow Warning'}, 'hdln': 'Lake Effect Snow Warning'},
'LE.Y' : {'phen': 'LE', 'LE.Y' : {'phen': 'LE',
'sig': 'Y', 'sig': 'Y',
'color': 'MediumTurquoise',
'hdln': 'Lake Effect Snow Advisory'}, 'hdln': 'Lake Effect Snow Advisory'},
'LO.Y' : {'phen': 'LO', 'LO.Y' : {'phen': 'LO',
'sig': 'Y', 'sig': 'Y',
'color': 'maroon',
'hdln': 'Low Water Advisory'}, 'hdln': 'Low Water Advisory'},
'LS.A' : {'phen': 'LS', 'LS.A' : {'phen': 'LS',
'sig': 'A', 'sig': 'A',
'color': 'MediumAquaMarine',
'hdln': 'Lakeshore Flood Watch'}, 'hdln': 'Lakeshore Flood Watch'},
'LS.S' : {'phen': 'LS', 'LS.S' : {'phen': 'LS',
'sig': 'S', 'sig': 'S',
'color': 'lawngreen',
'hdln': 'Lakeshore Flood Statement'}, 'hdln': 'Lakeshore Flood Statement'},
'LS.W' : {'phen': 'LS', 'LS.W' : {'phen': 'LS',
'sig': 'W', 'sig': 'W',
'color': 'forestgreen',
'hdln': 'Lakeshore Flood Warning'}, 'hdln': 'Lakeshore Flood Warning'},
'LS.Y' : {'phen': 'LS', 'LS.Y' : {'phen': 'LS',
'sig': 'Y', 'sig': 'Y',
'color': 'lawngreen',
'hdln': 'Lakeshore Flood Advisory'}, 'hdln': 'Lakeshore Flood Advisory'},
'LW.Y' : {'phen': 'LW', 'LW.Y' : {'phen': 'LW',
'sig': 'Y', 'sig': 'Y',
'color': 'tan',
'hdln': 'Lake Wind Advisory'}, 'hdln': 'Lake Wind Advisory'},
'MA.A' : {'phen': 'MA', 'MA.A' : {'phen': 'MA',
'sig': 'A', 'sig': 'A',
@ -1706,18 +1732,23 @@ vtec = {
'hdln': 'Special Marine Warning'}, 'hdln': 'Special Marine Warning'},
'MF.Y' : {'phen': 'MF', 'MF.Y' : {'phen': 'MF',
'sig': 'Y', 'sig': 'Y',
'color': 'slategray',
'hdln': 'Dense Fog Advisory'}, # Marine Fog 'hdln': 'Dense Fog Advisory'}, # Marine Fog
'MH.W' : {'phen': 'MH', 'MH.W' : {'phen': 'MH',
'sig': 'W', 'sig': 'W',
'color': 'darkgray',
'hdln': 'Ashfall Warning'}, # Marine Ashfall 'hdln': 'Ashfall Warning'}, # Marine Ashfall
'MH.Y' : {'phen': 'MH', 'MH.Y' : {'phen': 'MH',
'sig': 'Y', 'sig': 'Y',
'color': 'dimgray',
'hdln': 'Ashfall Advisory'}, # Marine Ashfall 'hdln': 'Ashfall Advisory'}, # Marine Ashfall
'MS.Y' : {'phen': 'MS', 'MS.Y' : {'phen': 'MS',
'sig': 'Y', 'sig': 'Y',
'color': 'khaki',
'hdln': 'Dense Smoke Advisory'}, # Marine Smoke 'hdln': 'Dense Smoke Advisory'}, # Marine Smoke
'RB.Y' : {'phen': 'RB', 'RB.Y' : {'phen': 'RB',
'sig': 'Y', 'sig': 'Y',
'color': 'thistle',
'hdln': 'Small Craft Advisory for rough bar'}, 'hdln': 'Small Craft Advisory for rough bar'},
'RP.S' : {'phen': 'RP', 'RP.S' : {'phen': 'RP',
'sig' : 'S', 'sig' : 'S',
@ -1729,9 +1760,11 @@ vtec = {
'hdln': 'Small Craft Advisory'}, 'hdln': 'Small Craft Advisory'},
'SE.A' : {'phen': 'SE', 'SE.A' : {'phen': 'SE',
'sig': 'A', 'sig': 'A',
'color': 'darkslateblue',
'hdln': 'Hazardous Seas Watch'}, 'hdln': 'Hazardous Seas Watch'},
'SE.W' : {'phen': 'SE', 'SE.W' : {'phen': 'SE',
'sig': 'W', 'sig': 'W',
'color': 'thistle',
'hdln': 'Hazardous Seas Warning'}, 'hdln': 'Hazardous Seas Warning'},
'SI.Y' : {'phen': 'SI', 'SI.Y' : {'phen': 'SI',
'sig': 'Y', 'sig': 'Y',
@ -1739,7 +1772,7 @@ vtec = {
'hdln': 'Small Craft Advisory for winds'}, 'hdln': 'Small Craft Advisory for winds'},
'SM.Y' : {'phen': 'SM', 'SM.Y' : {'phen': 'SM',
'sig': 'Y', 'sig': 'Y',
'khaki' 'color': 'khaki',
'hdln': 'Dense Smoke Advisory'}, 'hdln': 'Dense Smoke Advisory'},
'SR.A' : {'phen': 'SR', 'SR.A' : {'phen': 'SR',
'sig': 'A', 'sig': 'A',
@ -1751,9 +1784,11 @@ vtec = {
'hdln': 'Storm Warning'}, 'hdln': 'Storm Warning'},
'SS.A' : {'phen': 'SS', 'SS.A' : {'phen': 'SS',
'sig': 'A', 'sig': 'A',
'color': '#DB7FF7',
'hdln': 'Storm Surge Watch'}, 'hdln': 'Storm Surge Watch'},
'SS.W' : {'phen': 'SS', 'SS.W' : {'phen': 'SS',
'sig': 'W', 'sig': 'W',
'color': '#B524F7',
'hdln': 'Storm Surge Warning'}, 'hdln': 'Storm Surge Warning'},
'SU.W' : {'phen': 'SU', 'SU.W' : {'phen': 'SU',
'sig': 'W', 'sig': 'W',
@ -1797,27 +1832,35 @@ vtec = {
'hdln': 'Tropical Storm Warning'}, 'hdln': 'Tropical Storm Warning'},
'TS.A' : {'phen': 'TS', 'TS.A' : {'phen': 'TS',
'sig': 'A', 'sig': 'A',
'color': 'fuchsia',
'hdln': 'Tsunami Watch'}, 'hdln': 'Tsunami Watch'},
'TS.W' : {'phen': 'TS', 'TS.W' : {'phen': 'TS',
'sig': 'W', 'sig': 'W',
'color': '#FD6347',
'hdln': 'Tsunami Warning'}, 'hdln': 'Tsunami Warning'},
'TS.Y' : {'phen': 'TS', 'TS.Y' : {'phen': 'TS',
'sig': 'Y', 'sig': 'Y',
'color': 'chocolate',
'hdln': 'Tsunami Advisory'}, 'hdln': 'Tsunami Advisory'},
'TY.A' : {'phen': 'TY', 'TY.A' : {'phen': 'TY',
'sig': 'A', 'sig': 'A',
'color': 'fuchsia',
'hdln': 'Typhoon Watch'}, 'hdln': 'Typhoon Watch'},
'TY.W' : {'phen': 'TY', 'TY.W' : {'phen': 'TY',
'sig': 'W', 'sig': 'W',
'color': '#FD6347',
'hdln': 'Typhoon Warning'}, 'hdln': 'Typhoon Warning'},
'UP.A' : {'phen': 'UP', 'UP.A' : {'phen': 'UP',
'sig': 'A', 'sig': 'A',
'color': 'RosyBrown',
'hdln': 'Heavy Freezing Spray Watch'}, 'hdln': 'Heavy Freezing Spray Watch'},
'UP.W' : {'phen': 'UP', 'UP.W' : {'phen': 'UP',
'sig': 'W', 'sig': 'W',
'color': '#00C0FF',
'hdln': 'Heavy Freezing Spray Warning'}, 'hdln': 'Heavy Freezing Spray Warning'},
'UP.Y' : {'phen': 'UP', 'UP.Y' : {'phen': 'UP',
'sig': 'Y', 'sig': 'Y',
'color': '#00C0FF',
'hdln': 'Freezing Spray Advisory'}, 'hdln': 'Freezing Spray Advisory'},
'WC.A' : {'phen': 'WC', 'WC.A' : {'phen': 'WC',
'sig': 'A', 'sig': 'A',
@ -1849,9 +1892,11 @@ vtec = {
'hdln': 'Winter Weather Advisory'}, 'hdln': 'Winter Weather Advisory'},
'ZF.Y' : {'phen': 'ZF', 'ZF.Y' : {'phen': 'ZF',
'sig': 'Y', 'sig': 'Y',
'color': 'teal',
'hdln': 'Freezing Fog Advisory'}, 'hdln': 'Freezing Fog Advisory'},
'ZR.Y' : {'phen': 'ZR', 'ZR.Y' : {'phen': 'ZR',
'sig': 'Y', 'sig': 'Y',
'color': 'orchid',
'hdln': 'Freezing Rain Advisory'}, 'hdln': 'Freezing Rain Advisory'},
} }