problem with rmMonAnnCycLLLT

From: Will Hobbs <whobbs_at_nyahnyahspammersnyahnyah>
Date: Fri, 17 Feb 2006 17:56:07 PDT
('binary' encoding is not supported, stored as-is) I get the following error when I try and use rmMonAnnCycLLLT from a
monthly mean u-wind datasetand I'm afraid I can't see why. The data is
NCEP reanalysis monthly mean zonal wind data for 540 months

fatal:Assignment type mismatch, right hand side can't be coerced to type
of left hand side
fatal:Execute: Error occurred at or near line 2462 in file
$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl
 
fatal:Execute: Error occurred at or near line 2614 in file
$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl

The code I'm using is here:

begin

FIL0 = "ncep_u_1960_2004.nc"
                                                                                    
 diri0 = "/u/whobbs/ncep/"
                                                                                    
;************************************************
; Read in test data
;*********************************************
                                                                                    
 f0 = addfile(diri0+FIL0, "r")
                                                                                    
 x = f0->uwnd
                                                                                    
 lat = f0->lat
 lon = f0->lon
 level= f0->level
                                                                                    
;remove annual cycle
                                                                                    
 y = rmMonAnnCycLLLT(x(level|:,lat|:,lon|:,time|:))
 delete(x)

end
                                                                                    
Many thanks

Will Hobbs

============================
Room 3221C
UCLA Department of Geography
1255 Bunche Hall
Los Angeles CA 90095-1524

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Feb 17 2006 - 17:56:07 MST

This archive was generated by hypermail 2.2.0 : Tue Feb 21 2006 - 14:23:51 MST