[GRASS-user] r.terraflow on windows grass6.4 RC2 (osgeo4w)

Hi,

i’m tring to use grass on windows (osgeo4w.exe installer)
but “r.terraflow” give me some prblems

on the spearfish dataset :

r.terraflow.short elevation=elevation.10m@PERMANENT filled=elevation10m.filled direction=elevation10m.direction swatershed=elevation10m.watershed accumulation=elevation10m.accu tci=elevation10m.tci d8cut=infinity memory=300 STREAM_DIR=C:\tmp stats=stats3.out

MFD flow direction
D8CUT=999999986991104.000000
Memory size: 300.00M (314572800) bytes
Memory manager registering memory in MM_IGNORE_MEMORY_EXCEEDED mode.
raster elevation.10m is of type DCELL_TYPE --precision may be lost.

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 stats3.out exists - renaming.
ami_single_temp_name: mkstemp failed: : No such file or directory
Assertion failed: 0, file ami_stream.cc, line 75
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application’s support team for more information.

in the file stats3.out i have :

Free Memory=-1
[0.0] Thu Mar 05 23:22:40 2009

Command Line:
C:\OSGeo4W\apps\grass\grass-6.4.0RC3\bin\r.terraflow.short.exe elevation=elevation.10m@PERMANENT filled=elevation10m.filled direction=elevation10m.direction swatershed=elevation10m.watershed accumulation=elevation10m.accu tci=elevation10m.tci d8cut=infinity memory=300 STREAM_DIR= mp stats=stats3.out
input elevation grid: elevation.10m
output (flooded) elevations grid: elevation10m.filled
output directions grid: elevation10m.direction
output sinkwatershed grid: elevation10m.watershed
output accumulation grid: elevation10m.accu
output tci grid: elevation10m.tci
[0.0] MFD flow direction
[0.0] D8CUT=999999986991104.000000
[0.0] Memory size: 300.00M (314572800) bytes
region size = 2.53M (2654802) elts (1398 rows x 1899 cols)
internal nodata value: -9999

it don’t produce any output (onlt the stats file) and terminate immediatly

have you any idea ?

i manually created the directory tmp in C:

p.s.

is these an osgeo4w probles?
do you know any grass-windos version that has r.terraflow working?

i’m really new to windos (never used it) … so maybe i’m doing something wrong :-/
i’m tring to make a foss-gis migration at university (idrology)
so i need a bit of time to port all the people on linux :-/
… where r.terraflow works great and with really good results!

thanks to All,

Massimo Di Stefano
massimodisasha@yahoo.it

epifanio on irc.freenode.net /join gfoss

Same reason like for ticket #520
http://trac.osgeo.org/grass/ticket/520

"the application's support team" should have received the posts in this list and the dev list.

massimo di stefano wrote:

Hi,

i'm tring to use grass on windows (osgeo4w.exe installer)
but "r.terraflow" give me some prblems

on the spearfish dataset :

r.terraflow.short elevation=elevation.10m@PERMANENT filled=elevation10m.filled direction=elevation10m.direction swatershed=elevation10m.watershed accumulation=elevation10m.accu tci=elevation10m.tci d8cut=infinity memory=300 STREAM_DIR=C:\tmp stats=stats3.out

MFD flow direction
D8CUT=999999986991104.000000
Memory size: 300.00M (314572800) bytes
Memory manager registering memory in MM_IGNORE_MEMORY_EXCEEDED mode.
raster elevation.10m is of type DCELL_TYPE --precision may be lost.

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 stats3.out exists - renaming.
ami_single_temp_name: mkstemp failed: : No such file or directory
Assertion failed: 0, file ami_stream.cc, line 75
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

in the file stats3.out i have :

Free Memory=-1
[0.0] Thu Mar 05 23:22:40 2009

Command Line:
C:\OSGeo4W\apps\grass\grass-6.4.0RC3\bin\r.terraflow.short.exe elevation=elevation.10m@PERMANENT filled=elevation10m.filled direction=elevation10m.direction swatershed=elevation10m.watershed accumulation=elevation10m.accu tci=elevation10m.tci d8cut=infinity memory=300 STREAM_DIR= mp stats=stats3.out
input elevation grid: elevation.10m
output (flooded) elevations grid: elevation10m.filled
output directions grid: elevation10m.direction
output sinkwatershed grid: elevation10m.watershed
output accumulation grid: elevation10m.accu
output tci grid: elevation10m.tci
[0.0] MFD flow direction
[0.0] D8CUT=999999986991104.000000
[0.0] Memory size: 300.00M (314572800) bytes
region size = 2.53M (2654802) elts (1398 rows x 1899 cols)
internal nodata value: -9999

it don't produce any output (onlt the stats file) and terminate immediatly

have you any idea ?

i manually created the directory tmp in C:

p.s.

is these an osgeo4w probles?
do you know any grass-windos version that has r.terraflow working?

i'm really new to windos (never used it) ... so maybe i'm doing something wrong :-/
i'm tring to make a foss-gis migration at university (idrology)
so i need a bit of time to port all the people on linux :-/ ... where r.terraflow works great and with really good results!

thanks to All,

Massimo Di Stefano
massimodisasha@yahoo.it <mailto:massimodisasha@yahoo.it>

epifanio on irc.freenode.net /join gfoss
------------------------------------------------------------------------

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user