<div dir="ltr">I dont know whether the input files are of same dimension/ resolution. Otherwise while making spatial correlation makes error. In that case you will have to regrid either of them to same resolution. </div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 17, 2016 at 6:36 AM, Andrew Friedman <span dir="ltr"><<a href="mailto:andfried@gmail.com" target="_blank">andfried@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Gargi,<br>
<br>
Can you please include at what step you received the error and what your error message was?<br>
It would also be helpful to try to simplify the script as much as possible to isolate what caused the problem.<br>
<br>
Andrew<br>
<div><div class="h5"><br>
> On Mar 16, 2016, at 7:07 PM, Gargi Akhoury <<a href="mailto:gargiakhoury@bitmesra.ac.in">gargiakhoury@bitmesra.ac.in</a>> wrote:<br>
><br>
> Hello,<br>
> I have one problem regarding correlation. I want to plot correlation between two variables precipitation and temperature. The script is written below:<br>
><br>
> "reinit"<br>
> "sdfopen <a href="http://t1000.nc" rel="noreferrer" target="_blank">t1000.nc</a>"<br>
> 'set poli on'<br>
> 'set lon 40 170'<br>
> 'set lat 0 45'<br>
> "set t 1 420"<br>
> "define jant=aave(temp-273.15,lon=40,lon=170,lat=0,lat=45)"<br>
> *"modify avesst seasonal"<br>
> *"set t 1 432"<br>
> *"define sstanom=sst1-avesst"<br>
><br>
> *"define nino4=aave(sstanom,lon=-150,lon=160,lat=-5,lat=5)"<br>
> "close 1"<br>
><br>
> "sdfopen <a href="http://precip.mon.mean.nc" rel="noreferrer" target="_blank">precip.mon.mean.nc</a>"<br>
> *"set lon 0 360"<br>
> *"set lat -90 90"<br>
> "set t 1 420"<br>
> "define janp=aave(precip,lon=40,lon=170,lat=0,lat=45)"<br>
> "d scorr(jant,janp,lon=40,lon=170,lat=0,lat=45)"<br>
> *"gxprint tcorr.png x1024 y768"<br>
><br>
> But I am getting error. Kindly help me regarding this.<br>
><br>
> Regards<br>
</div></div>> _______________________________________________<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/listinfo/gradsusr</a><br>
<br>
<br>
_______________________________________________<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/listinfo/gradsusr</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div style="font-size:12.8px">Sincerely</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">**************************************************</div><div style="font-size:12.8px">Dr. Jayakrishnan P.R</div><div style="font-size:12.8px">Post Doctoral Research Fellow</div><div style="font-size:12.8px">C308, Institute of Ocean and Earth Sciences (IOES)</div><div style="font-size:12.8px">University of Malaya</div><div style="font-size:12.8px">50603, Kuala Lumpur</div><div style="font-size:12.8px">Tel: (+603) 7967 4640 / 6995</div><div style="font-size:12.8px">Mobile: 012-3526094</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">****************************************************</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><span style="color:rgb(7,55,99)"><font size="1"><br></font></span></div><div style="font-size:12.8px"><span style="color:rgb(7,55,99)"><font size="1"><br></font></span></div><div style="font-size:12.8px"><br></div></div></div>
</div>