-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sentinel RasterIO Errors #54
Comments
Hi @zags, as mentioned previously this is not a rio-tiler error, the path is generated by rasterio to be GDAL compliant If GDAL gives you an error it's because of misconfiguration on your side (either driver missing or missing AWS valid credentials) |
Can you test the code I posted? Dose it work for you? |
Listing the S3 bucket, it appears that "sentinel-s2-l1c/tiles/23/M/QQ/2018/8/13/0/B4.jp2" does not in fact exist. The correct URL is "sentinel-s2-l1c/tiles/23/M/QQ/2018/8/13/0/B04.jp2", though this gives other errors with RasterIO. There is likely a bug in rio-tiler. Please don't close this until you can successfully run the code I have posted. |
Part of the problem is that bands need to be The updated
gives the following output: ERROR 1: IReadBlock failed at X offset 0, Y offset 0 rio_tiler/sentinel2.py in tile(sceneid, tile_x, tile_y, tile_z, bands, tilesize) OSError: Read or write failed |
alright
should be
the docs says: sorry I should have caught this error sooner. |
Thank you for looking into this. Are you seeing the "Read or write failed" error? Any thoughts as to what's causing this? |
Yes I am and I have no idea what those are 🤔 |
hey @zags, I've seen the same errors elsewhere and I think it's related to gdal+openjpeg install. |
This is GDAL 2.1.0. The lib files that show up for |
Alright I think we can close this one because main problem was from GDAL+configuration. |
Reopening issue #53 because this has not been fixed and is an issue with rio-tiler.
Running the following:
gives the error:
running gdalinfo on this path gives the error:
This path is being generated by rio-tiler. This is only happening on Sentinel; Landsat works fine.
The text was updated successfully, but these errors were encountered: