[gradsusr] (no subject)
Kishore Ragi
kishoreragi at gmail.com
Fri May 1 07:08:52 EDT 2015
check with 'close1'
On Fri, May 1, 2015 at 4:28 PM, Gargi Akhoury <gargiakhoury at bitmesra.ac.in>
wrote:
> Hello,
>
> When I am doing without .gs file the program below is working, but when m
> putting in .gs file it is not working. Kindly, help me regarding this.
>
>
> the program is as follows
>
> 'reinit'
> 'set display color white'
> 'c'
>
> 'open tempa.ctl'
> 'set grid off'
> 'set poli on'
> 'set lon 0 360'
> 'set lat -90 90'
> 'set lev 850'
> 'set grads off'
> 'set map auto'
>
> 'define t1=tempa'
> *'d t1'
>
> *
> close1
> *
>
> 'open tempb.ctl'
> 'set grid off'
> 'set poli on'
> 'set lon 0 360'
> 'set lat -90 90'
> 'set lev 700'
> 'set grads off'
> 'set map auto'
> 'define t2=tempb'
>
> *'d t2'
> 'd (t1+t2)/2'
>
>
>
> And the error is as follows
>
> run temp.gs
> No hardcopy metafile open
> All files closed; all defined objects released;
> All GrADS attributes have been reinitialized
> Unknown command: close1
> Syntax Error: Invalid Operand
> 'tempb' not a variable or function name
> Error ocurred at column 1
> DEFINE error: Invalid expression.
> Syntax Error: Invalid Operand
> 't2' not a variable or function name
> Error ocurred at column 5
> DISPLAY error: Invalid expression
> Expression = (t1+t2)/2
>
>
> Regards
>
> _______________________________________________
> 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/20150501/5ea99873/attachment.html
More information about the gradsusr
mailing list