Omaha #3090 - Added files missed from merging omaha_14.3.1 into omaha_14.4.1 (b6055725)
Former-commit-id:2ebf11a1ad
[formerly975bfdf386
] [formerly6d58f3944e
] [formerly2ebf11a1ad
[formerly975bfdf386
] [formerly6d58f3944e
] [formerlyfbc6c6c31b
[formerly6d58f3944e
[formerly 81aab5e7001eca87d4d8889ae96367eee433ee88]]]] Former-commit-id:fbc6c6c31b
Former-commit-id:ddf0128484
[formerly1abf5019f1
] [formerly 936b80481f070cf450636512b5f21ef49e152eb4 [formerlye53dfdfdca
]] Former-commit-id: 9acc80e3bc040b90876d4ffc60fa68f9cc36af74 [formerly22841c139e
] Former-commit-id:b4de28ee62
This commit is contained in:
parent
5383f77815
commit
7721c824ce
8 changed files with 243 additions and 0 deletions
|
@ -0,0 +1,26 @@
|
||||||
|
<?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.
|
||||||
|
-->
|
||||||
|
<DerivedParameter unit="GenericPixel" name="POES 11u-3.7u Satellite" abbreviation="poesDif11u3_7uIR" xmlns:ns2="group">
|
||||||
|
<Method name="Difference">
|
||||||
|
<Field abbreviation="Polar IR"/>
|
||||||
|
<Field abbreviation="Polar 3.7u"/>
|
||||||
|
</Method>
|
||||||
|
</DerivedParameter>
|
|
@ -0,0 +1,26 @@
|
||||||
|
<?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.
|
||||||
|
-->
|
||||||
|
<DerivedParameter unit="GenericPixel" name="11u-12u Satellite" abbreviation="satDif11u12uIR" xmlns:ns2="group">
|
||||||
|
<Method name="satDifference">
|
||||||
|
<Field abbreviation="Imager 11 micron IR" unit="IRPixel"/>
|
||||||
|
<Field abbreviation="Imager 12 micron IR" unit="IRPixel"/>
|
||||||
|
</Method>
|
||||||
|
</DerivedParameter>
|
|
@ -0,0 +1,26 @@
|
||||||
|
<?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.
|
||||||
|
-->
|
||||||
|
<DerivedParameter unit="GenericPixel" name="11u-13u Satellite" abbreviation="satDif11u13uIR" xmlns:ns2="group">
|
||||||
|
<Method name="satDifference">
|
||||||
|
<Field abbreviation="Imager 11 micron IR" unit="IRPixel"/>
|
||||||
|
<Field abbreviation="Imager 13 micron (IR)" unit="IRPixel"/>
|
||||||
|
</Method>
|
||||||
|
</DerivedParameter>
|
|
@ -0,0 +1,26 @@
|
||||||
|
<?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.
|
||||||
|
-->
|
||||||
|
<DerivedParameter unit="GenericPixel" name="11u-3.9u Satellite" abbreviation="satDif11u3_9uIR" xmlns:ns2="group">
|
||||||
|
<Method name="satDif11u3_9uIR">
|
||||||
|
<Field abbreviation="Imager 11 micron IR" unit="IRPixel"/>
|
||||||
|
<Field abbreviation="Imager 3.9 micron IR" unit="IRPixel"/>
|
||||||
|
</Method>
|
||||||
|
</DerivedParameter>
|
|
@ -0,0 +1,26 @@
|
||||||
|
<?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.
|
||||||
|
-->
|
||||||
|
<DerivedParameter unit="DerivedWV" name="IR in WV Satellite" abbreviation="satDivWVIR" xmlns:ns2="group">
|
||||||
|
<Method name="satDivWVIR">
|
||||||
|
<Field abbreviation="Imager 6.7-6.5 micron IR (WV)"/>
|
||||||
|
<Field abbreviation="Imager 11 micron IR" unit="IRPixel"/>
|
||||||
|
</Method>
|
||||||
|
</DerivedParameter>
|
|
@ -0,0 +1,28 @@
|
||||||
|
##
|
||||||
|
# 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.
|
||||||
|
##
|
||||||
|
from Difference import execute as Difference
|
||||||
|
from numpy import logical_and, where
|
||||||
|
|
||||||
|
# Calculate Satellite 11u-3.9u, basicall does difference with some fancy flagging
|
||||||
|
def execute(arg1, arg2):
|
||||||
|
# if both args are 0, the result will be -128 otherwise it is the Difference
|
||||||
|
# The idea is that the args treat 0 as NaN so we treat -128 as NaN
|
||||||
|
# Byte data and NaN don't mix any better than this.
|
||||||
|
return where(logical_and(arg1 == 0, arg2 == 0), -128, Difference(arg1, arg2))
|
|
@ -0,0 +1,40 @@
|
||||||
|
##
|
||||||
|
# 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.
|
||||||
|
##
|
||||||
|
|
||||||
|
# ----------------------------------------------------------------
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# ----------------------------------------------------------------
|
||||||
|
import numpy
|
||||||
|
|
||||||
|
##
|
||||||
|
# Calculate the difference between the 11u and 12u IR.
|
||||||
|
# This function accepts numpy arrays of the appropriate values.
|
||||||
|
#
|
||||||
|
# @param physicalElement1
|
||||||
|
# @param physicalElement2
|
||||||
|
# @return: The difference of the two sat imagers
|
||||||
|
# @rtype: numpy array or scalar
|
||||||
|
#
|
||||||
|
def execute(physicalElement1, physicalElement2):
|
||||||
|
|
||||||
|
result = physicalElement2 - physicalElement1
|
||||||
|
result = numpy.where(result < 0, physicalElement1 - physicalElement2, result)
|
||||||
|
return result
|
|
@ -0,0 +1,45 @@
|
||||||
|
##
|
||||||
|
# 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.
|
||||||
|
##
|
||||||
|
|
||||||
|
# ----------------------------------------------------------------
|
||||||
|
# Calculate the derived parameter WV/IR
|
||||||
|
#
|
||||||
|
# ----------------------------------------------------------------
|
||||||
|
import numpy
|
||||||
|
|
||||||
|
##
|
||||||
|
# Calculate the derived parameter WV/IR
|
||||||
|
# This function accepts numpy arrays of the appropriate values.
|
||||||
|
#
|
||||||
|
# @param Imager_6pp7hh6pp5_micron_IR_ooWVcc: Water Vapor
|
||||||
|
# @param Imager_11_micron_IR : Imager 11 micron IR
|
||||||
|
# @return:
|
||||||
|
# @rtype: numpy array or scalar
|
||||||
|
#
|
||||||
|
def execute(Imager_6pp7hh6pp5_micron_IR_ooWVcc, Imager_11_micron_IR):
|
||||||
|
|
||||||
|
uWV = Imager_6pp7hh6pp5_micron_IR_ooWVcc.astype(numpy.uint8)
|
||||||
|
WV = (uWV * 0.708).astype(numpy.uint8)
|
||||||
|
uIR = Imager_11_micron_IR.astype(numpy.uint8)
|
||||||
|
IR = numpy.where(uIR < 180, 0, uIR)
|
||||||
|
result = numpy.where(IR == 0, WV, IR)
|
||||||
|
return result.astype(numpy.int8)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue