[gradsusr] Regarding Temporal Correlation

Kishore Ragi kishoreragi at gmail.com
Wed Mar 30 01:01:05 EDT 2016


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-8908671881http://www.researchgate.net/profile/Kishore_Ragi
<http://www.researchgate.net/profile/Kishore_Ragi>https://in.linkedin.com/in/kishoreragi
<https://in.linkedin.com/in/kishoreragi>http://kishoreragi.webnode.com/
<http://kishoreragi.webnode.com/>*

On Wed, Mar 30, 2016 at 2:46 PM, Girija Kalyani <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 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>
> 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>,*
>> 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
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
> _______________________________________________
> gradsusr mailing list
> 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/7c908df4/attachment.html 


More information about the gradsusr mailing list