Grads answers different on different machines with same version...any idea?

Mald MM5 maldmm5 at GMAIL.COM
Sun Nov 9 04:58:53 EST 2008


Thanks guys...

Adding the option fixed the issue...worked like a charm....

Cheers


On Fri, Nov 7, 2008 at 5:06 PM, Douglas Clark <dbcl at ceh.ac.uk> wrote:

> Bernd is right that you can use "options byteswapped", but this will not
> work if you try to use GrADS to read a file on the same platform that it was
> written on - which is a pretty common occurence - as  GrADS will ALWAYS try
> to reverse the order of the bytes.
>
> Better to specify the "endianess" by writing
> options big_endian
> or
> options little_endian
> in the control file.
>
> See control file > options at
> http://grads.iges.org/grads/gadoc/gadocindex.html
>
> Doug
>
>
> >>> bernd.becker at METOFFICE.GOV.UK 07/11/2008 11:12:58 >>>
> Mald,
>
> you may be running into the problem of "endianess".
>
> Your pc at home is little endian and your
> work boxes are probably bigendian.
>
> If your data files are not endianess aware,
> you will probably have to add the option "byteswapped"
> in your ctl file.
>
> Good luck!
> Bernd.
>
> On Fri, 2008-11-07 at 16:04 +0500, Mald MM5 wrote:
> > Hi there,
> >
> > I have got grads 1.8SL11 running on an AIX system running UNIX at my
> > institution and the am using it fine. I get the results I expected
> > using this version.
> > However I downloaded version 1.8SL11binary for linux at home and
> > installed on my PC running openSuse 11.0. I used the same data file
> > and the control file that I was using at the institution.
> >
> > To my surprise, I do not get the same output. For example I was trying
> > to view the terrain heights. At home, the contour intervals are given
> > as "Contouring: -4.5e+37 to 0 interval 5e+36". Whereas at the
> > institution I get "Contouring: 0 to 1.8 interval 0.2". And for all the
> > fields its doing the same.
> >
> > Any ideas why this might be happening. I downloaded the latest version
> > 2.0 from the link i686 at home. And ended up the same. Something to do
> > with my system?
> >
> > Thanks
> > Mald
> >
> >
> --
> Bernd Becker   The Monthly Outlook
> Met Office  FitzRoy Road  Exeter   Devon EX1 3PB  United Kingdom
> Tel.: +44 (0) 1392 884511 Fax: +44 (0)870 900 5050
> E-mail:bernd.becker at metoffice.com <E-mail%3Abernd.becker at metoffice.com>  -
>  http://www.metoffice.com
>
>
> --
> This message (and any attachments) is for the recipient only. NERC
> is subject to the Freedom of Information Act 2000 and the contents
> of this email and any reply you make may be disclosed by NERC unless
> it is exempt from release under the Act. Any material supplied to
> NERC may be stored in an electronic records management system.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20081109/757a1d74/attachment.html 


More information about the gradsusr mailing list