#################################################################################### ## FIRE WARNING TEMPLATE ## ## VERSION 1.1 ## ## CREATED BOOKBINDER/DANGELO - 2-07-12 - Initial OB12 Write ## ## Mike Dangelo 9-13-2012 minor tweaks to ${variables} ## ## Mike Dangelo 6-25-2014 turned off auto-lock in xml and added ## ## specific lock tags herein to facilitate ## ## editing the agency name in the MND header. ## ## Mike Dangelo 23 March 2015 Mixed Case Changes ## #################################################################################### #parse("config.vm") ${WMOId} ${vtecOffice} 000000 ${BBBId} ${productId}${siteId} ${ugcline} BULLETIN - EAS ACTIVATION REQUESTED #if(${productClass}=="T") TEST...Fire Warning...TEST #else Fire Warning #end #set($requestedBy = "!** ENTER REQUESTING AGENCY NAME HERE **!") #if(${list.contains(${bullets}, "agency1")}) #set($requestedBy = "Example Agency 1") #end #if(${list.contains(${bullets}, "agency2")}) #set($requestedBy = "Example Agency 2") #end #set($agencyNameLine = "Requested by ${requestedBy}") #capitalize(${agencyNameLine} "ALL") Relayed by National Weather Service ${officeShort} #backupText(${backupSite}) ${dateUtil.format(${now}, ${timeFormat.header}, ${localtimezone})} #if(${productClass}=="T") ...THIS MESSAGE IS FOR TEST PURPOSES ONLY... #end The following message is being transmitted at the request of ${requestedBy} ############################ ### FIRE WEATHER EMERGENCY # ############################ #if(${list.contains(${bullets}, "fireEmergency")}) This is a Fire Emergency for !** EDIT LOCATION(S) **!. Take immediate safety precautions now. #end #if(${list.contains(${bullets}, "generic")}) !** TYPE FIRE DETAILS HERE **!. #end #if(${list.contains(${bullets}, "actual")}) A fire was located !** DETAILS **! and could affect !** AREAS **!. #end #if(${list.contains(${bullets}, "racing")}) A fire was racing toward !** LOCATIONS **! and could reach there by !** TIME **!. #end ## parse file command here is to pull in mile marker info ## #parse("mileMarkers.vm") ## #parse("pointMarkers.vm") ##################### ## CALL TO ACTIONS ## ##################### ###Check to see if we've selected any calls to action. In our .xml file ##we ended each CTA bullet ID with "CTA" for this reason as a 'trip' #foreach (${bullet} in ${bullets}) #if(${bullet.endsWith("CTA")}) #set($ctaSelected = "YES") #end #end ## #if(${ctaSelected} == "YES") PRECAUTIONARY/PREPAREDNESS ACTIONS... #end #if(${productClass}=="T") THIS IS A TEST MESSAGE. DO NOT TAKE ACTION BASED ON THIS MESSAGE. #end ## #if(${list.contains(${bullets}, "stayIndoorsCTA")}) Stay indoors to keep safe from the smoke. Keep windows and doors shut and turn off all ventilation systems. #end #if(${list.contains(${bullets}, "followInstructionsCTA")}) Follow safety instructions from local law enforcement officials. #end #if(${list.contains(${bullets}, "heedEvacuationsCTA")}) Heed any evacuation orders and follow all safety precautions. #end #if(${ctaSelected} == "YES") && #end #### UN-REMARK 3 LINES BELOW FOR LAT/LON OUTPUT #### (leave double pound signs after the first lock tag and after the #printcoords call #### to allow for text wrapping and locking to work properly) ## ## ## #printcoords(${areaPoly}, ${list}) ## ## $$ #parse("forecasterName.vm")