[gradsusr] saving multiple data using fprintf in same file

Roopashree Shrivastava rss1901 at gmail.com
Sun Jun 5 02:11:49 EDT 2011


Dear all,
 I am using grads function fprintf to extract data in ascii . I am
interested in many variables like u10,v10,t2,rh2,swd,rainc etc at a given
point. Is there any way of making fprintf function write all the variables
in the same file. for eg right now i would do

set lat ------
set lon -------
set lev --------
set t 1
fprintf u10 u10.dat
 fprintf v10 v10.dat
 fprintf t2 t2.dat
 fprintf rh2  rh2.dat

Instead i want one output file which contains all the variables.

Thanks and Regards
Roopa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110605/fc41b2a6/attachment-0003.html 


More information about the gradsusr mailing list