Re: about interpolation

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Fri Jul 20 2012 - 10:16:57 MDT

Here are two examples (using dummy data): one which uses linint2_points, and one which uses ESMF_regrid. You need NCL V6.1.0-beta to use the ESMF_regrid one.

They both produce identical plots, because in this case, I'm using bilinear interpolation.

--Mary

On Jul 20, 2012, at 10:04 AM, Dennis Shea wrote:

> If the grid is rectilinear:
>
> http://www.ncl.ucar.edu/Document/Functions/Contributed/linint2_points_Wrap.shtml
>
> On 07/20/2012 07:33 AM, Cheung wrote:
>> Hi all:
>>
>> I have a 2d data, which is at nlat x nlon grid.
>>
>> And now I want to interpolate this data to some specified locations,
>> each of which has a unique lat and lon.
>>
>> I'm not sure which function in ncl is the best for this case.
>>
>> Hope for the reply.
>>
>> Regards
>>
>> Cheung
>>
>>
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

regrid_linint2pts.png
Received on Fri Jul 20 10:17:12 2012

This archive was generated by hypermail 2.1.8 : Tue Jul 24 2012 - 09:48:26 MDT