[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 3D interpolation on an irregular grid



"John Marsham (cm)" wrote:

> There seems to be no IDL function that will interpolate in 3D on an
> irregular grid. Am I wrong? Or does someone have one?
>

You might want to try the routines for 1-d, 2-d, or 3-d interpolation
written by  Joop Schaye at
http://idlastro.gsfc.nasa.gov/ftp/pro/math/

ngp.pro - "Nearest Grid Point" interpolation (lowest order)
cic.pro - "Cloud in Cell" interpolation  (higher order)
tsc.pro - "Triangular Shaped Cloud" interpolation (highest order)

--Wayne Landsman
landsman@mpb.gsfc.nasa.gov