READING BINARY FILES
Eduardo Agosta Scarel
eduardo.agosta at GMAIL.COM
Thu Feb 15 17:20:10 EST 2007
Mary Jo,
thanks for your suggestion, but even it doesn´t work. I will try to move all
the folder to a new one and try.
Eduardo.
2007/2/15, Mary Jo Nath <Mary-Jo.Nath at noaa.gov>:
>
> Eduardo,
>
> It appears that Grads isn't finding your data file. Make sure the file
> named "ozojun" is in the same directory/folder as the *.ctl file.
> Otherwise put the file's path name on the "DSET" line to indicate where
> "ozojun" resides.
>
> MJ
>
> Eduardo Agosta Scarel wrote:
>
> 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/a02ac921/attachment.html
More information about the gradsusr
mailing list