Meridional average of pressure levels data

Hyacinth Cyprain Nnamchi hc.nnamchi at LASG.IAP.AC.CN
Tue Sep 8 09:14:29 EDT 2009


Dea Li and Kim,
Thanks alot. Kim's simple code works perfectly well.

hyacinth




>-----原始邮件-----
> 发件人: "Kim WonMoo" <kwmski7 at SNU.AC.KR>
> 发送时间: 2009-09-08 16:17:06
> 收件人: GRADSUSR at LIST.CINECA.IT
> 抄送:
> 主题: Re: Meridional average of pressure levels data
> Use "define" ^^
>
>
>
> e.g.,
>
>
>
> >set x 1
>
> >set lat -90 90
>
> >set z 1 17
>
> >set t 1 last
>
>
>
> then define,
>
>
>
> >define lonave=ave(var,lon=-60,lon=10)
>
>
>
> good luck,
>
> Kim, WonMoo
>
>
>
> --------------------------------------------------
>
> From: "Hyacinth Cyprain Nnamchi" <hc.nnamchi at LASG.IAP.AC.CN>
>
> Sent: Friday, September 04, 2009 1:16 AM
>
> To: <GRADSUSR at LIST.CINECA.IT>
>
> Subject:      Meridional average of pressure levels data
>
>
>
> > Dear GRADS Users,
>
> >
>
> > I have the NCEP-2 monthly data at 2.5x2.5 lon/lat for 17 vertical levels
>
> >
>
> > I want to calculate the meridional average for lon=-60 lon=10 such that
>
> > the new data wil be of the form:
>
> > lon =1
>
> > lat = -90 90
>
> > lev= 1 17
>
> > time =t1 tlast (1979-2007)
>
> >
>
> > Can anyone help with some ideas?
>
> >
>
> > Thanks in advance,
>
> > hyacinth
>
> >
>
> >
>
> >
>
>

--

Hyacinth C. Nnamchi
TWAS-CAS Fellow
State Key Laboratory of Numerical Modeling for
Atmospheric Sciences and Geophysical Fluid Dynamics (LASG)
Institute of Atmospheric Physics (IAP)
Chinese Academy of Sciences (CAS)
P.O.Box 9804, Beijing 100029, China
Tel: +86-13488719702
Fax: +86-10-82995172
E-mail:hc.nnamchi at lasg.iap.ac.cn



More information about the gradsusr mailing list