<div dir="ltr">Hello Andrew,<div> Thanks a lot for this help.....!!!</div><div>Regards</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 17, 2016 at 2:33 PM, 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>
You should also be able to regrid within GrADS using lterp: <a href="http://cola.gmu.edu/grads/gadoc/gradfunclterp.html" rel="noreferrer" target="_blank">http://cola.gmu.edu/grads/gadoc/gradfunclterp.html</a><br>
<span class="HOEnZb"><font color="#888888"><br>
-Andrew<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> On Mar 17, 2016, at 6:47 AM, Gargi Akhoury <<a href="mailto:gargiakhoury@bitmesra.ac.in">gargiakhoury@bitmesra.ac.in</a>> wrote:<br>
><br>
> Thanku.....CDO is not installed.....ok I am trying to install it....thanks a lot....!!!<br>
><br>
><br>
> On Thu, Mar 17, 2016 at 11:01 AM, Kishore Ragi <<a href="mailto:kishoreragi@gmail.com">kishoreragi@gmail.com</a>> wrote:<br>
> Hi,<br>
> If CDO installed on your machine already. Invoke the following commands. (you have to regid both the files to get them compatible)<br>
><br>
> cdo -f nc -sellonlatbox,40,170,0,45 -random,r400x291 <a href="http://template.nc" rel="noreferrer" target="_blank">template.nc</a><br>
><br>
> cdo -remapcon,<a href="http://template.nc" rel="noreferrer" target="_blank">template.nc</a> <a href="http://file1.nc" rel="noreferrer" target="_blank">file1.nc</a> <a href="http://file1regrid.nc" rel="noreferrer" target="_blank">file1regrid.nc</a><br>
> cdo -remapcon,<a href="http://template.nc" rel="noreferrer" target="_blank">template.nc</a> <a href="http://file2.nc" rel="noreferrer" target="_blank">file2.nc</a> <a href="http://file2regrid.nc" rel="noreferrer" target="_blank">file2regrid.nc</a><br>
><br>
> Hope it solves your problem !!!<br>
><br>
> Cheers,<br>
> Kishore<br>
><br>
> PhD student in climate science,<br>
> National Institute of Technology, Rourkela,<br>
> India- 769008<br>
> Phone: +91-8908671881<br>
><br>
> <a href="http://www.researchgate.net/profile/Kishore_Ragi" rel="noreferrer" target="_blank">http://www.researchgate.net/profile/Kishore_Ragi</a><br>
><br>
> <a href="https://in.linkedin.com/in/kishoreragi" rel="noreferrer" target="_blank">https://in.linkedin.com/in/kishoreragi</a><br>
><br>
> <a href="http://kishoreragi.webnode.com/" rel="noreferrer" target="_blank">http://kishoreragi.webnode.com/</a><br>
><br>
> On Thu, Mar 17, 2016 at 10:45 AM, Gargi Akhoury <<a href="mailto:gargiakhoury@bitmesra.ac.in">gargiakhoury@bitmesra.ac.in</a>> wrote:<br>
> no its...domain is :<br>
> lon 40 170'<br>
> lat 0 45<br>
><br>
><br>
> On Thu, Mar 17, 2016 at 10:36 AM, Kishore Ragi <<a href="mailto:kishoreragi@gmail.com">kishoreragi@gmail.com</a>> wrote:<br>
> what is your domain (lon,lat)? global?<br>
><br>
><br>
> PhD student in climate science,<br>
> National Institute of Technology, Rourkela,<br>
> India- 769008<br>
> Phone: +91-8908671881<br>
><br>
> <a href="http://www.researchgate.net/profile/Kishore_Ragi" rel="noreferrer" target="_blank">http://www.researchgate.net/profile/Kishore_Ragi</a><br>
><br>
> <a href="https://in.linkedin.com/in/kishoreragi" rel="noreferrer" target="_blank">https://in.linkedin.com/in/kishoreragi</a><br>
><br>
> <a href="http://kishoreragi.webnode.com/" rel="noreferrer" target="_blank">http://kishoreragi.webnode.com/</a><br>
><br>
> On Thu, Mar 17, 2016 at 10:11 AM, Gargi Akhoury <<a href="mailto:gargiakhoury@bitmesra.ac.in">gargiakhoury@bitmesra.ac.in</a>> wrote:<br>
> Hello,<br>
> Correct my temperature data is 144*73<br>
> and precipitation data is 144*72.<br>
><br>
> Thanku, for this, but is it possible to change from 144*73 to 144*72 or vice versa. I am not so perfect in GrADS.<br>
><br>
> Regards<br>
><br>
> On Thu, Mar 17, 2016 at 9:36 AM, Kishore Ragi <<a href="mailto:kishoreragi@gmail.com">kishoreragi@gmail.com</a>> wrote:<br>
> Dear Gargi,<br>
><br>
> Follow Dr. Jayakrishnan above.<br>
><br>
> Regards,<br>
> Kishore<br>
><br>
> PhD student in climate science,<br>
> National Institute of Technology, Rourkela,<br>
> India- 769008<br>
> Phone: +91-8908671881<br>
><br>
> <a href="http://www.researchgate.net/profile/Kishore_Ragi" rel="noreferrer" target="_blank">http://www.researchgate.net/profile/Kishore_Ragi</a><br>
><br>
> <a href="https://in.linkedin.com/in/kishoreragi" rel="noreferrer" target="_blank">https://in.linkedin.com/in/kishoreragi</a><br>
><br>
> <a href="http://kishoreragi.webnode.com/" rel="noreferrer" target="_blank">http://kishoreragi.webnode.com/</a><br>
><br>
> On Thu, Mar 17, 2016 at 6:57 AM, Gargi Akhoury <<a href="mailto:gargiakhoury@bitmesra.ac.in">gargiakhoury@bitmesra.ac.in</a>> wrote:<br>
> Hello Andrew,<br>
><br>
> This is the error message which I am getting.<br>
><br>
> "run <a href="http://tcorr1000.gs" rel="noreferrer" target="_blank">tcorr1000.gs</a><br>
> No hardcopy metafile open<br>
> All files closed; all defined objects released;<br>
> All GrADS attributes have been reinitialized<br>
> Error from SCORR: Incompatable grids<br>
> Operation Error: Error from scorr function<br>
> Error ocurred at column 1<br>
> DISPLAY error: Invalid expression<br>
> Expression = scorr(jant,janp,lon=40,lon=170,lat=0,lat=45)"<br>
><br>
> Regards<br>
><br>
><br>
> On Thu, Mar 17, 2016 at 4:06 AM, Andrew Friedman <<a href="mailto:andfried@gmail.com">andfried@gmail.com</a>> wrote:<br>
> 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>
><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>
> > _______________________________________________<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>
><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>
><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>
><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>
><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>
><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>
><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>
><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>
<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>
</div></div></blockquote></div><br></div>