Hi all,
I am trying to loop a tool and with every result of the loop to add it to the last. I have a default raster created (all 1's) to add the first instance too. I have tried collect values and then cell statistics, but as the list in collect values grows with successive looping, the cell statistics slows way down. I figure that if I just do an addition it will only ever have two rasters to think about at once. Naturally, I am in modelbuilder, but if you have python ideas, that could work.
Here is basically what I am trying to do:
In raster = RAS1
Out Raster = RAS2
SUM = RAS3
Shape = SHP1
For each record in SHP1
RAS2 = Process of SHP1 record and RAS1
RAS3 = RAS2 + Last RAS3
next
Thanks,
David
P.S. I have no idea how this new forum works, sorry if this ends up somewhere strange.