diff --git a/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/VM_global_library.vm b/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/VM_global_library.vm index 601e3736b5..6131322411 100755 --- a/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/VM_global_library.vm +++ b/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/VM_global_library.vm @@ -15,6 +15,7 @@ ##### D. Friedman 08-28-2014 ASM #15658. Add marine watch wording. ##### Qinglu Lin 09-15-2014 ASM #15551. Overhauled inserttorwatches and insertsvrwatches, added until. ##### Qinglu Lin 10-06-2014 ASN #556. Updated secondBullet. +##### Evan Bookbinder 10-24-2014 Fixed UGC > 500 check for Indep Cities in svrl macros to ignore zone codes #################################################################################################### #* Mile Marker Test Code @@ -558,6 +559,12 @@ ${closestPoint.roundedDistance} ${units} #direction(${closestPoint.oppositeRound ## useExtremexxx = boolean to use the word EXTREME in the county of State phrase ################################################################## #macro(headlineLocList $areas $useCentralCounty $useExtremeCounty $useCentralState $useExtremeState) +#### DETERMINE IF WE HAVE A FIPS OR ZONE BASED PRODUCT +#if(${areaSource.equalsIgnoreCase("COUNTY")}) +#set($areaFIPS = true) +#else +#set($areaFIPS = false) +#end #set($countyCount = 0) #set($countyCounter = 0) #set($itemCount = 0) @@ -598,7 +605,7 @@ ${closestPoint.roundedDistance} ${units} #direction(${closestPoint.oppositeRound #end #set($FIPS = ${area.fips.substring(${fipsIdx})}) #set($intFIPS = 0) -#if(${intFIPS.parseInt($FIPS)} < 500 || ${area.stateabbr} == "TX") +#if(${intFIPS.parseInt($FIPS)} < 500 || ${areaFIPS} == "false" || ${area.stateabbr} == "TX") #set($countyCounter = $countyCounter + 1) ##INITIALIZE CHECK VARIABLES #if($countyCount == 0) @@ -788,7 +795,7 @@ ${prevCounty}## #foreach (${area} in ${areas}) #set($FIPS = ${area.fips.substring(2)}) #set($intFIPS = 0) -#if(${intFIPS.parseInt($FIPS)} >= 500 && ${area.stateabbr} != "TX") +#if(${intFIPS.parseInt($FIPS)} >= 500 && ${area.stateabbr} != "TX" && ${areaFIPS} == "true") #set($indepCityCount= $indepCityCount + 1) #if(${indepCityCount} == 1 && ${countyCount} > 0) #if(${countyCounter} > 1) @@ -1047,7 +1054,7 @@ ${prevZone}## #set($FIPS = ${area.fips.substring(2)}) #set($intFIPS = 0) ##OUTPUT FOR NORMAL COUNTIES/ZONES -#if((${intFIPS.parseInt($FIPS)} < 500 || ${area.stateabbr} == "TX") && ${area.stateabbr} != "DC") +#if((${intFIPS.parseInt($FIPS)} < 500 || ${areaFIPS} == "false" || ${area.stateabbr} == "TX") && ${area.stateabbr} != "DC") #if(${area.partOfArea}) #areaFormat(${area.partOfArea} true true true)## #end @@ -1151,7 +1158,7 @@ THE FOLLOWING COUNTIES AND PARISHES... #set($intFIPS = 0) #set($partOfArea = "") ##OUTPUT FOR NORMAL COUNTIES/ZONES -#if((${intFIPS.parseInt($FIPS)} < 500 || ${area.stateabbr} == "TX") && ${area.stateabbr} != "DC") +#if((${intFIPS.parseInt($FIPS)} < 500 || ${areaFIPS} == "false" || ${area.stateabbr} == "TX") && ${area.stateabbr} != "DC") #if(${area.partOfArea}) #set($partOfArea = "#areaFormat(${area.partOfArea} true true true)") #end diff --git a/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/arealFloodAdvisory.xml b/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/arealFloodAdvisory.xml index 4a83189349..d781f4e978 100755 --- a/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/arealFloodAdvisory.xml +++ b/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/arealFloodAdvisory.xml @@ -125,9 +125,7 @@ Must be paired with proper vm code (which are commented out in arealFloodAdvisor - - @@ -180,9 +178,7 @@ Must be paired with proper vm code (which are commented out in arealFloodAdvisor - - @@ -236,9 +232,7 @@ Must be paired with proper vm code (which are commented out in arealFloodAdvisor - - diff --git a/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/arealFloodAdvisoryFollowup.xml b/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/arealFloodAdvisoryFollowup.xml index 6507098003..5cfa822596 100755 --- a/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/arealFloodAdvisoryFollowup.xml +++ b/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/arealFloodAdvisoryFollowup.xml @@ -98,7 +98,7 @@ Must be paired with proper vm code (also commented out in arealFloodAdvisoryFoll - + @@ -154,9 +154,7 @@ Must be paired with proper vm code (also commented out in arealFloodAdvisoryFoll - - @@ -207,9 +205,7 @@ Must be paired with proper vm code (also commented out in arealFloodAdvisoryFoll - - diff --git a/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/arealFloodWarning.xml b/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/arealFloodWarning.xml index 7251adce9a..f2efcb3f43 100755 --- a/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/arealFloodWarning.xml +++ b/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/arealFloodWarning.xml @@ -98,7 +98,7 @@ Must be paired with proper vm code (also commented out in arealFloodWarning.vm)! - + @@ -121,9 +121,7 @@ Must be paired with proper vm code (also commented out in arealFloodWarning.vm)! - - @@ -157,7 +155,7 @@ Must be paired with proper vm code (also commented out in arealFloodWarning.vm)! - + @@ -216,7 +214,7 @@ Must be paired with proper vm code (also commented out in arealFloodWarning.vm)! - + diff --git a/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/arealFloodWarningFollowup.xml b/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/arealFloodWarningFollowup.xml index 0f1a32b62f..9029cc2594 100755 --- a/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/arealFloodWarningFollowup.xml +++ b/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/arealFloodWarningFollowup.xml @@ -13,6 +13,7 @@ Mike Dangelo 1/23/2014 added IC group to bottom of CON bullets (it's locked anyway, no need to have it at the top) Phil Kurimski 06-24-2014 Put types of warnings and IC back at the top (forecasters rely on this when choosing a con statement to determine what warning they are following up!) + Evan Bookbinder 10-24-2014 Fixed parseString for EXT for generic flooding --> @@ -96,7 +97,7 @@ Must be paired with proper vm code (which are commented out in arealFloodWarning - + @@ -118,7 +119,7 @@ Must be paired with proper vm code (which are commented out in arealFloodWarning - + @@ -140,7 +141,7 @@ Must be paired with proper vm code (which are commented out in arealFloodWarning - + @@ -200,7 +201,7 @@ Must be paired with proper vm code (which are commented out in arealFloodWarning - + diff --git a/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/flashFloodWarning.xml b/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/flashFloodWarning.xml index 3c76c68fc6..1127f2676a 100755 --- a/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/flashFloodWarning.xml +++ b/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/flashFloodWarning.xml @@ -109,9 +109,7 @@ Must be paired with proper vm code (also commented out in flashFloodWarning.vm)! - - @@ -159,9 +157,7 @@ Must be paired with proper vm code (also commented out in flashFloodWarning.vm)! - - @@ -211,9 +207,7 @@ Must be paired with proper vm code (also commented out in flashFloodWarning.vm)! - - diff --git a/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/flashFloodWarningFollowup.xml b/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/flashFloodWarningFollowup.xml index eb5e8856c0..45cf900e1e 100755 --- a/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/flashFloodWarningFollowup.xml +++ b/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/flashFloodWarningFollowup.xml @@ -107,9 +107,7 @@ Must be paired with proper vm code (also commented out in flashFloodWarningFollo - - @@ -161,9 +159,7 @@ Must be paired with proper vm code (also commented out in flashFloodWarningFollo - - diff --git a/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/impactSevereWeatherStatement.xml b/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/impactSevereWeatherStatement.xml index 24fe11334d..16755da6ec 100755 --- a/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/impactSevereWeatherStatement.xml +++ b/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/impactSevereWeatherStatement.xml @@ -17,6 +17,7 @@ Evan Bookbinder 2-18-2014 corrected supercell CTA typo & added DSSEvents & 2014 IBW impacts Evan Bookbinder 2-27-2014 parseStrings for Tornado Emergency and Default CTAs Evan Bookbinder 9-5-2014 fixed parseStrings for law enf CTA + Evan Bookbinder 10-24-2014 fixed parseString for SqLn embedded TOR --> @@ -82,12 +84,12 @@ turned on unless the corresponding .vm file is turned on in a given template's . - + - - + + @@ -154,12 +156,12 @@ do not have mobile homes. If you wish to switch defaults or provide a single opt - + - - + + diff --git a/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/nonConvectiveFlashFloodWarning.xml b/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/nonConvectiveFlashFloodWarning.xml index 0c741e9df8..7e7076c890 100755 --- a/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/nonConvectiveFlashFloodWarning.xml +++ b/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/nonConvectiveFlashFloodWarning.xml @@ -15,7 +15,10 @@ Modified Evan Bookbinder 06-26-2013 Added "U" Unknown severity Modified Phil Kurimski 09-19-2013 added geospatialConfig.xml Modified Mike Rega 01-18-2014 added Alaska GP changes for 14.2.1 - Mike Dangelo - 1/23/2014 multiple changes to CTAs for FFW EMER + Mike Dangelo - 1/23/2014 multiple changes to CTAs for FFW EMER + Evan Bookbinder 10/24/2014 commented out AK additions from baseline and + corrected their bulletGroup="" settings + Mike Rega 10/27/2014 fixed EMER floodSeverity=3 error --> + - - +Alaska end --> @@ -122,12 +122,12 @@ turned on unless the corresponding .vm file is turned on in a given template's . - - - - - - + + @@ -175,7 +175,7 @@ turned on unless the corresponding .vm file is turned on in a given template's . - + @@ -190,13 +190,10 @@ turned on unless the corresponding .vm file is turned on in a given template's . - + - - +Alaska end --> @@ -204,12 +201,12 @@ turned on unless the corresponding .vm file is turned on in a given template's . - - - - - - + + @@ -256,7 +253,7 @@ turned on unless the corresponding .vm file is turned on in a given template's . - + @@ -271,13 +268,10 @@ turned on unless the corresponding .vm file is turned on in a given template's . - + - - +Alaska end --> @@ -285,12 +279,12 @@ turned on unless the corresponding .vm file is turned on in a given template's . - - - - - - + + diff --git a/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/nonConvectiveFlashFloodWarningFollowup.vm b/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/nonConvectiveFlashFloodWarningFollowup.vm index 1085576ea1..5ca1cefa39 100755 --- a/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/nonConvectiveFlashFloodWarningFollowup.vm +++ b/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/nonConvectiveFlashFloodWarningFollowup.vm @@ -11,12 +11,24 @@ ## Phil Kurimski -- SEP 17 2013 FFW Emerg ## ## Mike Rega -- JAN 18 2014 14.2.1 ## ## added Alaska GP changes ## -##################################################### +## Evan Bookbinder -- Oct 24 2014 Fixed floodSeverity code +########################################################## ## #parse("config.vm") #set($headline = "") ## set reportType2 to a default value in case nothing is selected for site specific #set($reportType2 = "THE FAILURE OF") +#if(${list.contains(${bullets}, "sev3")} || ${list.contains(${bullets}, "ffwEmergency")}) + #set($sev = "3") +#elseif(${list.contains(${bullets}, "sev1")}) + #set($sev = "1") +#elseif(${list.contains(${bullets}, "sev2")}) + #set($sev = "2") +#elseif(${list.contains(${bullets}, "sevUnk")}) + #set($sev = "U") +#else + #set($sev = "0") +#end ##################################################################### ## set variables to be used in site specific dam break selections ##################################################################### @@ -44,7 +56,6 @@ #set($headline = "FOR A GLACIAL DAMMED LAKE OUTBURST ") #set($reportType1 = "A GLACIER DAMMED LAKE AT !** **! IS RAPIDLY RELEASING LARGE QUANTITIES OF IMPOUNDED WATER RESULTING IN FLASH FLOODING !** **!") ### GP end -### #set($reportType1 = "A GLACIER AT !** **! HAS MELTED...RELEASING LARGE QUANTITIES OF IMPOUNDED WATER AND CAUSING FLASH FLOODING !** **!") #elseif(${list.contains(${bullets}, "icejam")}) #set($ic = "IJ") #set($hycType = "ICE JAM FLOODING") @@ -139,7 +150,7 @@ ${dateUtil.format(${now}, ${timeFormat.header}, ${localtimezone})} ${ugcline} /${productClass}.${action}.${vtecOffice}.FF.W.${etn}.000000T0000Z-${dateUtil.format(${expire}, ${timeFormat.ymdthmz}, 15)}/ -/00000.${floodseverity}.${ic}.000000T0000Z.000000T0000Z.000000T0000Z.OO/ +/00000.${sev}.${ic}.000000T0000Z.000000T0000Z.000000T0000Z.OO/ #foreach (${area} in ${areas}) ${area.name}## #if(${includeStateAbbreviation}==true) @@ -228,10 +239,10 @@ THIS IS A TEST MESSAGE.## #if(${list.contains(${bullets}, "public")}) #set($report = "THE PUBLIC REPORTED ${reportType1}") #end -### added by GP #if(${list.contains(${bullets}, "onlyGauge")}) #set($report = "GAUGES INDICATED ${reportType1}") #end +### added by GP #if(${list.contains(${bullets}, "CAP")}) #set($report = "THE CIVIL AIR PATROL REPORTED ${reportType1}") #end @@ -497,14 +508,20 @@ THIS IS A TEST MESSAGE.## #if(${list.contains(${bullets}, "public")}) #set($report = "THE PUBLIC REPORTED ${reportType1}") #end -### added by GP #if(${list.contains(${bullets}, "onlyGauge")}) #set($report = "GAUGES INDICATED ${reportType1}") #end +## added by GP #if(${list.contains(${bullets}, "CAP")}) #set($report = "THE CIVIL AIR PATROL REPORTED ${reportType1}") #end -### GP end +#if(${list.contains(${bullets}, "alaskaVoc")}) + #set($report = "THE ALASKA VOLCANO OBSERVATORY REPORTED ${reportType1}") +#end +#if(${list.contains(${bullets}, "cascadeVoc")}) + #set($report = "THE CASCADES VOLCANO OBSERVATORY REPORTED ${reportType1}") +#end +## GP end ## Storm current location description #if(${productClass}=="T") @@ -740,14 +757,20 @@ THIS IS A TEST MESSAGE.## #if(${list.contains(${bullets}, "public")}) #set($report = "THE PUBLIC REPORTED ${reportType1}") #end -### added by GP #if(${list.contains(${bullets}, "onlyGauge")}) #set($report = "GAUGES INDICATED ${reportType1}") #end +## added by GP #if(${list.contains(${bullets}, "CAP")}) #set($report = "THE CIVIL AIR PATROL REPORTED ${reportType1}") #end -### GP end +#if(${list.contains(${bullets}, "alaskaVoc")}) + #set($report = "THE ALASKA VOLCANO OBSERVATORY REPORTED ${reportType1}") +#end +#if(${list.contains(${bullets}, "cascadeVoc")}) + #set($report = "THE CASCADES VOLCANO OBSERVATORY REPORTED ${reportType1}") +#end +## GP end ## Storm current location description #if(${productClass}=="T") diff --git a/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/nonConvectiveFlashFloodWarningFollowup.xml b/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/nonConvectiveFlashFloodWarningFollowup.xml index 6023f4960d..c2b60d48a4 100755 --- a/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/nonConvectiveFlashFloodWarningFollowup.xml +++ b/edexOsgi/com.raytheon.uf.common.dataplugin.warning/utility/common_static/base/warngen/nonConvectiveFlashFloodWarningFollowup.xml @@ -11,6 +11,10 @@ Modified Phil Kurimski 09-19-2013 added geospatialConfig.xml Modified Mike Rega 01-18-2014 added Alaska GP changes for 14.2.1 Modified Phil Kurimski 06-24-2014 fixed Ice Jam Parse String error 14.2.2-9 + Modified Evan Bookbinder 10-24-2014 commented out AK additions from baseline and + corrected their bulletGroup="" settings + Added floodSeverity bullets + Modified Mike Rega 10-27-2014 fixed EMER floodSeverity=3 error --> @@ -97,13 +101,10 @@ turned on unless the corresponding .vm file is turned on in a given template's . - + - - +Alaska end --> @@ -147,13 +148,10 @@ turned on unless the corresponding .vm file is turned on in a given template's . - + - - +Alaska end --> @@ -185,7 +183,12 @@ turned on unless the corresponding .vm file is turned on in a given template's . - + + + + + + @@ -193,16 +196,13 @@ turned on unless the corresponding .vm file is turned on in a given template's . - + - - +Alaska end --> - + @@ -210,12 +210,12 @@ turned on unless the corresponding .vm file is turned on in a given template's . - - - - - - + + @@ -234,11 +234,11 @@ turned on unless the corresponding .vm file is turned on in a given template's . - + +Alaska end --> @@ -274,21 +274,23 @@ turned on unless the corresponding .vm file is turned on in a given template's . - + + + + + + - + - + - - +Alaska end --> @@ -299,12 +301,12 @@ turned on unless the corresponding .vm file is turned on in a given template's . - - - - - - + + @@ -323,11 +325,11 @@ turned on unless the corresponding .vm file is turned on in a given template's . - + +Alaska end -->