AnsweredAssumed Answered

Sum 6,000+ rasters - Python script

Question asked by mathieu.lacorde on Feb 2, 2016
Latest reply on Mar 11, 2016 by Dan_Patterson
Branched to a new discussion

Hi there,


I am trying to sum close to 6,000 ESRI grids and found a piece of script on this forum that I have tried to adapt (attached). The script runs fine and prompts every grid but eventually crashes when it reaches the last raster. No output is created.


Would you have any idea as to why it crashes? The script seems to work fine when I test it on 5-10 grids. Could the reason be the 5,000 ESRI grid limit  that can be stored in a single workspace directory (Esri Grid format—Help | ArcGIS for Desktop) ? I did try on less than 5,000 grids but had the same outcome.

I am using ArcGIS 10.2.2 and Python 2.7.5.


Thanks for your help!