<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 Mr.Kishore.
<div>This was mentioned by Mr.Stephen earlier. It is not working. I get the same error<br>
let me put down everything.</div>
<div>this is my file's description</div>
<div>
<div><i><font color="#0000ff"><br>
</font></i></div>
<div><i><font color="#0000ff">ga-> q file 1</font></i></div>
<div><i><font color="#0000ff">File 1 :</font></i></div>
<div><i><font color="#0000ff"> Descriptor: C:\SeaIceStudies-Girija\IMP\Datsets\All_ECMWF\ALL.nc</font></i></div>
<div><i><font color="#0000ff"> Binary: C:\SeaIceStudies-Girija\IMP\Datsets\All_ECMWF\ALL.nc</font></i></div>
<div><i><font color="#0000ff"> Type = Gridded</font></i></div>
<div><i><font color="#0000ff"> Xsize = 360 Ysize = 181 Zsize = 1 Tsize = 444 Esize = 1</font></i></div>
<div><i><font color="#0000ff"> Number of Variables = 10</font></i></div>
<div><i><font color="#0000ff"> ci 0 t,y,x Sea-ice cover</font></i></div>
<div><i><font color="#0000ff"> sst 0 t,y,x Sea surface temperature</font></i></div>
<div><i><font color="#0000ff"> p58.162 0 t,y,x Vertical integral of ozone</font></i></div>
<div><i><font color="#0000ff"> msl 0 t,y,x Mean sea level pressure</font></i></div>
<div><i><font color="#0000ff"> u10 0 t,y,x 10 metre U wind component</font></i></div>
<div><i><font color="#0000ff"> v10 0 t,y,x 10 metre V wind component</font></i></div>
<div><i><font color="#0000ff"> t2m 0 t,y,x 2 metre temperature</font></i></div>
<div><i><font color="#0000ff"> al 0 t,y,x Albedo</font></i></div>
<div><i><font color="#0000ff"> si10 0 t,y,x 10 metre wind speed</font></i></div>
<div><i><font color="#0000ff"> ishf 0 t,y,x Instantaneous surface sensible heat flux</font></i></div>
<div><b><br>
</b></div>
<div><i><b>After you mentioned I kept trying, Now I get a new error;</b></i></div>
<div><i>
<div style="color: rgb(0, 0, 255);"><br>
</div>
<div style="color: rgb(0, 0, 255);">ga-> d tcorr(tsvar,ci,t=1,t=444)</div>
<div style="color: rgb(0, 0, 255);">TCORR: dim = 3, start = 1, end = 444</div>
<div><font color="#ff0000">Data Request Warning: Request is completely outside file limits</font></div>
<div><font color="#ff0000"> Entire grid contents are set to missing data</font></div>
<div><font color="#ff0000"> Grid limits of file: X = 1 360 Y = 1 181 Z = 1 1 T = 1 444 E = 1 1</font></div>
<div><font color="#ff0000"> Grid limits of request: X = 0 360 Y = -90 -60 Z = 1 1 T = 1 1 E = 1 1</font></div>
<div><font color="#ff0000"> Warning issued for variable = ci</font></div>
</i></div>
<div><i><font color="#ff0000">Cannot contour grid - all undefined values</font></i></div>
<div><i><b><font color="#ff0000"><br>
</font></b></i></div>
<div><i><b><font color="#ff0000">Is something wrong with my dimensions?</font></b></i></div>
<div><font color="#0000ff"><i><br>
</i></font></div>
<div><font color="#0000ff"><i><br>
</i></font></div>
<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 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 4:18 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>
<div>
<div>
<div>the method you mentioned is working quite well with the data I have.<br>
<br>
</div>
You just try the following<br>
<br>
</div>
define tsvar=z instead of ts_var=z if you do not run the .gs file.<br>
<br>
</div>
Hope this helps you.<br>
<br>
</div>
Regards,<br>
</div>
Kishore<br>
</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 8:18 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">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>
<div><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><span class=""><b>From:</b>
<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a> on behalf of Kishore Ragi<br>
</span><b>Sent:</b> Wednesday, March 30, 2016 12:57 PM
<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>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>
<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 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><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><br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> Re: [gradsusr] Regarding Temporal Correlation<br>
</div>
</div>
</font><br>
</div>
<div>
<div>
<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" 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>
</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>
</body>
</html>