interpolation to specific longitude/latitude

From: mark collier <Mark.Collier_at_nyahnyahspammersnyahnyah>
Date: Wed Aug 18 2010 - 17:53:11 MDT

Hi,
with a 2D array which is a function of latitude and longitude, if one
uses the {} notation to select a particular longitude/latitude point

e.g.

point = data2D({latitude},{longitude})

as I understand it the value refers to the nearest latitude/longitude
point rather than interpolated to the actual latitude/longitude point.
The latter might be more appropriate, for example, when wanting to
find rainfall at a station which is surrounded by grid points and the
grid is somewhat coarse.

Is there some way of obtaining an interpolated value (from say the
nearest 4 values) rather than the nearest value? Where a point lies on
a latitude or longitude line or poleward of an existing latitude would
make special cases.

Regards,
Mark.
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Aug 18 17:54:36 2010

This archive was generated by hypermail 2.1.8 : Wed Aug 25 2010 - 11:50:26 MDT