<div dir="ltr">Dear Friends,<div><br></div><div>I am trying to calculate Temporal Correlation using GRADS.</div><div>My script is : </div><div><div><br></div><div>'reinit'</div><div>'open rf.25_1982_2014_jun.ctl'</div><div>'run <a href="http://rgbset.gs" target="_blank">rgbset.gs</a>'</div><div>'set t 1 33'</div><div>'define rainclimate = ave(rain, t=1, t=33)'</div><div>'define anom = rain-rainclimate'</div><div>'define man = aave(anom, lon=74., lon=85., lat=18., lat=27.)'</div><div>'close 1'</div><div>*</div><div>'open sst_jun.ctl'</div><div>'define sstclimate = ave(sst,t=1,t=33)'</div><div>'set t 1 33'</div><div>'define anomsst = sst-sstclimate'</div><div>'define a = anomsst'</div><div>'set t 1'</div><div>'define corr = tcorr(man,a,t=1,t=33)'</div><div>'d corr'</div></div><div><br></div><div><br></div><div>and I am getting this error </div><div><br></div><div><div>Data Request Error: Invalid grid coordinates</div><div> World coordinates convert to non-integer grid coordinates</div><div> Variable = man Dimension = 3</div><div>Error from TCORR: Error getting grids</div><div>Operation Error: Error from tcorr function</div><div> Error ocurred at column 1</div><div>DEFINE error: Invalid expression.</div><div>Syntax Error: Invalid Operand</div><div> 'corr' not a variable or function name</div><div> Error ocurred at column 1</div><div>DISPLAY error: Invalid expression</div><div> Expression = corr</div><div><br></div><div><br></div><div><br></div><div>Thanking You</div>-- <br><div data-smartmail="gmail_signature">SOURABH SHRIVASTAVA<br>Scientist-C<br>(BIMSTEC), NCMRWF<br>Ministry of Earth Sciences <br>A-50, Institutional Area, Sector-62,<br>NOIDA, UP, Pin: 201 307<br>---------------------------------------------------------<br>Mobile: +919555813179<br>emails: <a href="mailto:sourabh@ncmrwf.gov.in" target="_blank">sourabh@ncmrwf.gov.in</a>; <br>NCMRWF website: <a href="http://www.ncmrwf.gov.in" target="_blank">www.ncmrwf.gov.in</a> </div>
</div></div>