<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<br><br>&gt; From: neteler@osgeo.org<br>&gt; Date: Fri, 4 Sep 2009 20:30:30 +0200<br>&gt; Subject: Re: [GRASS-user] v.vol.rst error<br>&gt; To: epistacio@hotmail.com<br>&gt; CC: grass-user@lists.osgeo.org<br>&gt; <br>&gt; On Tue, Sep 1, 2009 at 10:03 AM, xavier garcia<br>&gt; acosta&lt;epistacio@hotmail.com&gt; wrote:<br>&gt; ...<br>&gt; &gt; GRASS 6.4.0RC4 (costabrava):~ &gt; v.vol.rst input=string [cellinp=dtm]<br>&gt; &gt; [wcolumn=DIESPLUJA] [cellout=diespluja]<br>&gt; &gt; *** buffer overflow detected ***: v.vol.rst terminated<br>&gt; &gt; ======= Backtrace: =========<br>&gt; &gt; /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb77d0da8]<br>&gt; &gt; /lib/tls/i686/cmov/libc.so.6[0xb77ceeb0]<br>&gt; &gt; /lib/tls/i686/cmov/libc.so.6[0xb77ce5a8]<br>&gt; &gt; /lib/tls/i686/cmov/libc.so.6(__overflow+0x53)[0xb7741683]<br>&gt; &gt; /lib/tls/i686/cmov/libc.so.6(__printf_fp+0x176e)[0xb771926e]<br>&gt; &gt; /lib/tls/i686/cmov/libc.so.6(_IO_vfprintf+0x3ca)[0xb7712bfa]<br>&gt; &gt; /lib/tls/i686/cmov/libc.so.6(__vsprintf_chk+0xa4)[0xb77ce654]<br>&gt; &gt; /lib/tls/i686/cmov/libc.so.6(__sprintf_chk+0x2d)[0xb77ce59d]<br>&gt; &gt; v.vol.rst(main+0x176)[0x804c966]<br>&gt; &gt; /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb76e9775]<br>&gt; &gt; v.vol.rst[0x804bd71]<br>&gt; &gt; ======= Memory map: ========<br>&gt; &gt; 08048000-08056000 r-xp 00000000 08:06 347205<br>&gt; &gt; /usr/lib/grass64/bin/v.vol.rst<br>&gt; &gt; 08056000-08057000 r--p 0000d000 08:06 347205<br>&gt; &gt; /usr/lib/grass64/bin/v.vol.rst<br>&gt; &gt; 08057000-08058000 rw-p 0000e000 08:06 347205<br>&gt; &gt; /usr/lib/grass64/bin/v.vol.rst<br>&gt; &gt; 08efe000-08f1f000 rw-p 08efe000 00:00 0          [heap]<br>&gt; &gt; b5a1b000-b5a5a000 r--p 00000000 08:06 81613<br>&gt; &gt; /usr/lib/locale/ca_ES.utf8/LC_CTYPE<br>&gt; &gt; b5a5a000-b5a5e000 rw-p b5a5a000 00:00 0<br>&gt; &gt; b5a5e000-b5a61000 r-xp 0<br>&gt; &gt;<br>&gt; &gt; Pd: My GRASS version is GRASS 6.4.0RC4 (2009) runnig on UBUNTU 9.04<br>&gt; <br>&gt; I have tried with 6.4.svn in the Slovakia3d demo location:<br>&gt; <br>&gt; v.vol.rst precip3d cellinp=precip wcolumn=precip cellout=diespluja segmax=700<br>&gt; 435 records selected from table<br>&gt; WARNING: strip exists with insufficient data<br>&gt; Processing all selected output files will require 0 bytes of disk space for<br>&gt; temp files<br>&gt; <br>&gt; Percent complete:    0%...<br>&gt; <br>&gt; I didn't wait for 100% though. Does it crash immediately for you?<br>&gt; <br>&gt; <br>&gt; On Tue, Sep 1, 2009 at 5:50 PM, xavier garcia<br>&gt; acosta&lt;epistacio@hotmail.com&gt; wrote:<br>&gt; ...<br>&gt; &gt; I have solved the last problem but now when I exectute v.vol.rst module with<br>&gt; &gt; the next command:<br>&gt; &gt;<br>&gt; &gt; v.vol.rst input=puntsestacio@pobles cellinp=dtm@clima wcolumn=DIESPLUJA<br>&gt; &gt; tension=40. smooth=0.1 segmax=700 npmin=200 dmin=15.001074 wmult=1.0<br>&gt; &gt; zmult=1.0 cellout=diespluja2<br>&gt; &gt;<br>&gt; &gt; I've got the next error:<br>&gt; &gt;<br>&gt; &gt; "Percent complete: WARNING: Reading raster map &lt;dtm@clima&gt; request for row<br>&gt; &gt; 3231 is outside region<br>&gt; &gt; ERROR: Could not get row (eventually WIND3 does not match WIND)"<br>&gt; &gt;<br>&gt; &gt; Anybody know how to solve that?<br>&gt; <br>&gt; Check<br>&gt; g.region -p3<br>&gt; <br>&gt; if rows and rows3 match and col and cols3. They need to be adjusted if not.<br><br>I did it and now v.vol.rst doesn't crash. The problem now is that I got a NULL data output. I have tried Slovakia3d demo location and it works properly so I suspect that the problem is a lack o data points in my location.<br><br>Xavier<br><br /><hr />Con Vodafone disfruta de Hotmail gratis en tu móvil. <a href='http://serviciosmoviles.es.msn.com/hotmail/vodafone.aspx' target='_new'>¡Pruébalo!</a></body>
</html>