OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
get_output_name Namespace Reference

Functions

def get_multifile_next_level_name (data_files_list_info, target_program, clopts)
 
def get_multifile_output_name (data_files_list_info, target_program, clopts)
 
def get_command_line_data ()
 
def get_data_files_info (file_list_file)
 
def myfunc (n)
 
def handle_unexpected_exception (exc_info)
 
def main ()
 

Variables

dictionary FILE_TYPES_CONVERTER
 
bool DEBUG = False
 
 PROCESSABLE_PROGRAMS = \
 

Detailed Description

Program to return the name of the next level file that would be created from
the input file name.

Function Documentation

◆ get_command_line_data()

def get_output_name.get_command_line_data ( )
Returns the options and arguments from a command line call.

Definition at line 140 of file get_output_name.py.

◆ get_data_files_info()

def get_output_name.get_data_files_info (   file_list_file)
Returns a list of of data files.

Definition at line 174 of file get_output_name.py.

◆ get_multifile_next_level_name()

def get_output_name.get_multifile_next_level_name (   data_files_list_info,
  target_program,
  clopts 
)
Return the next level name for a set of files.

Definition at line 87 of file get_output_name.py.

◆ get_multifile_output_name()

def get_output_name.get_multifile_output_name (   data_files_list_info,
  target_program,
  clopts 
)
Returns the file name derived from a group of files names.

Definition at line 100 of file get_output_name.py.

◆ handle_unexpected_exception()

def get_output_name.handle_unexpected_exception (   exc_info)
Builds and prints an error message from the exception information,
then exits.

Definition at line 205 of file get_output_name.py.

◆ main()

def get_output_name.main ( )
Main function for when this module is called as a program.

Definition at line 218 of file get_output_name.py.

◆ myfunc()

def get_output_name.myfunc (   n)

Definition at line 202 of file get_output_name.py.

Variable Documentation

◆ DEBUG

bool DEBUG = False

Definition at line 273 of file get_output_name.py.

◆ FILE_TYPES_CONVERTER

dictionary FILE_TYPES_CONVERTER
Initial value:
1 = {'Level 0': 'Level 0',
2  'Level 1A': 'Level 1A',
3  'l1agen' : 'Level 1A',
4  'Level 1B': 'Level 1B',
5  'Level 2': 'Level 2',
6  'L3bin': 'L3bin',
7  'Level 3 Binned': 'L3bin'}

Definition at line 32 of file get_output_name.py.

◆ PROCESSABLE_PROGRAMS

PROCESSABLE_PROGRAMS = \

Definition at line 275 of file get_output_name.py.