[GRASS-user] mapcalc - formula

2009-10-26 Thread Martin Schweizer
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])xo,\ -s * min(water,x-y))+\ if (yx yo,\ s * min(water[-1,0],y-x))+\ .. Thanks anyway and best regards Martin PS:

Re: [GRASS-user] mapcalc - formula

2009-10-20 Thread Maris Nartiss
Hello, I have no time to look into this issue right now. Please add a wish ticket to trac r.lake should support minimum water column depth and describe how it should work. Thanks, Maris. 2009/10/19, Martin Schweizer schweizermar...@students.unibe.ch: Hi I have the following problem: I have

[GRASS-user] mapcalc - formula

2009-10-19 Thread Martin Schweizer
Hi I have the following problem: I have the following formula from http://grass.osgeo.org/gdp/raster/mapcalc-algebra.pdf on page 12. wasser = wasser+eval(x=elev+wasser,\ if(x(y=elev[-1,0]+wasser[-1,0]),\ -.15*if(elevy,wasser,x-y),\ .15*if(elev[-1,0]x,wasser[-1,0],y-x))+\