Skip to main content

We need information about the area of the clouds and the area of the shadows of the clouds in a unit 512x512 pixels. How can I get this information through the api?

Information about clouds and shadows from clouds is contained in the scene lists of the unit image. How to get to values and parameters of unit layers via api?


Thank you for your help, Marat

Hi @marat.abubekerov,


if I understand correctly, you need just statistical information about the area of clouds/shadows?

I suggest you use process API’s “updateOutputMetadata” function as described in Top 6 here:

360db83263e79cba7951e7ba15aa4495131aa0f1.pngMedium – 15 Jun 21
f698a7e3e9c8a094ef9a83b2c615fb7ea6a69c30.png


Custom scripts: faster, cheaper, better!



15 tips for better scripts and more responsive requests




Reading time: 7 min read






Use Sentinel-2 L2A data source and its SCL band (for clouds and shadows) and CLM (for clouds), see:

docs.sentinel-hub.com
d3714e73b38a87afa3c31502a6696052a7395163.png


Sentinel-2 L2A



Use Sentinel Hub Processing API to access atmospherically corrected Sentinel-2 L2A data with 13 spectral bands.








Reply