<div dir="ltr">check with 'close1'<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 1, 2015 at 4:28 PM, Gargi Akhoury <span dir="ltr"><<a href="mailto:gargiakhoury@bitmesra.ac.in" target="_blank">gargiakhoury@bitmesra.ac.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">Hello,<div><br></div><div><span style="font-size:12.8000001907349px">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.</span><br><div style="font-size:12.8000001907349px"> </div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">the program is as follows</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><div>'reinit'</div><div>'set display color white'</div><div>'c'</div><div><br></div><div>'open tempa.ctl'</div><div>'set grid off'</div><div>'set poli on'</div><div>'set lon 0 360'</div><div>'set lat -90 90'</div><div>'set lev 850'</div><div>'set grads off'</div><div>'set map auto'</div><div><br></div><div>'define t1=tempa'</div><div>*'d t1'</div><div><br></div><div>*</div><div>close1</div><div>*</div><div><br></div><div>'open tempb.ctl'</div><div>'set grid off'</div><div>'set poli on'</div><div>'set lon 0 360'</div><div>'set lat -90 90'</div><div>'set lev 700'</div><div>'set grads off'</div><div>'set map auto'</div><div>'define t2=tempb'</div><div><br></div><div>*'d t2'</div><div>'d (t1+t2)/2'</div></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">And the error is as follows</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><div> run <a href="http://temp.gs/" target="_blank">temp.gs</a></div><div>No hardcopy metafile open</div><div>All files closed; all defined objects released;</div><div>All GrADS attributes have been reinitialized</div><div>Unknown command: close1</div><div>Syntax Error: Invalid Operand</div><div> 'tempb' not a variable or function name</div><div> Error ocurred at column 1</div><div>DEFINE error: Invalid expression.</div><div>Syntax Error: Invalid Operand</div><div> 't2' not a variable or function name</div><div> Error ocurred at column 5</div><div>DISPLAY error: Invalid expression</div><div> Expression = (t1+t2)/2</div></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Regards</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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>