Assistance with binary file

zilore mumba zmumba at YAHOO.COM
Mon Aug 27 04:34:07 EDT 2007


Thanks Mary and Mahakur for taking your time to read my code. Your suggestions were very useful. However the major problem was an error in one loop in the fortran code ( not included in the extract I sent). Now the filed is displaying as required.
Thanks to all others who looked at my problem.
Zilore Mumba



----- Original Message ----
From: M.Mahakur <mmahakur at TROPMET.RES.IN>
To: GRADSUSR at LIST.CINECA.IT
Sent: Saturday, August 25, 2007 5:58:17 PM
Subject: Re: Assistance with binary file


Hello,

Try with the following in your ctl:

vars 1
PMSL  0 99  ** Pressure reduced to MSL [Pa]
ENDVARS

instead of:

vars 1
PMSL  0 2,102,0  ** Pressure reduced to MSL [Pa]
ENDVARS

Regards,

Mahakur


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/
>


       
____________________________________________________________________________________
Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.
http://smallbusiness.yahoo.com/webhosting
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20070827/e5ef85b5/attachment.html 


More information about the gradsusr mailing list