Exist image or not

Good morning,

I want to ask how can I check if image exist or not before download it using script of python. (Because everytime I download image and image isn’t exist it is download in black so I need to know first if exist before download it to not have black image).

Also I want to know if it is posible to know if exist collection with same name and coordinate to not create another one with same name and coordinate.

Regards,
Antonio
trueColor.tiff (3.1 KB)
GNDVI.tiff (768.1 KB)

Good morning Antonio,

To check if an image exists or not before running your request, you can make use of our Catalog API. There is also an implementation in Python, since you are already scripting in Python: see the examples in the documentation.