rs_workflows/cadip_flow.md¶
Cadip flow implementation
on_demand_cadip_staging(env, cadip_collection_identifier, session_identifier, catalog_collection_identifier, staging_retries=3, staging_retry_delay=60)
async
¶
Flow to retrieve a session, stage it and add the STAC item into the catalog.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
env
|
FlowEnvArgs
|
Prefect flow environment |
required |
cadip_collection_identifier
|
str
|
CADIP collection identifier that contains the mission and station (e.g. s1_ins for Sentinel-1 sessions from the Inuvik station) |
required |
session_identifier
|
str
|
Session identifier |
required |
catalog_collection_identifier
|
str
|
Catalog collection identifier where CADIP sessions and AUX data are staged |
required |
Source code in docs/rs-client-libraries/rs_workflows/cadip_flow.py
search(env, cadip_collection_identifier, session_identifier, error_if_empty=False)
async
¶
Search Cadip sessions.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
env
|
FlowEnvArgs
|
Prefect flow environment (at least the owner_id is required) |
required |
cadip_collection_identifier
|
str
|
CADIP collection identifier (to know the station) |
required |
session_identifier
|
str
|
Session identifier |
required |
error_if_empty
|
bool
|
Raise a ValueError if the results are empty. |
False
|