s1tiling.libs.steps.FirstStep

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

Bases: AbstractStep

First Step:

  • no application executed

    New methods & Specialized methods

    __init__

    Constructor.

    __repr__

    Return repr(self).

    __str__

    Return str(self).

    Methods inherited from parent

    release_app

    Makes sure that steps with applications are releasing the application (no-op for this class)

    Attributes and properties

    basename

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

    input_metas

    Specific to MergeStep and FirstStep: returns the metas from the inputs as a list.

    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.

    shall_store

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

property basename: str

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

property input_metas: List[Dict]

Specific to MergeStep and FirstStep: returns the metas from the inputs as a list.

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.

release_app() None

Makes sure that steps with applications are releasing the application (no-op for this class)

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.