Skip to content

rs_workflows/on_demand/sentinel3/s3_l0.md

<< Back to index

sentinel 3 Level-0 processing.

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

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

A product.<product type>.generated event is emitted for each generated product. When the workflow is systematic (force_systematic, set by the automation that starts process-l0 after the staging of the session), it starts the next processing of the chain, e.g. the OLCI Level-1 processing of the S03OLCL0_ products.

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.

False
verbose bool

not used yet.

False
Source code in docs/rs-client-libraries/rs_workflows/on_demand/sentinel3/s3_l0.py
@flow(
    name="process-s3-l0",
    flow_run_name="s3-l0-{session}",
    persist_result=True,
    result_storage=S3_L0_RESULT_STORAGE,
)
async def process_s3l0(
    session: str,
    env_args: FlowEnvArgs,
    force_systematic: bool = False,
    verbose: bool = False,
) -> list[dict[str, Any]] | None:
    """
    Sentinel-3 L0 processing, with the settings of the `s3l0-default-setting` Prefect variable.
    The session should have been staged before.

    A `product.<product type>.generated` event is emitted for each generated product. When the workflow is
    systematic (`force_systematic`, set by the automation that starts `process-l0` after the staging of the session),
    it starts the next processing of the chain, e.g. the OLCI Level-1 processing of the S03OLCL0_ products.

    Args:
        session: Identifier of the session.
        env_args: Flow environment arguments.
        force_systematic: Run the processing as a systematic one.
        verbose: not used yet.
    """
    return await process_staged_session("3", session, env_args, force_systematic, verbose)