Re: Interpolation

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Wed Nov 21 2012 - 13:33:03 MST

Personally, I would use linear interpolation because
it is the most conservative.

Using splines you could get over/under shoot.

On 11/21/2012 07:58 AM, Shineng Hu wrote:
> Hi Dennis,
>
> Thanks a lot for your suggestions!
> If I want to use cubic splines to interpolate the data, do you think
> function 'csa1' or 'ftcurv' could work?
> Among these three functions, generally, which one do you think would
> make a better approximation? Thank you very much!
>
> Best,
> Shineng
>
> 2012/11/21 Dennis Shea <shea@ucar.edu <mailto:shea@ucar.edu>>
>
> http://www.ncl.ucar.edu/__Document/Functions/__Contributed/linint1_n_Wrap.__shtml
> <http://www.ncl.ucar.edu/Document/Functions/Contributed/linint1_n_Wrap.shtml>
>
> See Example 3. This is linear interpolation.
>
>
> On 11/20/12 9:24 PM, Shineng Hu wrote:
>
> Hi,
>
> I have a question about interpolation:
> Now I have got some monthly climatological data over a certain
> basin.
> That means the data looks like: T(time, depth, lat, lon), and it
> has a
> size (12, ndepth, nlat, nlon). I want to use some nice interpolation
> method (say, cubic) to get 5-day mean climatological data. That
> means
> the new data size should be (72, ndepth, nlat, nlon).
>
> I have seen a list of functions for interpolation, but I am not sure
> which one to choose for my case. I look forward to your suggestions!
>
> Thank you,
> Shineng
>
>
>
>
> _________________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/__mailman/listinfo/ncl-talk
> <http://mailman.ucar.edu/mailman/listinfo/ncl-talk>
>
>
>
>
> --
> *
> *
> *Hu Shineng*
>
> Department of Atmospheric and Oceanic Sciences,
> School of Physics,
> Peking University
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Nov 21 13:33:09 2012

This archive was generated by hypermail 2.1.8 : Fri Dec 07 2012 - 13:30:06 MST