r.sim.water

4 messages Options
Embed this post
Permalink
Floris Van Ogtrop

r.sim.water

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)

Dear win GRASS users,

 

This posting refers to a posting in early September of 2008 regarding r.sim.water

 

http://n2.nabble.com/-GRASS-windows--r.sim.water-td1929559.html

 

I'm working with WinGrass 6.3 on a WinXP Pro, Pentium 4 with 2.8 Ghz,
3 GB of RAM

 

As I am new to win GRASS I am trying to recreate the Spearfish example as on

 

http://trac.osgeo.org/grass/browser/grass/trunk/raster/simwe/r.sim.water/spearfish.sh

 

The problem is that r.sim.water crashes without giving an error message after running for around 1 minute. I have tried running this in both Batch and GUI modes with the same results.

 

I greatly appreciate your ideas or solutions to why this problem is occurring

 

Best wishes

 

Floris


_______________________________________________
grass-windows mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-windows
Markus Neteler

Re: r.sim.water

Reply Threaded More More options
Print post
Permalink
On Wed, Apr 8, 2009 at 6:45 AM, Floris Van Ogtrop
<[hidden email]> wrote:

> Dear win GRASS users,
>
> This posting refers to a posting in early September of 2008 regarding
> r.sim.water
>
> http://n2.nabble.com/-GRASS-windows--r.sim.water-td1929559.html
>
> I'm working with WinGrass 6.3 on a WinXP Pro, Pentium 4 with 2.8 Ghz,
> 3 GB of RAM
>
> As I am new to win GRASS I am trying to recreate the Spearfish example as on
>
> http://trac.osgeo.org/grass/browser/grass/trunk/raster/simwe/r.sim.water/spearfish.sh
>
> The problem is that r.sim.water crashes without giving an error message
> after running for around 1 minute. I have tried running this in both Batch
> and GUI modes with the same results.

Would you mind to try the new GRASS 6.4.0RC3 binaries?
http://download.osgeo.org/grass/grass64/binary/mswindows/native/

Perhaps the problem is gone then? note that it takes time...

Markus
_______________________________________________
grass-windows mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-windows
Floris Van Ogtrop

RE: r.sim.water

Reply Threaded More More options
Print post
Permalink


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf
Of Markus Neteler
Sent: Wednesday, 8 April 2009 5:44 PM
To: Floris Van Ogtrop
Cc: [hidden email]
Subject: Re: [GRASS-windows] r.sim.water

On Wed, Apr 8, 2009 at 6:45 AM, Floris Van Ogtrop
<[hidden email]> wrote:

>> Dear win GRASS users,
>>
>> This posting refers to a posting in early September of 2008 regarding
>> r.sim.water
>>
>> http://n2.nabble.com/-GRASS-windows--r.sim.water-td1929559.html
>>
>> I'm working with WinGrass 6.3 on a WinXP Pro, Pentium 4 with 2.8 Ghz,
>> 3 GB of RAM
>>
>> As I am new to win GRASS I am trying to recreate the Spearfish
example as >>on
>>
>>
>>http://trac.osgeo.org/grass/browser/grass/trunk/raster/simwe/r.sim.wat
er/spearfish.sh
>>
>> The problem is that r.sim.water crashes without giving an error
message
>> after running for around 1 minute. I have tried running this in both
Batch
>> and GUI modes with the same results.

>Would you mind to try the new GRASS 6.4.0RC3 binaries?
>http://download.osgeo.org/grass/grass64/binary/mswindows/native/
>
>Perhaps the problem is gone then? note that it takes time...
>
>Markus

Hello Markus,
        I tried the new GRASS 6.4.0RC3 binaries (which looks good!).
Unfortunately the problem persists.

#Note that r.slope.aspect and r.mapcalc work perfectly#

g.region rast=elevation.dem -p

r.slope.aspect --o elevation=elevation.dem dx=DX dy=DY

r.mapcalc Rain=if(elevation.dem, 5, null())
r.mapcalc Manin=if(elevation.dem, 0.05, null())
r.mapcalc Infil=if(elevation.dem, 0, null())


r.sim.water --o elevin=elevation.dem dxin=DX dyin=DY rain=Rain
manin=Manin infil=Infil depth=Depth

#Crashes after 1 minute

Best wishes

Floris

_______________________________________________
grass-windows mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-windows
Markus Neteler

Re: r.sim.water

Reply Threaded More More options
Print post
Permalink
On Thu, Apr 9, 2009 at 2:09 AM, Floris Van Ogtrop
<[hidden email]> wrote:
...

> Hello Markus,
>        I tried the new GRASS 6.4.0RC3 binaries (which looks good!).
> Unfortunately the problem persists.
>
> #Note that r.slope.aspect and r.mapcalc work perfectly#
>
> g.region rast=elevation.dem -p
>
> r.slope.aspect --o elevation=elevation.dem dx=DX dy=DY
>
> r.mapcalc Rain=if(elevation.dem, 5, null())
> r.mapcalc Manin=if(elevation.dem, 0.05, null())
> r.mapcalc Infil=if(elevation.dem, 0, null())
>
>
> r.sim.water --o elevin=elevation.dem dxin=DX dyin=DY rain=Rain
> manin=Manin infil=Infil depth=Depth
>
> #Crashes after 1 minute

I have polished the r.sim.water manual page and added your synthetic
example (using the higher res elevation.10m):
http://trac.osgeo.org/grass/changeset/36660

both DEMs work for me... I am afraid that debugging is needed
on Windows.

Markus
_______________________________________________
grass-windows mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-windows