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).

_print_received_configuration()[source]
static _write_to_stdout_stderr()[source]

Write to STDOUT and STDERR to reveal Queue.name of these streams to enpt_enmapboxapp.

cleanup()[source]

Clean up (to be called directly).

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.

run_all_processors()[source]

Run all processors at once.

run_atmospheric_correction()[source]

Run atmospheric correction only.

run_dem_processor()[source]
run_orthorectification()[source]

Run orthorectification to transform L1 sensor geometry image to L2 map geometry.

run_spatial_optimization()[source]
run_toaRad2toaRef()[source]

Run conversion from TOA radiance to TOA reflectance.

write_output()[source]

Module contents

EnPT module ‘execution’, containing everything related to the execution and controlling of the processing chain.