Hi,
I think example 1 will deal with your problem on how to weight data,
http://www.ncl.ucar.edu/Applications/eof.shtml.
For example:
; =================================================================
; create weights:  sqrt(cos(lat))   [or sqrt(gw) ]
; =================================================================
  rad    = 4.*atan(1.)/180.
  clat   = f->lat
  clat   = sqrt( cos(rad*clat) )
; =================================================================
; weight all observations
; =================================================================
  wSLP   = SLP                                   ; copy meta data
  wSLP   = SLP*conform(SLP, clat, 1)
  wSLP@long_name = "Wgt: "+wSLP@long_name
; =================================================================
I hope this helps.
Tingting
-- Tingting Fan grad student visitor NCAR/CGD/CAS tel:303-497-1745 _______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Fri Aug 30 12:22:27 2013
This archive was generated by hypermail 2.1.8 : Fri Aug 30 2013 - 14:04:57 MDT