<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">It looks like the data sets pr.1 and pr.2 do not have the same time axis. What do the tdef statements look like? Which is the default file you set before invoking tcorr? <div>--Jennifer</div><div><br><div><br><div><div>On Feb 11, 2011, at 1:45 PM, Ismaila Diallo wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Dear,<br><br>i have model and observation data and i want to calculate the temporal <br>correlation between these variables. i use grads version Version 2.0.a7: I try <br>this command: tcorr(aa,bb,t=t1,t=t2)<br><br>like the following script<br><br>define aa=pr.1<br>define bb=pr.2<br>define cc=tcorr(aa,bb,t=151,t=273)<br>d cc<br><br>therefore i get this error:<br>define r1=tcorr(aa,bb,t=151,t=273)<br>TCORR: dim = 3, start = 151, end = 273<br>Data Request Error: Invalid grid coordinates<br> World coordinates convert to non-integer grid coordinates<br> Variable = aa Dimension = 3 <br>Error from TCORR: Error getting grids<br>Operation Error: Error from tcorr function<br> Error ocurred at column 1<br>DEFINE error: Invalid expression.<br><br><br>Since a week i posted this difficult but until now i didn't receive help from <br>grads forum so i need your help and <br><br>All comment are welcome.<br><br>Sincerely<br><br>ismaila<br><br><br><br>____________________________________________________________________________________<br>Food fight? Enjoy some healthy debate <br>in the Yahoo! Answers Food & Drink Q&A.<br><a href="http://answers.yahoo.com/dir/?link=list&sid=396545367">http://answers.yahoo.com/dir/?link=list&sid=396545367</a><br>_______________________________________________<br>gradsusr mailing list<br>gradsusr@gradsusr.org<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></div></div></body></html>