#!/usr/bin/env python # encoding: utf-8 """ For comparing with reproducibility requirments and data run on different systems. Created by Eva Schiffer Sept 2010. Copyright (c) 2010 University of Wisconsin SSEC. All rights reserved. """ # various general settings to control how reports are created settings = {} settings['shouldIncludeImages'] = True settings['useThreadsToControlMemory'] = True settings['doFork'] = False settings['useSharedRangeForOriginal'] = True # the names of the latitude and longitude variables that will be used lat_lon_info = {} #lat_lon_info['longitude'] = 'Longitude' #lat_lon_info ['latitude'] = 'Latitude' # how similar the longitude and latitude must be to be considered matching lat_lon_info['lon_lat_epsilon'] = 0.01 # per variable defaults defaultValues = { 'epsilon': None, 'epsilon_percent': 0.15, # 0.15% of file A value 'minimum_acceptable_squared_correlation_coefficient': 0.9995, 'epsilon_failure_tolerance': 0.01, # 1% can fail 'nonfinite_data_tolerance': 0.01, # 1% can fail 'total_data_failure_tolerance': 0.01, # 1% total can fail } # a list of all the variables to analyze setOfVariables = {} setOfVariables['Longitude'] = { 'variable_name': 'pixel_longitude' } setOfVariables['Latitude'] = { 'variable_name': 'pixel_latitude' } setOfVariables['Ecosystem Type'] = { 'variable_name': 'pixel_ecosystem_type', 'epsilon': 0.0, 'epsilon_percent': None } setOfVariables['Pixel Surface Type'] = { 'variable_name': 'pixel_surface_type', 'epsilon': 0.0, 'epsilon_percent': None } setOfVariables['Cloud Mask'] = { 'variable_name': 'baseline_cmask_seviri_cloud_mask', 'epsilon': 0.0, 'epsilon_percent': None } setOfVariables['Cloud Type'] = { 'variable_name': 'baseline_ctype_seviri_cloud_type', 'epsilon': 0.0, 'epsilon_percent': None } setOfVariables['Cloud Phase'] = { 'variable_name': 'baseline_ctype_seviri_cloud_phase', 'epsilon': 0.0, 'epsilon_percent': None } setOfVariables['Liquid Water Path, Day'] = { 'variable_name': 'baseline_seviri_day_cloud_liquid_water_path' } setOfVariables['Ice Path, Day'] = { 'variable_name': 'baseline_seviri_day_cloud_ice_water_path' } setOfVariables['Particle Effective Radius, Day'] = { 'variable_name': 'baseline_seviri_day_cloud_particle_effective_radius' } setOfVariables['Optical Depth Visibility, Day'] = { 'variable_name': 'baseline_seviri_day_cloud_optical_depth_vis' } setOfVariables['Cloud Top Height'] = { 'variable_name': 'baseline_cld_hght_seviri_cloud_top_height' } setOfVariables['Cloud Top Temperature'] = { 'variable_name': 'baseline_cld_hght_seviri_cloud_top_temperature' } setOfVariables['Cloud Top Pressure'] = { 'variable_name': 'baseline_cld_hght_seviri_cloud_top_pressure' } setOfVariables['Liquid Water Path, Night'] = { 'variable_name': 'night_optprop_cloud_liquid_water_path' } setOfVariables['Ice Water Path, Night'] = { 'variable_name': 'night_optprop_cloud_ice_water_path' } setOfVariables['Optical Depth Visibility, Night'] = { 'variable_name': 'night_optprop_cloud_optical_depth_vis' } setOfVariables['Particle Effective Radius, Night'] = { 'variable_name': 'night_optprop_cloud_particle_effective_radius' }