rs_workflows/auxip_flow.md
Auxip flow implementation
auxip_staging(env, cql2_filter, catalog_collection_identifier, timeout_seconds=-1)
async
Generic flow to retrieve a list of items matching the STAC CQL2 filter given, and to stage the ones that are not already in the catalog.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
env
|
FlowEnvArgs
|
Prefect flow environment |
required |
stac_query
|
dict
|
CQL2 filter to select which files to stage |
required |
catalog_collection_identifier
|
str
|
Catalog collection identifier where CADIP sessions and AUX data are staged |
required |
timeout_seconds
|
int
|
Timeout value for the Auxip search task. Optional, if no value is given the process will run until it is completed |
-1
|
Returns:
| Name | Type | Description |
|---|---|---|
bool |
bool
|
Return status: False if staging failed, True otherwise |
ItemCollection |
ItemCollection | None
|
List of catalog Items staged from Auxip station |
Source code in docs/rs-client-libraries/rs_workflows/auxip_flow.py
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 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 | |
auxip_staging_task(*args, **kwargs)
async
See: auxip_staging
Source code in docs/rs-client-libraries/rs_workflows/auxip_flow.py
209 210 211 212 | |
on_demand_auxip_staging(env, start_datetime, end_datetime, product_type, catalog_collection_identifier)
async
Flow to retrieve Auxip files using a ValCover filter with the given time interval defined by start_datetime and end_datetime, select only the type of files wanted if eopf_type is given, stage the files and add STAC items into the catalog. Informations on ValCover filter: https://pforge-exchange2.astrium.eads.net/confluence/display/COPRS/4.+External+data+selection+policies
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 (select a date or directly enter a 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 (select a date or directly enter a timestamp, e.g. "2025-08-10T14:00:00.509000Z") |
required |
product_type
|
str
|
Auxiliary file type wanted |
required |
catalog_collection_identifier
|
str
|
Catalog collection identifier where CADIP sessions and AUX data are staged |
required |
Returns:
| Name | Type | Description |
|---|---|---|
bool |
bool
|
Return status: False if staging failed, True otherwise |
ItemCollection |
ItemCollection | None
|
List of Items retrieved from the Auxip search and staged to the catalog |
Source code in docs/rs-client-libraries/rs_workflows/auxip_flow.py
159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 | |
search(env, auxip_cql2, error_if_empty=False)
async
Search Auxip products.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
env
|
FlowEnvArgs
|
Prefect flow environment (at least the owner_id is required) |
required |
auxip_cql2
|
dict
|
Auxip CQL2 filter read from the processor tasktable. |
required |
error_if_empty
|
bool
|
Raise a ValueError if the results are empty. |
False
|
Source code in docs/rs-client-libraries/rs_workflows/auxip_flow.py
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 63 64 65 66 67 68 | |
search_task(*args, **kwargs)
async
See: search
Source code in docs/rs-client-libraries/rs_workflows/auxip_flow.py
203 204 205 206 | |