2015-10-30 12:08:43 +00:00
#####################################################################################
## SEVERE THUNDERSTORM WARNING TEMPLATE ##
## FOR CR IMPACT BASED SVR INITIATIVE ##
## CREATED BY PHIL KURIMSKI - WFO DTX ##
## BOOKBINDER 9-18-2013 Implement global config.vm ##
## BOOKBINDER 2-18-2014 Wind/hail order matrix ##
## BOOKBINDER 9-16-2014 2015 IBW Tags ##
## UPDATED BOOKBINDER 3-23-2015 Mixed Case Migration ##
## BOOKBINDER 6-15-2015 Corrected bad softball/grapefruit hail sized. ##
## Removed redundant tornado watch phrase from CTA ##
## Bookbinder 10-20-2015 Fixed extraSource var for tornado info ##
#####################################################################################
2014-09-19 15:02:23 -04:00
## Impact Statements for IBW templates are contained in impactStatements.vm
2012-03-27 17:20:30 -05:00
################################################################
##
2013-09-30 13:05:31 -04:00
#parse("config.vm")
2012-03-27 17:20:30 -05:00
##SET SOME INITIAL VARIABLES
2013-07-18 12:07:22 -04:00
#set($hazard = "")
#set($source = "")
#set($torTag = "")
#set($pdssvr = "")
#set($extraSource = "")
2012-03-27 17:20:30 -05:00
#if(${stormType} == "line")
2015-06-08 14:14:55 -05:00
#set($report = "severe thunderstorms were reported")
#set($reportType1 = "severe thunderstorms")
#set($reportType2 = "these storms were")
#set($reportType3 = "severe thunderstorms were located")
2012-03-27 17:20:30 -05:00
#else
2015-06-08 14:14:55 -05:00
#set($report = "a severe thunderstorm was reported")
#set($reportType1 = "a severe thunderstorm")
#set($reportType2 = "this storm was")
#set($reportType3 = "a severe thunderstorm was located")
2012-03-27 17:20:30 -05:00
#end
######################################################
## Check to see if the SVR Tornado Tag was selected ##
######################################################
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "svrTorTag")})
#set($torTag = "<L>TORNADO...POSSIBLE</L>")
2012-03-27 17:20:30 -05:00
#end
#############################################################
#### CREATE BASIS WORDING ###################################
#############################################################
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "doppler")})
2015-09-23 17:37:51 -05:00
#set($report = "Doppler radar indicated ${reportType1}")
2015-06-08 14:14:55 -05:00
#set($reportAuthSVR = "capable of producing")
#set($source = "Radar indicated.")
2012-03-27 17:20:30 -05:00
#end
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "trainedSpotters")})
2015-06-08 14:14:55 -05:00
#set($report = "trained weather spotters reported ${reportType1}")
#set($reportAuthSVR = "producing")
#set($source = "Trained weather spotters.")
2012-03-27 17:20:30 -05:00
#end
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "lawEnforcement")})
2015-06-08 14:14:55 -05:00
#set($report = "law enforcement reported ${reportType1}")
#set($reportAuthSVR = "producing")
#set($source = "Law enforcement.")
2012-03-27 17:20:30 -05:00
#end
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "emergencyMgmt")})
2015-06-08 14:14:55 -05:00
#set($report = "emergency management reported ${reportType1}")
#set($reportAuthSVR = "producing")
#set($source = "Emergency management.")
2012-03-27 17:20:30 -05:00
#end
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "public")})
2015-06-08 14:14:55 -05:00
#set($report = "the public reported ${reportType1}")
#set($reportAuthSVR = "producing")
#set($source = "Public.")
2012-03-27 17:20:30 -05:00
#end
###################################################
## HANDLE WIND POSSIBILITIES ######################
###################################################
2013-07-18 12:07:22 -04:00
#set($windSpeed = 0)
#set($extensive = "")
#set($windTag = "<50MPH")
#if(${list.contains(${bullets}, "60mphWind")})
2015-06-08 14:14:55 -05:00
#set($windThreat = "damaging winds in excess of 60 mph")
#set($windHazard = "60 mph wind gusts")
2013-07-18 12:07:22 -04:00
#set($windSpeed = 60)
#set($windTag = "60MPH")
#end
#if(${list.contains(${bullets}, "70mphWind")})
2015-06-08 14:14:55 -05:00
#set($windThreat = "destructive winds in excess of 70 mph")
#set($windHazard = "70 mph wind gusts")
2013-07-18 12:07:22 -04:00
#set($windSpeed = 70)
#set($windTag = "70MPH")
#end
#if(${list.contains(${bullets}, "80mphWind")})
2015-06-08 14:14:55 -05:00
#set($windThreat = "Destructive winds in excess of 80 mph")
#set($windHazard = "80 mph wind gusts")
2013-07-18 12:07:22 -04:00
#set($windSpeed = 80)
#set($windTag = "80MPH")
#if(${stormType} == "line")
2015-06-08 14:14:55 -05:00
#set($pdssvr = "These are very dangerous storms.")
2013-07-18 12:07:22 -04:00
#else
2015-06-08 14:14:55 -05:00
#set($pdssvr = "This is a very dangerous storm.")
2013-07-18 12:07:22 -04:00
#end
#end
#if(${list.contains(${bullets}, "90mphWind")})
2015-06-08 14:14:55 -05:00
#set($windThreat = "extreme damaging winds in excess of 90 mph")
#set($windHazard = "90 mph wind gusts")
2013-07-18 12:07:22 -04:00
#set($windSpeed = 90)
#set($windTag = "90MPH")
#if(${stormType} == "line")
2015-06-08 14:14:55 -05:00
#set($pdssvr = "These are very dangerous storms.")
2013-07-18 12:07:22 -04:00
#else
2015-06-08 14:14:55 -05:00
#set($pdssvr = "This is a very dangerous storm.")
2013-07-18 12:07:22 -04:00
#end
#end
#if(${list.contains(${bullets}, "100mphWind")})
2015-06-08 14:14:55 -05:00
#set($windThreat = "extreme damaging winds in excess of 100 mph")
#set($windHazard = "100 mph wind gusts")
2013-07-18 12:07:22 -04:00
#set($windSpeed = 100)
#set($windTag = "100MPH")
#if(${stormType} == "line")
2015-06-08 14:14:55 -05:00
#set($pdssvr = "These are very dangerous storms.")
2013-07-18 12:07:22 -04:00
#else
2015-06-08 14:14:55 -05:00
#set($pdssvr = "This is a very dangerous storm.")
2013-07-18 12:07:22 -04:00
#end
2012-03-27 17:20:30 -05:00
#end
###################################################
## HANDLE HAIL POSSIBILITIES ######################
###################################################
2013-07-18 12:07:22 -04:00
#set($hailSize = 0)
#set($hailTag = "<.75IN")
#if(${list.contains(${bullets}, "pennyHail")})
2015-06-08 14:14:55 -05:00
#set($hailThreat = "penny size")
#set($hailTrail = " hail")
#set($hailHazard = "penny size hail")
2013-07-18 12:07:22 -04:00
#set($hailLead = "")
#set($hailSize = 0.75)
#set($hailTag = "0.75IN")
#end
#if(${list.contains(${bullets}, "nickelHail")})
2015-06-08 14:14:55 -05:00
#set($hailThreat = "nickel size")
#set($hailTrail = " hail")
#set($hailHazard = "nickel size hail")
2013-07-18 12:07:22 -04:00
#set($hailLead = "")
#set($hailSize = 0.88)
#set($hailTag = "0.88IN")
#end
#if(${list.contains(${bullets}, "quarterHail")})
2015-06-08 14:14:55 -05:00
#set($hailThreat = "quarter size")
#set($hailTrail = " hail")
#set($hailHazard = "quarter size hail")
2013-07-18 12:07:22 -04:00
#set($hailLead = "")
#set($hailSize = 1.00)
#set($hailTag = "1.00IN")
#end
#if(${list.contains(${bullets}, "halfdollarHail")})
2015-06-08 14:14:55 -05:00
#set($hailThreat = "half dollar size")
#set($hailTrail = " hail")
#set($hailHazard = "half dollar size hail")
2013-07-18 12:07:22 -04:00
#set($hailLead = "")
#set($hailSize = 1.25)
#set($hailTag = "1.25IN")
#end
#if(${list.contains(${bullets}, "pingpongHail")})
2015-06-08 14:14:55 -05:00
#set($hailThreat = "ping pong ball size")
#set($hailLead = "large hail up to ")
#set($hailHazard = "ping pong ball size hail")
2013-07-18 12:07:22 -04:00
#set($hailTrail = "")
#set($hailSize = 1.50)
#set($hailTag = "1.50IN")
#end
#if(${list.contains(${bullets}, "golfballHail")})
2015-06-08 14:14:55 -05:00
#set($hailThreat = "golf ball size")
#set($hailLead = "large damaging hail up to ")
#set($hailHazard = "golf ball size hail")
2013-07-18 12:07:22 -04:00
#set($hailTrail = "")
#set($hailSize = 1.75)
#set($hailTag = "1.75IN")
#end
#if(${list.contains(${bullets}, "twoinchHail")})
2015-06-08 14:14:55 -05:00
#set($hailThreat = "two inches in diameter")
#set($hailLead = "large damaging hail up to ")
#set($hailHazard = "two inch hail")
2013-07-18 12:07:22 -04:00
#set($hailTrail = "")
#set($hailSize = 2.00)
#set($hailTag = "2.00IN")
#end
#if(${list.contains(${bullets}, "tennisBallHail")})
2015-06-08 14:14:55 -05:00
#set($hailThreat = "tennis ball size")
#set($hailLead = "large destructive hail up to ")
2013-07-18 12:07:22 -04:00
#set($hailTrail = "")
2015-06-08 14:14:55 -05:00
#set($hailHazard = "tennis ball size hail")
2013-07-18 12:07:22 -04:00
#set($hailSize = 2.50)
#set($hailTag = "2.50IN")
#end
#if(${list.contains(${bullets}, "baseballHail")})
2015-06-08 14:14:55 -05:00
#set($hailThreat = "baseball size")
#set($hailLead = "large destructive hail up to ")
2015-10-30 12:08:43 +00:00
#set($hailHazard = "baseball size hail")
2013-07-18 12:07:22 -04:00
#set($hailTrail = "")
#set($hailSize = 2.75)
#set($hailTag = "2.75IN")
#if(${stormType} == "line")
2015-06-08 14:14:55 -05:00
#set($pdssvr = "These are very dangerous storms.")
2013-07-18 12:07:22 -04:00
#else
2015-06-08 14:14:55 -05:00
#set($pdssvr = "This is a very dangerous storm.")
2013-07-18 12:07:22 -04:00
#end
#end
#if(${list.contains(${bullets}, "threeinchHail")})
2015-06-08 14:14:55 -05:00
#set($hailThreat = "three inches in diameter")
#set($hailLead = "large destructive hail up to ")
#set($hailHazard = "three inch hail")
2013-07-18 12:07:22 -04:00
#set($hailTrail = "")
#set($hailSize = 3.00)
#set($hailTag = "3.00IN")
#if(${stormType} == "line")
2015-06-08 14:14:55 -05:00
#set($pdssvr = "These are very dangerous storms.")
2013-07-18 12:07:22 -04:00
#else
2015-06-08 14:14:55 -05:00
#set($pdssvr = "This is a very dangerous storm.")
2013-07-18 12:07:22 -04:00
#end
#end
2015-10-30 12:08:43 +00:00
#if(${list.contains(${bullets}, "softballHail")})
#set($hailThreat = "softball size")
2015-06-08 14:14:55 -05:00
#set($hailLead = "large destructive hail up to ")
2015-10-30 12:08:43 +00:00
#set($hailHazard = "softball size hail")
2013-07-18 12:07:22 -04:00
#set($hailTrail = "")
#set($hailSize = 4.00)
#set($hailTag = "4.00IN")
#if(${stormType} == "line")
2015-06-08 14:14:55 -05:00
#set($pdssvr = "These are very dangerous storms.")
2013-07-18 12:07:22 -04:00
#else
2015-06-08 14:14:55 -05:00
#set($pdssvr = "This is a very dangerous storm.")
2013-07-18 12:07:22 -04:00
#end
#end
2015-10-30 12:08:43 +00:00
#if(${list.contains(${bullets}, "grapefruitHail")})
#set($hailThreat = "grapefruit size")
2015-06-08 14:14:55 -05:00
#set($hailLead = "large destructive hail up to ")
2015-10-30 12:08:43 +00:00
#set($hailHazard = "grapefruit size hail")
2013-07-18 12:07:22 -04:00
#set($hailTrail = "")
2015-10-30 12:08:43 +00:00
#set($hailSize = 4.50)
#set($hailTag = "4.50IN")
2013-07-18 12:07:22 -04:00
#if(${stormType} == "line")
2015-06-08 14:14:55 -05:00
#set($pdssvr = "These are very dangerous storms.")
2013-07-18 12:07:22 -04:00
#else
2015-06-08 14:14:55 -05:00
#set($pdssvr = "This is a very dangerous storm.")
2013-07-18 12:07:22 -04:00
#end
2012-03-27 17:20:30 -05:00
#end
###################################################################
### CHANGE MND EAS INSTRUCTIONS FOR REALLY SEVERE STORMS ##########
###################################################################
2013-07-18 12:07:22 -04:00
#if(${hailSize} >=2 || ${windSpeed} >= 80)
#set($easActivation = "EAS ACTIVATION REQUESTED")
2012-03-27 17:20:30 -05:00
#else
2013-07-18 12:07:22 -04:00
#set($easActivation = "IMMEDIATE BROADCAST REQUESTED")
#end
####################################################################################
######### CREATE A WIND AND HAIL SENTENCE ##########################################
######### TORNADO POSSIBLE TAG NOT BEING PLACED IN HAZARD LINE AT THIS TIME ########
####################################################################################
#if(${hailSize} < 1 && ${windSpeed} < 58)
#set($hailwind = "!**YOU DID NOT SELECT ANY SEVERE WIND OR HAIL THREATS. PLEASE CLOSE THIS WINDOW AND RE-GENERATE THIS WARNING!**!")
#set($windhailTag = "WIND...HAIL <50MPH <.75IN")
#set($impact = "!**YOU DID NOT SELECT ANY SEVERE WIND OR HAIL THREATS. PLEASE CLOSE THIS WINDOW AND RE-GENERATE THIS WARNING!**!")
#set($hazard = "!**YOU DID NOT SELECT ANY SEVERE WIND OR HAIL THREATS. PLEASE CLOSE THIS WINDOW AND RE-GENERATE THIS WARNING!**!")
2012-03-27 17:20:30 -05:00
#elseif(${hailSize} > 0 && ${windSpeed} > 0)
2013-07-18 12:07:22 -04:00
#if(${hailSize} < 1)
#set($hailwind = " ${reportAuthSVR} ${windThreat}")
2015-06-08 14:14:55 -05:00
#set($hazard = "${windHazard} and ${hailHazard}.")
2012-06-08 13:20:42 -05:00
#*
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "svrTorTag")})
2015-09-29 12:46:31 -05:00
#set($hazard = "${windHazard}, ${hailHazard}, and possible tornado.")
2012-03-27 17:20:30 -05:00
#end
2012-06-08 13:20:42 -05:00
*#
2014-09-19 15:02:23 -04:00
#elseif(${windSpeed} >= 80 || (${windSpeed} >= 70 && ${hailSize} <= 1.5) || (${windSpeed} >= 58 && ${hailSize} <= 1.25))
2015-06-08 14:14:55 -05:00
#set($hailwind = " ${reportAuthSVR} ${windThreat} and ${hailLead}${hailThreat}${hailTrail}")
#set($hazard = "${windHazard} and ${hailHazard}.")
2014-09-19 15:02:23 -04:00
#*
#if(${list.contains(${bullets}, "svrTorTag")})
2015-09-29 12:46:31 -05:00
#set($hazard = "${windHazard}, ${hailHazard}, and possible tornado.")
2014-09-19 15:02:23 -04:00
#end
*#
2012-03-27 17:20:30 -05:00
#else
2015-06-08 14:14:55 -05:00
#set($hailwind = " ${reportAuthSVR} ${hailLead}${hailThreat}${hailTrail} and ${windThreat}")
#set($hazard = "${hailHazard} and ${windHazard}.")
2012-06-08 13:20:42 -05:00
#*
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "svrTorTag")})
2015-09-29 12:46:31 -05:00
#set($hazard = "${hailHazard}, ${windHazard}, and possible tornado.")
2012-03-27 17:20:30 -05:00
#end
2012-06-08 13:20:42 -05:00
*#
2012-03-27 17:20:30 -05:00
#end
2013-07-18 12:07:22 -04:00
#set($windhailTag = "WIND...HAIL ${windTag} ${hailTag}")
2012-03-27 17:20:30 -05:00
#elseif(${hailSize} > 0)
2013-07-18 12:07:22 -04:00
#set($hailwind = " ${reportAuthSVR} ${hailLead}${hailThreat}${hailTrail}")
#set($windhailTag = "WIND...HAIL <50MPH ${hailTag}")
#set($hazard = "${hailHazard}.")
2012-06-08 13:20:42 -05:00
#*
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "svrTorTag")})
2015-06-08 14:14:55 -05:00
#set($hazard = "${hailHazard} and possible tornado.")
2012-03-27 17:20:30 -05:00
#end
2012-06-08 13:20:42 -05:00
*#
2012-03-27 17:20:30 -05:00
#elseif(${windSpeed} > 0)
2013-07-18 12:07:22 -04:00
#set($hailwind = " ${reportAuthSVR} ${windThreat}")
#set($windhailTag = "WIND...HAIL ${windTag} <.75IN")
#set($hazard = "${windHazard}.")
2012-06-08 13:20:42 -05:00
#*
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "svrTorTag")})
2015-06-08 14:14:55 -05:00
#set($hazard = "${windHazard} and possible tornado.")
2012-03-27 17:20:30 -05:00
#end
2012-06-08 13:20:42 -05:00
*#
#end
2013-07-18 12:07:22 -04:00
2012-03-27 17:20:30 -05:00
################################################################
######### ~*~*~*~*~*~* BEGIN OUTPUT ~*~*~*~*~*~*~ ##############
################################################################
${WMOId} ${vtecOffice} 000000 ${BBBId}
SVR${siteId}
${ugcline}
/${productClass}.${action}.${vtecOffice}.SV.W.${etn}.${dateUtil.format(${start}, ${timeFormat.ymdthmz})}-${dateUtil.format(${expire}, ${timeFormat.ymdthmz}, 15)}/
BULLETIN - ${easActivation}
#if(${productClass}=="T")
2015-06-24 14:42:53 -05:00
TEST...Severe Thunderstorm Warning...TEST
2012-03-27 17:20:30 -05:00
#else
2015-06-24 14:42:53 -05:00
Severe Thunderstorm Warning
2012-03-27 17:20:30 -05:00
#end
2015-06-24 14:42:53 -05:00
National Weather Service ${officeShort}
2012-03-27 17:20:30 -05:00
#backupText(${backupSite})
2015-06-24 14:42:53 -05:00
${dateUtil.format(${now}, ${timeFormat.header}, ${localtimezone})}
2015-06-08 14:14:55 -05:00
2012-03-27 17:20:30 -05:00
#if(${productClass}=="T")
...THIS MESSAGE IS FOR TEST PURPOSES ONLY...
#end
#headline(${officeLoc}, ${backupSite})
* ##
#if(${productClass}=="T")
THIS IS A TEST MESSAGE. ##
#end
2015-06-08 14:14:55 -05:00
Severe Thunderstorm Warning for...
2012-03-27 17:20:30 -05:00
#firstBullet(${areas})
####################################################
############# SECOND BULLET ########################
####################################################
* ##
#if(${productClass}=="T")
THIS IS A TEST MESSAGE. ##
#end
#secondBullet(${dateUtil},${expire},${timeFormat},${localtimezone},${secondtimezone})
####################################################
############# THIRD BULLET #########################
####################################################
######################################################
###### Add damage information to the source section
###### If Additional Information is selected
######################################################
#############################################
######## GENERATE ADDITIONAL REPORTS #######
#############################################
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "addlHailWindRpt")})
2015-10-30 12:08:43 +00:00
#set($source = "${source} At !**ENTER TIME, ENTER HAIL/WIND**! was reported !**ENTER LOCATION**!. ")
2012-03-27 17:20:30 -05:00
#end
* ##
#if(${productClass}=="T")
THIS IS A TEST MESSAGE. ##
#end
#thirdBullet(${dateUtil},${event},${timeFormat},${localtimezone},${secondtimezone})
2015-06-08 14:14:55 -05:00
, ${reportType3} ##
2013-09-30 13:05:31 -04:00
##Many of the variables passed below are controlled by config.vm
2013-07-18 12:07:22 -04:00
#if(${stormType} == "line")
2013-09-30 13:05:31 -04:00
#handleClosestPoints(${list}, ${closestPoints}, ${otherClosestPoints}, ${stormType}, ${nearPhrase} , ${maxLandNearDistance}, ${overPhrase}, ${maxLandOverDistance}, ${landDistanceUnits}, ${useSecondReferenceLine})
2013-07-18 12:07:22 -04:00
#else
2013-09-30 13:05:31 -04:00
#handleClosestPoints(${list}, ${closestPoints}, ${otherClosestPoints}, ${stormType}, ${nearPhrase} , ${maxLandNearDistance}, ${overPhrase}, ${maxLandOverDistance}, ${landDistanceUnits}, ${useSecondReferenceCell})
2013-07-18 12:07:22 -04:00
#end
2013-09-30 13:05:31 -04:00
#if(${movementSpeed} < ${landStationary} || ${stationary})
2012-03-27 17:20:30 -05:00
#if(${stormType} == "line")
2015-06-08 14:14:55 -05:00
, and are nearly stationary.
2012-03-27 17:20:30 -05:00
#else
2015-06-08 14:14:55 -05:00
, and is nearly stationary.
2012-03-27 17:20:30 -05:00
#end
#else
2015-06-08 14:14:55 -05:00
, moving #direction(${movementDirectionRounded}) at ${mathUtil.roundTo5(${movementSpeed})} mph.
2012-03-27 17:20:30 -05:00
#end
2013-07-18 12:07:22 -04:00
##########################################################################
## Command to parse the impact statements into the template
##########################################################################
#parse("impactStatements.vm")
2012-03-27 17:20:30 -05:00
##########################################################################
## Section to include the dangerous storm wording as well as the hazard ##
##########################################################################
2013-07-18 12:07:22 -04:00
#wrapText("${pdssvr}" 2 2)
2012-03-27 17:20:30 -05:00
2015-09-29 12:46:31 -05:00
#wrapText("HAZARD...#capitalize(${hazard} 'FIRST')" 2 11)
2012-03-27 17:20:30 -05:00
2015-10-30 12:08:43 +00:00
#wrapText("SOURCE...#capitalize(${source} 'FIRST')" 2 11)
2012-03-27 17:20:30 -05:00
2013-07-18 12:07:22 -04:00
#wrapText("IMPACT...${svrimpact}" 2 11)
2012-03-27 17:20:30 -05:00
###################################################
######## GENERATE PATHCAST OR CITIES LIST #########
###################################################
#if(${stormType} == "line")
2015-07-21 12:56:12 -05:00
#set($pathcastLead = "Severe thunderstorms")
2015-06-08 14:14:55 -05:00
#set($otherLead = "these severe thunderstorms")
2012-03-27 17:20:30 -05:00
#else
2015-07-21 12:56:12 -05:00
#set($pathcastLead = "This severe thunderstorm")
2015-06-08 14:14:55 -05:00
#set($otherLead = "this severe thunderstorm")
2012-03-27 17:20:30 -05:00
#end
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "pathcast")})
2012-03-27 17:20:30 -05:00
* ##
#if(${productClass}=="T")
THIS IS A TEST MESSAGE. ##
#end
2015-06-08 14:14:55 -05:00
#pathCast("#capitalize(${pathcastLead} 'FIRSTONLY') will be near," ${otherLead} ${pathCast} ${otherPoints} ${areas} ${dateUtil} ${timeFormat} 0)
2012-03-27 17:20:30 -05:00
2013-07-18 12:07:22 -04:00
#elseif(${list.contains(${bullets}, "listofcities")})
2012-03-27 17:20:30 -05:00
* ##
#if(${productClass}=="T")
THIS IS A TEST MESSAGE. ##
#end
#### THE THIRD ARGUMENT IS A NUMBER SPECIFYING THE NUMBER OF COLUMNS TO OUTPUT THE CITIES LIST IN
#### 0 IS A ... SEPARATED LIST, 1 IS ONE PER LINE, >1 IS A COLUMN FORMAT
#### IF YOU USE SOMETHING OTHER THAN "LOCATIONS IMPACTED INCLUDE" LEAD IN BELOW, MAKE SURE THE
#### ACCOMPANYING XML FILE PARSE STRING IS CHANGED TO MATCH!
2015-06-08 14:14:55 -05:00
#locationsList("Locations impacted include..." ${otherLead} 0 ${cityList} ${otherPoints} ${areas} ${dateUtil} ${timeFormat} 0)
2012-03-27 17:20:30 -05:00
#else
2015-06-08 14:14:55 -05:00
* Locations impacted include...
2012-03-27 17:20:30 -05:00
!** YOU DID NOT SELECT A PATHCAST OR LIST OF CITIES BULLET. PLEASE ENTER LOCATIONS IMPACTED **!.
#end
##############################################
###### SPECIAL VENUE/EVENT CASE ##############
##############################################
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "specialEvent")})
2012-03-27 17:20:30 -05:00
#if(${stormType} == "line")
2015-06-08 14:14:55 -05:00
Those attending !**EVENT/VENUE NAME OR LOCATION**! are in the path of these storms and should prepare for imminent dangerous weather conditions. Seek shelter now!
2012-03-27 17:20:30 -05:00
#else
2015-06-08 14:14:55 -05:00
Those attending !**EVENT/VENUE NAME OR LOCATION*! are in the path of this storm and should prepare for imminent dangerous weather conditions. Seek shelter now!
2012-03-27 17:20:30 -05:00
#end
#end
2014-09-19 15:02:23 -04:00
## Comment out #parse command below to pull in Dynamic DSS Event Info
## If this feature is utilized, the "specialEvent" bullet (output above) can
## likely be commented out from the impactSevereThunderstormWarning.xml file
2015-10-30 12:08:43 +00:00
##parse("dssEvents.vm")
2014-09-19 15:02:23 -04:00
## parse file command here is to pull in mile marker info
2015-06-08 14:14:55 -05:00
#parse("mileMarkers.vm")
2013-07-18 12:07:22 -04:00
## parse file command here is to pull in extra points (venues) info
2015-10-30 12:08:43 +00:00
##parse("pointMarkers.vm")
2012-03-27 17:20:30 -05:00
##################################
######### CALLS TO ACTION ########
##################################
2013-07-18 12:07:22 -04:00
##Check to see if we've selected any calls to action. In our .xml file
2012-03-27 17:20:30 -05:00
##we ended each CTA bullet ID with "CTA" for this reason as a 'trip'
2013-07-18 12:07:22 -04:00
#foreach (${bullet} in ${bullets})
#if(${bullet.endsWith("CTA")})
#set($ctaSelected = "YES")
2012-03-27 17:20:30 -05:00
#end
#end
##
#if(${ctaSelected} == "YES")
PRECAUTIONARY/PREPAREDNESS ACTIONS...
#end
##
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "torWatchRemainsInEffectCTA")})
#if(${list.contains(${bullets}, "svrTorTag")})
2015-06-08 14:14:55 -05:00
Remain alert for a possible tornado! Tornadoes can develop quickly from severe thunderstorms. If you spot a tornado go at once into the basement or small central room in a sturdy structure.
2012-03-27 17:20:30 -05:00
2012-06-08 13:20:42 -05:00
#else
2015-06-08 14:14:55 -05:00
A tornado watch remains in effect for the warned area. Tornadoes can develop quickly from severe thunderstorms. Although a tornado is not immediately likely, if one is spotted, act quickly and move to a place of safety inside a sturdy structure such as a basement or small interior room.
2012-03-27 17:20:30 -05:00
2012-06-08 13:20:42 -05:00
#end
2012-03-27 17:20:30 -05:00
#end
##
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "torPossibleTagCTA")})
2015-06-08 14:14:55 -05:00
Remain alert for a possible tornado! Tornadoes can develop quickly from severe thunderstorms. If you spot a tornado go at once into the basement or small central room in a sturdy structure.
2012-03-27 17:20:30 -05:00
#end
##
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "genericCTA")})
2015-06-08 14:14:55 -05:00
For your protection move to an interior room on the lowest floor of a building.
2012-03-27 17:20:30 -05:00
#end
##
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "largeHailCTA")})
2015-06-08 14:14:55 -05:00
Prepare immediately for large hail and deadly cloud to ground lightning. Seek shelter inside a well-built structure. Stay away from windows.
2012-03-27 17:20:30 -05:00
#end
##
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "largeHailWindCTA")})
2015-06-08 14:14:55 -05:00
Prepare immediately for large hail and damaging winds. People outside should move immediately to shelter inside a strong building. Stay away from windows.
2012-03-27 17:20:30 -05:00
#end
##
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "historyHailCTA")})
2012-03-27 17:20:30 -05:00
#if(${stormType} == "line")
2015-06-08 14:14:55 -05:00
These storms are producing large hail. Seek shelter now inside a sturdy structure and stay away from windows!
2012-03-27 17:20:30 -05:00
#else
2015-06-08 14:14:55 -05:00
This storm is producing large hail. Seek shelter now inside a sturdy structure and stay away from windows!
2012-03-27 17:20:30 -05:00
#end
#end
##
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "historyWindCTA")})
2012-03-27 17:20:30 -05:00
#if(${stormType} == "line")
2015-06-08 14:14:55 -05:00
This is a dangerous situation. These storms are producing widespread wind damage across !** ENTER LOCATION **!. Seek shelter now inside a sturdy structure and stay away from windows!
2012-03-27 17:20:30 -05:00
#else
2015-06-08 14:14:55 -05:00
This is a dangerous situation. This storm is producing widespread wind damage across !** ENTER LOCATION **!. Seek shelter now inside a sturdy structure and stay away from windows!
2012-03-27 17:20:30 -05:00
#end
#end
##
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "veryLargeHailCTA")})
2012-03-27 17:20:30 -05:00
#if(${stormType} == "line")
2015-06-08 14:14:55 -05:00
These are dangerous storms. Prepare immediately for large destructive hail capable of producing significant damage. People outside should move to shelter inside a strong building, and stay away from windows.
2012-06-08 13:20:42 -05:00
2012-03-27 17:20:30 -05:00
#else
2015-06-08 14:14:55 -05:00
This is a dangerous storm. Prepare immediately for large destructive hail capable of producing significant damage. People outside should move to shelter inside a strong building, and stay away from windows.
2012-03-27 17:20:30 -05:00
#end
#end
##
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "extremeWindsCTA")})
2012-06-08 13:20:42 -05:00
#if(${stormType} == "line")
2015-06-08 14:14:55 -05:00
This is an extremely dangerous situation with tornado like wind speeds expected. Mobile homes and high profile vehicles are especially susceptible to winds of this magnitude and may be overturned. For your protection move to an interior room on the lowest floor of a building. These storms have the potential to cause serious injury and significant property damage.
2012-06-08 13:20:42 -05:00
#else
2015-06-08 14:14:55 -05:00
This is an extremely dangerous situation with tornado like wind speeds expected. Mobile homes and high profile vehicles are especially susceptible to winds of this magnitude and may be overturned. For your protection move to an interior room on the lowest floor of a building. This storm has the potential to cause serious injury and significant property damage.
2012-03-27 17:20:30 -05:00
2012-06-08 13:20:42 -05:00
#end
2012-03-27 17:20:30 -05:00
#end
##
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "deadlyStormCTA")})
2012-03-27 17:20:30 -05:00
#if(${stormType} == "line")
2015-10-30 12:08:43 +00:00
These are potentially deadly storms. Seek shelter in an interior room on the lowest floor of a well-built structure. Abandon vehicles in search of a more substantial permanent structure. Stay away from windows.
2012-03-27 17:20:30 -05:00
#else
2015-06-08 14:14:55 -05:00
This is a potentially deadly storm. Seek shelter in an interior room on the lowest floor of a well-built structure. Abandon vehicles in search of a more substantial permanent structure. Stay away from windows.
2012-03-27 17:20:30 -05:00
#end
#end
##
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "widespreadWindCTA")})
2012-06-08 13:20:42 -05:00
#if(${stormType} == "line")
2015-06-08 14:14:55 -05:00
This is an extremely dangerous situation. These storms are producing widespread wind damage across !** ENTER LOCATION **!. Seek shelter now inside a sturdy structure and stay away from windows!
2012-06-08 13:20:42 -05:00
#else
2015-06-08 14:14:55 -05:00
This is an extremely dangerous situation. This storm is producing widespread wind damage across !** ENTER LOCATION **!. Seek shelter now inside a sturdy structure and stay away from windows!
2012-06-08 13:20:42 -05:00
#end
#end
##
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "historyWindHailCTA")})
2012-06-08 13:20:42 -05:00
#if(${stormType} == "line")
2015-06-08 14:14:55 -05:00
These storms are producing destructive winds and large damaging hail. Seek shelter now inside a sturdy structure and stay away from windows!
2012-06-08 13:20:42 -05:00
#else
2015-06-08 14:14:55 -05:00
This storm is producing destructive winds and large damaging hail. Seek shelter now inside a sturdy structure and stay away from windows!
2012-03-27 17:20:30 -05:00
2012-06-08 13:20:42 -05:00
#end
2012-03-27 17:20:30 -05:00
#end
##
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "lawEnforcementCTA")})
2015-06-08 14:14:55 -05:00
To report severe weather, contact your nearest law enforcement agency. They will send your report to the National Weather Service office in ${officeLoc}.
2012-06-08 13:20:42 -05:00
#end
################################
## SPECIAL CASE CALLS TO ACTION
################################
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "gustFrontOutflowCTA")})
2012-03-27 17:20:30 -05:00
#if(${stormType} == "line")
2015-06-08 14:14:55 -05:00
Wind damage with these storms will occur before any rain or lightning. Do not wait for the sound of thunder before taking cover. Seek shelter immediately inside a sturdy structure and stay away from windows.
2012-03-27 17:20:30 -05:00
#else
2015-06-08 14:14:55 -05:00
Wind damage with this storm will occur before any rain or lightning. Do not wait for the sound of thunder before taking cover. Seek shelter immediately inside a sturdy structure and stay away from windows.
2012-03-27 17:20:30 -05:00
#end
#end
##
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "squallLineCTA")})
2012-06-08 13:20:42 -05:00
#if(${stormType} == "line")
2015-06-08 14:14:55 -05:00
Intense thunderstorm lines can produce brief tornadoes and widespread significant wind damage. Although a tornado is not immediately likely, it is best to move to an interior room on the lowest floor of a building. These storms may cause serious injury and significant property damage.
2012-06-08 13:20:42 -05:00
#else
2015-06-08 14:14:55 -05:00
Intense thunderstorm lines can produce brief tornadoes and widespread significant wind damage. Although a tornado is not immediately likely, it is best to move to an interior room on the lowest floor of a building. This storm may cause serious injury and significant property damage.
2012-06-08 13:20:42 -05:00
#end
#end
##
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "superCellsCTA")})
2012-03-27 17:20:30 -05:00
#if(${stormType} == "line")
2015-06-08 14:14:55 -05:00
These thunderstorms are capable of producing all types of severe weather including extremely large hail, destructive straight line winds and tornadoes. Move quickly to a safe shelter such as an interior room, a bathroom, closet or basement.
2012-03-27 17:20:30 -05:00
#else
2015-06-08 14:14:55 -05:00
This thunderstorm is capable of producing all types of severe weather including extremely large hail, destructive straight line winds and tornadoes. Move quickly to a safe shelter such as an interior room, a bathroom, closet or basement.
2012-03-27 17:20:30 -05:00
#end
#end
2012-06-08 13:20:42 -05:00
################################
## MISCELLANEOUS CALLS TO ACTION
################################
2012-03-27 17:20:30 -05:00
##
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "lightningCTA")})
2012-03-27 17:20:30 -05:00
#if(${stormType} == "line")
2015-06-08 14:14:55 -05:00
Large hail and damaging winds and continuous cloud to ground lightning is occurring with these storms. Move indoors immediately. Lightning is one of nature's leading killers. Remember, if you can hear thunder, you are close enough to be struck by lightning.
2012-03-27 17:20:30 -05:00
#else
2015-06-08 14:14:55 -05:00
Large hail and damaging winds and continuous cloud to ground lightning is occurring with this storm. Move indoors immediately. Lightning is one of nature's leading killers. Remember, if you can hear thunder, you are close enough to be struck by lightning.
2012-03-27 17:20:30 -05:00
#end
#end
##
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "boatersCTA")})
2015-06-08 14:14:55 -05:00
If on or near !**NAME OF LAKE**!, get away from the water and move indoors or inside a vehicle. Remember, lightning can strike out to 15 miles from the parent thunderstorm. If you can hear thunder, you are close enough to be struck by lightning. Move to safe shelter now! Do not be caught on the water in a thunderstorm.
2012-03-27 17:20:30 -05:00
#end
##
2013-07-18 12:07:22 -04:00
#if(${list.contains(${bullets}, "torrentialRainfallCTA")})
2012-03-27 17:20:30 -05:00
#if(${stormType} == "line")
2015-06-08 14:14:55 -05:00
Torrential rainfall is occurring with these storms, and may lead to flash flooding. Do not drive your vehicle through flooded roadways.
2012-03-27 17:20:30 -05:00
#else
2015-06-08 14:14:55 -05:00
Torrential rainfall is occurring with this storm, and may lead to flash flooding. Do not drive your vehicle through flooded roadways.
2012-03-27 17:20:30 -05:00
#end
#end
##
#if(${ctaSelected} == "YES")
&&
#end
##
#############
## WATCHES ##
#############
2014-10-01 15:55:10 -04:00
#if(${list.contains(${includedWatches}, "TO.A")})
2012-03-27 17:20:30 -05:00
#inserttorwatches(${watches}, ${list}, ${secondtimezone}, ${dateUtil}, ${timeFormat})
#end
#* NO NEED TO INCLUDE SVR T-STM WATCHES IN A SVR WARNING!!!!
2014-10-01 15:55:10 -04:00
#if(${list.contains(${includedWatches}, "SV.A")})
2012-03-27 17:20:30 -05:00
#insertsvrwatches(${watches}, ${list}, ${secondtimezone}, ${dateUtil}, ${timeFormat})
#
#end
*#
##
#if(${productClass}=="T")
THIS IS A TEST MESSAGE. DO NOT TAKE ACTION BASED ON THIS MESSAGE.
#end
#printcoords(${areaPoly}, ${list})
2013-07-18 12:07:22 -04:00
#tml(${TMLtime}, ${timeFormat}, ${movementDirection}, ${movementInKnots}, ${eventLocation})
2012-03-27 17:20:30 -05:00
###########################################################
## CODE FOR TORNADO/HAIL/WIND TAGS USED BY CR
## FOR THE IMPACT BASED SEVERE WEATHER TEMPLATE EXPERIMENT
## THE TORNADO TAGS WILL ONLY BE USED FOR CERTAIN WIND/HAIL/CTA SELECTIONS ABOVE
###########################################################
${torTag}
<L>HAIL...${hailTag}</L>
<L>WIND...${windTag}</L>
2015-10-30 12:08:43 +00:00
### POTENTIAL 2016 IBW ENHANCEMENT
2014-09-19 15:02:23 -04:00
#* REMOVE THIS COMMENT LINE WHEN DIRECTION BY YOUR REGION
2015-10-30 12:08:43 +00:00
#if ((${hailSize} >= $svrHailConsiderableThreshold) || (${windSpeed} >= $svrWindConsiderableThreshold))
<L>$svrDamageThreat</L>
2014-09-19 15:02:23 -04:00
#end
*# ##REMOVE THIS COMMENT BLOCK WHEN DIRECTION BY YOUR REGION
2012-03-27 17:20:30 -05:00
$$
2013-07-18 12:07:22 -04:00
#parse("forecasterName.vm")