[GRASS-user] r.sim.water crashes

Markus Neteler neteler at osgeo.org
Mon Jul 26 15:06:06 EDT 2010


On Tue, Apr 6, 2010 at 6:50 PM, Hanlie Pretorius
<hanlie.pretorius at gmail.com> wrote:
> Hi,
>
> I'm working on Windows XP SP3 and Grass 6.4.0RC6. When I try to run
> r.sim.water according to the example on page 163 in the book "Open
> Source GIS a GRASS GIS approach" (3rd Ed.), I get one of those Windows
> errors that want to 'tell Microsoft about this problem'.
>
> The details of the error report says:
>
> AppName: r.sim.water.exe         AppVer: 0.0.0.0         ModName: libgrass_gis.6.4.0rc6.dll
> ModVer: 0.0.0.0  Offset: 0001a3f7
>
> The first module listed in the detailed technical report is
> r.sim.water.exe. Many modules follow after that.
>
> The book uses the North Carolina example datasets and the steps are as follows:
>
> g.region=rural_1m res=2 -p
>
> r.mapcalc man05=0.05
> r.mapcalc infil0=0.
> r.mapcalc rain50mmhr=50
>
> v.surf.rst -d input=elev_lid792_bepts layer=0 elev=elev_lid792_2m
> slope=dx_2m aspect=dy_2m ten=15 smooth=1.5 segmax=25 npmin=100
>
> r.sim.water -t elevin=elev_lid792_2m dxin=dx_2m dyin=dy_2m
> rain=rain50mmhr infil=infil0 manin=man05 depth=wdp_2m disch=disch_2m
> nwalk=400000 niter=500 outit=20 hmax=0.2 halpha=8.0 hbeta=1.0
>
> I have tried these steps on two different computers and get the same
> error. I have also tried the example on the manual page of r.sim.water
> with the same result.
>
> Can someone perhaps suggest a fix?

There is a fix for GRASS 7 in
http://trac.osgeo.org/grass/ticket/617

which could probably backported.

Markus


More information about the grass-user mailing list