Hi,
i see the updated description in the help page,
so i tried the same command :
r.terraflow elev=elevation.10m filled=elevation10m.filled dir=elevation10m.mfdir swatershed=elevation10m.watershed accumulation=elevation10m.accu tci=elevation10m.tci
it works fine using an old binary installation (grass-6.3.app)
but tring to do the same using grass-6.4.svn.app compiled from source
or using a linux (ubuntu 8.04 32/64 bit) compiled from the grass6-devel svn source,
i have :
GRASS 6.4.svn (spearfish60):~ > g.region rast=elevation.10m -ap
projection: 1 (UTM)
zone: 13
datum: nad27
ellipsoid: clark66
north: 4928000
south: 4914020
west: 590010
east: 609000
nsres: 10
ewres: 10
rows: 1398
cols: 1899
cells: 2654802
GRASS 6.4.svn (spearfish60):~ > r.terraflow elev=elevation.10m filled=elevation10m.filled dir=elevation10m.mfdir swatershed=elevation10m.watershed accumulation=elevation10m.accu tci=elevation10m.tci
Bus error
GRASS 6.4.svn (spearfish60):~ >
these the OSX console log :
Process: r.terraflow [16437]
Path: /Applications/GRASS-6.4.app/Contents/MacOS/bin/r.terraflow
Identifier: r.terraflow
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: bash [16163]
Date/Time: 2008-11-14 10:41:23.516 +0100
OS Version: Mac OS X 10.5.5 (9F33)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000024
Crashed Thread: 0
Thread 0 Crashed:
0 r.terraflow 0x00001f3d check_header(char*) + 133
1 r.terraflow 0x00002188 check_args() + 328
2 r.terraflow 0x00002cb8 main + 172
3 r.terraflow 0x00001a32 start + 54
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x00001ec7 ecx: 0x00124000 edx: 0x00000000
edi: 0x00000000 esi: 0x00000000 ebp: 0xbfffd828 esp: 0xbfffd780
ss: 0x0000001f efl: 0x00010246 eip: 0x00001f3d cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x00000024
Binary Images:
0x1000 - 0x89ff7 +r.terraflow ??? (???) <e72f561560ddefdfa2cc2cc30288ddab> /Applications/GRASS-6.4.app/Contents/MacOS/bin/r.terraflow
0xbf000 - 0x105fe7 +libgrass_gis.dylib ??? (???) <ada5fc28d9c3cf41867eb0115c207529> /Applications/GRASS-6.4.app/Contents/MacOS/lib/libgrass_gis.dylib
0x119000 - 0x11efff +libgrass_datetime.dylib ??? (???) <61c40a4de3dad8e3661efbb77e2ed076> /Applications/GRASS-6.4.app/Contents/MacOS/lib/libgrass_datetime.dylib
0x8fe00000 - 0x8fe2da53 dyld 96.2 (???) <7af47d3b00b2268947563c7fa8c59a07> /usr/lib/dyld
0x90d71000 - 0x90d78fe9 libgcc_s.1.dylib ??? (???) <f53c808e87d1184c0f9df63aef53ce0b> /usr/lib/libgcc_s.1.dylib
0x90dd6000 - 0x90f36ff3 libSystem.B.dylib ??? (???) <a12f397abf2285077b89bd726bff5b18> /usr/lib/libSystem.B.dylib
0x91539000 - 0x9153dfff libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
0x9153e000 - 0x9154cffd libz.1.dylib ??? (???) <5ddd8539ae2ebfd8e7cc1c57525385c7> /usr/lib/libz.1.dylib
0x91d50000 - 0x91dadffb libstdc++.6.dylib ??? (???) <04b812dcec670daa8b7d2852ab14be60> /usr/lib/libstdc++.6.dylib
0xffff0000 - 0xffff1780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib
so there is something wrong im my grass64 :-/
but at the end of the make process, i don't see any errors
(just one about nviz to run wx-nviz as command line)
Hi
i'm tring to use "r.terraflow"
following the help page i see :
r.terraflow elev=spearfish filled=spearfish-filled \
dir=spearfish-mfdir swatershed=spearfish-watershed \
accumulation=spearfish-accu tci=spearfish-tcibut i can't find any "spearfish" elevation data in the spearfish dataset
so i used elevation.dem insted, but i've a segfault :-/i tried with different locatiuon too, using:
as data input an elevetion model (230m resolution)
in a wgs84 UTM 33 N locationbut i have segfault again....
mybe my knowledge of the r.terraflow application is not so good, and
i'm missing something to prepare the input data ?i tried the same step having the same results
on a grass64 svn builded from source on different platforms
(ubuntu 8.04 32 bit , osx 10.5)thanks for any help!
regards,
Massimo Di Stefano.
Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com