READING BINARY FILES

Eduardo Agosta Scarel eduardo.agosta at GMAIL.COM
Thu Feb 15 15:01:38 EST 2007


Hi you all!

I am having problems reading binary files using a *.ctl file. I have created
the binary file using Matlab after preparing the data on a mx1 matrix (in
fact a one-column vector containing the equally spaced lon-lat data). Is
there any specific flag that I may use in the OPTIONS comand within the ctl
file?
Below I copy the ctl file I am using:

DSET      ^ozojun
TITLE     TOC anomaly
UNDEF    -99999
OPTIONS SEQUENTIAL
XDEF     288 linear   0 1.25
YDEF      31 linear -60 1.0
ZDEF       1 levels 50
TDEF       1 linear 1jan1950 1yr
VARS      1
o3 0 99 TOC  anomaly
ENDVARS

The answer is "Open error: Can`t open binary data file".

Any help?
Thanks in advance.

Eduardo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20070215/e12a3e25/attachment.html 


More information about the gradsusr mailing list