Open SarahG-579462 opened 1 year ago
Please consider adding support for in-memory rasterizing, rasterio supports this with MemoryFile, which could be written to a BytesIO object for easier cross-compatibility.
Related: https://github.com/corteva/rioxarray/discussions/204
This works, as recommended in the planetary computer documentation.
with io.BytesIO() as buffer: d.rio.to_raster(buffer, driver="COG") buffer.seek(0)
Related #309
Please consider adding support for in-memory rasterizing, rasterio supports this with MemoryFile, which could be written to a BytesIO object for easier cross-compatibility.