Re: Creating 12GB Create very large empty geotif with Rasterio without using large amounts of memory

Alan Snow

Reading & writing with windows can be done with rioxarray (rasterio + xarray):

import rioxarray

rds = rioxarray.open_rasterio("input.tif", lock=False)"output.tif", windowed=True)

You can also use dask to read/write in parallel:

Hope this helps,

Join to automatically receive all group messages.