1

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?

HDunn
8,7643 gold badges44 silver badges75 bronze badges
asked Feb 15, 2022 at 9:16

1 Answer 1

0

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.

answered Nov 29, 2022 at 23:22

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.