microsoft / PlanetaryComputer

Issues, discussions, and information about the Microsoft Planetary Computer
https://planetarycomputer.microsoft.com/
MIT License
180 stars 7 forks source link

missing STAC-Items for Sentinel-2-L2A #269

Open 11904212 opened 12 months ago

11904212 commented 12 months ago

Hi, I have noticed that some STAC items seem to be missing in the "sentinel-2-l2a" collection.

Here is an example query (0 results)

Here is the same query for the collection of element84 (1 result) and the a link to the scihub product

I've noticed these gaps a few times and was wondering where they originated from.

TomAugspurger commented 12 months ago

Thanks for the report @11904212. I'm not sure why, but it seems like our pipeline missed scenes around that date.

We are working on a census for all of our assets, to ensure that they match what's provided from our upstream data provider. In the meantime, we'll get those reprocessed.

KBodolai commented 3 months ago

Just to add here, got about 4 missing ones with this search:


import pystac_client
import planetary_computer 

mpc_catalog = pystac_client.Client.open("https://planetarycomputer.microsoft.com/api/stac/v1/", 
                                        modifier=planetary_computer.sign_inplace,)

miny, minx = -1.5,35
maxy, maxx = -0.5,39

bbox = [minx, miny, maxx, maxy]

mpc_items = mpc_catalog.search(collections='sentinel-2-l2a',bbox=bbox,
                                                     datetime='2022-08-28').item_collection()

# len(mpc_items) =  0

and the 4 items as apparent in a similar search in the copernicus dataspace browser:

image

I wrote a small script that finds searches with missing data, @TomAugspurger , would it be helpful if I ran it and sent a bunch? I'm guessing you have something better at hand for the census of the assets, but let me know if I can help in any way!