[gradsusr] saving multiple data using fprintf in same file
chilukoti nagaraju
chilukotinagaraju at gmail.com
Mon Jun 6 00:28:30 EDT 2011
you can use fwrite function
set fwrite mydata.dat
set gxout fwrite
d u10
d v10
d t2
d rh2
i think it wil be use full to you
On Sun, Jun 5, 2011 at 11:41 AM, Roopashree Shrivastava
<rss1901 at gmail.com>wrote:
> 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
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
--
Nagaraju Chilukoti
CCCR,
IITM, Pashan
Pune 411008
Mob.* 09224278979*
cnraju at tropmet.res.in <http://goog_932359822>
chilukotinagaraju at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110606/8fc088d3/attachment-0003.html
More information about the gradsusr
mailing list