#!/usr/bin/env python # encoding: utf-8 """ Glance config file for Geocat L2 sounding output (ABI) Created by Graeme Martin 20100223. Copyright (c) 2010 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'] = 'imager_prof_retr_abi_Lon_reduced' lat_lon_info ['latitude'] = 'imager_prof_retr_abi_Lat_reduced' lat_lon_info['lon_lat_epsilon'] = 0.0001 #satzenFilter = (lambda data, filterData: filters.filter_based_on_additional_data_set_min_max_bounds(data, filterData, missingValue=-32768, minOkFilterValue=-100, maxOkFilterValue=70)) # per variable defaults defaultValues = { 'epsilon': None, 'epsilon_failure_tolerance': None, 'nonfinite_data_tolerance': None } # a list of all the variables to analyze # setOfVariables = {} """ setOfVariables['seviri cloud mask'] = { # this entry should correspond to the name in the data file 'variable_name': 'baseline_cmask_seviri_cloud_mask', } """ setOfVariables['overall quality flag'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_abi_Quality_Flag' } setOfVariables['retrieval quality flag'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_abi_Quality_Flag_Rtvl' } setOfVariables['bt11 quality flag'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_abi_Quality_Flag_BT11' } setOfVariables['number of iterations'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_abi_Num_Iteration' } setOfVariables['rmse bt next'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_abi_RMSE_BrtTemp_Next' } setOfVariables['number of clear pixels'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_abi_Num_Clr_Pix' } setOfVariables['quality information'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_abi_Quality_Information' } setOfVariables['abi temperature profile'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_abi_Tprof' } setOfVariables['abi water profile'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_abi_Wprof' } # can't filter any of the sounding output because the res is reduced! setOfVariables['abi land surface temperature'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_abi_Lst' } setOfVariables['abi lifted index'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_abi_LI' } setOfVariables['abi cape'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_abi_CAPE' } setOfVariables['abi total totals index'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_abi_TT' } setOfVariables['abi k index'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_abi_KI' } setOfVariables['abi showalter index'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_abi_SI' } setOfVariables['abi total precipitable water'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_abi_TPW' } setOfVariables['abi total precipitable water high'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_abi_TPW_High' } setOfVariables['abi total precipitable water mid'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_abi_TPW_Mid' } setOfVariables['abi total precipitable water low'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_abi_TPW_Low' } setOfVariables['reduced resolution longitude'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_abi_Lon_reduced' } setOfVariables['reduced resolution latitude'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_abi_Lat_reduced' }