[GRASS-dev] [GRASS GIS] #2839: r.watershed: calculating stream power index crashes

GRASS GIS trac at osgeo.org
Wed Dec 30 02:17:43 PST 2015


#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:1 hellik]:
 >
 > also tested with winGRASS 64bit
 >
 > r.watershed also crashes here.

 some further test with -m flag:

 {{{
 GRASS version: 7.1.svn
 GRASS SVN revision: 67403
 Build date: 2015-12-29
 Build platform: x86_64-w64-mingw32
 }}}

 {{{
 r.watershed -m elevation=elevation at PERMANENT spi=spi_32bit_flagm
 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
 (Wed Dec 30 11:10:31 2015) Command finished (1 min 17 sec)
 }}}

 {{{
 GRASS version: 7.1.svn
 GRASS SVN revision: 67403
 Build date: 2015-12-29
 Build platform: x86_64-w64-mingw32
 }}}


 {{{
 r.watershed -m elevation=elevation at PERMANENT spi=spi_64bit_flagm
 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
 (Wed Dec 30 11:12:25 2015) Command finished (9 sec)
 }}}

 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.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2839#comment:2>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list