How to save variables to ASCII

Arlindo da Silva arlindo.dasilva at GMAIL.COM
Fri Oct 2 22:59:56 EDT 2009


On Fri, Oct 2, 2009 at 3:51 PM, Wansang Ryu <wansryu at gmail.com> wrote:

> Dear users,
>
> I am a beginner of GRADS, so I have lots of questions.
> One of them is that I want to save a variable (or variables) to an ASCII
> file.
> I read that fwrite would work, but I don't know how to use it.
>
> I define a variable named 'wind' as below.
>
> define wind = ave(mag(uwind,vwind),t+0,t=360,12)
>
> I want to save the variable 'wind' to ASCII.
> I just used 'set fwrite' command, but I don't see any new file in my
> directory.
>
> Anybody can help me?
>
>
See this recipe:

http://cookbooks.opengrads.org/index.php?title=Recipe-002:_Saving_GrADS_variable_data_to_a_text_file


--
Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20091002/7da934ee/attachment.html 


More information about the gradsusr mailing list