AnsweredAssumed Answered

Error with Calculate Statistics

Question asked by apmartincude on Aug 10, 2017
Latest reply on Aug 10, 2017 by xander_bakker

A program that I created has a loop that runs and it constantly lowers the values of a flow accumulation Raster. There gets to a point where the Raster should hit the value zero or no data. The raster comes out with a positive big number and a negative big number, which messes up the calculate statistics function in the loop. Here it is below.

 

This is an example of the error I would receive

Is there a way I can create an if statement in the loop to check for a raster that looks like this and break away from the loop? Something like this but a statement that would work.

Outcomes