#!/usr/bin/env python # encoding: utf-8 """ Glance config file for Geocat L2 sounding output. Variable names are MSG-specific. For ABI, replace 'msg' with '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_msg_Lon_reduced' lat_lon_info ['latitude'] = 'imager_prof_retr_msg_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 = {} # 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['retrieval quality flag'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_msg_Quality_Flag_Rtvl' } setOfVariables['bt11 quality flag'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_msg_Quality_Flag_BT11' } setOfVariables['number of iterations'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_msg_Num_Iter' } setOfVariables['rmse bt next'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_msg_RMSE_BT_Next' } setOfVariables['number of clear pixels'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_msg_Num_Clr_Pix' } setOfVariables['msg temperature profile'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_msg_Tprof' } setOfVariables['msg water profile'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_msg_Wprof' } # can't filter any of the sounding output because the res is reduced! setOfVariables['msg land surface temperature'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_msg_Lst' } setOfVariables['msg lifted index'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_msg_LI' } setOfVariables['msg cape'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_msg_CAPE' } setOfVariables['msg total totals index'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_msg_TT' } setOfVariables['msg k index'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_msg_KI' } setOfVariables['msg showalter index'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_msg_SI' } setOfVariables['msg total precipitable water'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_msg_TPW' } setOfVariables['msg total precipitable water high'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_msg_TPW_High' } setOfVariables['msg total precipitable water mid'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_msg_TPW_Mid' } setOfVariables['msg total precipitable water low'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_msg_TPW_Low' } setOfVariables['reduced resolution longitude'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_msg_Lon_reduced' } setOfVariables['reduced resolution latitude'] = { # this entry should correspond to the name in the data file 'variable_name': 'imager_prof_retr_msg_Lat_reduced' }