Element84 / earth-search

Earth Search information and issue tracking
https://earth-search.aws.element84.com/v1
27 stars 2 forks source link

Missing image #44

Open waltersdan opened 3 months ago

waltersdan commented 3 months ago

Hello, I have run into an L2A image that is missing from the STAC, but is available on Sentinel Hub EO browser. I confirmed there is an equivalent L1C image.

Minimum reproducible code below. The missing image is from 2023-08-08. AWS path from Sentinel Hub: s3://sentinel-s2-l2a/tiles/36/W/VB/2023/8/8/0/

from pystac_client import Client
geom = {'type': 'Polygon',
 'coordinates': [[[33.24979,68.99431],
   [33.24979,69.07646],
   [32.99250,69.07646],
   [32.99257, 68.994314],
   [33.24979,68.99431]]]}
date_query = '2023-08-07/2023-08-12'

url = r"https://earth-search.aws.element84.com/v1"
cat = Client.open(url)
params = {
    "intersects": geom,
    "collections": ["sentinel-2-l2a"],
    "datetime": date_query,
}

search = cat.search(**params)

items = search.item_collection()

for item in items:
    print(item.get_datetime())

Output:

2023-08-12 09:41:21.248000+00:00
2023-08-12 09:41:15.222000+00:00
2023-08-07 09:41:21.520000+00:00
2023-08-07 09:41:15.500000+00:00

There should be an image for 2023-08-08, but it is missing.