<div dir="ltr">Dear jayanti, <div><br></div><div style>what you need is to add a line before</div><div style><font face="courier new, monospace">sdfwrite tot_precip</font><br></div><div style><br></div><div style>that might be</div>
<div style><font face="courier new, monospace">define RF=tot_precip</font><br></div><div style>no spaces and the new variable name should go to the left</div><div style><br></div><div style>Then you change the final line to </div>
<div style><span style="font-family:&#39;courier new&#39;,monospace">sdfwrite RF</span><br></div><div style>Best regards</div><div style>Luis</div><div style><br></div><div style><br></div></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Fri, May 31, 2013 at 2:12 AM, jayanti pal <span dir="ltr">&lt;<a href="mailto:jiban_samudra18@yahoo.com" target="_blank">jiban_samudra18@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div><span><br></span></div><div></div><div> Dear sir,</div><div><br></div><div>I have used grads 2.0.2 version in Ubuntu linux (versiob 12.04). I want to save an image output in netcdf format and i have used following codes</div>
<div><br></div><div>ga&gt; sdfopen <a href="http://ppt3.nc" target="_blank">ppt3.nc</a></div><div>ga&gt; q file</div><div>ga&gt; set lat 0 40</div><div>ga&gt; set lon 60 100</div><div>ga&gt; set gxout shaded</div><div>ga&gt; set grads off</div>
<div>ga&gt; d tot_precip</div><div>ga&gt; xcbar</div><div>ga&gt; draw title precipitation over India</div><div>ga&gt; draw xlabs longitude</div><div>ga&gt; draw ylabs latitude</div><div>ga&gt; set sdfwrite <a href="http://output.nc" target="_blank">output.nc</a></div>
<div>ga&gt; sdfwrite tot_precip</div><div><br></div><div><br></div><div>after putting this comment its show &quot; variable not define&quot;</div><div><br></div><div>and when i used the followinf
 comment to define:</div><div><br></div><div> ga&gt; define tot_precip = RF</div><div><br></div><div>then it shows &quot; too long name, missing &quot;=&quot;.</div><div><br></div><div> I need help urgently</div><div>If you kindly help me  I will grateful to you.</div>
<div> Thanking you,</div><div><br></div><div>Jayanti Pal<br>Junior Research Fellow<br>Department of Atmospheric SCience<br>University Of Calcutta<br><a href="mailto:email-jiban_samudra18@yahoo.com" target="_blank">email-jiban_samudra18@yahoo.com</a><br>
<a href="mailto:jayantibright@gmail.com" target="_blank">jayantibright@gmail.com</a></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>