Re: EOF example

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Thu, 30 Jul 2009 14:09:52 -0600

Don't know where this dataset is located.

However, you can download the slp.mon.mean.nc file from

http://www.cdc.noaa.gov/data/gridded/data.ncep.reanalysis.surface.html

It may not be the exact same data but close enough.
Then just change the read section to

; ==============================================================
; Open the file:
; (1) get indices for (say) Jan 1979 to Dec 2003
; (2) Read only the desired data
; ==============================================================
  diri = "./" ; whatever
  fili = "slp.mon.mean.nc"
  f = addfile (diri+fili, "r")

  TIME = f->time ; 'trick' to get
desired dates
  YYYYMM = ut_calendar(TIME, -1)
  YYYY = YYYYMM/100
  ii = ind(YYYY.ge.1973 .and. YYYY.le.2003)

  slp = f->slp(ii,:,:) ; read only desired data
================

Everything else should be identical.

Note the sign of the EOF may change. It is arbitrary.

Good luck

Mateus Teixeira wrote:
> Dear NCL users,
>
> Is there a way to get a copy of SLP.1979_2003.nc
> <http://SLP.1979_2003.nc>, used in the EOF example given in
>
> http://www.ncl.ucar.edu/Applications/eof.shtml
>
> Best regards
>
>
> --
> Mateus da Silva Teixeira
>
> Registered Linux User #466740
> ------------------------------------------------------------------------
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>

-- 
======================================================
Dennis J. Shea                  tel: 303-497-1361    |
P.O. Box 3000                   fax: 303-497-1333    |
Climate Analysis Section                             |
Climate & Global Dynamics Div.                       |
National Center for Atmospheric Research             |
Boulder, CO  80307                                   |
USA                        email: shea 'at' ucar.edu |
======================================================
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jul 30 2009 - 14:09:52 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 31 2009 - 14:51:03 MDT