[gradsusr] Regarding Temporal Correlation

Girija Kalyani kalyani at ncaor.gov.in
Wed Mar 30 02:52:50 EDT 2016


Oh Yes.
I check the variables the similar way. And Im aware that this variable is not in the file.
But it is given in this link (http://gradsaddict.blogspot.in/2013/05/tutorial-use-tcorr-function-to-create.html)
that time-series should be defined this way.


Girija Kalyani
Junior Research Fellow
Division of Polar Remote Sensing
NCAOR

________________________________
From: gradsusr-bounces at gradsusr.org on behalf of Kishore Ragi
Sent: Wednesday, March 30, 2016 10:31 AM
To: GrADS Users Forum
Subject: Re: [gradsusr] Regarding Temporal Correlation

check the variables in the file using

q file

If you find z as one of the variable, you should not have any problem with your code.

Also, I am curious to know why you want to define ts_var=z

Regards,
Kishore

PhD student in climate science,
National Institute of Technology, Rourkela,
India- 769008
Phone: +91-8908671881

http://www.researchgate.net/profile/Kishore_Ragi

https://in.linkedin.com/in/kishoreragi

http://kishoreragi.webnode.com/

On Wed, Mar 30, 2016 at 2:46 PM, Girija Kalyani <kalyani at ncaor.gov.in<mailto:kalyani at ncaor.gov.in>> wrote:
Thanks for the response Mr.Stephen.
I tried removing the underscore as directed, but still the error did not change.
It produces
Syntax Error: Invalid Operand
'z' is not a function name
Define Error: Invalid Expression


Girija Kalyani
Junior Research Fellow
Division of Polar Remote Sensing
NCAOR

________________________________
From: gradsusr-bounces at gradsusr.org<mailto:gradsusr-bounces at gradsusr.org> on behalf of Stephen McMillan
Sent: Tuesday, March 29, 2016 5:54 PM
To: GrADS Users Forum
Subject: Re: [gradsusr] Regarding Temporal Correlation

Girija,

Remove the "_" from your variable name.  GrADS doesn't like that or other special characters (numerals are okay if not the first character).

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.

Good luck--
Stephen Mc

On Tue, Mar 29, 2016 at 7:41 AM, Girija Kalyani <kalyani at ncaor.gov.in<mailto:kalyani at ncaor.gov.in>> wrote:
Good Evening,

I'm using Grads 2.0.2 on Windows desktop.
I wanted to perform temporal correlation as given in the Gradsaholic website
http://gradsaddict.blogspot.in/2013/05/tutorial-use-tcorr-function-to-create.html,http://gradsaddict.blogspot.in/2013/05/tutorial-use-tcorr-function-to-create.html,
but I get an error when the time series variable is defined.
Given

set t 100 220
set lat -90 -50
set lon 0 360
ts_var=z

I have defined the settings as mentioned above, where the last line shows an error.
Im unable save the timeseries in the variable.

Any help is highly appreciated!

_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
http://gradsusr.org/mailman/listinfo/gradsusr



_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
http://gradsusr.org/mailman/listinfo/gradsusr


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160330/13e06ec9/attachment-0001.html 


More information about the gradsusr mailing list