Re: bilinear interpolation linint2_points

From: <debasish_at_nyahnyahspammersnyahnyah>
Date: Thu Apr 21 2011 - 22:26:04 MDT

Dear Paula,

I am not sure that I exactly understand your problem. However, If you like
to interpolates curvilinear (lat2d(xi,yi) and lon2d(xi,yi))grids to a
points in your domain you could use "rcm2points"
(http://www.ncl.ucar.edu/Document/Functions/Built-in/rcm2points.shtml)
which follows a inverse distance squared algorithm.

Good luck

Debasish

> Hi -
>
> I'm trying to interpolate gridded model data to a few points in my domain
> by
> using *linint2_points*.
>
> My xi (model lon) and yi (model lat) are 2D arrays so is my fi (model
> variable).
>
> I'm having trouble with the number of dimensions, since NCL requires a
> 2-dimensional xi to have one less dimension than fi. But my fi is two
> dimensional also.
>
> What is this third dimension that I should have? It can't be time, since
> there is also a restriction on the size of the rightmost dimensions of fi,
> based on the dimensions of xi and yi.
>
> Any suggestions?
>
> Thank you!
>
> --
> *Paula Doubrawa Moreira**
> *Graduate Student - Research Assistant
> International Arctic Research Center
> University of Alaska Fairbanks
> _______________________________________________
> 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
Received on Thu Apr 21 22:28:00 2011

This archive was generated by hypermail 2.1.8 : Tue May 03 2011 - 14:47:35 MDT