HI Jochen: please send an example file
John
On 1/13/2014 7:49 AM, Jochen Kähler wrote:
Hi,
we're using the netcdf-library to read ECMWF grib files.
Model level data is delivered in Grib-2-Format.
Some of those files throw an exception when loaded with netcdf-lib stating
"Unsupported DRS type = 50002".
2014-01-13 06:51:49,201 INFO : GribDetEcmwfIfsIngestor:307 -
/media/grib/data/input/ecmwf/library/ECM_DMD_2014011300_0222 det-ecmwf-ifs
GaussLatLon_1280X2560-p0N-179p9W/Temperature_hybrid: ingesting...
2014-01-13 06:51:49,201 INFO : GribDetEcmwfIfsIngestor:309 - update index
2014-01-13 06:51:49,541 ERROR: SimpleLogExceptionHandler:27 - An error has
occured!
2014-01-13 06:51:49,541 ERROR: SimpleLogExceptionHandler:56 -
java.lang.UnsupportedOperationException: Unsupported DRS type = 50002
2014-01-13 06:51:49,542 ERROR: SimpleLogExceptionHandler:58 -
ucar.nc2.grib.grib2.Grib2Drs.factory(Grib2Drs.java:59)
2014-01-13 06:51:49,542 ERROR: SimpleLogExceptionHandler:58 -
ucar.nc2.grib.grib2.Grib2SectionDataRepresentation.getDrs(Grib2SectionDataRepresentation.java:73)
2014-01-13 06:51:49,542 ERROR: SimpleLogExceptionHandler:58 -
ucar.nc2.grib.grib2.Grib2Record.readData(Grib2Record.java:282)
2014-01-13 06:51:49,542 ERROR: SimpleLogExceptionHandler:58 -
ucar.nc2.grib.grib2.Grib2Iosp$DataReader.read(Grib2Iosp.java:983)
2014-01-13 06:51:49,542 ERROR: SimpleLogExceptionHandler:58 -
ucar.nc2.grib.grib2.Grib2Iosp.readDataFromCollection(Grib2Iosp.java:912)
2014-01-13 06:51:49,542 ERROR: SimpleLogExceptionHandler:58 -
ucar.nc2.grib.grib2.Grib2Iosp.readData(Grib2Iosp.java:720)
2014-01-13 06:51:49,542 ERROR: SimpleLogExceptionHandler:58 -
ucar.nc2.NetcdfFile.readData(NetcdfFile.java:1957)
2014-01-13 06:51:49,542 ERROR: SimpleLogExceptionHandler:58 -
ucar.nc2.Variable.reallyRead(Variable.java:841)
2014-01-13 06:51:49,542 ERROR: SimpleLogExceptionHandler:58 -
ucar.nc2.Variable._read(Variable.java:813)
2014-01-13 06:51:49,542 ERROR: SimpleLogExceptionHandler:58 -
ucar.nc2.Variable.read(Variable.java:691)
2014-01-13 06:51:49,543 ERROR: SimpleLogExceptionHandler:58 -
ucar.nc2.dataset.VariableDS.reallyRead(VariableDS.java:519)
2014-01-13 06:51:49,543 ERROR: SimpleLogExceptionHandler:58 -
ucar.nc2.dataset.VariableDS._read(VariableDS.java:503)
2014-01-13 06:51:49,543 ERROR: SimpleLogExceptionHandler:58 -
ucar.nc2.dataset.VariableDS._read(VariableDS.java:527)
2014-01-13 06:51:49,543 ERROR: SimpleLogExceptionHandler:58 -
ucar.nc2.Variable.read(Variable.java:677)
DRS is Data Representation Section, is it? ...some compression method missing?
(Can send example file if needed...)
Kind Regards,
Jochen
_______________________________________________
netcdf-java mailing list
netcdf-java@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/