When creating a raster map algebra output, is it possible to set its compression?
I'm creating a model which generates many hundreds of rasters, and currently each is being stored without any compression which quickly adds up. I expected to be able to use
arcpy.env.compression but that seems to have no effect. Example script which produces this behavior:
import arcpy arcpy.env.compression = 'LZW' # supported by GeoTIFF and most packages map = Raster("raster.tif") + 100 map.save("raster_plus_100.tif") # would expect this output to have compresssion