GRIDDATA error [message #48396] |
Wed, 19 April 2006 21:22  |
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  |
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
|
|
|