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
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | |
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
|
Source code in docs/rs-client-libraries/rs_workflows/prip_flow.py
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | |
search_task(*args, **kwargs)
async
See: search
Source code in docs/rs-client-libraries/rs_workflows/prip_flow.py
128 129 130 131 | |