Closed jmettes closed 2 months ago
Using the odc.stac.eo3.stac2ds
works fine in this case:
from pystac_client import Client
from odc.stac.eo3 import stac2ds
client = Client.open("https://earth-search.aws.element84.com/v1")
bbox = [
176.13470010353373,
-85.035941506574,
180,
-84.59129667426426
]
search = client.search(
max_items=1,
collections=["sentinel-2-c1-l2a"],
bbox=bbox,
datetime="2024-01-29/2024-01-31",
)
dataset = next(stac2ds(search.items()))
how to reproduce
error
I fix it by getting one of the asset proj properties and setting them at top level