[gradsusr] error using tcorr

M.Mahakur mmahakur at tropmet.res.in
Thu Jun 4 10:45:47 EDT 2020


Dear All, 

I am using tcorr and the input data are in two files [1) netCDF, varies in space and time; 2) binary, varying only in time, both having same time dim). 

I am doing .. 

'sdfopen file1.nc' ==> var1 
'open file2.ctl' ==> var2 

'set x 1 1440' 
'set y 1 721' 
'set t 1' 

But, it complains : ... 

ga-> d tcorr(var2.2,var1,t=1,t=492) 
TCORR: dim = 3, start = 1, end = 492 
Error from TCORR: 1st arg must be 0-D 
Error from TCORR: Error getting grids 
Operation Error: Error from tcorr function 
Error ocurred at column 1 
DISPLAY error: Invalid expression 
Expression = tcorr(var2.2,var1,t=1,t=492) 
ga-> 


q dims: 

Default file number is: 1 
X is varying Lon = 0 to 359.75 X = 1 to 1440 
Y is varying Lat = -90 to 90 Y = 1 to 721 
Z is fixed Lev = 0 Z = 1 
T is varying Time = 23Z31JAN1979 to 23Z31DEC2019 T = 1 to 492 
E is fixed Ens = 1 E = 1 
ga-> 



Please suggest, how to remove this error. 
If, I interchange the order of opening input file, even the data does not display! 

With Thanks and Regards, 
Mahakur 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20200604/6862b51c/attachment.html>


More information about the gradsusr mailing list