OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
Inheritance diagram for Processor:
[legend]
Collaboration diagram for Processor:
[legend]

Public Member Functions

def __init__ (self, sensor, ruleset, program, par_data, out_dir)
 
def __cmp__ (self, other)
 
def __eq__ (self, other)
 
def __lt__ (self, other)
 
def __le__ (self, other)
 
def __ne__ (self, other)
 
def __gt__ (self, other)
 
def __ge__ (self, other)
 
def inputs_exist (self)
 
def __repr__ (self)
 
def __str__ (self)
 
def execute (self)
 
def requires_batch_processing (self)
 

Public Attributes

 input_file
 
 geo_file
 
 par_data
 
 sensor
 
 target_type
 
 ocssw_root
 
 ocssw_bin
 
 rule_set
 
 applicable_rules
 
 out_directory
 
 output_file
 
 required_types
 

Detailed Description

Processor contains the data and methods needed to create a single target.

Definition at line 13 of file processor.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  sensor,
  ruleset,
  program,
  par_data,
  out_dir 
)

Definition at line 19 of file processor.py.

Member Function Documentation

◆ __cmp__()

def __cmp__ (   self,
  other 
)
Custom comparator to determine which Processor should come before another.
This is based on the order in which they should be processed.

Definition at line 45 of file processor.py.

◆ __eq__()

def __eq__ (   self,
  other 
)

Definition at line 66 of file processor.py.

◆ __ge__()

def __ge__ (   self,
  other 
)

Definition at line 81 of file processor.py.

◆ __gt__()

def __gt__ (   self,
  other 
)

Definition at line 78 of file processor.py.

◆ __le__()

def __le__ (   self,
  other 
)

Definition at line 72 of file processor.py.

◆ __lt__()

def __lt__ (   self,
  other 
)

Definition at line 69 of file processor.py.

◆ __ne__()

def __ne__ (   self,
  other 
)

Definition at line 75 of file processor.py.

◆ __repr__()

def __repr__ (   self)

Definition at line 112 of file processor.py.

◆ __str__()

def __str__ (   self)

Definition at line 115 of file processor.py.

◆ execute()

def execute (   self)
Call the function to run the command for this Processor.

Definition at line 118 of file processor.py.

◆ inputs_exist()

def inputs_exist (   self)
Return True if the inputs needed for the target output exist,
otherwise return False.

Definition at line 102 of file processor.py.

◆ requires_batch_processing()

def requires_batch_processing (   self)

Definition at line 125 of file processor.py.

Member Data Documentation

◆ applicable_rules

applicable_rules

Definition at line 29 of file processor.py.

◆ geo_file

geo_file

Definition at line 22 of file processor.py.

◆ input_file

input_file

Definition at line 21 of file processor.py.

◆ ocssw_bin

ocssw_bin

Definition at line 27 of file processor.py.

◆ ocssw_root

ocssw_root

Definition at line 26 of file processor.py.

◆ out_directory

out_directory

Definition at line 31 of file processor.py.

◆ output_file

output_file

Definition at line 35 of file processor.py.

◆ par_data

par_data

Definition at line 23 of file processor.py.

◆ required_types

required_types

Definition at line 43 of file processor.py.

◆ rule_set

rule_set

Definition at line 28 of file processor.py.

◆ sensor

sensor

Definition at line 24 of file processor.py.

◆ target_type

target_type

Definition at line 25 of file processor.py.


The documentation for this class was generated from the following file:
  • /gfs-oceanweb/web/ocssw/ocssw_src/src/scripts/mlp/processor.py