comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » GRIDDATA error
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
GRIDDATA error [message #48396] Wed, 19 April 2006 21:22 Go to next message
catwithhat is currently offline  catwithhat
Messages: 10
Registered: April 2006
Junior Member
When trying to regrid data from one spherical coordinate system to
another, I get the fullowing error:

This is my statement. I have used the same configuration with hundreds
of other problems,
it seems that I only get the problem with this specific combination of
coordinate system.
Where do I start?

qhull,ilon,ilat,inp_tr,sphere=sv,/delaunay
u2=griddata(ilon,ilat,u1,$
/sphere,/degrees,$
method='Linear',triangles=inp_tr,$
xout=tlon,yout=tlat)

This is the error message:
GRIDDATA: Value of Triangle index is out of allowed range.

Thanks
Axel
Re: GRIDDATA error [message #48525 is a reply to message #48396] Wed, 26 April 2006 11:15 Go to previous message
btt is currently offline  btt
Messages: 345
Registered: December 2000
Senior Member
catwithhat wrote:
> When trying to regrid data from one spherical coordinate system to
> another, I get the fullowing error:
>
> This is my statement. I have used the same configuration with hundreds
> of other problems,
> it seems that I only get the problem with this specific combination of
> coordinate system.
> Where do I start?
>
> qhull,ilon,ilat,inp_tr,sphere=sv,/delaunay
> u2=griddata(ilon,ilat,u1,$
> /sphere,/degrees,$
> method='Linear',triangles=inp_tr,$
> xout=tlon,yout=tlat)
>
> This is the error message:
> GRIDDATA: Value of Triangle index is out of allowed range.

Hi,

Have you tried the same steps using TRIANGULATE instead of QHULL? It
might be worth a try. Alternatively, you could use GRID_INPUT to prepare
ilon and ilat.

Ben
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: obtaining modified data from object graphics
Next Topic: ps/eps ouput from object graphic

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:37:33 PDT 2025

Total time taken to generate the page: 0.00537 seconds