Re: Interpolation

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Wed, 17 Dec 2008 10:27:04 -0700

The following may work

http://www.ncl.ucar.edu/Document/Functions/Built-in/rcm2points.shtml

or, if meta data is desired

http://www.ncl.ucar.edu/Document/Functions/Contributed/rcm2points_Wrap.shtml

---
These do require that the latitudes go from south-to-north.
If not, you have to do something like
      latNew = lat2d(::-1,:)
      fNew   = f(::-1,:)
Good luck
Oliver.Fuhrer_at_meteoswiss.ch wrote:
> Hi all,
>  
> I have an deformed grid specified by x(ny,nx), y(ny,nx) and some 
> function defined on the grid f(ny,nx). I would like to interpolate 
> function values f(np) for a list of points in (x,y) space defined by 
> xo(np), yo(np), where np is the number of points. I was not really 
> successfull in finding the appropriate NCL functions, as they always 
> seem to assume fully irregular grids or Cartesian grids. I would be very 
> glad, if someone could give me a hint or a code snippet of how to 
> achieve this efficiently!
>  
> Thanks for your help,
> Oliver
>  
> 
> 
> ________________________________________
> 
> Oliver Fuhrer
> Numerical Models
> 
> Federal Departement of Home Affairs FDHA
> Federal Office of Meteorology and Climatology MeteoSwiss
> 
> Kraehbuehlstrasse 58, P.O. Box 514, CH-8044 Zurich, Switzerland
> 
> Tel. +41 44 256 93 59
> Fax  +41 44 256 92 78
> oliver.fuhrer_at_meteoswiss.ch
> www.meteoswiss.ch - First-hand information
>  
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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 Wed Dec 17 2008 - 10:27:04 MST

This archive was generated by hypermail 2.2.0 : Sat Dec 20 2008 - 12:36:21 MST