Re: Interpolation

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon, 21 Jul 2008 14:38:11 -0600 (MDT)

Hi Yuval,

Natgrid doesn't do weighting that I know of. I'm looking into our NCL
functions to see if there's something I can tap into there and bring
over into the PyNGL world.

However, I imagine that there are other python modules out there, like
Scipy, that have this kind of functionality. Did you look at the
scipy.interpolate package?


On Mon, 21 Jul 2008, Yuval Itan wrote:

> Hi all,
> I'm using Ngl.natrid function to interpolate my data. I was wondering if there's any way to weigh the sample size in the interpolation. So for example, if I have 5 datapoints with 5 values, and the number of samples used to generate the data at each point is 1,4,99,12,3 (respectively), then I would like point number 3 (with 99 samples) to have the strongest "weight" on the interpolation, and point 1 the weakest.
> Thanks,
> Yuval
> _________________________________________________________________
> Explore the seven wonders of the world
> _______________________________________________
> pyngl-talk mailing list
pyngl-talk mailing list
Received on Mon Jul 21 2008 - 14:38:11 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 29 2008 - 14:14:18 MDT