[GRASS-user] Fwd: skipping MEM driver with r.out.gdal for large files

Laura Poggio laura.poggio at gmail.com
Thu Jun 15 07:57:43 PDT 2023


Dear all,
Apologies, sent to the developer mailing list by mistake.
I am trying to save a rather large file from GRASS

Versions:
GRASS GIS 8.2.1
GDAL 3.6.3, released 2023/03/07
Linux: almalinux:9.1

The size of the file is:
rows=141120
cols=362880
cells=51209625600

This the command
r.out.gdal -c input=out output=output.tif format=COG type=Int16
createopt=COMPRESS=LZW,PREDICTOR=2,BIGTIFF=YES --overwrite --quiet

This the output
Warning 6: driver MEM does not support creation option COMPRESS
Warning 6: driver MEM does not support creation option PREDICTOR
Warning 6: driver MEM does not support creation option BIGTIFF
ERROR 2: /usr/gdal-3.6.2/frmts/mem/memdataset.cpp, 1289: cannot allocate
1x102419251200 bytes
ERROR: Unable to create dataset using memory raster driver

Is there any option not to use the MEM driver when writing to disk?
Thanks
Laura
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20230615/a8207d05/attachment.htm>


More information about the grass-user mailing list