[GRASS-dev] [GRASS GIS] #2839: r.watershed: calculating stream power index crashes
GRASS GIS
trac at osgeo.org
Tue Mar 8 01:43:03 PST 2016
#2839: r.watershed: calculating stream power index crashes
---------------------+-------------------------
Reporter: hellik | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.4
Component: Raster | Version: svn-trunk
Resolution: | Keywords: r.watershed
CPU: x86-64 | Platform: MSWindows 7
---------------------+-------------------------
Comment (by hellik):
Replying to [comment:3 mmetz]:
> Replying to [comment:2 hellik]:
> > Replying to [comment:1 hellik]:
> > >
> > > also tested with winGRASS 64bit
> > >
> > > r.watershed also crashes here.
> >
> >
> > it seems stream power index calculation in r.watershed works with -m
flag (Enable disk swap memory option) in both 32bit and 64bit
winGRASS7trunk, but not in normal mode.
>
> Stupid segfault, should be fixed in r67919.
tested with
{{{
GRASS version: 7.1.svn
GRASS SVN revision: 68008
Build date: 2016-03-08
Build platform: x86_64-w64-mingw32
GDAL: 2.0.2
PROJ.4: 4.9.2
GEOS: 3.5.0
SQLite: 3.7.17
Python: 2.7.5
wxPython: 2.8.12.1
Platform: Windows-7-6.1.7601-SP1 (OSGeo4W)
}}}
{{{
r.watershed elevation=elevation at PERMANENT spi=streampower
SECTION 1a (of 4): Initiating Memory.
SECTION 1b (of 4): Determining Offmap Flow.
SECTION 2: A* Search.
SECTION 3a: Accumulating Surface Flow with MFD.
SECTION 3b: Adjusting drainage directions.
SECTION 4: Closing Maps.
(Tue Mar 08 10:38:52 2016) Command finished (4 sec)
(Tue Mar 08 10:39:49 2016)
r.watershed -m elevation=elevation at PERMANENT spi=streampowerms
SECTION 1 beginning: Initiating Variables. 4 sections total.
SECTION 1a: Mark masked and NULL cells
SECTION 1b: Determining Offmap Flow.
SECTION 2: A* Search.
SECTION 3a: Accumulating Surface Flow with MFD.
SECTION 3b: Adjusting drainage directions.
SECTION 4: Closing Maps.
Closing SPI map
(Tue Mar 08 10:40:03 2016) Command finished (13 sec)
}}}
bug fixed, closing ticket.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2839#comment:4>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list