Data output

Heiner Körnich heiner at MISU.SU.SE
Mon Nov 20 11:27:37 EST 2006


Hi,

either use the scriptcommand 'res=write(filename,record<,append>)'
or convert afterwards from binary to ascii. I attached a little
c-program,which you only would have to compile.

Best wishes,
Heiner Körnich

David.Ramsaur wrote:
> I'm currently using the fwrite command to output a file from GrADS.
> Below is the commands that I'm entering into GrADS.
>
> set fwrite -le -sq <filename>
> set gxout fwrite
> d windhag
> disable fwrite
>
> When I look at my output file it is binary format.  Does anyone know how
> I can output in ASCII straight from GrADS or do I have to convert from
> binary to ASCII after outputting from GrADS?
>
> Thank you,
> David Ramsaur
>

--
Heiner Körnich
Dept. of Meteorology            Tel:  +46 8 164333
Stockholms University, SE-106 91 Stockholm, Sweden
Email: heiner at misu.su.se   www.misu.su.se/~heiner/

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: binas.c
Url: http://gradsusr.org/pipermail/gradsusr/attachments/20061120/bc69117c/attachment.c 


More information about the gradsusr mailing list