I need to extent the Value of a grid (water mirror elevation) within the nodata area until reaching a specific barrier (the limit of the watershed), in ArcGIS 10.2 for Desktop.
I am using this:
Con(IsNull("grid"),FocalStatistics("grid",NbrRectangle(3,3),"MEAN"),"grid")
So far I have applied it successively to the last output, increasing the size of the rectangle slowly. This is run in a ModelBuilder.
I was getting bored and I have tried to run an raster iterator to apply a focal statistics on each Output.
The model runs it only one time and stops. I was expecting to have to force to stop once it reachs the barrier . And the pre-existing value are also interpolated, which is not the purpose here.