Issue #2856 - Implement Redbook CPC ndm menus
Change-Id: I1ef4007b9f7147a9640754aaf8846028a40d0693 Former-commit-id:cdee2df27f
[formerly25c8a0a8aa
] [formerlycdee2df27f
[formerly25c8a0a8aa
] [formerly40319e5fcf
[formerly 8d9935cbee365c4a8537da610c2aff4d95c50f40]]] Former-commit-id:40319e5fcf
Former-commit-id:af9f9ba2c8
[formerly09be0ef28d
] Former-commit-id:9335ae821e
This commit is contained in:
parent
694ad6dd4d
commit
df31189a39
10 changed files with 322 additions and 108 deletions
|
@ -19,11 +19,8 @@
|
|||
further_licensing_information.
|
||||
-->
|
||||
<menuTemplate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<contribute xsi:type="subMenu" menuText="Threat Charts"
|
||||
id="ncepHydro.cpc.threatCharts">
|
||||
<contribute xsi:type="subinclude" fileName="menus/ncepHydro/cpc/threatCharts.xml"/>
|
||||
</contribute>
|
||||
|
||||
<contribute xsi:type="subinclude" fileName="menus/ncepHydro/cpc/cpcMenus.xml"/>
|
||||
|
||||
<contribute xsi:type="subMenu" menuText="Outlook Grids"
|
||||
id="ncepHydro.cpc.outlookGrids">
|
||||
<contribute xsi:type="subinclude" fileName="menus/ncepHydro/cpc/outlookGrids.xml"/>
|
||||
|
|
|
@ -0,0 +1,70 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<menuTemplate>
|
||||
<contribute xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="subMenu" menuText="Hazard Charts" id="ncepHydro.cpc.hazardCharts">
|
||||
<contribute xsi:type="titleItem" titleText="------ 3-7 Day Hazards Outlook ------" id="threeTo7DayHazardsOutlook"/>
|
||||
<contribute xsi:type="bundleItem" useReferenceTime="true" file="bundles/Redbook.xml" menuText="3-7 day Precipitation Fcst" timeQuery="true" id="threeTo7DayPrecipFcst">
|
||||
<substitute value="PEIY97" key="wmo"/>
|
||||
</contribute>
|
||||
<contribute xsi:type="bundleItem" useReferenceTime="true" file="bundles/Redbook.xml" menuText="3-7 Temperature/Wind Fcst" timeQuery="true" id="threeTo7DayTempWindFcst">
|
||||
<substitute value="PTIY97" key="wmo"/>
|
||||
</contribute>
|
||||
<contribute xsi:type="bundleItem" useReferenceTime="true" file="bundles/Redbook.xml" menuText="3-7 day Soil/Wildfire Fcst" timeQuery="true" id="threeTo7DaySoilWildfireFcst">
|
||||
<substitute value="PYIY97" key="wmo"/>
|
||||
</contribute>
|
||||
<contribute xsi:type="titleItem" titleText="------ 8-14 Day Hazards Outlook ------" id="eightTo14DayHazardOutlook"/>
|
||||
<contribute xsi:type="bundleItem" useReferenceTime="true" file="bundles/Redbook.xml" menuText="8-14 day Precipitation Fcst" timeQuery="true" id="eightTo14DayPrecipFcst">
|
||||
<substitute value="PEIY96" key="wmo"/>
|
||||
</contribute>
|
||||
<contribute xsi:type="bundleItem" useReferenceTime="true" file="bundles/Redbook.xml" menuText="8-14 Temperature/Wind Fcst" timeQuery="true" id="eightTo14DayTempWindFcst">
|
||||
<substitute value="PTIY96" key="wmo"/>
|
||||
</contribute>
|
||||
<contribute xsi:type="bundleItem" useReferenceTime="true" file="bundles/Redbook.xml" menuText="8-14 day Soil/Wildfire Fcst" timeQuery="true" id="eightTo14DaySoilWildfireFcst">
|
||||
<substitute value="PYIY96" key="wmo"/>
|
||||
</contribute>
|
||||
<contribute xsi:type="titleItem" titleText="------ 6-10 Day Heat Index Fcst ------" id="sixTo10DayHeatIndexFcstLine"/>
|
||||
<contribute xsi:type="bundleItem" useReferenceTime="true" file="bundles/Redbook.xml" menuText=">= 85F for 3 days of 5" timeQuery="true" id="gt85For3daysOf5">
|
||||
<substitute value="PTAS90" key="wmo"/>
|
||||
</contribute>
|
||||
<contribute xsi:type="bundleItem" useReferenceTime="true" file="bundles/Redbook.xml" menuText=">= 90F for 2 days of 5" timeQuery="true" id="gt90For2daysOf5">
|
||||
<substitute value="PTAS95" key="wmo"/>
|
||||
</contribute>
|
||||
<contribute xsi:type="bundleItem" useReferenceTime="true" file="bundles/Redbook.xml" menuText=">= 95F for 1 day of 5" timeQuery="true" id="gt95For1dayOf5">
|
||||
<substitute value="PTAS00" key="wmo"/>
|
||||
</contribute>
|
||||
<contribute xsi:type="bundleItem" useReferenceTime="true" file="bundles/Redbook.xml" menuText="6-10 Day Max Heat Index Outlook" timeQuery="true" id="maxHeatIndexOutlook">
|
||||
<substitute value="PTNR98" key="wmo"/>
|
||||
</contribute>
|
||||
<contribute xsi:type="titleItem" titleText="------ 8-14 Day Heat Index Fcst ------" id="eightTo14DayHeatIndexFcstLine"/>
|
||||
<contribute xsi:type="bundleItem" useReferenceTime="true" file="bundles/Redbook.xml" menuText=">= 85F for 3 days of 7" timeQuery="true" id="gt85For3daysOf7">
|
||||
<substitute value="PTAT90" key="wmo"/>
|
||||
</contribute>
|
||||
<contribute xsi:type="bundleItem" useReferenceTime="true" file="bundles/Redbook.xml" menuText=">= 90F for 2 days of 7" timeQuery="true" id="gt90For2daysOf7">
|
||||
<substitute value="PTAT95" key="wmo"/>
|
||||
</contribute>
|
||||
<contribute xsi:type="bundleItem" useReferenceTime="true" file="bundles/Redbook.xml" menuText=">= 95F for 1 day of 7" timeQuery="true" id="gt95For1dayOf7">
|
||||
<substitute value="PTAT00" key="wmo"/>
|
||||
</contribute>
|
||||
<contribute xsi:type="bundleItem" useReferenceTime="true" file="bundles/Redbook.xml" menuText="8-14 Day Max Heat Index Outlook" timeQuery="true" id="maxHeatIndexOutlook">
|
||||
<substitute value="PTNT98" key="wmo"/>
|
||||
</contribute>
|
||||
</contribute>
|
||||
</menuTemplate>
|
|
@ -1,98 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<!--
|
||||
This_software_was_developed_and_/_or_modified_by_Raytheon_Company,
|
||||
pursuant_to_Contract_DG133W-05-CQ-1067_with_the_US_Government.
|
||||
|
||||
U.S._EXPORT_CONTROLLED_TECHNICAL_DATA
|
||||
This_software_product_contains_export-restricted_data_whose
|
||||
export/transfer/disclosure_is_restricted_by_U.S._law._Dissemination
|
||||
to_non-U.S._persons_whether_in_the_United_States_or_abroad_requires
|
||||
an_export_license_or_other_authorization.
|
||||
|
||||
Contractor_Name:________Raytheon_Company
|
||||
Contractor_Address:_____6825_Pine_Street,_Suite_340
|
||||
________________________Mail_Stop_B8
|
||||
________________________Omaha,_NE_68106
|
||||
________________________402.291.0100
|
||||
|
||||
See_the_AWIPS_II_Master_Rights_File_("Master_Rights_File.pdf")_for
|
||||
further_licensing_information.
|
||||
-->
|
||||
<menuTemplate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<contribute xsi:type="bundleItem" file="bundles/Redbook.xml"
|
||||
menuText="Weekly Drought Monitor" id="droughtMonitor">
|
||||
<substitute key="wmo" value="PYIA88" />
|
||||
</contribute>
|
||||
<contribute xsi:type="bundleItem" file="bundles/Redbook.xml"
|
||||
menuText="Drought Outlook" id="droughtOutlook">
|
||||
<substitute key="wmo" value="PMNV88" />
|
||||
</contribute>
|
||||
<contribute xsi:type="separator" id="separator1" />
|
||||
<contribute xsi:type="titleItem" titleText="------ 3-7 Day Hazard Outlook ------"
|
||||
id="threeTo7DayHazardOutlook" />
|
||||
<contribute xsi:type="bundleItem" file="bundles/Redbook.xml"
|
||||
menuText="3-7 day Precipitation Fcst" id="threeTo7DayPrecipFcst">
|
||||
<substitute key="wmo" value="PEIY97" />
|
||||
</contribute>
|
||||
<contribute xsi:type="bundleItem" file="bundles/Redbook.xml"
|
||||
menuText="3-7 day Soil/Wildfire Fcst" id="threeTo7DaySoilWildfireFcst">
|
||||
<substitute key="wmo" value="PYIY97" />
|
||||
</contribute>
|
||||
<contribute xsi:type="bundleItem" file="bundles/Redbook.xml"
|
||||
menuText="3-7 day Temperature/Wind Fcst" id="threeTo7DayTempWindFcst">
|
||||
<substitute key="wmo" value="PTIY97" />
|
||||
</contribute>
|
||||
<contribute xsi:type="separator" id="separator1" />
|
||||
<contribute xsi:type="titleItem" titleText="------ 8-14 Day Hazard Outlook ------"
|
||||
id="eightTo14DayHazardOutlook" />
|
||||
<contribute xsi:type="bundleItem" file="bundles/Redbook.xml"
|
||||
menuText="8-14 day Precipitation Fcst" id="eightTo14DayPrecipFcst">
|
||||
<substitute key="wmo" value="PEIY96" />
|
||||
</contribute>
|
||||
<contribute xsi:type="bundleItem" file="bundles/Redbook.xml"
|
||||
menuText="8-14 day Soil/Wildfire Fcst" id="eightTo14DaySoilWildfireFcst">
|
||||
<substitute key="wmo" value="PYIY96" />
|
||||
</contribute>
|
||||
<contribute xsi:type="bundleItem" file="bundles/Redbook.xml"
|
||||
menuText="8-14 day Temperature/Wind Fcst" id="eightTo14DayTempWindFcst">
|
||||
<substitute key="wmo" value="PTIY96" />
|
||||
</contribute>
|
||||
<contribute xsi:type="separator" id="separator1" />
|
||||
<contribute xsi:type="titleItem"
|
||||
titleText="------ 6-10 Day Heat Index Fcst ------" id="sixTo10DayHeatIndexFcstLine" />
|
||||
<contribute xsi:type="bundleItem" file="bundles/Redbook.xml"
|
||||
menuText=">=85F for 3 days of 5" id="gt85For3daysOf5">
|
||||
<substitute key="wmo" value="PTAS90" />
|
||||
</contribute>
|
||||
<contribute xsi:type="bundleItem" file="bundles/Redbook.xml"
|
||||
menuText=">=90F for 2 days of 5" id="gt90For2daysOf5">
|
||||
<substitute key="wmo" value="PTAS95" />
|
||||
</contribute>
|
||||
<contribute xsi:type="bundleItem" file="bundles/Redbook.xml"
|
||||
menuText=">=95F for 1 day of 5" id="gt95For1dayOf5">
|
||||
<substitute key="wmo" value="PTAS00" />
|
||||
</contribute>
|
||||
<contribute xsi:type="bundleItem" file="bundles/Redbook.xml"
|
||||
menuText="6-10 Max Heat Index Outlook" id="maxHeatIndexOutlook">
|
||||
<substitute key="wmo" value="PTNR98" />
|
||||
</contribute>
|
||||
<contribute xsi:type="separator" id="separator2" />
|
||||
<contribute xsi:type="titleItem"
|
||||
titleText="------ 8-14 Day Heat Index Fcst ------" id="eightTo14DayHeatIndexFcstLine" />
|
||||
<contribute xsi:type="bundleItem" file="bundles/Redbook.xml"
|
||||
menuText=">=85F for 3 days of 7" id="gt85For3daysOf7">
|
||||
<substitute key="wmo" value="PTAT90" />
|
||||
</contribute>
|
||||
<contribute xsi:type="bundleItem" file="bundles/Redbook.xml"
|
||||
menuText=">=90F for 2 days of 7" id="gt90For2daysOf7">
|
||||
<substitute key="wmo" value="PTAT95" />
|
||||
</contribute>
|
||||
<contribute xsi:type="bundleItem" file="bundles/Redbook.xml"
|
||||
menuText=">=95F for 1 day of 7" id="gt95For1dayOf7">
|
||||
<substitute key="wmo" value="PTAT00" />
|
||||
</contribute>
|
||||
<contribute xsi:type="bundleItem" file="bundles/Redbook.xml"
|
||||
menuText="8-14 Day Max Heat Index Outlook" id="maxHeatIndexOutlook">
|
||||
<substitute key="wmo" value="PTNT98" />
|
||||
</contribute>
|
||||
</menuTemplate>
|
|
@ -0,0 +1,97 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<!--
|
||||
This file is the A2 NDM replacement for redbookCPCMenus.txt.
|
||||
|
||||
Dropping RedbookHazardMenus.xml into the /awips2/edex/data/ndm directory
|
||||
will generate an override of the CPC menu.
|
||||
|
||||
RedbookHazardMenus.xml as written here will generate the base version
|
||||
of the CPC menus.
|
||||
-->
|
||||
|
||||
<redbookMenu>
|
||||
<menuEntry type="submenu" text="Hazard Charts"
|
||||
id="ncepHydro.cpc.hazardCharts">
|
||||
<menuEntry type="title" text="------ 3-7 Day Hazards Outlook ------"
|
||||
id="threeTo7DayHazardsOutlook" />
|
||||
<menuEntry type="productButton" text="3-7 day Precipitation Fcst"
|
||||
id="threeTo7DayPrecipFcst">
|
||||
<!-- Redbook Key: 5432 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PEIY97" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton" text="3-7 Temperature/Wind Fcst"
|
||||
id="threeTo7DayTempWindFcst">
|
||||
<!-- Redbook Key: 5434 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PTIY97" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton" text="3-7 day Soil/Wildfire Fcst"
|
||||
id="threeTo7DaySoilWildfireFcst">
|
||||
<!-- Redbook Key: 5436 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PYIY97" />
|
||||
</menuEntry>
|
||||
|
||||
<menuEntry type="title" text="------ 8-14 Day Hazards Outlook ------"
|
||||
id="eightTo14DayHazardOutlook" />
|
||||
<menuEntry type="productButton" text="8-14 day Precipitation Fcst"
|
||||
id="eightTo14DayPrecipFcst">
|
||||
<!-- Redbook Key: 5433 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PEIY96" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton" text="8-14 Temperature/Wind Fcst"
|
||||
id="eightTo14DayTempWindFcst">
|
||||
<!-- Redbook Key: 5435 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PTIY96" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton" text="8-14 day Soil/Wildfire Fcst"
|
||||
id="eightTo14DaySoilWildfireFcst">
|
||||
<!-- Redbook Key: 5437 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PYIY96" />
|
||||
</menuEntry>
|
||||
|
||||
<menuEntry type="title" text="------ 6-10 Day Heat Index Fcst ------"
|
||||
id="sixTo10DayHeatIndexFcstLine" />
|
||||
<menuEntry type="productButton" text=">= 85F for 3 days of 5"
|
||||
id="gt85For3daysOf5">
|
||||
<!-- Redbook Key: 5298 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PTAS90" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton" text=">= 90F for 2 days of 5"
|
||||
id="gt90For2daysOf5">
|
||||
<!-- Redbook Key: 5299 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PTAS95" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton" text=">= 95F for 1 day of 5"
|
||||
id="gt95For1dayOf5">
|
||||
<!-- Redbook Key: 5300 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PTAS00" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton" text="6-10 Day Max Heat Index Outlook"
|
||||
id="maxHeatIndexOutlook">
|
||||
<!-- Redbook Key: 5383 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PTNR98" />
|
||||
</menuEntry>
|
||||
|
||||
<menuEntry type="title" text="------ 8-14 Day Heat Index Fcst ------"
|
||||
id="eightTo14DayHeatIndexFcstLine" />
|
||||
<menuEntry type="productButton" text=">= 85F for 3 days of 7"
|
||||
id="gt85For3daysOf7">
|
||||
<!-- Redbook Key: 5301 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PTAT90" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton" text=">= 90F for 2 days of 7"
|
||||
id="gt90For2daysOf7">
|
||||
<!-- Redbook Key: 5302 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PTAT95" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton" text=">= 95F for 1 day of 7"
|
||||
id="gt95For1dayOf7">
|
||||
<!-- Redbook Key: 5303 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PTAT00" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton" text="8-14 Day Max Heat Index Outlook"
|
||||
id="maxHeatIndexOutlook">
|
||||
<!-- Redbook Key: 5247 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PTNT98" />
|
||||
</menuEntry>
|
||||
</menuEntry>
|
||||
</redbookMenu>
|
|
@ -13,111 +13,135 @@ of the HPC menus.
|
|||
id="ncepHydro.hpc.precipitation">
|
||||
<menuEntry type="productButton"
|
||||
text="Instantaneous Precip" id="instantaneousPrecip">
|
||||
<!-- Redbook Key: 5048 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PEIC61, PEIE62, PEIG63, PEII64" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="Day 1 Excessive Rainfall" id="day1ExcessiveRainfall">
|
||||
<!-- Redbook Key: 5046 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PEI745" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
file="bundles/ncepHydro/hpc/HPCqpfNDFD-PPFFG.xml" text="1-3 Day Excessive Rainfall (Grid)"
|
||||
id="day1to3ExcessiveRainfall">
|
||||
<!-- Redbook Key: 3313821600 -->
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton" file="bundles/Redbook_customLegend.xml"
|
||||
text="Precip Accum - 6 hr" id="precipAccum6hr">
|
||||
<!-- Redbook Key: 5047 -->
|
||||
<menuEntry type="substitute" key="wmo"
|
||||
value="PEIB40, PEIC43, PEID44, PEIE40, PEIF40, PEBF98, PEBG98, PEBH98, PEBI88, PEBI98, PEBJ88, PEBJ98, PEBK98" />
|
||||
<menuEntry type="substitute" key="customLegend" value="Precip Fcst - 6hr accum" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="Precip Accum - 24 hr" id="precipAccum24hr">
|
||||
<!-- Redbook Key: 5050 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PEIE41, PEII42, PEIK98" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="Sig River Flood Outlook" id="sigRiverFloodOutlook">
|
||||
<!-- Redbook Key: 5389 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PENJ88" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="Mesoscale Precip Discussion" id="mesoPrecipDisc">
|
||||
<!-- Redbook Key: 5438 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PENA01" />
|
||||
</menuEntry>
|
||||
<menuEntry type="separator" id="separator1" />
|
||||
<menuEntry type="submenu" text="Day 1-3 Prob 4+ Inches Snow">
|
||||
<menuEntry type="productButton"
|
||||
text="Day 1 Prob 4+" Snow" id="day1Prob4InchesSnow">
|
||||
<!-- Redbook Key: 5391 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PSBB04" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="Day 2 Prob 4+" Snow" id="day2Prob4InchesSnow">
|
||||
<!-- Redbook Key: 5395 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PSBC04" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="Day 3 Prob 4+" Snow" id="day3Prob4InchesSnow">
|
||||
<!-- Redbook Key: 5399 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PSBD04" />
|
||||
</menuEntry>
|
||||
</menuEntry>
|
||||
<menuEntry type="submenu" text="Day 1-3 Prob 8+ Inches Snow">
|
||||
<menuEntry type="productButton"
|
||||
text="Day 1 Prob 8+" Snow" id="day1Prob8InchesSnow">
|
||||
<!-- Redbook Key: 5392 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PSBB08" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="Day 2 Prob 8+" Snow" id="day2Prob8InchesSnow">
|
||||
<!-- Redbook Key: 5396 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PSBC08" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="Day 3 Prob 8+" Snow" id="day3Prob8InchesSnow">
|
||||
<!-- Redbook Key: 5400 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PSBD08" />
|
||||
</menuEntry>
|
||||
</menuEntry>
|
||||
<menuEntry type="submenu" text="Day 1-3 Prob 12+ Inches Snow">
|
||||
<menuEntry type="productButton"
|
||||
text="Day 1 Prob 12+" Snow" id="day1Prob12InchesSnow">
|
||||
<!-- Redbook Key: 5393 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PSBB12" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="Day 2 Prob 12+" Snow" id="day2Prob12InchesSnow">
|
||||
<!-- Redbook Key: 5397 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PSBC12" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="Day 3 Prob 12+" Snow" id="day3Prob12InchesSnow">
|
||||
<!-- Redbook Key: 5401 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PSBD12" />
|
||||
</menuEntry>
|
||||
</menuEntry>
|
||||
<menuEntry type="submenu" text="Day 1-3 Prob .25 Inches Ice">
|
||||
<menuEntry type="productButton"
|
||||
text="Day 1 Prob .25+" Ice" id="day1Prob025InchesIce">
|
||||
<!-- Redbook Key: 5394 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PSBB25" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="Day 2 Prob .25+" Ice" id="day2Prob025InchesIce">
|
||||
<!-- Redbook Key: 5398 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PSBC25" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="Day 3 Prob .25+" Ice" id="day3Prob025InchesIce">
|
||||
<!-- Redbook Key: 5402 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PSBD25" />
|
||||
</menuEntry>
|
||||
</menuEntry>
|
||||
<menuEntry type="separator" id="separator2" />
|
||||
<menuEntry type="productButton"
|
||||
text="1-5 Day Total Precip" id="oneToFiveDayTotalPrecip">
|
||||
<!-- Redbook Key: 5055 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PEIO46" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="6-10, 8-14 Day Precip Anom" id="sixToTen8to14DayPrecipAnom">
|
||||
<!-- Redbook Key: 5164 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PEIY47, PETT00" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="30 Day Precip Anom" id="thirtyDayPrecipAnom">
|
||||
<!-- Redbook Key: 5342 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PEIV98" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="90 Day Seasonal Precip Outlook" id="ninetyDaySeasonalPrecipOutlook">
|
||||
<!-- Redbook Key: 5343 -->
|
||||
<menuEntry type="substitute" key="wmo"
|
||||
value="PEIW01,PEIW02,PEIW03,PEIW04,PEIW05,PEIW06,PEIW07,PEIW08,PEIW09,PEIW10,PEIW11,PEIW12,PEIW13" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="0.5 Mo (15-105 day) 50% POE Precip Outlook" id="fiftyPercentPOEPrecipOutlook2">
|
||||
<!-- Redbook Key: 5404 -->
|
||||
<menuEntry type="substitute" key="wmo"
|
||||
value="PENV01,PENV02,PENV03,PENV04,PENV05,PENV06,PENV07,PENV08,PENV09,PENV10,PENV11,PENV12,PENV13" />
|
||||
</menuEntry>
|
||||
|
@ -127,14 +151,17 @@ of the HPC menus.
|
|||
<menuEntry type="productButton"
|
||||
file="bundles/ncepHydro/hpc/HPCqpfNDFD6hr.xml" text="1-3 Day HPC QPF (6-Hourly Grid)"
|
||||
id="oneTo3HPCQPF">
|
||||
<!-- Redbook Key: 3313819760 -->
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
file="bundles/ncepHydro/hpc/HPCqpfNDFD48hr.xml" text="4-5 Day HPC QPF (Grid)"
|
||||
id="fourTo5DayHPCQPF">
|
||||
<!-- Redbook Key: 3313821000 -->
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
file="bundles/ncepHydro/hpc/HPCqpfNDFD120hr.xml" text="1-5 Day HPC QPF Total (Grid)"
|
||||
id="oneTo5HPCQPF">
|
||||
<!-- Redbook Key: 3313821592 -->
|
||||
</menuEntry>
|
||||
</menuEntry>
|
||||
|
||||
|
@ -142,73 +169,90 @@ of the HPC menus.
|
|||
id="ncepHydro.hpc.tempsAndWeather">
|
||||
<menuEntry type="productButton"
|
||||
text="1-5 Day Max Temp Anomaly" id="fiveDayMaxTempAnomaly">
|
||||
<!-- Redbook Key: 5138 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PTIO52" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="1-5 Day Min Temp Anomaly" id="fiveDayMinTempAnomaly">
|
||||
<!-- Redbook Key: 5139 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PTIO53" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="Day 3-7 Max/Min/PoP" id="day3To7MaxMinPoP">
|
||||
<!-- Redbook Key: 5159 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PYWK43, PYWM44, PYWO45, PYWQ46, PYWS98" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="Day 3 Heat Index Probabilities" id="day3HeatIndex">
|
||||
<!-- Redbook Key: 5381 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PTNK98" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="Day 4 Heat Index Probabilities" id="day4HeatIndex">
|
||||
<!-- Redbook Key: 5386 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PTNM98" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="Day 5 Heat Index Probabilities" id="day5HeatIndex">
|
||||
<!-- Redbook Key: 5387 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PTNO98" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="Day 6 Heat Index Probabilities" id="day6HeatIndex">
|
||||
<!-- Redbook Key: 5382 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PTNQ98" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="Day 7 Heat Index Probabilities" id="day7HeatIndex">
|
||||
<!-- Redbook Key: 5388 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PTNS98" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="6-10, 8-14 Day Temp Anomaly" id="TempAnomaly6to108to14">
|
||||
<!-- Redbook Key: 5169 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PTTU98, PTIY51" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="30 Day Temp Anomaly" id="thirtyDayTempAnomaly">
|
||||
<!-- Redbook Key: 5356 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PTIV98" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="90 Day Seasonal Temp Outlook" id="ninetyDaySeasonalTempOutlook">
|
||||
<!-- Redbook Key: 5357 -->
|
||||
<menuEntry type="substitute" key="wmo"
|
||||
value="PTIW01,PTIW02,PTIW03,PTIW04,PTIW05,PTIW06,PTIW07,PTIW08,PTIW09,PTIW10,PTIW11,PTIW12,PTIW13" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="0.5 Mo (15-105 day) 50% POE Temp Outlook" id="fiftyPercentPOEPrecipOutlook2">
|
||||
<!-- Redbook Key: 5417 -->
|
||||
<menuEntry type="substitute" key="wmo"
|
||||
value="PTNV01,PTNV02,PTNV03,PTNV04,PTNV05,PTNV06,PTNV07,PTNV08,PTNV09,PTNV10,PTNV11,PTNV12,PTNV13" />
|
||||
</menuEntry>
|
||||
<menuEntry type="separator" id="separator4" />
|
||||
<menuEntry type="productButton"
|
||||
text="MSL Pressure Analysis" id="MSLPressureAnalysis">
|
||||
<!-- Redbook Key: 5115 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PPAA89" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="Surface Fronts Analysis" id="surfaceFrontsAnalysis">
|
||||
<!-- Redbook Key: 5204 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PYAA98" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="12-48 hr Fronts/Press" id="frontsPress12to48">
|
||||
<!-- Redbook Key: 5111 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PPIC01, PPIE01, PPIG01, PPII01" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="Day 3-7 Fronts/Press" id="day3to7FrontsPress">
|
||||
<!-- Redbook Key: 5108 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PPHK01, PPHM01, PPHO01, PPTG98, PPTR98" />
|
||||
</menuEntry>
|
||||
<menuEntry type="productButton"
|
||||
text="3-Day Sig Winter Low Tracks" id="threeDaySigWinterLowTracks">
|
||||
<!-- Redbook Key: 5403 -->
|
||||
<menuEntry type="substitute" key="wmo" value="PSAO72" />
|
||||
</menuEntry>
|
||||
</menuEntry>
|
||||
|
|
|
@ -8,7 +8,7 @@ will generate an override of the SPC hazards menu.
|
|||
RedbookHazardMenus.xml as written here will generate the base version
|
||||
of the SPC hazard menus.
|
||||
-->
|
||||
<redbookHazardMenu>
|
||||
<redbookMenu>
|
||||
<menuEntry type="submenu" text="SPC Convective Outlooks" id="ncepHydro.spc.convectiveOutlooks">
|
||||
<menuEntry type="productButton" text="Day 1 Convective Outlook" id="day1ConvectiveOutlook">
|
||||
<!-- Redbook Key: 5069 -->
|
||||
|
@ -85,4 +85,4 @@ of the SPC hazard menus.
|
|||
<menuEntry type="substitute" key="wmo" value="PGNO98"/>
|
||||
</menuEntry>
|
||||
</menuEntry>
|
||||
</redbookHazardMenu>
|
||||
</redbookMenu>
|
|
@ -26,10 +26,15 @@
|
|||
</bean>
|
||||
|
||||
<bean factory-bean="ndmProc" factory-method="registerListener">
|
||||
<constructor-arg value="RedbookMPCMenus.xml" />
|
||||
<constructor-arg value="RedbookCPCMenus.xml" />
|
||||
<constructor-arg ref="spcMenuListener" />
|
||||
</bean>
|
||||
|
||||
<bean factory-bean="ndmProc" factory-method="registerListener">
|
||||
<constructor-arg value="RedbookMPCMenus.xml" />
|
||||
<constructor-arg ref="spcMenuListener" />
|
||||
</bean>
|
||||
|
||||
<!--
|
||||
<bean id="redbookCamelRegistered" factory-bean="contextManager"
|
||||
factory-method="register" depends-on="persistCamelRegistered">
|
||||
|
|
|
@ -21,6 +21,7 @@ package com.raytheon.edex.plugin.redbook.ingest;
|
|||
|
||||
import java.io.File;
|
||||
|
||||
import com.raytheon.edex.plugin.redbook.menu.RedbookCpcMenuUtil;
|
||||
import com.raytheon.edex.plugin.redbook.menu.RedbookHazardsMenuUtil;
|
||||
import com.raytheon.edex.plugin.redbook.menu.RedbookHpcMenuUtil;
|
||||
import com.raytheon.edex.plugin.redbook.menu.RedbookMpcMenuUtil;
|
||||
|
@ -40,6 +41,7 @@ import com.raytheon.uf.edex.ndm.ingest.INationalDatasetSubscriber;
|
|||
* ------------ ---------- ----------- --------------------------
|
||||
* Mar 10, 2014 2858 mpduff Initial creation.
|
||||
* Mar 17, 2014 2855 mpduff Implement HPC.
|
||||
* Mar 17, 2014 2856 mpduff Implement CPC.
|
||||
* Mar 19, 2014 2859 mpduff Implement MPC.
|
||||
*
|
||||
* </pre>
|
||||
|
@ -59,6 +61,9 @@ public class RedbookMenuSubscriber implements INationalDatasetSubscriber {
|
|||
/** HPC menu file */
|
||||
private static final String HPC_MENU_FILE = "RedbookHPCMenus.xml";
|
||||
|
||||
/** CPC menu file */
|
||||
private static final String CPC_MENU_FILE = "RedbookCPCMenus.xml";
|
||||
|
||||
/** MPC menu file */
|
||||
private static final String MPC_MENU_FILE = "RedbookMPCMenus.xml";
|
||||
|
||||
|
@ -75,6 +80,9 @@ public class RedbookMenuSubscriber implements INationalDatasetSubscriber {
|
|||
} else if (HPC_MENU_FILE.equals(fileName)) {
|
||||
RedbookHpcMenuUtil menuUtil = new RedbookHpcMenuUtil();
|
||||
menuUtil.createMenusFromFile(file.getAbsolutePath());
|
||||
} else if (CPC_MENU_FILE.equals(fileName)) {
|
||||
RedbookCpcMenuUtil menuUtil = new RedbookCpcMenuUtil();
|
||||
menuUtil.createMenusFromFile(file.getAbsolutePath());
|
||||
} else if (MPC_MENU_FILE.equals(fileName)) {
|
||||
RedbookMpcMenuUtil menuUtil = new RedbookMpcMenuUtil();
|
||||
menuUtil.createMenusFromFile(file.getAbsolutePath());
|
||||
|
|
|
@ -0,0 +1,93 @@
|
|||
/**
|
||||
* This software was developed and / or modified by Raytheon Company,
|
||||
* pursuant to Contract DG133W-05-CQ-1067 with the US Government.
|
||||
*
|
||||
* U.S. EXPORT CONTROLLED TECHNICAL DATA
|
||||
* This software product contains export-restricted data whose
|
||||
* export/transfer/disclosure is restricted by U.S. law. Dissemination
|
||||
* to non-U.S. persons whether in the United States or abroad requires
|
||||
* an export license or other authorization.
|
||||
*
|
||||
* Contractor Name: Raytheon Company
|
||||
* Contractor Address: 6825 Pine Street, Suite 340
|
||||
* Mail Stop B8
|
||||
* Omaha, NE 68106
|
||||
* 402.291.0100
|
||||
*
|
||||
* See the AWIPS II Master Rights File ("Master Rights File.pdf") for
|
||||
* further licensing information.
|
||||
**/
|
||||
package com.raytheon.edex.plugin.redbook.menu;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
import com.raytheon.uf.common.status.IUFStatusHandler;
|
||||
import com.raytheon.uf.common.status.UFStatus;
|
||||
|
||||
/**
|
||||
* Builds the NCEP/Hydro CPC menu contributions for NDM (Redbook CPC).
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
* SOFTWARE HISTORY
|
||||
*
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Mar 18, 2014 2856 mpduff Initial creation
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @author mpduff
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
public class RedbookCpcMenuUtil extends RedbookMenuUtil {
|
||||
/** Status handler */
|
||||
private static final IUFStatusHandler statusHandler = UFStatus
|
||||
.getHandler(RedbookHpcMenuUtil.class);
|
||||
|
||||
/** Menu type constant */
|
||||
private static final String MENU_TYPE = "ncepHydro" + File.separator
|
||||
+ "cpc";
|
||||
|
||||
/** HPC menu file */
|
||||
private static final String CPC_MENU = "cpcMenus.xml";
|
||||
|
||||
/** HPC menu file full path */
|
||||
private static final String MENU_FILE = "menus" + File.separator
|
||||
+ MENU_TYPE + File.separator + CPC_MENU;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*/
|
||||
public RedbookCpcMenuUtil() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public void createMenusFromFile(String filename) {
|
||||
xml = read(filename);
|
||||
|
||||
createMenus();
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
public void createMenus() {
|
||||
statusHandler.info("Creating menus for " + MENU_FILE);
|
||||
createMenusForFile(MENU_FILE);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
protected boolean checkCreated() {
|
||||
return super.checkCreated(CPC_MENU, MENU_TYPE);
|
||||
}
|
||||
}
|
|
@ -169,8 +169,6 @@ public abstract class RedbookMenuUtil extends AbstractMenuUtil {
|
|||
VariableSubstitution var = new VariableSubstitution();
|
||||
var.key = substitute.getKey();
|
||||
var.value = substitute.getValue();
|
||||
statusHandler.info("Substitution: " + var.key + " <> "
|
||||
+ var.value);
|
||||
subList.add(var);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue