When images are captured during the tasking operations, the Storage will be populated with assets. In this guide, you will learn how to download the newest assets acquired during the ongoing tasking operation.
- To download the newest images captured during the tasking operation, please use the following command:
asset=$(curl -L -s -H 'Content-Type: application/json' \ -H "Authorization: Bearer $PTOKEN" https://api.up42.com/workspaces/$workspace_id/orders/$order_id \ | jq -r '.data.assets')
To find your workspace ID, please follow the instructions from the article Workspaces.
- Download the asset as a ZIP archive:
asset_data_URL=$(curl -s -L GET https://api.up42.com/workspaces/$workspace_id/assets/$asset/downloadUrl \ -H "Authorization: Bearer $PTOKEN" | jq -j '.data.url')
curl -s -L $asset_data_URL -H "Authorization: Bearer $PTOKEN" -o my_tasking_order.zip
By following this guide, you managed to view the list of available collections and data products, perform a search for your set of requirements (preferred area of interest, search interval and quality criteria), get an estimate from the support team, activate the tasking operation and download tasking data. To view all the orders and assets, please go to Storage.