Replies: 2 comments 2 replies
-
I think that the assets linked from https://earth-search.aws.element84.com/v0/collections/sentinel-s2-l1c/items are in a requester-pays S3 Bucket. You would need to need to set your S3 credentials wherever you're reading the data: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RequesterPaysExamples.html. Have you done that? |
Beta Was this translation helpful? Give feedback.
2 replies
-
This issue is apparently solved here: cogeotiff/rio-tiler#52 and here: rasterio/rasterio#692 |
Beta Was this translation helpful? Give feedback.
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.
-
Hi @gjoseph92 ,
thank you in first place for this stackstac package. I'm intending to apply on getting Sentinel-2 L1C imagery. However, I get an 'Access Denied' error that I don't know how to solve. See below:
[PATH-TO-PYTHON-ENV]/lib/python3.10/site-packages/stackstac/rio_reader.py:332: UserWarning: Error opening 's3://sentinel-s2-l1c/tiles/30/S/WG/2020/12/19/0/B12.jp2': RasterioIOError('Access Denied')
Please, find attached a jupyter notebook (I added the .txt extension to be able to upload it) with my simple test so you can easily follow the process.
sentinel2_read_stac_l1c.ipynb.txt
Thank you very much in advance for your help. Looking forward to your answer.
Best,
Diego
Beta Was this translation helpful? Give feedback.
All reactions