hello,
i got one binary file for ECMWF forecast data, but have no idea of its
structure.
i tried the code:
setfileoption("bin","ReadByteOrder","BigEndian")
f = cbinread("ec_file",-1,"float")
printVarSummary(f)
asciiwrite ("ec.txt", f)
and it shows the first several lines in file ec.txt like:
53833.26
-nan
0
2.150461e-40
2.942727e-44
2.35802e-38
4.591789e-40
3.325774e-34
9.860761e-32
2.350989e-38
1.025519e-28
9.184811e-41
1.5186e-36
6.439222e-10
6.613232e-39
1.421491e-40
0
9.629649e-35
-nan
...
i want to get the variable info in the binary file, so what can i do?
many thanks to reply.
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Oct 3 02:27:38 2013
This archive was generated by hypermail 2.1.8 : Fri Oct 04 2013 - 16:45:17 MDT