#!/usr/bin/env python # encoding: utf-8 """ This configuration describes the mapping between the vol ash product variable names in GEOCAT and the AIT Framework. This file makes use of the general mapping encoded in "geocatToFWAIT-CloudAndOzoneMap.py". Created by Eva Schiffer August 2009. Copyright (c) 2009 University of Wisconsin SSEC. All rights reserved. """ # we will be using the info in this file for most of our setup import geocatToFWAIT_CloudAndOzoneMap as GtoF settings = {} settings.update(GtoF.settings) lat_lon_info = {} # per variable defaults defaultValues = { 'do_plot_hex': False, # this default is for our variables, type variables # like cloud mask will have individual epsilons # definied in their entries below 'epsilon': 0.10, # we will accept up to 1% of difference between the files # before we start looking more carefully at the problem 'epsilon_failure_tolerance': 0.01, # we will not accept any non finite data difference between the files 'nonfinite_data_tolerance': 0.0, # we only need to see plots of the variable data if the # variable fails comparison 'only_plot_on_fail': True } # a list of all the variables to analyze setOfVariables = {} setOfVariables.update(GtoF.setOfVariables) # add OTTC data only setOfVariables['Overshoot_Couplet_Grid_BT_Diff'] = { 'variable_name': 'overshootcouplet_overshooting_couplet_grid_bt14_difference', 'missing_value': -999., 'alternate_name_in_B': 'Overshoot_Couplet_Grid_BT_Diff' } setOfVariables['Overshoot_Couplet_Grid_Flag'] = { 'variable_name': 'overshootcouplet_overshooting_couplet_grid_flag', 'missing_value': -999., 'alternate_name_in_B': 'Overshoot_Couplet_Grid_Flag' } setOfVariables['Overshoot_Couplet_Grid_Matching_ID'] = { 'variable_name': 'overshootcouplet_overshooting_couplet_grid_matching_ID', 'missing_value': -999., 'alternate_name_in_B': 'Overshoot_Couplet_Grid_Matching_ID' } setOfVariables['Overshoot_Grid_BT'] = { 'variable_name': 'overshootcouplet_overshooting_top_grid_bt14', 'missing_value': -999., 'alternate_name_in_B': 'Overshoot_Grid_BT' } setOfVariables['Overshoot_Grid_Flag'] = { 'variable_name': 'overshootcouplet_overshooting_top_grid_flag', 'missing_value': -999., 'alternate_name_in_B': 'Overshoot_Grid_Flag' } setOfVariables['Overshoot_Grid_ID_Num'] = { 'variable_name': 'overshootcouplet_overshooting_top_grid_ID_number', 'missing_value': -999., 'alternate_name_in_B': 'Overshoot_Grid_ID_Num' } setOfVariables['Overshoot_Grid_Magnitude'] = { 'variable_name': 'overshootcouplet_overshooting_top_grid_magnitude', 'missing_value': -999., 'alternate_name_in_B': 'Overshoot_Grid_Magnitude' } setOfVariables['Overshoot_Grid_Num_Anvil_Pix'] = { 'variable_name': 'overshootcouplet_overshooting_top_grid_number_of_anvil_pixels', 'missing_value': -999., 'alternate_name_in_B': 'Overshoot_Grid_Num_Anvil_Pix' } setOfVariables['Overshoot_QA_Flag'] = { 'variable_name': 'overshootcouplet_overshooting_top_qa_flag', 'missing_value': -999., 'alternate_name_in_B': 'Overshoot_QA_Flag' } setOfVariables['Overshoot_Couplet_QA_Flag'] = { 'variable_name': 'overshootcouplet_overshooting_couplet_qa_flag', 'missing_value': -999., 'alternate_name_in_B': 'Overshoot_Couplet_QA_Flag' }