Re: I want draw pressure level.

From: Wei Huang <huangwei_at_nyahnyahspammersnyahnyah>
Date: Wed, 9 Sep 2009 07:49:40 -0600

Assume you have an array of:

x(time,lev,lat,lon)

You can do:

lat_mean = dim_avg_n_Wrap(x, 2) ; (time,lev,lon)
lon_mean = dim_avg_n_Wrap(x, 1) ; (time,lev,lat)

To get latitude or longitude mean.

-------

However, if the data are on a curvilinear grid rather than a regular
lat/lon grid,
you must interpolate to a regular [rectilinear] grid.

You need to check URL:
http://www.ncl.ucar.edu/Document/Functions/Contributed/rcm2rgrid_Wrap.shtml

to see how to use rectilinear approach

You may also go to NCL web-site, http://www.ncl.ucar.edu,
on the top right corner, do a search on "interpolate to pressure
level" which will give you
lots of options.

Regards,

Wei Huang
huangwei_at_ucar.edu
VETS/CISL
National Center for Atmospheric Research
P.O. Box 3000 (1850 Table Mesa Dr.)
Boulder, CO 80307-3000 USA
(303) 497-8924

On Sep 8, 2009, at 6:07 PM, 媛먯븘 wrote:

> I was draw latitude mean and longitude mean using dim_avg_n function.
>
> I want to draw pressure level for Z axis level.
>
> Also X and Y axis want to draw longitude & latitude level.
>
> How can I writing script?
>
> help me.
> _______________________________________________
> 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 Sep 09 2009 - 07:49:40 MDT

This archive was generated by hypermail 2.2.0 : Tue Sep 15 2009 - 16:03:21 MDT