I would like to index into ODC some data from the Sentinel-2 dataset available on Microsoft Planetary Computer (PC).

The main issue is with the PC's requirement of using tokens (SAS), which need to be appended to the URLs exposed by the STAC API, the ones then indexed in ODC.
Those URLs will not have any token attached, resulting in 404 requests when trying to use dc.load().

What is the recommended approach in this case? I have seen support in the odc-stac project, but I understand it doesn't index data in an ODC database, while I would like to have the data indexed.
Is that correct?

1 Answer 1


Planetary Computer support has been added in ODC through the patch_url parameter in dc.load() - docs - since v1.8.8, and with Dask support since v1.8.9.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.