rs_workflows/utils/dpr.md
Helper task to interact with the DPR as a service.
call_dpr_flow(env, input_products, start_datetime, end_datetime, satellite_identifier, dask_cluster_label, processor_name, processor_version, pipeline, unit, priority, processing_mode, workflow, generated_product_to_collection_identifier, auxiliary_product_to_collection_identifier)
async
Call any DPR processing flow with a set of default parameters. In case an optional parameter is not set, its value is get from Prefect Variable named 'prefect_settings' The payload is stored on a S3 bucket.
Source code in docs/rs-client-libraries/rs_workflows/utils/dpr.py
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 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 | |
dpr_processing_task(*args, **kwargs)
async
See: dpr_processing
Source code in docs/rs-client-libraries/rs_workflows/utils/dpr.py
97 98 99 100 | |
generate_payload_path(owner_id)
Generate an hard coded path to store the payload. This is a workaroud, waiting for share disk solution.
Source code in docs/rs-client-libraries/rs_workflows/utils/dpr.py
40 41 42 43 44 45 46 47 | |