rs_workflows/prip_flow.md¶
Prip flow implementation
on_demand_prip_staging(env, start_datetime, end_datetime, product_type, prip_collection, catalog_collection_identifier, retry_config=RetryConfig())
async
¶
Flow to retrieve Prip files with the given time interval defined by start_datetime and end_datetime, select only the type of files wanted, stage the files and add STAC items into the catalog.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
env
|
FlowEnvArgs
|
Prefect flow environment |
required |
start_datetime
|
datetime | str
|
Start datetime for the time interval used to filter the files (date or timestamp, e.g. "2025-08-07T11:51:12.509000Z") |
required |
end_datetime
|
datetime | str
|
End datetime for the time interval used to filter the files (date or timestamp, e.g. "2025-08-10T14:00:00.509000Z") |
required |
product_type
|
str
|
Prip product type wanted |
required |
prip_collection
|
str
|
PRIP collection identifier (station) |
required |
catalog_collection_identifier
|
str
|
Catalog collection identifier where PRIP data are staged |
required |
Source code in docs/rs-client-libraries/rs_workflows/prip_flow.py
search(env, prip_cql2, prip_collection='', error_if_empty=False)
async
¶
Search Prip products.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
env
|
FlowEnvArgs
|
Prefect flow environment (at least the owner_id is required) |
required |
prip_cql2
|
dict
|
PRIP CQL2 filter. |
required |
prip_collection
|
str
|
PRIP ollection identifier (to know the station) |
''
|
error_if_empty
|
bool
|
Raise a ValueError if the results are empty. |
False
|