OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
mlp.name_finder_utils Namespace Reference

Functions

def convert_opts_to_dict (options)
 
def create_level_finder (finder_class, clopts, data_file_list, target_program)
 
def get_level_finder (data_file_list, target_program, clopts=None)
 

Detailed Description

Utility functions for the next_name_finder program and associated modules.

These functions were placed in a separate module to prevent "circular imports".
Take care making modifications.

Function Documentation

◆ convert_opts_to_dict()

def mlp.name_finder_utils.convert_opts_to_dict (   options)
Converts optparse options into a dictionary

Definition at line 15 of file name_finder_utils.py.

◆ create_level_finder()

def mlp.name_finder_utils.create_level_finder (   finder_class,
  clopts,
  data_file_list,
  target_program 
)
Instantiates an instance of finder_class and returns it.

Definition at line 28 of file name_finder_utils.py.

◆ get_level_finder()

def mlp.name_finder_utils.get_level_finder (   data_file_list,
  target_program,
  clopts = None 
)
Returns an appropriate level finder object for the data file passed in.

Definition at line 49 of file name_finder_utils.py.