[GRASSLIST:5336] Re: r3.out.v5d error

Markus Neteler neteler at itc.it
Mon Jan 20 03:11:41 EST 2003


On Sat, Jan 18, 2003 at 05:37:37PM +0100, Christoph Hoesli wrote:
> Thanks a lot for your help. The v5d export works with the latest
> CVS-repository
> code.
> 
> I still had the same error with files containing less than 800 rows. So I
> checked out the latest code for the g3d module from cvs. Now it works! The
> handicap
> is a limitation of 400 instead of 800 rows.
> I am able to export g3d files to v5d format without an error. (files with
> less or equal 400 rows)

Thanks, Christoph,

now also this bug is fixed in CVS. The limit of vis5d (including vis5d-1.3.0)
is
400x400.

Markus

> 
> 
> 
> -----Ursprungliche Nachricht-----
> Von: John Harrop [mailto:johnh at sjgeophysics.com]
> Gesendet: Freitag, 17. Januar 2003 08:29
> An: hoesli at swissonline.ch
> Cc: grass-dev
> Betreff: Re: [GRASSLIST:5321] r3.out.v5d error
> 
> 
> Christoph,
> 
> That's the reverse of my problem!  I've been having problems with s.vol.rst
> which I have not solved yet.
> 
> You almost certainly should use the g3d routines from the latest CVS
> version of 5.0 source.  (Not to be confused with 5.1)  Quite a few
> important fixes have been done there.  Alfonso Vitti has done a number of
> fixes - including some critical ones to get the g3d read and write
> functions behaving properly.  Some of the loops in the various utilities
> are still causing reversal in N-S or depth.  I've been working with the v5d
> output over the last 6 weeks using 3d geophysical models of electrical
> properties of the sub-surface.  I've modified the loops in s.vol.idw and
> r3.out.v5d to store data in the correct order and thus display in vis5d
> right way up and oriented N-S correctly.  I believe those recent fixes went
> into the CVS.
> 
> Looking at the source briefly I note that it might try to use 801 rows in
> vis5d for 800 rows of data.  (Although the test printing the error message
> should not have failed on equality???)  I looked at the new code, so its
> also possible that Alfonso Vitti has fixed the problem (he moved where the
> row/cols are read form region).
> 
> Why not try dropping a few more rows to see if the problem goes
> away.  Please let me now the outcome.
> 
> Cheers,
> John Harrop
> 
> At 09:44 PM 16/01/2003 +0100, you wrote:
> >Hi all
> >
> >I'm interpolating percipitation data with s.vol.rst.
> >I tried to export the d3d files (elev, gradient, aspect...)
> >to Vis5D with r3.out.v5d and got an error.
> >
> >% r3.out.v5d grid3=anasp1555_3 output=anasp1555_3.v5d
> >ERROR: Viz5D allows 800 rows, you have 853 rows
> >
> >Now I modified the region settings so I have 800 rows.
> >But I still get an Error.
> >ERROR: Viz5D allows 800 rows, you have 800 rows  (??????)
> >
> >Whats wrong with my grass g3d module??? I've installed
> >grass5.0. (compiled on my suse 8.0 Box)
> >
> >Thanks for help!!
> >Christoph

-- 
Markus Neteler

ITC-irst, Istituto per la Ricerca Scientifica e Tecnologica
      Project on Predictive Models for the Environment    
Via Sommarive, 18        -       38050 Povo (Trento), Italy
tel +39 0461 314 520 (fax -591)           http://mpa.itc.it




More information about the grass-user mailing list