tri_surf : convergence [message #5552] |
Fri, 12 January 1996 00:00 |
M.W.Gardner
Messages: 7 Registered: November 1995
|
Junior Member |
|
|
Can anyone explain the following and/or suggest a way around the problem ?
I am trying to interpolate four data points (each at the corner of a rectangle)
over the rectangle at a finer resolution.
My grid is as follows :
1010.95 1009.80
1016.40 1015.25
and is stored in the floating point 2x2 array 'grid'
My code then interpolates this using the TRI_SURF function as follows:
fgrid=tri_surf(grid,nx=11,ny=6)
The result of this is an error message :
% TRIGRID: Partial derivative approximation failed to converge.
% Error occurred at: TRI_SURF 192 /dave3/rsi/idl_4/lib/tri_surf.pro
Please can anyone explain what is going on. The interpolation appears to work
fine for most other values.
Matt
-----> Matt Gardner EMAIL->m.W.gardner@uea.ac.uk PHONE->+44- 1603-592041
School of Environmental Science,University of East Anglia,Norwich,NR4 7TJ,UK
------------------------------------------------------------ ------------------
opinions are mine - http://www.uea.ac.uk/~e449
|
|
|