I am using the Planet Orders API to download PSScene analytic_sr_udm2 imagery for a time-series analysis, which involves ordering a large number of scenes.
To reduce storage usage and download size, I would like to perform band math (e.g., NDVI, NDWI) and download only the derived band rather than all four analytic bands to my device.
Is it possible to apply band math within the Orders API and download only the resulting single band? If not, what is the recommended Planet workflow to achieve this efficiently?
Any guidance or examples would be appreciated.
Best answer by williamray
Hi Sandhya,
Yes you are able to achieve this using the Orders API as documented here. Like in the example provided you can calculate NDVI using: "b5": "(b4-b3)/(b4+b3)" just make sure to update the band “b1” if only outputting the calculation.
Alternatively, for more advanced calculations, you should look into Processing API that enables you to do exactly the same but also multitemporal analysis such as outputting the mean NDVI value over a time period of your choosing. To see how to do this you can check out the Evalscripts documentation or Planet University course.
Yes you are able to achieve this using the Orders API as documented here. Like in the example provided you can calculate NDVI using: "b5": "(b4-b3)/(b4+b3)" just make sure to update the band “b1” if only outputting the calculation.
Alternatively, for more advanced calculations, you should look into Processing API that enables you to do exactly the same but also multitemporal analysis such as outputting the mean NDVI value over a time period of your choosing. To see how to do this you can check out the Evalscripts documentation or Planet University course.