[GRASS-user] Using r.terraflow On Large Rasters

Bruce Worstell pytopo at gmail.com
Wed Oct 25 23:22:32 EDT 2006


I'm trying to run r.terraflow on a large raster 54,000 x 57,600.  I
had to edit the types.h file in r.terraflow source directory as
described in http://grass.itc.it/pipermail/grassuser/2004-February/024680.html
but now I'm getting an an "Assertion failed" error.

Here is the output.
--------------------------------------------------------
GRASS 6.2.0RC2 (2006)
cell dem header compatible with region header
elevation stored as FLOAT (4B) WARNING: raster dem is of type
CELL_TYPE --you should use r.terraflow.short

region size is 54000 x 57600
STREAM temporary files in /edcsns21/edna/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 stats.out exists - renaming.
SFD (D8) flow direction
D8CUT=999999986991104.000000
memory size: 1.77G (0) bytes
Memory manager registering memory in MM_WARN_ON_MEMORY_EXCEEDED mode.
reading data from dem to stream /edcsns21/edna/tmp/STREAM_8DayQI:    99%

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

I'm running this on Solaris 10

Any suggestions on what I should try next?

Thanks

Bruce




More information about the grass-user mailing list