Skip to content

Switch to odc-stac once it works in pangeo-notebook image #238

@jsignell

Description

@jsignell

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"]
da

Can'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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions