zenwalk / linkage-mapper

Automatically exported from code.google.com/p/linkage-mapper
0 stars 0 forks source link

Use compression for intermediary rasters #86

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What problem are you trying to resolve with this feature?

Large intermediary rasters and I/O

How do you address this problem now?

Work on smaller rasters or use significant disk space.

Your ideas for a solution:

Currently, intermediary rasters are stored as GRID files. By switching to 
GeoTIFF, compression methods can be used prior to each raster.save() operation, 
cutting down on disk usage and I/O

Please provide any additional information below:

Compression can be set a few ways: the easiest is probably to use the 
compressionType property within each raster object: 
http://resources.arcgis.com/en/help/main/10.2/index.html#//018z00000051000000

Other ways include setting the arcpy.env.compression variable, and then 
applying the environment to later raster creation steps.

Original issue reported on code.google.com by shaun.wa...@gmail.com on 10 Apr 2014 at 4:37