Hi Tianle,
In short, yes and yes. When using any of the spherical harmonics
functions, latitudes must be in ascending order. You can easily reverse
the latitudes by using the "::-1" syntax:
airt = a->2T(:,::-1,:)
Adam
Tianle Yuan wrote:
> Hi, Folks
>
> I need to read and convert temperature and specific humidity from the
> ERA40 ds.117.1 data set. There was a nice message on how to convert the
> 117.0 data by Dennis Shea:
>
> http://www.ncl.ucar.edu/Support/talk_archives/2006/0690.html
>
> It used the function 'g2fsh_Wrap' which requeires that latitude is in
> ascending order while the data in ds117.1 is organized in descending
> latitude order. Does it really matter?
>
> if so does a simple reverse of the data solve the problem?
>
> Thanks.
>
> TL
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-- -------------------------------------------------------------- Adam Phillips asphilli_at_ucar.edu National Center for Atmospheric Research tel: (303) 497-1726 ESSL/CGD/CAS fax: (303) 497-1333 P.O. Box 3000 Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli _______________________________________________ ncl-talk mailing list ncl-talk_at_ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Tue May 29 2007 - 16:28:53 MDT
This archive was generated by hypermail 2.2.0 : Wed May 30 2007 - 16:42:09 MDT