Comments (8)
👋 Hi @zags, thanks for opening this issue.
can you try to do
$ export CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
as explained in rasterio/rasterio#1289 and #19 ?
Please feel free to close if it solve your issue.
from rio-tiler.
Setting the following fixes it for landsat:
os.environ["AWS_REQUEST_PAYER"] = "requester"
os.environ["CURL_CA_BUNDLE"] = "/etc/ssl/certs/ca-certificates.crt"
I'm still getting the error for sentinel.
sentinel2.tile("S2B_tile_20180803_22JER_0", 11825, 18895, 15)
RasterioIOError: '/vsis3/sentinel-s2-l1c/tiles/22/J/ER/2018/8/3/0/preview.jp2' does not exist in the file system, and is not recognized as a supported dataset name.
from rio-tiler.
@zags this is an platform specific, do you have gdal installed, how did you installed rasterio ?
can you try gdalinfo /vsis3/sentinel-s2-l1c/tiles/22/J/ER/2018/8/3/0/preview.jp2
?
from rio-tiler.
I do have gdal installed and rasterio was installed via PIP.
gdalinfo tells me
ERROR 15: AWS_SECRET_ACCESS_KEY configuration option not defined
gdalinfo failed - unable to open '/vsis3/sentinel-s2-l1c/tiles/22/J/ER/2018/8/3/0/preview.jp2'.
I have ~/.boto and ~/.aws/config files with my keys
from rio-tiler.
This is a configuration problem (not a rio-tiler issue). I'm really sorry. checkout http://boto3.readthedocs.io/en/latest/guide/configuration.html it might help.
from rio-tiler.
The RioTiler issue is the completely undecipherable error messages. If it's an authentication problem, this should be reflected in the resulting error
from rio-tiler.
I understand but that's a GDAL/Rasterio error.
Noticing that it might be updated with the work currently happening on rasterio/rasterio#1429
from rio-tiler.
Fixing the GDAL configuration does not solve this problem. GDAL then gives:
ERROR 4: /vsis3/sentinel-s2-l1c/tiles/22/J/ER/2018/8/3/0/preview.jp2: No such file or directory
/vsis3/sentinel-s2-l1c/tiles/22/J/ER/2018/8/3/0/preview.jp2
is being generated by RIO-tiler.
from rio-tiler.
Related Issues (20)
- Interpolation should happen after masking HOT 1
- READER RETUNR NOT FOUND
- Reader `resampling_method` has no effect HOT 1
- Reader `resampling_method` has no effect when doing Reprojection HOT 2
- Investigate weird output resolution after #648 HOT 3
- remove usage of WarpedVRT?
- No colormapping support for float dtype HOT 1
- Worse image quality with tiles cut using rio-tiler than GDAL HOT 4
- Custom In-Memory Reader HOT 1
- nodata value being ignored HOT 3
- .tile() is not masking region outside of image when nodata used HOT 3
- Count default method? HOT 1
- Incorrect array statistics with (coverage) weights HOT 2
- Method to filter assets within mosaic_reader HOT 1
- Forwarding `ImageData.array.mask` in NPZ output HOT 4
- [STAC] access Alternate URL
- nodata value being ignored for NaN HOT 2
- Error applying expression with STACReader : "NumExpr 2 does not support Unicode as a dtype."
- Investigate higher HEAD/GET Request with GDAL >3.7 HOT 9
- replace deprecated `is_tiled`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rio-tiler.