I assume you mean that the data are on a curvilinear grid.
The function "rcm2points" *may* perform the task
http://www.ncl.ucar.edu/Document/Functions/Built-in/rcm2points.shtml
lat = (/ .../)
lon = (/ .../)
xDen = *rcm2points* (tlat, tlon, data, lat, lon, 0)
Yang Yang wrote:
> Hi All:
>
> I have some data on irregular grids and would like to plot some crosssections.
>
> The data look like:
>
> time=1
> nlat=300
> nlon=300
> lev=10
> float tlon(nlat,nlon)
> float tlat(nlat,nlon)
> loat data(time,lev,nlat,nlon)
> data_at_lon2d = tlon
> data_at_lat2d = tlat
>
> Does anyone here have NCL scripts to do the job? Can I share your scripts? Thank you very much!
>
> Regards
> Ed
>
>
> ____________________________________________________________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-- ====================================================== Dennis J. Shea tel: 303-497-1361 | P.O. Box 3000 fax: 303-497-1333 | Climate Analysis Section | Climate & Global Dynamics Div. | National Center for Atmospheric Research | Boulder, CO 80307 | USA email: shea 'at' ucar.edu | ====================================================== _______________________________________________ ncl-talk mailing list ncl-talk_at_ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Wed Apr 30 2008 - 08:29:01 MDT
This archive was generated by hypermail 2.2.0 : Wed Apr 30 2008 - 22:04:51 MDT