-
Notifications
You must be signed in to change notification settings - Fork 103
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
error when reading a file #450
Comments
with rasterio.open(blob_in_bytes) as src: results in this output: {'driver': 'GTiff', 'dtype': 'uint16', 'nodata': 0.0, 'width': 590, 'height': 1478, 'count': 4, 'crs': CRS.from_epsg(32610), 'transform': Affine(3.0, 0.0, 540492.0, |
What version of |
rio-tiler-2.1.4 |
Can you provide a reproducible example? You haven't even told us what command you're running. It's likely because the |
I am reading from google storage: bucket = client.bucket("bucket_name") |
Refer to the |
You should be able to pass a filepath that
You should look up if you can do the same with GCS. |
When I am trying to read directly from the cloud i get: rasterio.errors.RasterioIOError: CPLRSASHA256Sign() not implemented: GDAL must be built against libcrypto++ or libcrypto (openssl) |
saving the file locally and then opening it solved the problem. Thank you for your help. |
Thanks for reporting the issue @nes123. There might be something at rasterio level 🤷 what you could do is with rasterio.open(blob_in_bytes) as src:
with COGReader(None, dataset=src) as cog:
.... The issue is that when you pass |
Hello, i have a tiff file that i can open with rasterio.
But i get the following error with COGReader:
File "/usr/local/lib/python3.9/site-packages/rio_tiler/io/cogeo.py", line 101, in attrs_post_init
self.nodata = self.nodata if self.nodata is not None else self.dataset.nodata
AttributeError: '_GeneratorContextManager' object has no attribute 'nodata'
The text was updated successfully, but these errors were encountered: