#!/usr/bin/env python # encoding: utf-8 """ Glance config file to compare sfc emissivity output from Geocat to output from FWAIT Created by Graeme Martin 20110129 Copyright (c) 2011 University of Wisconsin SSEC. All rights reserved. """ import glance.filters as filters # general settings to control how reports are created settings = {} settings['useThreadsToControlMemory'] = True settings['shouldIncludeImages'] = True settings['useSharedRangeForOriginal'] = True settings['doFork'] = False # info on the latitude and longitude variables that will be used lat_lon_info = {} lat_lon_info['longitude'] = 'sounding_land_emiss_Lon_reduced' lat_lon_info['latitude'] = 'sounding_land_emiss_Lat_reduced' lat_lon_info['longitude_alt_name_in_b'] = 'sounding_land_emiss_msg_Lon_reduced' lat_lon_info['latitude_alt_name_in_b'] = 'sounding_land_emiss_msg_Lat_reduced' lat_lon_info['lon_lat_epsilon'] = 0.0001 # per variable defaults defaultValues = { 'epsilon': None, 'epsilon_failure_tolerance': None, 'nonfinite_data_tolerance': None, # 'missing_value_alt_in_b': -999.0 } # a list of all the variables to analyze # setOfVariables = {} setOfVariables['channel 11 emissivity'] = { # this entry should correspond to the name in the data file 'variable_name': 'sounding_land_emiss_Emiss_ch11', 'alternate_name_in_B': 'sounding_land_emiss_msg_Emiss_ch11' } setOfVariables['channel 14 emissivity'] = { # this entry should correspond to the name in the data file 'variable_name': 'sounding_land_emiss_Emiss_ch14', 'alternate_name_in_B': 'sounding_land_emiss_msg_Emiss_ch14' } setOfVariables['channel 15 emissivity'] = { # this entry should correspond to the name in the data file 'variable_name': 'sounding_land_emiss_Emiss_ch15', 'alternate_name_in_B': 'sounding_land_emiss_msg_Emiss_ch15' } setOfVariables['land surface temperature'] = { # this entry should correspond to the name in the data file 'variable_name': 'sounding_land_emiss_Lst_time3', 'alternate_name_in_B': 'sounding_land_emiss_msg_Lst_time3' } setOfVariables['reduced resolution longitude'] = { # this entry should correspond to the name in the data file 'variable_name': 'sounding_land_emiss_Lon_reduced', 'alternate_name_in_B': 'sounding_land_emiss_msg_Lon_reduced' } setOfVariables['reduced resolution latitude'] = { # this entry should correspond to the name in the data file 'variable_name': 'sounding_land_emiss_Lat_reduced', 'alternate_name_in_B': 'sounding_land_emiss_msg_Lat_reduced' }