Assistance with binary file

zilore mumba zmumba at YAHOO.COM
Sat Aug 25 06:38:32 EDT 2007


Hi Mary,
Thanks for sparing your time to look at my code. I did
modify the program as per your suggestion. I still get
the same result. Any other suggestions?

Zilore Mumba


--- Mary Jo Nath <Mary-Jo.Nath at NOAA.GOV> wrote:

> Hello Zilore,
>
> Try changing the value of "recl" in the "open"
> statement to "recl=4*L"
> since you are writing L words for each J, and recl
> should be the size of
> the record in bytes. (=words x 4).
>
> MJ
>
> zilore mumba wrote:
> > Hello Grads Users,
> > Assistance is sought for displaying a field in
> binary
> > format written from FORTRAN. I have attached to
> this
> > mail a segment of the fortran code where the
> writing
> > is effected. I have tried two ways of writing the
> > data. Also attached is the control file.
> >
> > When I open grads it is able to open the data file
> > msl.grb but the display gives a map of Africa with
> two
> > vertical lines on each side of the map. I have
> tried
> > all the five options in the ctl file. Some options
> > give a map filled with some bizarre patterns.
> >
> > I am working in both Windows and LINUX platforms.
> >
> > Incidentally I have some programs I wrote (in
> binary)
> > a few years ago (random gneneration of cyclones)
> which
> > were able to display in grads but which this time
> do
> > not even open the data file.
> > Any assistance will be highly appreciated.
> > Zilore Mumba
> >
> >
> >
> >
> >
> >
>
____________________________________________________________________________________
> > Choose the right car based on your needs.  Check
> out Yahoo! Autos new Car Finder tool.
> > http://autos.yahoo.com/carfinder/
>





      ____________________________________________________________________________________
Shape Yahoo! in your own image.  Join our Network Research Panel today!   http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7



More information about the gradsusr mailing list