s1tiling.libs.steps._OTBStep

class s1tiling.libs.steps._OTBStep(app, *argv, **kwargs)[source]

Bases: AbstractStep

Step that have a reference to an OTB application. It could be an actual Step holding an OTB application, or a SkippedStep that forwards the OTB application from its previous step in the pipeline.

Note: Both child classes are virtually the same. Yet, different types are used in order to really distinguish what is registered and executed.

New methods & Specialized methods

__init__

constructor

release_app

Makes sure that steps with applications are releasing the application!

Attributes and properties

app

OTB Application property.

basename

Basename property will be used to generate all future output filenames.

is_first_step

Tells whether this step is the first of a pipeline.

meta

Step meta data property.

out_filename

Property that returns the name of the file produced by the current step.

param_out

Name of the "out" parameter used by the OTB Application.

shall_store

No OTB related step requires its result to be stored on disk and to break in_memory connection by default.

property app

OTB Application property.

property basename: str

Basename property will be used to generate all future output filenames.

property is_first_step: bool

Tells whether this step is the first of a pipeline.

property meta: Dict

Step meta data property.

property out_filename: str

Property that returns the name of the file produced by the current step.

property param_out: str | None

Name of the “out” parameter used by the OTB Application. Default is likely to be “out”, while some applications use “io.out”.

release_app() None[source]

Makes sure that steps with applications are releasing the application!

property shall_store: bool

No OTB related step requires its result to be stored on disk and to break in_memory connection by default.

However, the artificial Step produced by Store factory will force the result of the previous application(s) to be stored on disk.