<div dir="ltr">Also If you want to calculate spatial correlation you should not vary tour time. you will get information about spatial correlation on the following link.<div>tcorr is for temporal correlation not for spatial. use scorr for spatial correlation.<br><div><a href="http://cola.gmu.edu/grads/gadoc/gradfuncscorr.html">http://cola.gmu.edu/grads/gadoc/gradfuncscorr.html</a><br></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><p><b><i><span style="font-size:10pt;font-family:'Times New Roman',serif;color:rgb(46,117,182);background-image:initial;background-position:initial;background-repeat:initial">Bimal Gyawali</span></i></b><i><span style="font-size:10pt;font-family:'Times New Roman',serif;color:rgb(46,117,182);background-image:initial;background-position:initial;background-repeat:initial"><br>
Graduate Research Assistant<br>
Department of Physical and Environment Science<br>
Natural Resources Center<br>
Texas A&M University-Corpus Christi<br>
Corpus Christi, TX 78412<br>
Tel: 435-881-3603</span></i><i><span style="font-family:"Times New Roman",serif"></span></i></p></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Oct 26, 2016 at 10:02 AM, Sourabh Bal <span dir="ltr"><<a href="mailto:sourabhbal@gmail.com" target="_blank">sourabhbal@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Dear Grads users, <br><br>I wanted to find the spatial correlation between precipitation in the region (70-110E and 5-30N) and sea-surface temperature in each grid points. Initially I have remapped the grid dimension same for each input data files using CDO. <span style="color:rgb(0,0,255)">Please can anyone suggest where I am going wrong!</span><br><br></div>Here is my script <br><br></div>sdfopen precip.remap<br>sdfopen sst.remap<br></div>set t 1 35<br>ismr=aave(precip.1,lon=70,lon=<wbr>110,lat=5,lat=30)<br></div><div><div><div>set lon 0 360<br></div><div>set lat -90 90<br></div><div>set t 1<br></div><div>set z 1<br>d tcorr(ismr,sst.2,t=1,t=35)<br><br></div><div>I am getting the following error<br><br><span style="color:rgb(255,0,0)">TCORR: dim = 3, start = 1, end = 35<br>Data Request Error: Invalid grid coordinates<br> World coordinates convert to non-integer grid coordinates<br> Variable = sst.2 Dimension = 3 <br>Error from TCORR: Error getting grids<br>Operation Error: Error from tcorr function<br> Error ocurred at column 1<br>DISPLAY error: Invalid expression <br> Expression = tcorr(ismr,sst.2,t=1,t=35)<br><br></span></div><br><div><div><div><div><div><span style="color:rgb(255,0,0)"><br>description file 1<br>File 1 : GPCP Version 2.2 Combined Precipitation Dataset (Final)<br> Descriptor: precip.remap<br> Binary: precip.remap<br> Type = Gridded<br> Xsize = 128 Ysize = 64 Zsize = 1 Tsize = 35 Esize = 1<br> Number of Variables = 1<br> precip 0 t,y,x Average Monthly Rate of Precipitation<br></span></div><div><span style="color:rgb(255,0,0)">description of file 2<br><br>File 2 : Kaplan Extended SST V2<br> Descriptor: sst.remap<br> Binary: sst.remap<br> Type = Gridded<br> Xsize = 128 Ysize = 64 Zsize = 1 Tsize = 35 Esize = 1<br> Number of Variables = 1<br> sst 0 t,y,x Monthly Anomalies of SST<br><br></span><br><div><span style="color:rgb(0,0,0)">with best regards<br><br></span></div><span style="color:rgb(255,0,0)"><span style="color:rgb(0,0,0)">Sourabh </span></span><span style="color:rgb(255,0,0)"><br></span></div><div><br clear="all"><div><div class="m_-944890123739080781gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr">Dr. Sourabh Bal</div><div>Assistant Professor</div><div>Department of Physics</div><div>Swami Vivekananda Institute of Science and Technology</div><div>Kolkata 700145</div><div dir="ltr"><div><br></div><div><br><br></div></div></div></div></div></div></div></div>
</div></div></div></div></div></div></div></div>
<br>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>