Re: eof_1.ncl

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Fri, 25 May 2007 08:30:22 -0600 (MDT)

Oops!!! Nope.

On Fri, 25 May 2007, Sijikumar S wrote:

> Hello,
>
> In the example script
> http://www.ncl.ucar.edu/Applications/Scripts/eof_1.ncl, the function "sqrt"
> used twice on latitude array while creating weights
>
> create weights: sqrt(cos(lat)) [or sqrt(gw) ]
> ; -----------------------------------------------------------------
> rad = 4.*atan(1.)/180.
> clat = f->lat
> clat = sqrt( cos(rad*clat) ) ; gw for gaussian grid
> ^^^^

   clat = cos(rad*clat)

> ; -----------------------------------------------------------------
> ; weight all observations
> ; -----------------------------------------------------------------
> wSLP = SLP ; copy meta data
> wSLP = SLP*conform(SLP, sqrt(clat), 1)
> ^^^^
>
> is it necessary ?
>
> Thanks
> Siji
>
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri May 25 2007 - 08:30:22 MDT

This archive was generated by hypermail 2.2.0 : Tue May 29 2007 - 07:20:15 MDT