s1tiling.libs.steps.ExecutableStep
- class s1tiling.libs.steps.ExecutableStep(exename: str, *argv, **kwargs)[source]
Bases:
_ProducerStep
Generic step for calling any external application.
Implicitly created by
ExecutableStepFactory
.New methods & Specialized methods
__init__
Constructor.
Takes care of executing the external program.
Methods inherited from parent
Actually produce the expected output.
Makes sure that steps with applications are releasing the application (no-op for this class)
Attributes and properties
Basename property will be used to generate all future output filenames.
Tells whether this step is the first of a pipeline.
Step meta data property.
Property that returns the name of the file produced by the current step.
Generate a name for the associated pipeline
No OTB related step requires its result to be stored on disk and to break in_memory connection by default.
Property that returns the name of the file produced by the current step while the OTB application, or the executable, or even the gdal function is running.
- execute_and_write_output(parameters, execution_parameters: Dict) None
Actually produce the expected output. The how is still a variation point that’ll get decided in
_do_execute()
specializations.While the output is produced, a temporary filename will be used as output. On successful execution, the output will be renamed to match its expected final name.
- property out_filename: str
Property that returns the name of the file produced by the current step.
- property pipeline_name
Generate a name for the associated pipeline
- release_app() None
Makes sure that steps with applications are releasing the application (no-op for this class)