Repository navigation
Aborting load due to failure while reading: https://sentinel2l2a01.blob.core.windows.net #488
Unanswered
Lucas Srigley (lucas-srigley)
asked this question in
Q&A
Replies: 1 comment
|
Hey! That 403 is coming from Azure Blob Storage, not from the STAC API. On the Planetary Computer the STAC search is open to everyone, but the actual files (like the Easiest fix is to sign everything when you open the catalog: import planetary_computer
import pystac_client
catalog = pystac_client.Client.open(
"https://planetarycomputer.microsoft.com/api/stac/v1",
modifier=planetary_computer.sign_inplace,
)The "Aborting load due to failure while reading" part looks like it's from odc-stac, so you can also let it sign each URL right before it reads: import odc.stac
data = odc.stac.load(items, bands=["B04", "B08"], patch_url=planetary_computer.sign)A couple of other things worth checking:
Docs on the token stuff are here: https://planetarycomputer.microsoft.com/docs/concepts/sas/ Hope that sorts it out :) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
... from collection sentinel-2-l2a due to error: HTTP response code: 403
All reactions