mattiasvo

'while loop' on rasters

Discussion created by mattiasvo on Jan 9, 2012
Latest reply on Jan 9, 2012 by mattiasvo
A beginners question:
I am looking for the right syntax to perform a while loop on a raster "x",
I want to do something like
while cell (in raster x) > 0:
value of cell= value of cell-1

How can I do this? Probably something easy but I can't find it anywhere.

Thank you

Outcomes