[gradsusr] txt to dat/bin file

Pou-Chang John Chen wishingwork at yahoo.com.tw
Wed Apr 6 15:46:26 EDT 2011


Hello fadzil
As you 'set gxout fwrite', try to set the dimension only one point, like: 'set 
x1';'set y 1';'set z 1';'set t 1', before you display the value

I hope this help you
John
 
________________________________
GrADS Tutorial on Facebook
http://www.wishingwork.com/grads/




________________________________
From: fadzil mnor <fadzilmnor84 at gmail.com>
To: gradsusr at gradsusr.org
Sent: Thu, April 7, 2011 2:14:57 AM
Subject: [gradsusr] txt to dat/bin file

Hi,
I'm using windows version of GrADS.
i'm planning to convert txt file with only these numbers/data (below)
in it to binary file (dat or bin)..
*************************
0.38
-0.58
-0.86
-0.10
-0.57
-0.11
0.98
-0.02
-0.46
0.82
-0.42
0.28
-0.24
0.46
0.69
0.23
-0.07
0.47
-0.35
-0.32
-0.05
-0.18
-0.63
0.36
-0.12
0.78
-0.36
0.21
-0.17
0.46
-0.43
-0.31
-0.22
-0.01
0.66
0.19
-0.75
0.05
-0.35
0.86
****************
i've tried something like in here :
http://tc-typhoon.blogspot.com/2011/03/use-grads-to-read-in-text-files-for.html
, but it's not working. including the file address (since i am using
windows)..

any idea?
thanks

fadzil
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110407/adc26dee/attachment-0003.html 


More information about the gradsusr mailing list