Hello list,
after the prior process of getting 2gb data conversion using gdal with grass61cvs been a success.
i am facing a problem with terraflow process on the 2gb dataset(ESRI Ascii Raster Grid) which i converted to grass raster grid file.
r.terraflow December 2003
region size is 19954 x 21199
cell newdata header compatible with region header
elevation stored as FLOAT (4B) WARNING: raster newdata is of type CELL_TYPE --you should use r.terraflow.short
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!)
SFD (D8) flow direction
D8CUT=999999986991104.000000
memory size: 1000.00M (1048576000) bytes
Memory manager registering memory in MM_WARN_ON_MEMORY_EXCEEDED mode.
reading data from newdata to stream /var/tmp/STREAM_NnrFqS:
total elements=423004846, nodata elements=153409740
largest temporary files:
FILL: 22.06G (23688271376) [423004846 elements, 56B each]
FLOW: 20.09G (21567608480) [269595106 elements, 80B each]
Will need at least 44.12G (47376542752) space available in /var/tmp
COMPUTING FLOW DIRECTIONS
classifying nodata (inner & boundary)
finding nodata
relabeling nodata
MM warning: limit=1048576000B. allocating 524140056B. limit exceeded by 58762B.
:
:
merging relabeled grid
MM warning: limit=1048576000B. allocating 524140056B. limit exceeded by 58762B.
:
:
assigning preliminary directions
finding flat areas (plateaus and depressions)
plateau.cc:starting memscan
plateau.cc:memscan done
removing duplicate plateaus
MM warning: limit=1048576000B. allocating 524140060B. limit exceeded by 58770B.
:
relabeling plateaus
MM warning: limit=1048576000B. allocating 524140060B. limit exceeded by 58766B.
generating plateau statistics
MM warning: limit=1048576000B. allocating 523975900B. limit exceeded by 58766B.
assigning directions on plateaus
MM warning: limit=1048576000B. allocating 524222112B. limit exceeded by 48098B.
generating watersheds and watershed graph
creating windows
warning: using slower scan
r.terraflow: 3scan.h:163: void scan3line(FUN&, AMI_STREAM, AMI_STREAM, AMI_STREAM*, BASETYPE, dimension_type) [with T = waterGridType, BASETYPE = waterWindowBaseType, FUN = waterWindower]: Assertion `ae == AMI_ERROR_END_OF_STREAM’ failed.
and also seem not to process data above 1gb(ESRI Ascii Raster Grid) too.
is there anything else i missed while compilation of grass?
PS. i had this was my configuration, compilation and installation statement from grass61cvs.
./configure --enable-shared --with-fftw --with-includes=/usr/include --with-libs=/usr/lib --with-motif --with-freetype=yes --with-freetype-includes=/usr/include/freetype2 --with-nls --with-gdal=/usr/local/bin/gdal-config --with-proj --with-proj-includes=/usr/include --with-proj-libs=/usr/lib --with-glw --with-cxx --with-mysql --with-mysql-includes=/usr/include/mysql --with-mysql-libs=/usr/lib/mysql --with-postgres --with-postgres-includes=/usr/include/pgsql --with-postgres-libs=/usr/lib --with-odbc=yes --with-odbc-includes=/usr/include --with-odbc-libs=/usr/lib --with-glw=yes --enable-largefile;
make;
make install
–
Best Regrads
Abhay Menon