Searching for S-2 images with "NODATA_PIXEL_PERCENTAGE"

I am trying to download images from the API using the Sentinelsat library. I currently use Platformname, limit, and cloudcoverpercentage as my query arguments but I would like to use the “NODATA_PIXEL_PERCENTAGE” information as well as a criteria for the search (so I can only download images that have nodata_pixel_percentage over e.g. 50%). This NODATA_PIXEL_PERCENTAGE info is provided in the metadata of each image, but I would like to access it before downloading the images .
Any idea how I can do this?

Thank you

Hi Gopika,

As far as I know this metadata is not supported by the Data Hub API today.
As a workaround, I use the ratio of the product size to the “standard” product size as a proxy for data coverage.
This works quite well in practice. I’m not sure how this trick can be implemented in the Sentinelsat script, though.

Sébastien Clerc
S2 Mission Performance Technical Manager