Download CASDA product
casda_download_productDownload a confirmed-ready CASDA product with guarded streamed writes, byte limit enforcement, and optional checksum verification, without overwriting existing files.
Instructions
Download one confirmed-ready product using guarded, streamed local filesystem writes.
This operation requires CASDA_ENABLE_DOWNLOADS and a restricted CASDA_DOWNLOAD_DIR. It never overwrites by default, enforces the byte limit, verifies Content-Length, resumes within the call when Range is supported, and removes incomplete files after failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | One explicit CASDA product identifier confirmed ready by staging. | |
| destination | No | Optional path constrained to CASDA_DOWNLOAD_DIR; defaults to the archive filename. | |
| verify_checksum | No | Verify the archive checksum when a checksum sidecar is available. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| result | No | ||
| provenance | No |