fwrite

Douglas Clark dbcl at CEH.AC.UK
Tue Jun 3 03:49:35 EDT 2008


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 ?


More information about the gradsusr mailing list