361 lines
16 KiB
Text
Executable file
361 lines
16 KiB
Text
Executable file
######################################################################
|
|
## BURN SCAR FLASH FLOOD WARNING TEMPLATE FOR COUNTY-BASED PRODUCTS ##
|
|
######################################################################
|
|
## CREATED BY Phil Kurimski 2-08-2013 OB13.2.1-5
|
|
## Modified by Phil Kurimski 9-18-2013 OB13.5.2-5 for FFW Emergency
|
|
## Evan Bookbinder 9-18-2013 Implemented config.vm
|
|
## Mike Dangelo/Phil Kurimski 03/23-26/2015 MixEd CAse
|
|
## Mike Dangelo 10/20/15 standard CTAs
|
|
######################################################################
|
|
## This template can be used for any pre-defined polygon that a site
|
|
## needs to issue a FFW for outside of a dam break.
|
|
#################################### SET SOME VARIABLES ###################################
|
|
#parse("config.vm")
|
|
#set($hycType = "")
|
|
#set($burnDrainage = "")
|
|
#set($burnScar = "")
|
|
#set($burnCTA = "")
|
|
#set($emergencyHeadline = "!** ENTER LOCATION **!")
|
|
#########################################################################
|
|
## Parse command to include a burnScarInfo.vm file with site specific
|
|
## burn scar information. Sites can include this information in a
|
|
## separate file or include in the template per the coding below.
|
|
#########################################################################
|
|
#parse ("burnScarInfo.vm")
|
|
|
|
##
|
|
#if(${action} == "EXT")
|
|
#set($starttime = "000000T0000Z")
|
|
#set($extend = true)
|
|
#else
|
|
#set($starttime = ${dateUtil.format(${start}, ${timeFormat.ymdthmz})})
|
|
#set($extend = false)
|
|
#end
|
|
##
|
|
#set($ic = "ER")
|
|
#set($snowMelt = "")
|
|
#if(${list.contains(${bullets}, "icrs")})
|
|
#set($ic = "RS")
|
|
#set($hycType = "Rain and Snowmelt in...")
|
|
#set($snowMelt = "Rapid snowmelt is also occurring and will add to the flooding.")
|
|
#end
|
|
##
|
|
${WMOId} ${vtecOffice} 000000 ${BBBId}
|
|
${productId}${siteId}
|
|
${ugcline}
|
|
#################################### VTEC LINE ###################################
|
|
/${productClass}.${action}.${vtecOffice}.FF.W.${etn}.${starttime}-${dateUtil.format(${expire}, ${timeFormat.ymdthmz}, 15)}/
|
|
/00000.0.${ic}.000000T0000Z.000000T0000Z.000000T0000Z.OO/
|
|
|
|
#################################### MND HEADER ###################################
|
|
BULLETIN - EAS ACTIVATION REQUESTED
|
|
#if(${productClass}=="T")
|
|
TEST...Flash Flood Warning...TEST
|
|
#else
|
|
Flash Flood Warning
|
|
#end
|
|
National Weather Service ${officeShort}
|
|
#backupText(${backupSite})
|
|
${dateUtil.format(${now}, ${timeFormat.header}, ${localtimezone})}
|
|
|
|
|
|
#if(${productClass}=="T")
|
|
...THIS MESSAGE IS FOR TEST PURPOSES ONLY...
|
|
|
|
#end
|
|
|
|
#############################################################################
|
|
## Flash Flood Emergency Headline -- Coming soon to a warning near you! #
|
|
#############################################################################
|
|
#if(${list.contains(${bullets}, "ffwEmergency")} )
|
|
...FLASH FLOOD EMERGENCY FOR ${emergencyHeadline}...
|
|
|
|
#end
|
|
#headlineext(${officeLoc}, ${backupSite}, ${extend})
|
|
|
|
#################################
|
|
######## FIRST BULLET ###########
|
|
#################################
|
|
* ##
|
|
#if(${productClass}=="T")
|
|
THIS IS A TEST MESSAGE. ##
|
|
#end
|
|
Flash Flood Warning for...
|
|
#if(${hycType} != "")
|
|
<L> ${hycType}</L>
|
|
#end
|
|
#firstBullet(${areas})
|
|
|
|
#################################
|
|
####### SECOND BULLET ###########
|
|
#################################
|
|
|
|
* ##
|
|
#if(${productClass}=="T")
|
|
THIS IS A TEST MESSAGE. ##
|
|
#end
|
|
#secondBullet(${dateUtil},${expire},${timeFormat},${localtimezone},${secondtimezone})
|
|
|
|
################################################
|
|
#################################
|
|
######## THIRD BULLET ###########
|
|
#################################
|
|
#set($report = "heavy rain is occurring. !** ADD MORE DETAIL HERE **!")
|
|
#if(${list.contains(${bullets}, "flash")} )
|
|
#set($isExpected = "Flash flooding is already occurring.")
|
|
#else
|
|
#set($isExpected = "Flash flooding is expected to begin shortly.")
|
|
#end
|
|
#if(${list.contains(${bullets}, "burnScar")} )
|
|
#set($burnScar = "Excessive rainfall over the burn scar will result in debris flow moving through the !** DRAINAGE **!. the debris flow can consist of rock#commaOrEllipsis()mud#commaOrEllipsis()vegetation and other loose materials.")
|
|
## #set($burnCTA = "Persons in the vicinity of !** DRAINAGE **! should evacuate immediately.")
|
|
## #set($ctaSelected = "YES")
|
|
#elseif(${list.contains(${bullets}, "mudSlide")} )
|
|
#set($burnScar = "Excessive rainfall over the warning area will cause mud slides near steep terrain. The mud slide can consist of rock#commaOrEllipsis()mud#commaOrEllipsis()vegetation and other loose materials.")
|
|
## #set($burnCTA = "Persons in the vicinity of !** DRAINAGE **! should evacuate immediately.")
|
|
## #set($ctaSelected = "YES")
|
|
#else
|
|
#set($burnScar = "")
|
|
#set($burnCTA = "")
|
|
#end
|
|
#set($rainAmount = "")
|
|
#if(${list.contains(${bullets}, "rain1")} )
|
|
#set($rainAmount = "Up to one inch of rain has already fallen.")
|
|
#end
|
|
#if(${list.contains(${bullets}, "rain2")} )
|
|
#set($rainAmount = "Up to two inches of rain have already fallen.")
|
|
#end
|
|
#if(${list.contains(${bullets}, "rain3")} )
|
|
#set($rainAmount = "Up to three inches of rain have already fallen.")
|
|
#end
|
|
#if(${list.contains(${bullets}, "rainEdit")} )
|
|
#set($rainAmount = "!** RAINFALL AMOUNTS **! inches of rain have fallen.")
|
|
#end
|
|
#if(${list.contains(${bullets}, "doppler")})
|
|
#set($report = "Doppler radar indicated heavy rain across the warned area.")
|
|
#end
|
|
#if(${list.contains(${bullets}, "doppler")} && ${list.contains(${bullets}, "thunder")})
|
|
#set($report = "Doppler radar indicated thunderstorms producing heavy rain across the warned area.")
|
|
#end
|
|
#if(${list.contains(${bullets}, "dopplerGauge")})
|
|
#set($report = "Doppler radar and automated rain gauges indicated that heavy rain was falling over the area.")
|
|
#end
|
|
#if(${list.contains(${bullets}, "dopplerGauge")} && ${list.contains(${bullets}, "thunder")})
|
|
#set($report = "Doppler radar and automated rain gauges indicated thunderstorms producing heavy rain over the area.")
|
|
#end
|
|
#if(${list.contains(${bullets}, "trainedSpotters")})
|
|
#set($report = "trained weather spotters reported heavy rain in !** LOCATION **!.")
|
|
#end
|
|
#if(${list.contains(${bullets}, "trainedSpotters")} && ${list.contains(${bullets}, "thunder")})
|
|
#set($report = "trained weather spotters reported thunderstorms producing heavy rain in !** LOCATION **!.")
|
|
#end
|
|
#if(${list.contains(${bullets}, "trainedSpotters")} && ${list.contains(${bullets}, "flash")})
|
|
#set($report = "trained weather spotters reported flash flooding occurring in !** LOCATION **!.")
|
|
#end
|
|
#if(${list.contains(${bullets}, "trainedSpotters")} && ${list.contains(${bullets}, "plainRain")})
|
|
#set($report = "trained weather spotters reported heavy rain in !** LOCATION **!.")
|
|
#end
|
|
#if(${list.contains(${bullets}, "public")})
|
|
#set($report = "the public reported heavy rain in !** LOCATION **!")
|
|
#end
|
|
#if(${list.contains(${bullets}, "public")} && ${list.contains(${bullets}, "thunder")})
|
|
#set($report = "the public reported heavy rain from thunderstorms in !** LOCATION **!.")
|
|
#end
|
|
#if(${list.contains(${bullets}, "public")} && ${list.contains(${bullets}, "flash")})
|
|
#set($report = "the public reported flash flooding occurring in !** LOCATION **!.")
|
|
#end
|
|
#if(${list.contains(${bullets}, "public")} && ${list.contains(${bullets}, "plainRain")})
|
|
#set($report = "the public reported heavy rain in !** LOCATION **!.")
|
|
#end
|
|
#if(${list.contains(${bullets}, "lawEnforcement")})
|
|
#set($report = "local law enforcement reported heavy rain over !** LOCATION **!.")
|
|
#end
|
|
#if(${list.contains(${bullets}, "lawEnforcement")} && ${list.contains(${bullets}, "thunder")})
|
|
#set($report = "local law enforcement reported heavy rain due thunderstorms over !** LOCATION **!.")
|
|
#end
|
|
#if(${list.contains(${bullets}, "lawEnforcement")} && ${list.contains(${bullets}, "flash")})
|
|
#set($report = "local law enforcement reported flash flooding is occurring in !** LOCATION **!.")
|
|
#end
|
|
#if(${list.contains(${bullets}, "lawEnforcement")} && ${list.contains(${bullets}, "plainRain")})
|
|
#set($report = "local law enforcement reported heavy rain in !** LOCATION **!.")
|
|
#end
|
|
#if(${list.contains(${bullets}, "emergencyManagement")})
|
|
#set($report = "emergency management reported heavy rain over !** LOCATION **! ")
|
|
#end
|
|
#if(${list.contains(${bullets}, "emergencyManagement")} && ${list.contains(${bullets}, "thunder")})
|
|
#set($report = "emergency management reported heavy rain due to thunderstorms over !** LOCATION **!.")
|
|
#end
|
|
#if(${list.contains(${bullets}, "emergencyManagement")} && ${list.contains(${bullets}, "flash")})
|
|
#set($report = "emergency management reported flash flooding in !** LOCATION **!.")
|
|
#end
|
|
#if(${list.contains(${bullets}, "emergencyManagement")} && ${list.contains(${bullets}, "plainRain")})
|
|
#set($report = "emergency management reported heavy rain in !** LOCATION **!.")
|
|
#end
|
|
#if(${list.contains(${bullets}, "satellite")})
|
|
#set($report = "satellite estimates indicated heavy rain.")
|
|
#end
|
|
#if(${list.contains(${bullets}, "satellite")} && ${list.contains(${bullets}, "thunder")})
|
|
#set($report = "satellite estimates indicated thunderstorms producing heavy rain over the warned area.")
|
|
#end
|
|
#if(${list.contains(${bullets}, "satelliteGauge")})
|
|
#set($report = "satellite estimates and automated rain gauges indicated that heavy rain was falling over the warned area.")
|
|
#end
|
|
#if(${list.contains(${bullets}, "satelliteGauge")} && ${list.contains(${bullets}, "thunder")})
|
|
#set($report = "satellite estimates and automated rain gauges indicated thunderstorms were producing heavy rain over the warned area.")
|
|
#end
|
|
|
|
* ##
|
|
#if(${productClass}=="T")
|
|
THIS IS A TEST MESSAGE. ##
|
|
#end
|
|
#thirdBullet(${dateUtil},${event},${timeFormat},${localtimezone},${secondtimezone}), ${report} ${rainAmount} ${isExpected} ${snowMelt}
|
|
|
|
#wrapText("${burnScar}" 2 2)
|
|
|
|
##########################################################################
|
|
## Flash Flood Emergency per NWS 10-922 Directive goes with third bullet #
|
|
##########################################################################
|
|
#if(${list.contains(${bullets}, "ffwEmergency")} )
|
|
#wrapText("THIS IS A FLASH FLOOD EMERGENCEY FOR ${emergencyHeadline}. SEEK HIGHER GROUND NOW!" 2 2)
|
|
#end
|
|
|
|
|
|
#############################################################
|
|
######## FOURTH BULLET (OPTIONAL IN FLOOD PRODUCTS) #########
|
|
#############################################################
|
|
#if(${list.contains(${bullets}, "listofcities")})
|
|
#set($phenomena = "FLASH FLOOD")
|
|
#set($floodType = "FLASH FLOODING")
|
|
#set($warningType = "WARNING")
|
|
* ##
|
|
#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!
|
|
#locationsList("Some locations that will experience flooding include..." ${floodType} 0 ${cityList} ${otherPoints} ${areas} ${dateUtil} ${timeFormat} 0)
|
|
#end
|
|
########################################## END OF OPTIONAL FOURTH BULLET ##############################
|
|
######################################
|
|
###### WHERE ADDITIONAL INFO GOES ####
|
|
######################################
|
|
|
|
#if(${list.contains(${bullets}, "addRainfall")})
|
|
Additional rainfall mounts of !** EDIT AMOUNT **! are possible in the warned area.
|
|
|
|
#end
|
|
#if(${list.contains(${bullets}, "drainages")})
|
|
#drainages(${riverdrainages})
|
|
|
|
#end
|
|
#if(${list.contains(${bullets}, "particularStream")})
|
|
Flood waters are moving down !**NAME OF CHANNEL**! from !**LOCATION**! to !**LOCATION**!. The flood crest is expected to reach !**LOCATION(S)**! by !**TIME(S)**!.
|
|
|
|
#end
|
|
|
|
#wrapText("${burnDrainage}" 2 2)
|
|
|
|
## parse file command here is to pull in mile marker info
|
|
## #parse("mileMarkers.vm")
|
|
|
|
#################################### END OF ADDITIONAL STUFF ###################################
|
|
######################################
|
|
####### CALL TO ACTIONS ##############
|
|
######################################
|
|
##Check to see if we've selected any calls to action.
|
|
#foreach (${bullet} in ${bullets})
|
|
#if(${bullet.endsWith("CTA")})
|
|
#set($ctaSelected = "YES")
|
|
#end
|
|
#end
|
|
##
|
|
#if(${ctaSelected} == "YES")
|
|
PRECAUTIONARY/PREPAREDNESS ACTIONS...
|
|
|
|
#end
|
|
|
|
${burnCTA}
|
|
|
|
#if(${list.contains(${bullets}, "ffwEmergencyCTA")} || ${list.contains(${bullets}, "ffwEmergency")})
|
|
#if(${list.contains(${bullets}, "ffwEmergency")})
|
|
Move to higher ground now. This is an extremely dangerous and life-threatening situation. Do not attempt to travel unless you are fleeing an area subject to flooding or under an evacuation order.
|
|
|
|
#else
|
|
!** YOU SELECTED THE FLASH FLOOD EMERGENCY CTA WITHOUT SELECTING THE FLASH FLOOD EMERGENCY HEADER. PLEASE CLOSE THIS WINDOW AND RE-GENERATE THIS WARNING **!
|
|
|
|
#end
|
|
#end
|
|
#if(${list.contains(${bullets}, "burnAreasCTA")})
|
|
Move away from recently burned areas. Life-threatening flooding of creeks#commaOrEllipsis()roads and normally dry arroyos is likely. The heavy rains will likely trigger rockslides#commaOrEllipsis()mudslides and debris flows in steep terrain#commaOrEllipsis()especially in and around these areas.
|
|
|
|
#end
|
|
#if(${list.contains(${bullets}, "TADD_CTA")})
|
|
Turn around#commaOrEllipsis()don't drown when encountering flooded roads. Most flood deaths occur in vehicles.
|
|
|
|
#end
|
|
#if(${list.contains(${bullets}, "actQuicklyCTA")})
|
|
Move to higher ground now. Act quickly to protect your life.
|
|
|
|
#end
|
|
#if(${list.contains(${bullets}, "childSafetyCTA")})
|
|
Keep children away from storm drains#commaOrEllipsis()culverts#commaOrEllipsis()creeks and streams. Water levels can rise rapidly and sweep children away.
|
|
|
|
#end
|
|
#if(${list.contains(${bullets}, "nighttimeCTA")})
|
|
Be especially cautious at night when it is harder to recognize the dangers of flooding.
|
|
|
|
#end
|
|
#if(${list.contains(${bullets}, "urbanCTA")})
|
|
Excessive runoff from heavy rainfall will cause flooding of small creeks and streams#commaOrEllipsis()urban areas#commaOrEllipsis()highways#commaOrEllipsis()streets and underpasses as well as other drainage areas and low lying spots.
|
|
|
|
#end
|
|
#if(${list.contains(${bullets}, "ruralCTA")})
|
|
Excessive runoff from heavy rainfall will cause flooding of small creeks and streams#commaOrEllipsis()country roads#commaOrEllipsis()farmland#commaOrEllipsis()and other low lying spots.
|
|
|
|
#end
|
|
#if(${list.contains(${bullets}, "stayAwayCTA")})
|
|
Stay away or be swept away. River banks and culverts can become unstable and unsafe.
|
|
|
|
#end
|
|
#if(${list.contains(${bullets}, "lowSpotsCTA")})
|
|
In hilly terrain there are hundreds of low water crossings which are potentially dangerous in heavy rain. Do not attempt to cross flooded roads. Find an alternate route.
|
|
|
|
#end
|
|
#if(${list.contains(${bullets}, "arroyosCTA")})
|
|
Remain alert for flooding even in locations not receiving rain. Arroyos#commaOrEllipsis()streams#commaOrEllipsis()and rivers can become raging killer currents in a matter of minutes#commaOrEllipsis()even from distant rainfall.
|
|
|
|
#end
|
|
#if(${list.contains(${bullets}, "camperSafetyCTA")})
|
|
Flooding is occurring or is imminent. It is important to know where you are relative to streams#commaOrEllipsis()rivers#commaOrEllipsis()or creeks which can become killers in heavy rains. Campers and hikers should avoid streams or creeks.
|
|
|
|
#end
|
|
#if(${list.contains(${bullets}, "reportFloodingCTA")})
|
|
Please report flooding to your local law enforcement agency when you can do so safely.
|
|
|
|
#end
|
|
#if(${list.contains(${bullets}, "ffwMeansCTA")})
|
|
A Flash Flood Warning means that flooding is imminent or occurring. If you are in the warned area move to higher ground immediately. Residents living along streams and creeks should take immediate precautions to protect life and property.
|
|
|
|
#end
|
|
#if(${ctaSelected} == "YES")
|
|
&&
|
|
|
|
#end
|
|
#################################### END OF CTA STUFF ###################################
|
|
|
|
##########################################
|
|
########BOTTOM OF THE PRODUCT#############
|
|
##########################################
|
|
|
|
#if(${productClass}=="T")
|
|
THIS IS A TEST MESSAGE. DO NOT TAKE ACTION BASED ON THIS MESSAGE.
|
|
|
|
#end
|
|
#printcoords(${areaPoly}, ${list})
|
|
|
|
|
|
$$
|
|
|
|
#parse("forecasterName.vm")
|