Omaha #4399 Update viirs to handle NCC.

Former-commit-id: ccc2036b1671cecc74a8d74b2b916c2ba1ddcb83
This commit is contained in:
Ben Steffensmeier 2015-04-15 10:53:07 -05:00
parent 5200461dd6
commit 27d7a2c416
3 changed files with 77 additions and 2 deletions

View file

@ -0,0 +1,51 @@
<?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.
-->
<!--
The viirs day night band can be displayed with either channelType=DNB or channelType=NCC but the parameter is always the same.
-->
<bundle>
<displayList>
<displays xsi:type="mapRenderableDisplay" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<descriptor xsi:type="mapDescriptor">
<resource>
<loadProperties/>
<resourceData xsi:type="viirsResourceData">
<groupTimeRangeMinutes>${groupTimeRange;30}</groupTimeRangeMinutes>
<metadataMap>
<mapping key="channelType">
<constraint constraintValue="${channelType;DNB}" constraintType="EQUALS"/>
</mapping>
<mapping key="parameter">
<constraint constraintValue="0.7Ref" constraintType="EQUALS"/>
</mapping>
<mapping key="region">
<constraint constraintValue="${region}" constraintType="EQUALS"/>
</mapping>
<mapping key="pluginName">
<constraint constraintValue="viirs" constraintType="EQUALS"/>
</mapping>
</metadataMap>
</resourceData>
</resource>
</descriptor>
</displays>
</displayList>
</bundle>

View file

@ -59,10 +59,14 @@
menuText="Moderate Band 16 (12.013u)" id="Mod12.013">
<substitute key="parameter" value="12.013BT"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/npp/viirs/viirsImagery.xml"
<contribute xsi:type="bundleItem" file="bundles/npp/viirs/viirsDayNightBandImagery.xml"
menuText="Day/Night Band (0.7u)" id="DNB0.7">
<substitute key="parameter" value="0.7Ref"/>
<substitute key="channelType" value="DNB"/>
</contribute>
<contribute xsi:type="bundleItem" file="bundles/npp/viirs/viirsDayNightBandImagery.xml"
menuText="Near Constant Contrast (0.7u)" id="NCC0.7">
<substitute key="channelType" value="NCC"/>
</contribute>
<!-- Uncomment to include sample 'True Color' RGB Composites -->
<!--

View file

@ -25,6 +25,18 @@
<region>Alaska</region>
</regionInfo>
<regionInfo id="TIPC">
<region>CONUS</region>
</regionInfo>
<regionInfo id="TIPI">
<region>Pacific</region>
</regionInfo>
<regionInfo id="TIPQ">
<region>Puerto Rico</region>
</regionInfo>
<!-- I1 -->
<channelInfo id="01">
<channelType>Imagery</channelType>
@ -66,6 +78,14 @@
<unit>K</unit>
<resolution>375.0</resolution>
</channelInfo>
<!-- NCC -->
<channelInfo id="10">
<channelType>NCC</channelType>
<wavelength>0.7</wavelength>
<channel>0</channel>
<resolution>750.0</resolution>
</channelInfo>
<!-- M6 -->
<channelInfo id="16">