You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have added the item from digital africa s2_l2a. It shows the boundary on the index.html but when it does not show the image on viewer page and raise the error {"detail":"'/vsis3/deafrica-sentinel-2/sentinel-s2-l2a-cogs/35/Q/RA/2017/1/S2A_35QRA_20170101_1_L2A/AOT.tif' does not exist in the file system, and is not recognized as a supported dataset name."}
aws s3 ls --region af-south-1 --no-sign-request s3://deafrica-sentinel-2/sentinel-s2-l2a-cogs/35/Q/RA/2017/1/S2A_35QRA_20170101_1_L2A/AOT.tif
2020-10-13 12:41:52 102737 AOT.tif
rio cogeo info s3://deafrica-sentinel-2/sentinel-s2-l2a-cogs/35/Q/RA/2017/1/S2A_35QRA_20170101_1_L2A/AOT.tif
...
rasterio.errors.RasterioIOError: The af-south-1 location constraint is incompatible for the region specific endpoint this request was sent to.
Oo That's interesting there might be something with GDAL/Rasterio or how the env variable are set in the service.
I guess the easiest way to fix this for now is to use https url instead of s3:// because the data is public
Activity
vincentsarago commentedon Nov 9, 2023
@Leon-Carto did you allowed
deafrica-sentinel-2bucket in you IAM role for the lambdas?By default it's
*but maybe you changed it https://github.com/developmentseed/eoAPI/blob/main/infrastructure/aws/cdk/config.py#L87-L91vincentsarago commentedon Nov 9, 2023
Oo That's interesting there might be something with GDAL/Rasterio or how the env variable are set in the service.
I guess the easiest way to fix this for now is to use
httpsurl instead ofs3://because the data is publichttps://docs.digitalearthafrica.org/en/latest/platform_tools/direct_access.html
vincentsarago commentedon Nov 9, 2023
Oo
we have to set two env variable for this bucket in af-south-1