[GRASS-user] v.vol.rst error

xavier garcia acosta epistacio at hotmail.com
Mon Sep 7 11:32:21 EDT 2009




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

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.

Xavier

_________________________________________________________________
Descárgate Internet Explorer 8 ¡Y gana gratis viajes con Spanair!
http://www.vivelive.com/spanair
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20090907/0a5aee16/attachment-0001.html


More information about the grass-user mailing list