OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
multilevel_processor.py File Reference

Go to the source code of this file.

Classes

class  ProcessorConfig
 
class  Sensor
 
class  Sensor_goci
 
class  Sensor_hawkeye
 
class  Sensor_meris
 
class  Sensor_modis
 
class  Sensor_seawifs
 
class  Sensor_viirs
 

Namespaces

 multilevel_processor
 

Functions

def get_obpg_data_file_object (file_specification)
 
def build_executable_path (prog_name)
 
def build_file_list_file (filename, file_list)
 
def build_l2gen_par_file (par_contents, input_file, geo_file, output_file)
 
def check_options (options)
 
def clean_files (delete_list)
 
def create_levels_list (rules_sets)
 
def create_help_message (rules_sets)
 
def do_processing (sensors_sets, par_file, cmd_line_ifile=None)
 
def execute_command (command)
 
def extract_par_section (par_contents, section)
 
def find_geo_file (inp_file)
 
def find_geo_file2 (inp_file, instrument, lvl)
 
def find_viirs_geo_file (proc, first_svm_file)
 
def get_batch_output_name (file_set, suffix)
 
def get_data_file_option (par_contents, opt_text)
 
def get_extract_params (proc)
 
def get_file_date (filename)
 
def get_file_handling_opts (par_contents)
 
def get_input_files (par_data)
 
def get_input_files_type_data (input_files_list)
 
def get_intermediate_processors (sensor, existing_procs, rules, lowest_source_level)
 
def get_intermediate_products (existing_prod_names, ruleset, lowest_source_level)
 
def get_l2_extension ()
 
def get_l3bin_extension ()
 
def get_lowest_source_level (source_files)
 
def get_options (par_data)
 
def get_output_name2 (inp_files, targ_prog, suite=None, oformt=None, res=None)
 
def get_output_name3 (input_name, input_files, suffix)
 
def get_par_file_contents (par_file, acceptable_single_keys)
 
def get_processors2 (sensor, par_contents, rules, lowest_source_level)
 
def exe_processor (proc, src_files, src_lvl)
 
def get_processors (src_files, input_files, par_contents, files_to_delete)
 
def get_required_programs (target_program, ruleset, lowest_source_level)
 
def get_source_geo_files (source_files, proc_src_types, proc_src_ndx)
 
def get_source_file_sets (proc_src_types, source_files, src_key, requires_all_sources)
 
def get_source_files (input_files)
 
def get_source_products_types (targt_prod, ruleset)
 
def get_traceback_message ()
 
def initialze_sensors ()
 
def log_and_exit (error_msg)
 
def main ()
 
def process_command_line (cl_parser)
 
def read_file_list_file (flf_name)
 
def run_batch_processor (processor, file_set)
 
def run_nonbatch_processor (processor)
 
def run_script (proc, script_name)
 
def start_logging (time_stamp)
 
def uniqify_list (orig_list)
 

Variables

bool DEBUG = False
 
 cfg_data = None
 
list FILE_USE_OPTS = ['deletefiles', 'overwrite', 'use_existing']
 
dictionary SUFFIXES
 
dictionary input_file_data = {}
 
 OCSSWROOT_DIR = os.environ['OCSSWROOT']