I'm doing a python script that does:
outRast = Raster(inRast1) - Raster(inRast2)
I have about 500 of these to process however after about 100 of these the script fails with the warning:
"ERROR 010422: Error in processing the environment mask"
The trouble is that I cannot see anything different in the rasters being processed when the script fails compared to all the ones it has already completed.
I added a shapefile that encolses all the rasters
arcpy.env.mask = "mask_poly.shp"
but this hasn't helped. I'm stuck for things to try.