GrADS su MAC OS X
Jamie Scott
James.D.Scott at NOAA.GOV
Wed Jun 21 13:25:47 EDT 2006
Luca,
PC's write the data in reverse byte order compared to Mac.
You need to add this line to your data descriptor file (ctl)
options little_endian
-Jamie
On Jun 21, 2006, at 11:13 AM, Luca Villa wrote:
> Hi Jamie,
>
> I use binary gridded data from a Numerical Weather model and data are
> generated from a PC with Linux OS.
>
> They said that it could be caused by the "big or little endian", but I
> don't know anything about it. Can you help me?
>
> Thanks a lot
> Luca
>
>
> Jamie Scott ha scritto:
>> What type of data are you reading? Binary or netCDF?
>> Was the data generated on a PC or a Mac?
>>
>> translated to italian via google:
>> Che tipo di dati siete che leggete? Binario o netCDF? I dati sono
>> stati generati su un pc o su un Mac?
>>
>> -Jamie
>>
>> On Jun 21, 2006, at 9:37 AM, Luca Villa wrote:
>> translated to english via google:
>>> Hello, I have a problem with GrADS installed on mine iBook G4,
>>> with
>>> system operating MAC OS X. I have unloaded the version for Mac
>>> from the situated one, I have installed it and seems to work all,
>>> unless for the fact that, any rows I open, i fields that I
>>> visualize
>>> are all equal constants to NaN. Someone can suggest to me one
>>> solution? Thanks thousands. Luca
>> -------------
>>>
>>> Ciao,
>>>
>>> ho un problema con GrADS installato sul mio iBook G4, con sistema
>>>
>>> operativo MAC OS X.
>>>
>>>
>>> Ho scaricato la versione per Mac dal sito, l'ho installata e sembra
>>>
>>> funzionare tutto, tranne che per il fatto che, qualunque file io
>>> apra, i
>>>
>>> campi che visualizzo sono tutti costanti uguali a NaN.
>>>
>>>
>>> Qualcuno può suggerirmi una soluzione?
>>>
>>> Grazie mille.
>>>
>>>
>>> Luca
>>>
>>
>
> --
>
>
> ing. Luca Villa
> *********************************************
> University of Genoa
> Department of Physics
> Atmospheric and Oceanic Physics Group
> via Dodecaneso, 33.
> 16146 Genova - Italy
>
> tel: +39 010 353 6478
> fax: +39 010 353 6354
> e-mail: villa at fisica.unige.it
> luca.villa27 at tiscali.it
> http://www.fisica.unige.it/~villa/
> *********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20060621/6536f37f/attachment.html
More information about the gradsusr
mailing list