[GRASS-user] could not run r.terraflow in grass 6.4svn

LiangXu Wang wlx at mygis.org
Wed Oct 29 09:46:56 EDT 2008


Hi,
  r.terraflow could not run in grass 6.4 latest svn in ubuntu intrepid.

  run command:
 r.terraflow elev=srtm90 filled=srtm_fill direction=srtm_dir
swatershed=srtm_wshed accumulation=srtm_accu tci=srtm_tci
STREAM_DIR=/home/wlx/tmp/ stats=stats.txt --overwrite

D2/3: G__read_Cell_head
D2/3: G__read_Cell_head_array
D3/3: region item: proj:       1
D3/3: region item: zone:       42
D3/3: region item: north:      3873510
D3/3: region item: south:      3762540
D3/3: region item: east:       592380
D3/3: region item: west:       407610
D3/3: region item: cols:       2053
D3/3: region item: rows:       1233
D3/3: region item: e-w resol:  90
D3/3: region item: n-s resol:  90
D3/3: region item: top:        1
D3/3: region item: bottom:     0
D3/3: region item: cols3:      2053
D3/3: region item: rows3:      1233
D3/3: region item: depths:     1
D3/3: region item: e-w resol3: 90
D3/3: region item: n-s resol3: 90
D3/3: region item: t-b resol:  1
D2/3: G__home home = /home/wlx
WARNING: 'cell/srtm90' was found in more mapsets (also found in
         <PERMANENT>)
WARNING: Using <srtm90 at wlx>
D2/3: G__read_Cell_head
D2/3: G__read_Cell_head_array
D3/3: region item: proj:       1
D3/3: region item: zone:       42
D3/3: region item: north:      3873510
D3/3: region item: south:      3762540
D3/3: region item: east:       592380
D3/3: region item: west:       407610
D3/3: region item: cols:       2053
D3/3: region item: rows:       1233
D3/3: region item: e-w resol:  90
D3/3: region item: n-s resol:  90
D3/3: region item: format:     -1
D3/3: region item: compressed: 1
elevation stored as FLOAT (4B)
region size is 1233 x 2053
STREAM temporary files in /var/tmp  (THESE INTERMEDIATE STREAMS WILL
NOT BE DELETED IN CASE OF ABNORMAL TERMINATION OF THE PROGRAM. TO SAVE
SPACE PLEASE DELETE THESE FILES MANUALLY!)
file newstats.txt exists - renaming.
MFD flow direction
D8CUT=999999986991104.000000
memory size: 300.00M (314572800) bytes
Memory manager registering memory in MM_IGNORE_MEMORY_EXCEEDED mode.
WARNING: 'cell/srtm90' was found in more mapsets (also found in
         <PERMANENT>)
WARNING: Using <srtm90 at wlx>
D2/3: G__read_Cell_head
D2/3: G__read_Cell_head_array
D3/3: region item: proj:       1
D3/3: region item: zone:       42
D3/3: region item: north:      3873510
D3/3: region item: south:      3762540
D3/3: region item: east:       592380
D3/3: region item: west:       407610
D3/3: region item: cols:       2053
D3/3: region item: rows:       1233
D3/3: region item: e-w resol:  90
D3/3: region item: n-s resol:  90
D3/3: region item: format:     -1
D3/3: region item: compressed: 1
D3/3: create window mapping (2053 columns)
total elements=2531349, nodata elements=28687
largest temporary files:
		 FILL: 135.19M (141755544) [2531349 elements, 56B each]
		 FLOW: 190.94M (200212960) [2502662 elements, 80B each]
Will need at least 381.88M (400425920) space available in /var/tmp
------------------------------
COMPUTING FLOW DIRECTIONS
classifying nodata (inner & boundary)
file=/var/tmp/STREAM_GUPzdB:cannot read!: Bad address
r.terraflow: /home/wlx/software/grass-6.4/dist.i486-pc-linux-gnu/include/grass/iostream/ami_sort_impl.h:91:
size_t makeRun_Block(AMI_STREAM<T>*, T*, unsigned int, Compare*) [with
T = nodataType, Compare = labelCmpNodataType]: Assertion `err ==
AMI_ERROR_NO_ERROR || err == AMI_ERROR_END_OF_STREAM' failed.
Aborted

  Any suggestion appreciated.

 Best regards,
Liangxu Wang


More information about the grass-user mailing list