fwrite
Shun Jie Liu
shun.jie.liu at INVENIA.CA
Tue Jun 3 16:07:30 EDT 2008
Thanks for replying
Is there an example of C program or C code I could look at that reads the fwrite output ?
Many thanks
- Shunjie> Date: Tue, 3 Jun 2008 08:49:35 +0100> From: dbcl at CEH.AC.UK> Subject: Re: fwrite> To: GRADSUSR at LIST.CINECA.IT> > Shunjie,> > A few more comments....> > 'fwrite' writes a "flat" binary file (i.e. no headers) which should be readable by GrADS (once you write a suitable .ctl file), or you could read with C, FORTRAN (direct access for FORTRAN) etc.> > Doug> > > >>> liuxc at MAIL.IAP.AC.CN 03/06/2008 01:40 >>>> Hi*****> > > you should first do like this> > set gxout fwrite> set fwrite xx.dat (xx implys your file name which will be exported)> > > then in the middle, you can display the data in the order of the Grads requires> the order like time /level / variable/> > this is important to make it clear the order> > > then> disable fwrite (the fwrite is end)> > > i think you can get many resources even in Chinese,such as "***"> > good luck to you> > > > > > 2008-06-03> > > > **> > > > **** Shun Jie Liu> **** 2008-06-03 06:00:02> **** GRADSUSR at LIST.CINECA.IT> ***> ** fwrite> > Hello, can anyone tell me what is fwrite ?> From the ignes website, I know it writes to a data output but how are the data are stored (format)? and how can I read them ?> > Thank you> > -> > > --> This message (and any attachments) is for the recipient only. NERC> is subject to the Freedom of Information Act 2000 and the contents> of this email and any reply you make may be disclosed by NERC unless> it is exempt from release under the Act. Any material supplied to> NERC may be stored in an electronic records management system.
_________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20080603/a5f17827/attachment.html
More information about the gradsusr
mailing list