[GRASS-dev] Re: [GRASS GIS] #1006: r.terraflow fails to create temp file on Windows when launched from wxgui

GRASS GIS trac at osgeo.org
Thu Mar 25 08:19:49 EDT 2010


#1006: r.terraflow fails to create temp file on Windows when launched from wxgui
------------------------------+---------------------------------------------
  Reporter:  marisn           |       Owner:  grass-dev at lists.osgeo.org 
      Type:  defect           |      Status:  new                       
  Priority:  major            |   Milestone:  6.4.0                     
 Component:  Raster           |     Version:  svn-releasebranch64       
Resolution:                   |    Keywords:  wxgui, wingrass, terraflow
  Platform:  MSWindows Vista  |         Cpu:  x86-32                    
------------------------------+---------------------------------------------
Changes (by hamish):

  * priority:  normal => major

Comment:

 {{{
 Assertion failed: nrows * ncols == str->stream_len(), file
 grass2str.h, line 144
 }}}

 Hi, I can reproduce this in Windows XP Prof. with the 6.4.0rc6 native
 wingrass installer.

 The temp dir option seems to be respected.

 Interestingly the stats.out file ends up in C:\Program
 Files\GRASS-6.4\msys

 it contains:
 {{{
 Free Memory=-1
 [0.0] Fri Mar 26 00:57:42 2010

 Command Line:
 r.terraflow --verbose elevation=elevation.dem at PERMANENT
 filled=terra.flooded \
    direction=terra.dir swatershed=terra.sink accumulation=terra.accum \
    tci=terra.tci memory=600
 input elevation grid: elevation.dem
 output (flooded) elevations grid: terra.flooded
 output directions grid: terra.dir
 output sinkwatershed grid: terra.sink
 output accumulation grid: terra.accum
 output tci grid: terra.tci
 [0.0] MFD flow direction
 [0.0] D8CUT=999999986991104.000000
 [0.0] Memory size: 600.00M (629145600) bytes
 region size = 288.06K (294978) elts (466 rows x 633 cols)
 internal nodata value: -9999
 reading raster map elevation.demto stream
 C:/DOCUME~1/HAMISH/LOCALS~1/Temp/STREAM_a02052
 }}}


 Note the '''Free Memory=-1''' at the top of the file ...


 Hamish

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


More information about the grass-dev mailing list