[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WG: Grib2-Decoder - already found problem (fwd)





===============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
address@hidden             WWW: http://www.unidata.ucar.edu/
===============================================================================

---------- Forwarded message ----------
Date: Tue, 9 Feb 2010 12:39:00 +0100
From: "Moritz, Katja (LfU)" <address@hidden>
To: address@hidden
Subject: WG: Grib2-Decoder - already found problem

Dear Mr. Kambic,

i already found the problem. I had to set BIG_ENDIAN for the RandomAccessFile 
(raf.order(RandomAccessFile.BIG_ENDIAN);)....

Many greetings from Germany,
Katja Moritz

-----Ursprüngliche Nachricht-----
Von: Moritz, Katja (LfU)
Gesendet: Montag, 8. Februar 2010 11:06
An: 'address@hidden'
Betreff: Grib2-Decoder

Dear Mr. Kambic,

my name is Katja Moritz and i am working for the Bavarian Environment Agency in 
Munich, Germany at the Flood Information Centre.
Since the German Wether Service (DWD) will provide us in the future with 
grib2-data it is my task to process this data.
We already use some Java-Applications so it would be great, if we could use 
your Java-Decoder!
I already made a first attempt to read a testfile from the DWD (see 
attachement) and it worked out fine. Only the values i receive with the 
getData()-Method of the Grib2DataSection can't be correct - they are fare too 
negative. I already compared the values with the values i get with the 
C-program GRIB API (ECMWF). Those values looked ok.
What do you think is wrong with the data? Do i use your code correctly?

Many thanks in advance und many greetings from Munich!

Yours sincerely,
Katja Moritz

-----------------------------------
Dipl.-Hydr. Katja Moritz
Bayerisches Landesamt für Umwelt
Referat 88: Hochwassernachrichtenzentrale, Hochwasservorhersage Donau u. Inn
Lazarettstr. 67,
80636 München

Tel.: (089) 9214-1302
E-mail: address@hidden