enpt.execution package
Submodules
enpt.execution.controller module
EnPT process controller module.
- class enpt.execution.controller.EnPT_Controller(config: EnPTConfig = None, **config_kwargs)[source]
Bases:
object
Class of EnPT process controller.
Initialize the Process Controller.
- Parameters:
config – an instance of the EnPTConfig class (overrides config_kwargs)
config_kwargs – configuration parameters to be passed to EnPTConfig class
- classmethod _cleanup(tempDir, warn_message)[source]
Clean up implicitly (not to be called directly).
- static _write_to_stdout_stderr()[source]
Write to STDOUT and STDERR to reveal Queue.name of these streams to enpt_enmapboxapp.
- extract_zip_archive(path_zipfile: str, subdir: str = '') str [source]
Extract the given EnMAP image zip archive and return the L1B image root directory path.
- Parameters:
path_zipfile – /path/to/zipfile.zip
subdir – subdirectory name to be created within temporary directory
- Returns:
/tmp/tmpk2qp0yri/rootdir/
- read_L1B_data() None [source]
Read the provider L1B data given in config and return an EnMAP image object.
Module contents
EnPT module ‘execution’, containing everything related to the execution and controlling of the processing chain.