[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
New Client Reply - [netCDFDecoders !UKB-233671]: problem decoding grib2 2.5 grad (fwd)
- Subject: New Client Reply - [netCDFDecoders !UKB-233671]: problem decoding grib2 2.5 grad (fwd)
- Date: Wed, 13 Jun 2007 09:17:33 -0600 (MDT)
===============================================================================
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, 12 Jun 2007 09:17:33 -0600
From: Olivier-ext RATARD <address@hidden>
To: address@hidden
Subject: New Client Reply - [netCDFDecoders !UKB-233671]: problem decoding grib2
2.5 grad
New Client Reply: problem decoding grib2 2.5 grad
Robb,
I am encoutering this kind of problem on grib2 datafiles with a 2.5
precision on latitude and longitude.
File range
gfs.t00z.pgrbf192.grib2 to gfs.t00z.pgrbf384.grib2. (noaa ftp
site)
Example of parameter
Geopotential 1000 hPa.
when using the library on similar file (grib2) with 0.5 precision and 1
precision, everything is working well
I have tried to find any bug in my application without success.
To better describe the problem, here is the process step by step
After getting all available Grib2Record and identified the needed
Grib2Record, getting the gdsoffset and pdsOffset
Calling the method getData( long GdsOffset, long PdsOffset ) of
the Grib2Record
In this method, the library is trying to get the
Grib2DataSection with the method (Grib2DataSection)
public Grib2DataSection(boolean getData,
RandomAccessFile raf,
Grib2GridDefinitionSection gds,
Grib2DataRepresentationSection drs,
Grib2BitMapSection bms )
throws IOException
the dataTemplateNumber retrieved is 3 for files 2.5. (note
that for files with a 0.5 or 1 precision the dtn value is 1)
-> so it tries to use the function
complexUnpackingWithSpatial
The exception is raised in this method.
Thanks a lot.
Meanwhile,I will continue to test the files
Olivier
"Unidata netCDF Decoders Support"
<address@hidden>
12/06/07 04:53 PM
Please respond to
address@hidden
To
address@hidden
cc
address@hidden, address@hidden
Subject
[netCDFDecoders #UKB-233671]: problem decoding grib2 2.5 grad
Olivier,
i tested the code on the files that you suggested and they appeard
to decode fine. maybe you could tell me what file and parameter
you are having the problem with so i could test it. As i said
before there are many different paths to test, so a good test
case would help find the problem.
Robb...
Ticket Details
===================
Ticket ID: UKB-233671
Department: Support netCDF Decoders
Priority: Normal
Status: Open
Ticket Details
===================
Ticket ID: UKB-233671
Department: Support netCDF Decoders
Priority: Normal
Status: Open
Link:
https://www.unidata.ucar.edu/esupport/staff/index.php?_m=tickets&_a=viewticket&ticketid=4647