<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Nov 18, 2010, at 1:55 AM, Zablone Owiti wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi Users,<br>I get the following error when I try to do correlation between station data <br>and gridded SST (ERSST v3). The station data is in binary format and I read <br>it via a ctl (I am able to plot the station data series in grads). I am <br>unable to figure out the fix for the error. <br><br>How can I fix the error?<br><br>ga-&gt; d tcorr(data.1,sst.2,t=1,t=30)<br>TCORR: &nbsp;dim = 3, start = 1, end = 30<br>Data Request Error: Invalid grid coordinates<br> &nbsp;World coordinates convert to non-integer &nbsp;grid coordinates<br> &nbsp;&nbsp;&nbsp;Variable = data.1 &nbsp;Dimension = 3<br></div></blockquote>This is a problem with the time coordinates (time is dimension #3). You are using "t=" to express the time dimension limits and these are resolved to world coordinates according to the default file. These are likely conflicting with the time coordinate values in data.1 or sst.2 &nbsp;your two files probably don't have the same time axes. Try using "time=" and see if that helps, or else resolve the differences in the time axes of your two files.&nbsp;</div><div>--Jennifer</div><div><br></div><div><br><blockquote type="cite"><div>Error from TCORR: &nbsp;Error getting grids<br>Operation Error: &nbsp;Error from tcorr function<br> &nbsp;Error ocurred at column 1<br>DISPLAY error: &nbsp;Invalid expression<br> &nbsp;Expression = tcorr(data.1,sst.2,t=1,t=30)<br><br>----------------------------<br><br> ZABLONE OWITI<br><br> GRADUATE STUDENT<br><br>College of Atmospheric Science<br><br>Nanjing University of Information, Science and Technology<br><br>Add: 219 Ning Liu Rd, Nanjing, Jiangsu, 21004, P.R. China<br><br> Tel: +86-25-58731402<br><br>Fax: +86-25-58731456 <br>Mob. 15077895632 <br>Website: &nbsp;<a href="http://www.nuist.edu.cn">www.nuist.edu.cn</a> <br><br>====================================================<br><br>DO NOT PRINT THIS E-MAIL UNLESS NECESSARY. THE ENVIRONMENT CONCERNS US <br>ALL.<br><br><br><br>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></div></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span> </div><br></body></html>