cdiff error!

Prince K. Xavier xavier at CAOS.IISC.ERNET.IN
Mon Mar 7 00:44:00 EST 2005


Hi all,

I am trying to compute dU/dp (where U is the zonal wind, p is the
pressure) for all the 17 levels and 365 days. My script segment is as
follows...
.....
....
'set x 1 144'
'set y 1 73'
'set t 1 365'
'set z 1 17'

'define duz = cdiff(uwnd.1,z)'
'define dpz = cdiff(lev,z)'
....
....

but grads gives the following error.
-----------------------------------
Error from CDIFF:  Specified dimension non varying
Operation Error:  Error from cdiff function
  Error ocurred at column 1
DEFINE error:  Invalid expression.
----------------------------------

Can anyone figure out where I went wrong?

Thanks in advance,

regards
Prince
--
Prince K XAVIER
Centre for Atmospheric and Oceanic Sciences
Indian Institute of Science
Bangalore - 560 012
INDIA
http://caos.iisc.ernet.in/hpg/students/prince.html
__________________________________________________
Phone No.
+91-80-2293 2505(Office)
+91 98808 19172 (Mobile)



More information about the gradsusr mailing list