-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Stackstac is pretty unmaintained and isn't staying uptodate with changes in the STAC ecosystem. The big example is support for v2 of the STAC projection extension.
This ticket is for switching example code from using stackstac to using odc-stac. For instance in user-guide/notebooks/quickstarts/open-and-plot.ipynb use:
import odc.stac
ds = odc.stac.stac_load(item_collection, chunks={})
da = ds["cog_default"]
daCan't do this today because odc-stac is not importable in the 2025.06.02 pangeo-notebook docker image :(
The issue is resolved in odc-stac 0.4.0, but essentially odc-stac<0.4.0 only works with dask<=2025.2.0 (ref dask/dask#11843) and odc-stac>=0.4.0 depends on odc-loader which pins to zarr<3 (they are working on it: opendatacube/odc-loader#26). Once the version of stac-loader with that PR is released, the next pangeo-notebook image will be good to go and we can pick up this ticket.