s1tiling.libs.steps.Step

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

Bases: _OTBStep

Internal specialized Step that holds a binding to an OTB Application.

The application binding is expected to be built by a dedicated StepFactory and passed to the constructor.

New methods & Specialized methods

__del__

Makes sure the otb app is released

Methods inherited from parent

__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

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.