Hi!
I am trying to use the function eofunc_varimax_Wrap to determine
rotated EOFs, but I get:
>ncl rotated_eofs.ncl
Copyright (C) 1995-2004 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 4.2.0.a032
The use of this software is governed by a License Agreement.
See http://ngwww.ucar.edu/ncl/ for more details.
fatal:Undefined identifier: (eofunc_varimax_Wrap) is undefined, can't
continue
fatal:Execute: Error occurred at or near line 37 in file rotated_eofs.ncl
I have loaded contributed.ncl and using eofunc_varimax gives no error
messages. Has anyone encountered this before? Maybe I am just doing
some silly mistake?
I would be most grateful for any suggestions,
Jenny
My script rotated_eofs.ncl.:
; ==============================================================
; Calculate rotated EOFs of the Geopotential height at approx 200 hPa
; north of 20N.
; ==============================================================
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
begin
; ==============================================================
; Parameters
; ==============================================================
neof = 7 ; number of EOFs
optEOF = False
optETS = False
; ==============================================================
; Open the file: Z
; ==============================================================
f = addfile ("Z3.nc", "r")
SLP = f->Z3(time|:,lev|:,lat|:,lon|:)
; -----------------------------------------------------------------
; reorder (lat,lon,time) the input data
; -----------------------------------------------------------------
x = SLP({lev|192:192},{lat|:},{lon|:},time|:)
;------------------------------------------------------------
; Determine EOFs
;------------------------------------------------------------
eof = eofunc_Wrap(x, neof, optEOF)
eof_ts = eofunc_ts_Wrap (x, eof, optETS)
;------------------------------------------------------------
; Determine rotated EOFs
;------------------------------------------------------------
eof_rot0 = eofunc_varimax (eof,False)
eof_rot = eofunc_varimax_Wrap (eof,False)
end
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jenny Brandefelt, http://www.misu.su.se/~jenny Department of Meteorology, Stockholm University phone: +46-8-164337, fax: +46-8-157185 _______________________________________________ ncl-talk mailing list ncl-talk_at_ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Tue May 16 2006 - 13:45:58 MDT
This archive was generated by hypermail 2.2.0 : Wed May 17 2006 - 09:57:59 MDT