482 lines
18 KiB
Text
482 lines
18 KiB
Text
################################################################
|
|
## IBW FLASH FLOOD WARNING TEMPLATE FOR COUNTY-BASED PRODUCTS ##
|
|
################################################################
|
|
## CREATED BY Phil Kurimski WFO GRB
|
|
## Updated by Phil Kurimski 10-20-2017 FFW IBW Format/Tags for CR
|
|
## Phil Kurimski 11-28-2017 Removed local from local law enforcement and rain from automated rain gauges
|
|
## Phil Kurimski 12-01-2017 Reconfigured flash flood wording in third bullet
|
|
## Phil Kurimski 12-02-2017 Added Rainfall rate phrase
|
|
## Phil Kurimski 12-07-2017 Placed FFW Emergency phrase above Hazard Section
|
|
## Phil Kurimski 12-20-2017 Modified Considerable/Catastrophic Impact Statements
|
|
## Phil Kurimski 03-21-2018 Made Flash Flood Emergency Statement ALL CAPS
|
|
## Mike Rega 04-20-2018 DCS 20667 3rd bullet EMER mixed case fix
|
|
## Evan Bookbinder 06-05-2019 DR 21342 Ensure there is a default CTA selected and migrate IBW rain rate to amount/duration
|
|
#################################### SET SOME VARIABLES ###################################
|
|
#parse("config.vm")
|
|
#set($hycType = "")
|
|
#############################################
|
|
## set variables for FFW IBW Tags and format
|
|
#############################################
|
|
#set($FFTag = "RADAR INDICATED")
|
|
#set($FFDamageTag = "")
|
|
#set($RainTag = "")
|
|
#set($source = "Radar indicated.")
|
|
#set($ffwimpact = "Flooding of small creeks and streams, urban areas, highways, streets and underpasses as well as other drainage and low lying areas.")
|
|
#set($ratePhrase = "")
|
|
#set($hazardType = "heavy rain")
|
|
#if(${list.contains(${bullets}, "thunder")} )
|
|
#set($hazardType = "thunderstorms")
|
|
#end
|
|
#set($hazard = "Flash flooding caused by ${hazardType}.")
|
|
#########################################################################################
|
|
## If Considerable Flash Flooding is selected change the Damage Threat to CONSIDERABLE
|
|
## as well as the hazard and impact statements
|
|
#########################################################################################
|
|
#if(${list.contains(${bullets}, "considerableFFW")} )
|
|
#set($hazard = "Life threatening flash flooding. Heavy rain producing flash flooding.")
|
|
#set($ffwimpact = "Life threatening flash flooding of creeks and streams, urban areas, highways, streets and underpasses.")
|
|
#set($FFDamageTag = "<L>FLASH FLOOD DAMAGE THREAT...CONSIDERABLE</L>")
|
|
#end
|
|
###################################################################################
|
|
## If Flash Flood Emergency is selected change the Damage Threat to CATASTROPHIC
|
|
## as well as the hazard and impact statements
|
|
###################################################################################
|
|
#if(${list.contains(${bullets}, "ffwEmergency")} )
|
|
#set($hazard = "Life threatening flash flooding. Heavy rain producing flash flooding.")
|
|
#set($ffwimpact = "This is a PARTICULARLY DANGEROUS SITUATION. SEEK HIGHER GROUND NOW! Life threatening flash flooding of low water crossings, small creeks and streams, urban areas, highways, streets and underpasses.")
|
|
#set($FFDamageTag = "<L>FLASH FLOOD DAMAGE THREAT...CATASTROPHIC</L>")
|
|
#end
|
|
#############################################
|
|
## Set the IBW Amount/Duration Expected Tag
|
|
#############################################
|
|
#if(${list.contains(${bullets}, "ibwrain1")} )
|
|
#set($RainTag = "EXPECTED RAINFALL...1-2 INCHES IN 1 HOUR")
|
|
## #set($ratePhrase = "Rain is falling at the rate of one to two inches per hour. ")
|
|
#end
|
|
#if(${list.contains(${bullets}, "ibwrain2")} )
|
|
#set($RainTag = "EXPECTED RAINFALL...2-3 INCHES IN 1 HOUR")
|
|
## #set($ratePhrase = "Rain is falling at the rate of two to three inches per hour. ")
|
|
#end
|
|
#if(${list.contains(${bullets}, "ibwrain3")} )
|
|
#set($RainTag = "EXPECTED RAINFALL...1-3 INCHES IN 1 HOUR")
|
|
## #set($ratePhrase = "Rain is falling at the rate of one to three inches per hour. ")
|
|
#end
|
|
#if(${list.contains(${bullets}, "ibwrainEdit")} )
|
|
#set($RainTag = "EXPECTED RAINFALL...!** RAIN AMT **! INCHES IN !** TIME PERIOD **!")
|
|
## #set($ratePhrase = "Rain is falling at the rate of !** RAINFALL RATES **! inches per hour. ")
|
|
#end
|
|
##
|
|
#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}
|
|
FFW${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 ##
|
|
####################################
|
|
#if(${list.contains(${bullets}, "ffwEmergency")} )
|
|
#set($ctaSelected = "YES")
|
|
...FLASH FLOOD EMERGENCY FOR !** EDIT LOCATION(S) **!...
|
|
|
|
#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
|
|
############# added by GP
|
|
#if(${alaska}=="true")
|
|
!**INSERT RIVER/STREAM OR AREA**! IN !**INSERT GEO AREA**!
|
|
#elseif(${wrZoneCounty}=="true")
|
|
#firstBullet(${affectedCounties})
|
|
#else
|
|
#firstBullet(${areas})
|
|
#end
|
|
### GP end
|
|
#################################
|
|
####### SECOND BULLET ###########
|
|
#################################
|
|
|
|
* ##
|
|
#if(${productClass}=="T")
|
|
THIS IS A TEST MESSAGE. ##
|
|
#end
|
|
#secondBullet(${dateUtil},${expire},${timeFormat},${localtimezone},${secondtimezone})
|
|
|
|
################################################
|
|
#################################
|
|
######## THIRD BULLET ###########
|
|
#################################
|
|
#set($s1 = "Doppler radar ")
|
|
#set($s2 = "indicated ")
|
|
#set($s3 = "heavy rain falling")
|
|
#set($overPhrase = "OVER")
|
|
#set($nearPhrase = "NEAR")
|
|
#if(${list.contains(${bullets}, "flash")} || ${action}=="EXT" )
|
|
#set($isExpected = "Flash flooding is already occurring. ")
|
|
#else
|
|
#set($isExpected = "Flash flooding is ongoing or 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, mud, 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 warned area will cause mud slides near steep terrain. The mud slide can consist of rock, mud, 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($nearPhrase = "near")
|
|
#set($overPhrase = "over")
|
|
#end
|
|
#if(${list.contains(${bullets}, "dopplerGauge")})
|
|
#set($s1 = "Doppler radar and automated gauges ")
|
|
#set($source = "Radar and automated gauges.")
|
|
#set($FFTag = "RADAR AND GAUGE INDICATED")
|
|
#set($nearPhrase = "near")
|
|
#set($overPhrase = "over")
|
|
#end
|
|
#if(${list.contains(${bullets}, "trainedSpotters")})
|
|
#set($s1 = "trained weather spotters ")
|
|
#set($s2 = "reported ")
|
|
#set($source = "Trained weather spotters.")
|
|
#set($FFTag = "OBSERVED")
|
|
#set($nearPhrase = "in")
|
|
#set($overPhrase = "in")
|
|
#end
|
|
#if(${list.contains(${bullets}, "public")})
|
|
#set($s1 = "the public ")
|
|
#set($s2 = "reported ")
|
|
#set($source = "public.")
|
|
#set($FFTag = "OBSERVED")
|
|
#set($nearPhrase = "in")
|
|
#set($overPhrase = "in")
|
|
#end
|
|
#if(${list.contains(${bullets}, "lawEnforcement")})
|
|
#set($s1 = "law enforcement ")
|
|
#set($s2 = "reported ")
|
|
#set($source = "law enforcement.")
|
|
#set($FFTag = "OBSERVED")
|
|
#set($nearPhrase = "in")
|
|
#set($overPhrase = "in")
|
|
#end
|
|
#if(${list.contains(${bullets}, "emergencyManagement")})
|
|
#set($s1 = "emergency management ")
|
|
#set($s2 = "reported ")
|
|
#set($source = "emergency management.")
|
|
#set($FFTag = "OBSERVED")
|
|
#set($nearPhrase = "in")
|
|
#set($overPhrase = "in")
|
|
#end
|
|
#if(${list.contains(${bullets}, "satellite")})
|
|
#set($s1 = "satellite estimates ")
|
|
#set($source = "Satellite indicated.")
|
|
#set($FFTag = "SATELLITE INDICATED")
|
|
#set($nearPhrase = "near")
|
|
#set($overPhrase = "over")
|
|
#end
|
|
#if(${list.contains(${bullets}, "satelliteGauge")})
|
|
#set($s1 = "satellite estimates and automated gauges ")
|
|
#set($source = "Satellite and automated gauges.")
|
|
#set($FFTag = "SATELLITE AND GAUGE INDICATED")
|
|
#set($nearPhrase = "near")
|
|
#set($overPhrase = "over")
|
|
#end
|
|
### added by GP
|
|
#if(${list.contains(${bullets}, "onlyGauge")})
|
|
#set($s1 = "gauge reports ")
|
|
#set($source = "Automated gauges.")
|
|
#set($FFTag = "GAUGE INDICATED")
|
|
#set($nearPhrase = "near")
|
|
#set($overPhrase = "over")
|
|
#end
|
|
### GP end
|
|
#if(${list.contains(${bullets}, "thunder")})
|
|
#set($s3 = "thunderstorms producing heavy rain")
|
|
#end
|
|
#*
|
|
#if(${list.contains(${bullets}, "flash")})
|
|
#set($s3 = "flash flooding")
|
|
#end
|
|
*#
|
|
|
|
|
|
* ##
|
|
#if(${productClass}=="T")
|
|
THIS IS A TEST MESSAGE. ##
|
|
#end
|
|
#thirdBullet(${dateUtil},${event},${timeFormat},${localtimezone},${secondtimezone})
|
|
, ${s1}${s2}${s3} ##
|
|
############# IF TRACK IS ENABLED AND stormPosition SELECTED ###############################################
|
|
#if(${list.contains(${bullets},"stormPosition")})
|
|
#handleClosestPoints(${list}, ${closestPoints}, ${otherClosestPoints}, ${stormType}, ${nearPhrase}, ${maxLandNearDistance}, ${overPhrase}, ${maxLandOverDistance}, "MILES", false)
|
|
. ##
|
|
#if(${list.contains(${bullets}, "flash")})
|
|
#set($skip = "")
|
|
#else
|
|
#if(${movementSpeed} < 3 || ${stationary})
|
|
#if(${list.contains(${bullets}, "thunder")})
|
|
The storm is nearly stationary. ##
|
|
#else
|
|
The rain will continue. ##
|
|
#end
|
|
#else
|
|
#if(${stormType} == "line")
|
|
#if(${list.contains(${bullets}, "thunder")})
|
|
The storms are moving ##
|
|
#else
|
|
The storm is moving ##
|
|
#end
|
|
#else
|
|
The rain is moving ##
|
|
#end
|
|
#direction(${movementDirectionRounded}) at ${mathUtil.roundTo5(${movementSpeed})} mph. ##
|
|
#end
|
|
#end
|
|
#else
|
|
across the warned area. ##
|
|
## !** LOCATION **! ##
|
|
#end
|
|
${rainAmount}${ratePhrase}${isExpected}${snowMelt}
|
|
|
|
##########################################################################
|
|
## Flash Flood Emergency per NWS 10-922 Directive goes with third bullet #
|
|
##########################################################################
|
|
#if(${list.contains(${bullets}, "ffwEmergency")} )
|
|
#set($ctaSelected = "YES")
|
|
#wrapText("THIS IS A FLASH FLOOD EMERGENCY FOR !** Edit Location(s) **!. This is a PARTICULARLY DANGEROUS SITUATION. SEEK HIGHER GROUND NOW!" 2 2)
|
|
#end
|
|
|
|
####################################
|
|
## Section for the FFW IBW format ##
|
|
####################################
|
|
|
|
#wrapText("HAZARD...#capitalize(${hazard} 'FIRST')" 2 11)
|
|
|
|
#wrapText("SOURCE...#capitalize(${source} 'FIRST')" 2 11)
|
|
|
|
#wrapText("IMPACT...${ffwimpact}" 2 11)
|
|
|
|
#############################################################
|
|
######## FOURTH BULLET (OPTIONAL IN FLOOD PRODUCTS) #########
|
|
#############################################################
|
|
############# IF TRACK IS ENABLED AND trackStorm AND stormPosition BOTH SELECTED ###############################################
|
|
#if(${list.contains(${bullets},"pathcast")})
|
|
* ##
|
|
#if(${productClass}=="T")
|
|
THIS IS A TEST MESSAGE. ##
|
|
#end
|
|
#if($movementSpeed < 3 )
|
|
#pathCast("Heavy rain will continue over the following locations..." "heavy rain" ${pathCast} ${otherPoints} ${areas} ${dateUtil} ${timeFormat} 0)
|
|
|
|
#else
|
|
#pathCast("Heavy rain will move over the following locations..." "heavy rain" ${pathCast} ${otherPoints} ${areas} ${dateUtil} ${timeFormat} 0)
|
|
|
|
#end
|
|
#end
|
|
################
|
|
#if(${list.contains(${bullets}, "listofcities")})
|
|
#set($floodType = "flash flooding")
|
|
* ##
|
|
#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
|
|
#if(${list.contains(${bullets}, "burnScar")} || ${list.contains(${bullets}, "mudSlide")})
|
|
${burnScar}
|
|
|
|
#end
|
|
########################################## END OF OPTIONAL FOURTH BULLET ##############################
|
|
######################################
|
|
###### WHERE ADDITIONAL INFO GOES ####
|
|
######################################
|
|
|
|
#if(${list.contains(${bullets}, "addRainfall")})
|
|
Additional rainfall amounts 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
|
|
|
|
## parse file command here is to pull in mile marker and/or point marker info
|
|
## #parse("mileMarkers.vm")
|
|
## #parse("pointMarkers.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
|
|
##
|
|
PRECAUTIONARY/PREPAREDNESS ACTIONS...
|
|
|
|
|
|
##${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}, "TADD_CTA")} || ${ctaSelected} != "YES")
|
|
Turn around, 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, culverts, 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, urban areas, highways, 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, country roads, farmland, 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, streams, and rivers can become raging killer currents in a matter of minutes, even from distant rainfall.
|
|
|
|
#end
|
|
#if(${list.contains(${bullets}, "burnAreasCTA")})
|
|
Move away from recently burned areas. Life-threatening flooding of creeks, roads and normally dry arroyos is likely. The heavy rains will likely trigger rockslides, mudslides and debris flows in steep terrain, especially in and around these areas.
|
|
|
|
#end
|
|
#if(${list.contains(${bullets}, "camperSafetyCTA")})
|
|
Flooding is occurring or is imminent. It is important to know where you are relative to streams, rivers, 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
|
|
&&
|
|
|
|
#################################### END OF CTA STUFF ###################################
|
|
##########################################
|
|
########BOTTOM OF THE PRODUCT#############
|
|
##########################################
|
|
########################
|
|
## LAT/LON, TML, SIGN ##
|
|
########################
|
|
#if(${productClass}=="T")
|
|
THIS IS A TEST MESSAGE. DO NOT TAKE ACTION BASED ON THIS MESSAGE.
|
|
|
|
#end
|
|
|
|
#printcoords(${areaPoly}, ${list})
|
|
|
|
|
|
<L>FLASH FLOOD...${FFTag}</L>
|
|
#if($FFDamageTag.length() > 0)
|
|
${FFDamageTag}
|
|
#end
|
|
#if($RainTag.length() > 0)
|
|
${RainTag}
|
|
#end
|
|
|
|
$$
|
|
|
|
|
|
#parse("forecasterName.vm")
|