awips2/cave/com.raytheon.viz.gfe/help/EXAMPLEimageColorTable.py
2022-05-05 12:34:50 -05:00

45 lines
1.3 KiB
Python

##
# 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.
##
# Example ifpIMAGE configuration file.
# Must always import from gfeConfig (or your site configuration)
from gfeConfig import *
import gfeConfig
# Defines the T as the weather element to display
Png_parms = ['T_SFC:_Official -1']
# Defines the T should be the image
Png_image = 'T'
# Want to use the Gridded Data color table
T_defaultColorTable = 'Gridded Data'
# Want to change the mapping from 0 to 50 degrees
T_maxColorTableValue = 50.0
T_minColorTableValue = 0.0
# It doesn't make sense, but we will use a logrithmetic factor
# instead of linear for temperature
T_LogFactor = 0.01