|
ocssw
V2022
|
Functions | |
| def | build_executable_path (prog_name) |
| def | execute_command (command, dieOnError=False) |
| def | run_clo_program (platform, program) |
| def | run_positional_program (platform, program) |
| def | run_verify (platform, tolerance=None) |
Variables | |
| logger = logging.getLogger('viirs_l1_benchmark') | |
| dictionary | workingDir |
| parser = argparse.ArgumentParser(formatter_class=argparse.RawTextHelpFormatter, description=, add_help=True) | |
| type | |
| str | |
| help | |
| choices | |
| default | |
| action | |
| float | |
| None | |
| args = parser.parse_args() | |
| list | sanitize = ['packageroot','logfile','artifacts'] |
| value = getattr(args,arg) | |
| artifacts = json.load(f) | |
| list | levels = [logging.ERROR, logging.WARN, logging.INFO, logging.DEBUG] |
| filename | |
| format | |
| level | |
| rootvar = None | |
| packageroot = Path(rootvar) | |
| string | errormsg = "package root variable does not exist or is not a directory path!" |
| list | missions = ['SNPP','NOAA20'] |
| cwd = os.getcwd() | |
Function Documentation
◆ build_executable_path()
| def viirs_l1_benchmark.build_executable_path | ( | prog_name | ) |
Returns the path to the program named in prog_name. None is returned if the program is not found.
Definition at line 21 of file viirs_l1_benchmark.py.
◆ execute_command()
| def viirs_l1_benchmark.execute_command | ( | command, | |
dieOnError = False |
|||
| ) |
Execute a process on the system
Definition at line 38 of file viirs_l1_benchmark.py.
◆ run_clo_program()
| def viirs_l1_benchmark.run_clo_program | ( | platform, | |
| program | |||
| ) |
Set up and run a program that accepts keyword=value command line arguemnts ala CLO
Definition at line 61 of file viirs_l1_benchmark.py.
◆ run_positional_program()
| def viirs_l1_benchmark.run_positional_program | ( | platform, | |
| program | |||
| ) |
Set up and run a program that accepts positional command line arguemnts
Definition at line 74 of file viirs_l1_benchmark.py.
◆ run_verify()
| def viirs_l1_benchmark.run_verify | ( | platform, | |
tolerance = None |
|||
| ) |
Verify the generated products against a standard set
Definition at line 85 of file viirs_l1_benchmark.py.
Variable Documentation
◆ action
| action |
Definition at line 129 of file viirs_l1_benchmark.py.
◆ args
| args = parser.parse_args() |
Definition at line 137 of file viirs_l1_benchmark.py.
◆ artifacts
Definition at line 147 of file viirs_l1_benchmark.py.
◆ choices
| choices |
Definition at line 124 of file viirs_l1_benchmark.py.
◆ cwd
| cwd = os.getcwd() |
Definition at line 178 of file viirs_l1_benchmark.py.
◆ default
| default |
Definition at line 124 of file viirs_l1_benchmark.py.
◆ errormsg
Definition at line 166 of file viirs_l1_benchmark.py.
◆ filename
| filename |
Definition at line 151 of file viirs_l1_benchmark.py.
◆ float
| float |
Definition at line 131 of file viirs_l1_benchmark.py.
◆ format
| format |
Definition at line 152 of file viirs_l1_benchmark.py.
◆ help
| help |
Definition at line 123 of file viirs_l1_benchmark.py.
◆ level
| level |
Definition at line 153 of file viirs_l1_benchmark.py.
◆ levels
| list levels = [logging.ERROR, logging.WARN, logging.INFO, logging.DEBUG] |
Definition at line 150 of file viirs_l1_benchmark.py.
◆ logger
| logger = logging.getLogger('viirs_l1_benchmark') |
Definition at line 12 of file viirs_l1_benchmark.py.
◆ missions
| list missions = ['SNPP','NOAA20'] |
Definition at line 174 of file viirs_l1_benchmark.py.
◆ None
| None |
Definition at line 131 of file viirs_l1_benchmark.py.
◆ packageroot
| packageroot = Path(rootvar) |
Definition at line 164 of file viirs_l1_benchmark.py.
◆ parser
| parser = argparse.ArgumentParser(formatter_class=argparse.RawTextHelpFormatter, description=, add_help=True) |
Definition at line 114 of file viirs_l1_benchmark.py.
◆ rootvar
| rootvar = None |
Definition at line 156 of file viirs_l1_benchmark.py.
◆ sanitize
| list sanitize = ['packageroot','logfile','artifacts'] |
Definition at line 139 of file viirs_l1_benchmark.py.
◆ str
Definition at line 123 of file viirs_l1_benchmark.py.
◆ type
| type |
Definition at line 123 of file viirs_l1_benchmark.py.
◆ value
| value = getattr(args,arg) |
Definition at line 142 of file viirs_l1_benchmark.py.
◆ workingDir
| dictionary workingDir |
Definition at line 13 of file viirs_l1_benchmark.py.


