<div dir="ltr"><div>Hi Ken,</div><div><br></div><div>turning off compression for all newly generated maps is indeed not supported. If you don't care about disk usage and disk speed but processing time, LZ4 is the compression method of choice. LZ4 compresses in near-real time, i. e. in GRASS GIS there is no measurable CPU speed penalty, only increased disk IO because more data need to be written and subsequently read. I am using LZ4 myself as raster compression in workflows for temporary intermediate maps and change the raster compression method before writing out final results.</div><div><br></div><div>Currently, the default GRASS raster compression method can only be changed with the environment variable GRASS_COMPRESSOR.</div><div><br></div><div>Markus M<br></div><br>On Sun, Mar 1, 2020 at 4:21 AM Vaclav Petras <<a href="mailto:wenzeslaus@gmail.com">wenzeslaus@gmail.com</a>> wrote:<br>><br>> Hi Ken,<br>><br>> That sounds like a good experiment and I think there would be general interest in what you find. However, please note that less compression may not mean faster, because then there is more data to write and read and I/O is generally a significant bottleneck. Markus Metz may say more about this as he did tests when he was implementing the new compressions, but you might be able to find some posts on this on the grass-dev mailing list.<br>><br>> Best,<br>> Vaclav<br>><br>> On Sat, Feb 29, 2020 at 11:40 AM Ken Mankoff <<a href="mailto:mankoff@gmail.com">mankoff@gmail.com</a>> wrote:<br>>><br>>><br>>> Hm. Answer: No<br>>><br>>> I just did:<br>>><br>>> export GRASS_COMPRESSOR=none<br>>><br>>> And then get this error message:<br>>><br>>> WARNING: No compression is not supported for GRASS raster maps, using default ZLIB<br>>><br>>> Seems like a shame to not have this as an option. I'll try speeding it up by tweaking the compression method and amount.<br>>><br>>>   -k.<br>>><br>>> On 2020-02-29 at 08:37 -08, Ken Mankoff <<a href="mailto:mankoff@gmail.com">mankoff@gmail.com</a>> wrote...<br>>> > Hi,<br>>> ><br>>> > I'd like to turn off compression for all maps. Is this possible with<br>>> > g.gisenv or environment variables? The g.gisenv manual only shows how<br>>> > to choose among compression methods, not disable it.<br>>> ><br>>> > This does not seem to work:<br>>> ><br>>> > g.gisenv set="GRASS_COMPRESSOR=none" # optimize for speed<br>>> ><br>>> > I can decompress one map with:<br>>> ><br>>> > r.compress -u map=foo<br>>> ><br>>> > But I'm trying to skip the time spent compressing and decompressing<br>>> > altogether. I could use a small speed boost, and this seems like an<br>>> > easy way to speed things up - I can afford the disk space for all the<br>>> > temporary intermediate maps.<br>>> ><br>>> > Thanks,<br>>> ><br>>> >   -k.<br>>><br>>> _______________________________________________<br>>> grass-user mailing list<br>>> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br>><br>> _______________________________________________<br>> grass-user mailing list<br>> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a></div>