<html tabindex="0">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" id="owaParaStyle" style="display: none;">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body dir="ltr" fpstyle="1" aria-label="Message body">
<div style="font-family: Georgia;font-size: 10pt;color: #000000;margin: 0;">Thanks for the response Mr.Kishore. I'm initially trying out to do what they did with the sample file.
<div>They have 'z' variable representing geopotential height.</div>
<div>But the script isn't working with their data as well.</div>
<div>Once it works well with sample I wanted to shift to my data.</div>
<div>I have sea-ice, wind, MSL, SLP, Albedo data for past 36 years.</div>
<div>All of same spatial and temporal extent.</div>
<div>I wanted to perform spatio-temporal correlational analysis with atleast 2 variables (of those that are mentioned above).</div>
<div>I hope I was clear enough.</div>
<div>Many Thanks<br>
<div><br>
<br>
<div style="font-family:Tahoma; font-size:10pt">
<div style="font-size:10pt"><br>
</div>
</div>
<br>
<hr tabindex="-1">
<div id="divRplyFwdMsg"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> gradsusr-bounces@gradsusr.org on behalf of Kishore Ragi<br>
<b>Sent:</b> Wednesday, March 30, 2016 12:57 PM<br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> Re: [gradsusr] Regarding Temporal Correlation<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div>
<div>Hi,<br>
<br>
</div>
z is their variable (geopotential height). They have defined <span style="font-size:x-small">
<i>ts_var<font size="4"> <font size="2">for a specific location for the period of time. Then they tried to correlate that point with
</font></font></i></span><br>
<span style="font-size:x-small"><i>'set lat 0 90'<br>
'set lon 180 360'<font size="2"> region. You see what you are trying to do. If it is same you are trying to, its fine (but choose the variable that you have in the file). If not, lets us know what you want so that one of the group members may help you
out.<br>
<br>
</font></i></span></div>
<div><span style="font-size:x-small"><i><font size="2">Regards,<br>
</font></i></span></div>
<div><span style="font-size:x-small"><i><font size="2">Kishore<br>
</font></i></span></div>
<div><span style="font-size:x-small"><i><font size="2"><br>
<br>
</font></i></span></div>
<span style="font-size:x-small"><i></i></span></div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div><font size="4"><span style="color:rgb(0,0,0)"><b><span style="background-color:rgb(255,255,255)"></span></b></span></font></div>
<div><font size="2"><span style="color:rgb(0,0,0)"><b><span style="background-color:rgb(255,255,255)">PhD student in climate science,<br>
</span></b></span></font></div>
<div><font size="2"><span style="color:rgb(0,0,0)"><b><span style="background-color:rgb(255,255,255)">National Institute of Technology, Rourkela,<br>
</span></b></span></font></div>
<div><font size="2"><span style="color:rgb(0,0,0)"><b><span style="background-color:rgb(255,255,255)">India- 769008<br>
</span></b></span></font></div>
<div dir="ltr"><font size="2"><span style="color:rgb(0,0,0)"><b><span style="background-color:rgb(255,255,255)">Phone: +91-8908671881<br>
<br>
<a href="http://www.researchgate.net/profile/Kishore_Ragi" target="_blank">http://www.researchgate.net/profile/Kishore_Ragi</a><br>
<br>
<a href="https://in.linkedin.com/in/kishoreragi" target="_blank">https://in.linkedin.com/in/kishoreragi</a><br>
<br>
<a href="http://kishoreragi.webnode.com/" target="_blank">http://kishoreragi.webnode.com/</a></span></b></span></font><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Wed, Mar 30, 2016 at 5:52 PM, Girija Kalyani <span dir="ltr">
<<a href="mailto:kalyani@ncaor.gov.in" target="_blank">kalyani@ncaor.gov.in</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 style="font-family:Georgia; font-size:10pt; color:#000000; margin:0">Oh Yes.
<div>I check the variables the similar way. And Im aware that this variable is not in the file.</div>
<div>But it is given in this link (<i style="font-family:Kartika,sans-serif; font-size:13.3333px"><a href="http://gradsaddict.blogspot.in/2013/05/tutorial-use-tcorr-function-to-create.html" title="http://gradsaddict.blogspot.in/2013/05/tutorial-use-tcorr-function-to-create.html
Ctrl+Click to follow link" target="_blank">http://gradsaddict.blogspot.in/2013/05/tutorial-use-tcorr-function-to-create.html</a></i><span style="font-size:10pt">)</span></div>
<div>that time-series should be defined this way.</div>
<div><span class=""><br>
<br>
<div style="font-family:Tahoma; font-size:10pt">
<div style="font-size:10pt"><i><font color="#333333" face="Georgia, serif">Girija Kalyani
</font></i>
<div><font color="#333333" face="Georgia, serif"><i>Junior Research Fellow</i></font></div>
<div><font color="#333333" face="Georgia, serif"><i>Division of Polar Remote Sensing</i></font></div>
<div><font color="#333333" face="Georgia, serif"><i>NCAOR</i></font></div>
</div>
</div>
<br>
<hr>
</span>
<div><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b>
<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a> on behalf of Kishore Ragi<br>
<b>Sent:</b> Wednesday, March 30, 2016 10:31 AM
<div>
<div class="h5"><br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> Re: [gradsusr] Regarding Temporal Correlation<br>
</div>
</div>
</font><br>
</div>
<div>
<div class="h5">
<div></div>
<div>
<div dir="ltr">
<div>
<div>
<div>
<div>check the variables in the file using <br>
<br>
</div>
q file<br>
<br>
</div>
If you find z as one of the variable, you should not have any problem with your code.<br>
<br>
</div>
Also, I am curious to know why you want to define <span style="background-color:rgb(255,255,0)">
<i><font color="#ff0000" face="Iskoola Pota, sans-serif">ts_var=z <br>
<br>
</font></i></span></div>
<div><span style="color:rgb(0,0,0)"><span style="background-color:rgb(243,243,243)"><i><font face="Iskoola Pota, sans-serif">Regards,<br>
</font></i></span></span></div>
<div><span style="background-color:rgb(255,255,0)"><i><font color="#ff0000" face="Iskoola Pota, sans-serif"><span style="color:rgb(0,0,0)"><span style="background-color:rgb(243,243,243)">Kishore</span></span><br>
</font></i></span></div>
<div><span style="background-color:rgb(255,255,0)"><i><font color="#ff0000" face="Iskoola Pota, sans-serif"><span style="background-color:rgb(0,0,0)"><span></span></span></font></i></span></div>
<span style="background-color:rgb(255,255,0)"><i><font color="#ff0000" face="Iskoola Pota, sans-serif"><span style="background-color:rgb(0,0,0)"><span></span></span></font></i></span></div>
<div class="gmail_extra"><br clear="all">
<div>
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div><font size="4"><span style="color:rgb(0,0,0)"><b><span style="background-color:rgb(255,255,255)"></span></b></span></font></div>
<div><font size="2"><span style="color:rgb(0,0,0)"><b><span style="background-color:rgb(255,255,255)">PhD student in climate science,<br>
</span></b></span></font></div>
<div><font size="2"><span style="color:rgb(0,0,0)"><b><span style="background-color:rgb(255,255,255)">National Institute of Technology, Rourkela,<br>
</span></b></span></font></div>
<div><font size="2"><span style="color:rgb(0,0,0)"><b><span style="background-color:rgb(255,255,255)">India- 769008<br>
</span></b></span></font></div>
<div dir="ltr"><font size="2"><span style="color:rgb(0,0,0)"><b><span style="background-color:rgb(255,255,255)">Phone:
<a href="tel:%2B91-8908671881" value="+918908671881" target="_blank">+91-8908671881</a><br>
<br>
<a href="http://www.researchgate.net/profile/Kishore_Ragi" target="_blank">http://www.researchgate.net/profile/Kishore_Ragi</a><br>
<br>
<a href="https://in.linkedin.com/in/kishoreragi" target="_blank">https://in.linkedin.com/in/kishoreragi</a><br>
<br>
<a href="http://kishoreragi.webnode.com/" target="_blank">http://kishoreragi.webnode.com/</a></span></b></span></font><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Wed, Mar 30, 2016 at 2:46 PM, Girija Kalyani <span dir="ltr">
<<a href="mailto:kalyani@ncaor.gov.in" title="mailto:kalyani@ncaor.gov.in
Ctrl+Click to follow link" target="_blank">kalyani@ncaor.gov.in</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 style="font-family:Georgia; font-size:10pt; color:#000000; margin:0">Thanks for the response Mr.Stephen.
<div>I tried removing the underscore as directed, but still the error did not change.</div>
<div>It produces </div>
<div><font color="#993300">Syntax Error: Invalid Operand<br>
'z' is not a function name</font></div>
<div><font color="#993300">Define Error: Invalid Expression</font></div>
<div><br>
<br>
<div style="font-family:Tahoma; font-size:10pt">
<div style="font-size:10pt"><i><font color="#333333" face="Georgia, serif">Girija Kalyani
</font></i>
<div><font color="#333333" face="Georgia, serif"><i>Junior Research Fellow</i></font></div>
<div><font color="#333333" face="Georgia, serif"><i>Division of Polar Remote Sensing</i></font></div>
<div><font color="#333333" face="Georgia, serif"><i>NCAOR</i></font></div>
</div>
</div>
<br>
<hr>
<div><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b>
<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a> on behalf of Stephen McMillan<br>
<b>Sent:</b> Tuesday, March 29, 2016 5:54 PM<br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> Re: [gradsusr] Regarding Temporal Correlation<br>
</font><br>
</div>
<div>
<div>
<div></div>
<div>
<div dir="ltr">Girija,
<div><br>
</div>
<div>Remove the "_" from your variable name. GrADS doesn't like that or other special characters (numerals are okay if not the first character).</div>
<div><br>
</div>
<div>In the future, when you have an error, please say what the error was. This was an easy case, but sometimes one could only guess.</div>
<div><br>
</div>
<div>Good luck--</div>
<div>Stephen Mc</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Mar 29, 2016 at 7:41 AM, Girija Kalyani <span dir="ltr">
<<a href="mailto:kalyani@ncaor.gov.in" target="_blank">kalyani@ncaor.gov.in</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 style="font-family:Georgia; font-size:10pt; color:#000000; margin:0"><font face="Kartika, sans-serif">Good Evening,
</font>
<div><font face="Kartika, sans-serif"><br>
</font></div>
<div><font face="Kartika, sans-serif">I'm using Grads 2.0.2 on Windows desktop.</font></div>
<div><font face="Kartika, sans-serif">I wanted to perform temporal correlation as given in the Gradsaholic website</font></div>
<div><font face="Kartika, sans-serif"><i><a href="http://gradsaddict.blogspot.in/2013/05/tutorial-use-tcorr-function-to-create.html" title="http://gradsaddict.blogspot.in/2013/05/tutorial-use-tcorr-function-to-create.html
Ctrl+Click to follow link" target="_blank">http://gradsaddict.blogspot.in/2013/05/tutorial-use-tcorr-function-to-create.html</a>,</i></font><a href="http://gradsaddict.blogspot.in/2013/05/tutorial-use-tcorr-function-to-create.html," title="http://gradsaddict.blogspot.in/2013/05/tutorial-use-tcorr-function-to-create.html,
Ctrl+Click to follow link" target="_blank" style="font-size:10pt">http://gradsaddict.blogspot.in/2013/05/tutorial-use-tcorr-function-to-create.html,</a></div>
<div>but I get an error when the time series variable is defined.</div>
<div>Given </div>
<div><i><font face="Iskoola Pota, sans-serif"><br>
</font></i></div>
<div><span style="background-color:rgb(255,255,0)"><i><font face="Iskoola Pota, sans-serif">set t 100 220</font></i></span></div>
<div><span style="background-color:rgb(255,255,0)"><i><font face="Iskoola Pota, sans-serif">set lat -90 -50</font></i></span></div>
<div><span style="background-color:rgb(255,255,0)"><i><font face="Iskoola Pota, sans-serif">set lon 0 360</font></i></span></div>
<div><span style="background-color:rgb(255,255,0)"><i><font color="#ff0000" face="Iskoola Pota, sans-serif">ts_var=z</font></i></span></div>
<div><br>
</div>
<div>I have defined the settings as mentioned above, where the last line shows an error.</div>
<div>Im unable save the timeseries in the variable.</div>
<div><br>
</div>
<div>Any help is highly appreciated!</div>
</div>
</div>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">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>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">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>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<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>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</body>
</html>