<br><br><div class="gmail_quote">On Fri, Oct 2, 2009 at 3:51 PM, Wansang Ryu <span dir="ltr"><<a href="mailto:wansryu@gmail.com">wansryu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Dear users,<br>
<br>
I am a beginner of GRADS, so I have lots of questions.<br>
One of them is that I want to save a variable (or variables) to an ASCII file.<br>
I read that fwrite would work, but I don't know how to use it.<br>
<br>
I define a variable named 'wind' as below.<br>
<br>
define wind = ave(mag(uwind,vwind),t+0,t=360,12)<br>
<br>
I want to save the variable 'wind' to ASCII.<br>
I just used 'set fwrite' command, but I don't see any new file in my directory.<br>
<br>
Anybody can help me?<br>
<br></blockquote><div><br></div><div>See this recipe:</div><div><br></div><div><a href="http://cookbooks.opengrads.org/index.php?title=Recipe-002:_Saving_GrADS_variable_data_to_a_text_file">http://cookbooks.opengrads.org/index.php?title=Recipe-002:_Saving_GrADS_variable_data_to_a_text_file</a></div>
<div><br></div><div><br></div></div>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>