Re: interpolation to specific longitude/latitude

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Wed Aug 18 2010 - 17:58:34 MDT

http://www.ncl.ucar.edu/Document/Functions/Built-in/linint2_points.shtml
http://www.ncl.ucar.edu/Document/Functions/Contributed/linint2_points_Wrap.shtml

On 08/18/2010 05:53 PM, mark collier wrote:
> 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

-- 
======================================================
Dennis J. Shea                  tel: 303-497-1361    |
P.O. Box 3000                   fax: 303-497-1333    |
Climate Analysis Section                             |
Climate & Global Dynamics Div.                       |
National Center for Atmospheric Research             |
Boulder, CO  80307                                   |
USA                        email: shea 'at' ucar.edu |
======================================================
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Aug 18 17:58:39 2010

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