Hi

I (in cooperation with Ernst Lobsiger) found a working formula for my
problem:

water=water+eval(o=4.0, s=0.15, d=0.10, x=elev+water,\
if  (x>(y=elev[-1,0]+water[-1,0])  &&  x>o,\
-s * min(water,x-y))+\
if (y>x && y>o,\
s * min(water[-1,0],y-x))+\
......


Thanks anyway and best regards

Martin

PS: My Problem was that I had to distribute water over an
elevation-raster, but only when the water level is over 4 (water+eval>4).
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to