<div dir="ltr">Not totally sure,but I think you need to define your variable before <div><div style="font-family:'times new roman','new york',times,serif;font-size:15.555556297302246px">ga> set sdfwrite <a href="http://output.nc/" target="_blank">output.nc</a></div>
<div style="font-family:'times new roman','new york',times,serif;font-size:15.555556297302246px">ga> sdfwrite tot_precip</div></div><div style="font-family:'times new roman','new york',times,serif;font-size:15.555556297302246px">
<br></div><div style="font-family:'times new roman','new york',times,serif;font-size:15.555556297302246px">also, make sure your variable name name is RF, initially I would suggest to use the same or a very short one (like pr)</div>
<div style="font-family:'times new roman','new york',times,serif;font-size:15.555556297302246px"><br></div><div style="font-family:'times new roman','new york',times,serif;font-size:15.555556297302246px">
Best regards</div><div style="font-family:'times new roman','new york',times,serif;font-size:15.555556297302246px">Luis</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"><<a href="mailto:jiban_samudra18@yahoo.com" target="_blank">jiban_samudra18@yahoo.com</a>></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> sdfopen <a href="http://ppt3.nc" target="_blank">ppt3.nc</a></div>
<div>ga> q file</div><div>ga> set lat 0 40</div><div>ga> set lon 60 100</div><div>ga> set gxout shaded</div><div>ga> set grads off</div><div>ga> d tot_precip</div><div>ga> xcbar</div><div>ga> draw title precipitation over India</div>
<div>ga> draw xlabs longitude</div><div>ga> draw ylabs latitude</div><div>ga> set sdfwrite <a href="http://output.nc" target="_blank">output.nc</a></div><div>ga> sdfwrite tot_precip</div><div><br></div><div><br>
</div><div>after putting this comment its show " variable not define"</div><div><br></div><div>and when i used the followinf
comment to define:</div><div><br></div><div> ga> define tot_precip = RF</div><div><br></div><div>then it shows " too long name, missing "=".</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>