Skip to content

rs_workflows/on_demand/sentinel1/s1_l0.md

<< Back to index

sentinel 1 Level-0 processing.

process_s1l0(session, env_args, force_systematic=False, verbose=False) async

Sentinel-1 L0 processing, with the settings of the s1l0-default-setting Prefect variable. The session should have been staged before.

A product.<product type>.generated event is emitted for each generated product, related to the workflow of the processing: systematic with force_systematic, set by the automation that starts process-l0 after the staging of the session.

Parameters:

Name Type Description Default
session str

Identifier of the session.

required
env_args FlowEnvArgs

Flow environment arguments.

required
force_systematic bool

Run the processing as a systematic one, so that the automations start the next processing of the chain from the events of the generated products.

False
verbose bool

not used yet.

False
Source code in docs/rs-client-libraries/rs_workflows/on_demand/sentinel1/s1_l0.py
@flow(name="process-s1-l0", flow_run_name="s1-l0-{session}")
async def process_s1l0(
    session: str,
    env_args: FlowEnvArgs,
    force_systematic: bool = False,
    verbose: bool = False,
) -> list[dict[str, Any]] | None:
    """
    Sentinel-1 L0 processing, with the settings of the `s1l0-default-setting` Prefect variable.
    The session should have been staged before.

    A `product.<product type>.generated` event is emitted for each generated product, related to the workflow of
    the processing: systematic with `force_systematic`, set by the automation that starts `process-l0` after the
    staging of the session.

    Args:
        session: Identifier of the session.
        env_args: Flow environment arguments.
        force_systematic: Run the processing as a systematic one, so that the automations start the next processing
            of the chain from the events of the generated products.
        verbose: not used yet.
    """
    return await process_staged_session("1", session, env_args, force_systematic, verbose)