Change-Id: I2677b93f897640318d8f89da72e49ba398d1d720 Former-commit-id:22c3fde0ef
[formerlyf9428ace1f
] [formerly22c3fde0ef
[formerlyf9428ace1f
] [formerlyae02cbc2da
[formerly ea8e4c3a30bceb2f3b53159317382ae651aa5531]]] Former-commit-id:ae02cbc2da
Former-commit-id:9ecf241616
[formerlyf2d7288970
] Former-commit-id:e5b5160a51
119 lines
4.1 KiB
Text
Executable file
119 lines
4.1 KiB
Text
Executable file
######################################################
|
|
## AIRPORT WEATHER WARNING TEMPLATE ##
|
|
## EXAMPLE TEMPLATE USING HUNTSVILLE PRODUCT ##
|
|
## CREATED BY PHIL KURIMSKI - WFO DTX ##
|
|
## UPDATED EVAN BOOKBINDER 9-18-2013 Implemented config.vm ##
|
|
## MIKE DANGELO 06-25-2014 removed bullet format/went to free form text per request of local offices, moved ugcline per local examples ##
|
|
##################################################################
|
|
#parse("config.vm")
|
|
${WMOId} ${vtecOffice} 000000 ${BBBId}
|
|
AWW${siteId}
|
|
${ugcline}
|
|
|
|
#if(${productClass}=="T")
|
|
TEST...AIRPORT WEATHER WARNING...TEST##
|
|
#else
|
|
AIRPORT WEATHER 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
|
|
|
|
#######################################################################
|
|
## Set initial variables for initial issuance
|
|
#######################################################################
|
|
#set ($cancel = "")
|
|
#set ($issue = "ISSUED AN")
|
|
#######################################################################
|
|
## Override initial variables if a cancellation is selected
|
|
#######################################################################
|
|
#if(${list.contains(${bullets}, "cancelAWW")})
|
|
#set ($cancel = " CANCELLED")
|
|
#set ($issue = "CANCELLED THE")
|
|
#end
|
|
#######################################################################
|
|
## Set the airport based on selection in template
|
|
## Sites can use different airports by modifying the code below
|
|
#######################################################################
|
|
#set ($site = "!** YOU DIDN'T SELECT AN AIRPORT **!")
|
|
#if(${list.contains(${bullets}, "HSV")})
|
|
#set ($site = "HUNTSVILLE INTERNATIONAL AIRPORT /HSV/")
|
|
#end
|
|
#if(${list.contains(${bullets}, "MSL")})
|
|
#set ($site = "NORTHWEST ALABAMA REGIONAL AIRPORT (IN MUSCLE SHOALS) /MSL/")
|
|
#end
|
|
######################################################
|
|
###### Storm current location description ##########
|
|
######################################################
|
|
...AIRPORT WEATHER WARNING${cancel}...
|
|
|
|
THE NATIONAL WEATHER SERVICE IN ${officeLoc} HAS ${issue} AIRPORT WEATHER WARNING FOR...
|
|
|
|
${site}
|
|
|
|
####################################################
|
|
############# SECOND BULLET ########################
|
|
####################################################
|
|
## If cancelling the AWW do not output any text
|
|
####################################################
|
|
#if(${list.contains(${bullets}, "cancelAWW")})
|
|
!** GIVE REASON FOR CANCELLATION **!
|
|
#else
|
|
|
|
#if(${productClass}=="T")
|
|
THIS IS A TEST MESSAGE. ##
|
|
#end
|
|
|
|
FOR THE FOLLOWING THREATS...
|
|
|
|
###################################################################
|
|
## Create threats based on selections in the xml file
|
|
## Sites can add or modify threats by changing the code below
|
|
###################################################################
|
|
#if(${list.contains(${bullets}, "wind")})
|
|
WIND GUSTS 30 KNOTS OR HIGHER.
|
|
|
|
#end
|
|
#if(${list.contains(${bullets}, "lightning")})
|
|
CLOUD TO GROUND LIGHTNING WITHIN 5 NM OF THE AIRPORT.
|
|
|
|
#end
|
|
#if(${list.contains(${bullets}, "hail")})
|
|
HAIL OF 1/2 INCH OR GREATER.
|
|
|
|
#end
|
|
#if(${list.contains(${bullets}, "freezingRain")})
|
|
THE ONSET OF FREEZING RAIN.
|
|
|
|
#end
|
|
#if(${list.contains(${bullets}, "sleetSnow")})
|
|
THE ONSET OF ACCUMULATING SLEET OR SNOW.
|
|
|
|
#end
|
|
|
|
#end
|
|
#############
|
|
## WATCHES ##
|
|
#############
|
|
#######################################################################
|
|
## If sites do not want watches in their AWW product comment out the
|
|
## section below
|
|
#######################################################################
|
|
#if(${list.contains(${includedWatches}, "TO.A")} && ${list.contains(${bullets}, "includeTorWatches")})
|
|
#inserttorwatches(${watches}, ${list}, ${secondtimezone}, ${dateUtil}, ${timeFormat})
|
|
|
|
#end
|
|
#if(${list.contains(${includedWatches}, "SV.A")} && ${list.contains(${bullets}, "includeSvrWatches")})
|
|
#insertsvrwatches(${watches}, ${list}, ${secondtimezone}, ${dateUtil}, ${timeFormat})
|
|
|
|
#end
|
|
|
|
## #printcoords(${areaPoly}, ${list})
|
|
|
|
$$
|
|
|
|
#parse("forecasterName.vm")
|