|
Rasterio 1.2b1
I just installed rasterio==1.2.0b1 on a fresh virtual env (with no GDAL/PROJ env set) and I'm getting a proj error Not sure what's going on :-(
I just installed rasterio==1.2.0b1 on a fresh virtual env (with no GDAL/PROJ env set) and I'm getting a proj error Not sure what's going on :-(
|
By
vincent.sarago@...
· #673
·
|
|
rasterio 1.1.4
This is really cool, thanks for the hard work Sean!
This is really cool, thanks for the hard work Sean!
|
By
vincent.sarago@...
· #525
·
|
|
MemoryFile loses Profile information
I can confirm that writing a Jpeg2000 from memory losses the geo information
I can confirm that writing a Jpeg2000 from memory losses the geo information
|
By
vincent.sarago@...
· #502
·
|
|
Asyncio + Rasterio for slow network requests?
Hi All, I'll answer for Kyle but he can jump back if needed. The problem Kyle was facing was due to GDAL3 (running on AWS Lambda, CentOS) being extremely slow for image reprojection. We faced this in
Hi All, I'll answer for Kyle but he can jump back if needed. The problem Kyle was facing was due to GDAL3 (running on AWS Lambda, CentOS) being extremely slow for image reprojection. We faced this in
|
By
vincent.sarago@...
· #479
·
|
|
Interconverting between pyproj and rasterio CRS objects
FYI: https://github.com/corteva/rioxarray/issues/92 and https://github.com/corteva/rioxarray/issues/92
FYI: https://github.com/corteva/rioxarray/issues/92 and https://github.com/corteva/rioxarray/issues/92
|
By
vincent.sarago@...
· #442
·
|
|
Silencing NotGeoreferencedWarning
Hi Guillaume, thanks for raising this, it happens to me often too. I'm thinking about multiple solutions: - check if the file has other georeferenced information (like rpc or gpc) internally before ra
Hi Guillaume, thanks for raising this, it happens to me often too. I'm thinking about multiple solutions: - check if the file has other georeferenced information (like rpc or gpc) internally before ra
|
By
vincent.sarago@...
· #412
·
|
|
Reading NetCDF file as inMemoryFile
Yes it is set to yes, here the full log https://gist.github.com/vincentsarago/36473e6322336e84cf928ef445db64cc
Yes it is set to yes, here the full log https://gist.github.com/vincentsarago/36473e6322336e84cf928ef445db64cc
|
By
vincent.sarago@...
· #400
·
|
|
Reading NetCDF file as inMemoryFile
Then I get "not recognized as a supported file format." ``` >>> f = open("/local/OR_ABI-L1b-RadF-M6C04_G16_s20193221600287_e20193221609595_c20193221610025.nc", "rb") >>> with MemoryFile(f) as mem: ...
Then I get "not recognized as a supported file format." ``` >>> f = open("/local/OR_ABI-L1b-RadF-M6C04_G16_s20193221600287_e20193221609595_c20193221610025.nc", "rb") >>> with MemoryFile(f) as mem: ...
|
By
vincent.sarago@...
· #399
·
|
|
Reading NetCDF file as inMemoryFile
Thanks for your answer Even, and be assured that I always read the manual before asking question :-) ``` $ more /proc/version Linux version 4.9.184-linuxkit (root@a8c33e955a82) (gcc version 8.3.0 (Alp
Thanks for your answer Even, and be assured that I always read the manual before asking question :-) ``` $ more /proc/version Linux version 4.9.184-linuxkit (root@a8c33e955a82) (gcc version 8.3.0 (Alp
|
By
vincent.sarago@...
· #396
·
Edited
|
|
Reading NetCDF file as inMemoryFile
I'm seeking some advice here, I'm trying to reduce the memory/disk usage of one of my script where I try to translate a netcdf file to COG. Ideally I'd love not to save any file to disk. The problem I
I'm seeking some advice here, I'm trying to reduce the memory/disk usage of one of my script where I try to translate a netcdf file to COG. Ideally I'd love not to save any file to disk. The problem I
|
By
vincent.sarago@...
· #394
·
|
|
[feature] List tags namespaces
I started a PR over https://github.com/mapbox/rasterio/pull/1740
I started a PR over https://github.com/mapbox/rasterio/pull/1740
|
By
vincent.sarago@...
· #282
·
|
|
[feature] List tags namespaces
Hi Guillaume, I'm + 1 with the idea of adding this feature. I've had the same challenge while working on rio-cogeo, if there is a GDAL API I think it could be useful to add a method in rasterio. Vince
Hi Guillaume, I'm + 1 with the idea of adding this feature. I've had the same challenge while working on rio-cogeo, if there is a GDAL API I think it could be useful to add a method in rasterio. Vince
|
By
vincent.sarago@...
· #281
·
|
|
Is it possible to open a binary file with rasterio.open?
Hi Ryan, This is just an idea but can you try with ``` with open(image_bytes, 'rb') as f, MemoryFile(f.read()) as memfile: with memfile.open() as src: arr = reshape_as_image(src.read()) ```
Hi Ryan, This is just an idea but can you try with ``` with open(image_bytes, 'rb') as f, MemoryFile(f.read()) as memfile: with memfile.open() as src: arr = reshape_as_image(src.read()) ```
|
By
vincent.sarago@...
· #273
·
|
|
build_overviews
Hi James, The level of overviews is usually linked to the size of the raster and its internal tiles (block). here is an example in rio-cogeo: https://github.com/cogeotiff/rio-cogeo/blob/master/rio_cog
Hi James, The level of overviews is usually linked to the size of the raster and its internal tiles (block). here is an example in rio-cogeo: https://github.com/cogeotiff/rio-cogeo/blob/master/rio_cog
|
By
vincent.sarago@...
· #267
·
|
|
Combining rasters using rasterio
It seems the docs it wrong, looking at the code it take the max extent of all the dataset https://github.com/mapbox/rasterio/blob/b9f34ee559039239c7c0c97bd911b466701a39cd/rasterio/merge.py#L77-L92
It seems the docs it wrong, looking at the code it take the max extent of all the dataset https://github.com/mapbox/rasterio/blob/b9f34ee559039239c7c0c97bd911b466701a39cd/rasterio/merge.py#L77-L92
|
By
vincent.sarago@...
· #264
·
|
|
Combining rasters using rasterio
Hi James, Rasterio has a cli command called `merge` (`rio merge`) which is the equivalent of `gdal_merge.py` with rasterio. If you are looking for a way to do it within python you can check https://gi
Hi James, Rasterio has a cli command called `merge` (`rio merge`) which is the equivalent of `gdal_merge.py` with rasterio. If you are looking for a way to do it within python you can check https://gi
|
By
vincent.sarago@...
· #262
·
|
|
Occasional "not recognized as a supported file format" errors when reading from S3
This is not something I've been seen for now. does this happens with Rasterio wheels and rasterio build on gdal source ?
This is not something I've been seen for now. does this happens with Rasterio wheels and rasterio build on gdal source ?
|
By
vincent.sarago@...
· #226
·
|
|
WarpedVRT and resampling ?
Hi Sean, sorry for not being really clear. > Can you explain what processes produced those images? What program produced the blurry one and what program produced the non-blurry one? Which resampling a
Hi Sean, sorry for not being really clear. > Can you explain what processes produced those images? What program produced the blurry one and what program produced the non-blurry one? Which resampling a
|
By
vincent.sarago@...
· #205
·
|
|
WarpedVRT and resampling ?
This was previously discussed on multiple Issues and PR: - https://github.com/mapbox/rasterio/issues/1206 - https://github.com/mapbox/rasterio/pull/1238 - https://github.com/mapbox/rasterio/pull/1239
This was previously discussed on multiple Issues and PR: - https://github.com/mapbox/rasterio/issues/1206 - https://github.com/mapbox/rasterio/pull/1238 - https://github.com/mapbox/rasterio/pull/1239
|
By
vincent.sarago@...
· #203
·
|
|
tempfile.NamedTemporaryFile behaving as /vsimem and eating all the machine memory
Thanks Sean this is really helpful and love the `temp.name` solution. About the second point, do you have any idea why `/vsimem` driver need so much memory when exiting/closing ? Should I raise this t
Thanks Sean this is really helpful and love the `temp.name` solution. About the second point, do you have any idea why `/vsimem` driver need so much memory when exiting/closing ? Should I raise this t
|
By
vincent.sarago@...
· #201
·
|