How to save variables to ASCII
Teddy Allen
teddyallen at YAHOO.COM
Fri Oct 2 16:23:28 EDT 2009
Wansang,
It has been my experience in the past that fwrite only works in script mode and not during command line execution. Have you tried using fwrite in a script?
Hope this helps,
teddy
http://www.teddyallen.com
"To move quickly, go alone. To move far, go together."
African Proverb
________________________________
From: Wansang Ryu <wansryu at GMAIL.COM>
To: GRADSUSR at LIST.CINECA.IT
Sent: Friday, October 2, 2009 3:51:11 PM
Subject: How to save variables to ASCII
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?
Wansang
---
College Station, TX 77843-3147
Office: 305A CSA (Teague) Bldg
(979) 845-2719
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20091002/b495c2ea/attachment.html
More information about the gradsusr
mailing list