Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Hello, I had sent an email regarding this issue a while ago and updated to the 4.1 candidate 2 library to fix it, and it seems to have been fixed for the Hawaii files I am using from the National Weather Service's NDFD. I am receiving an AIOOB Exception when calling the readDataSlice method for Guam, though. The GRIB2 file is attached and the stack trace can be found below. Nov 17, 2009 10:38:37 PM ucar.nc2.dt.grid.GeoGrid readDataSlice SEVERE: GeoGrid.getdataSlice() on dataset Wind_direction_from_which_blowing java.lang.ArrayIndexOutOfBoundsException: 37249 at ucar.grib.grib2.Grib2DataSection.complexUnpacking(Grib2DataSection.java:384) at ucar.grib.grib2.Grib2DataSection.<init>(Grib2DataSection.java:165) at ucar.grib.grib2.Grib2Data.getData(Grib2Data.java:124) at ucar.nc2.iosp.grib.GribGridServiceProvider._readData(GribGridServiceProvider.java:413) at ucar.nc2.iosp.grid.GridServiceProvider.readXY(GridServiceProvider.java:398) at ucar.nc2.iosp.grid.GridServiceProvider.readData(GridServiceProvider.java:301) at ucar.nc2.NetcdfFile.readData(NetcdfFile.java:1743) at ucar.nc2.Variable._read(Variable.java:990) at ucar.nc2.Variable.read(Variable.java:789) at ucar.nc2.dataset.VariableDS._read(VariableDS.java:500) at ucar.nc2.Variable.read(Variable.java:789) at ucar.nc2.Variable.read(Variable.java:735) at ucar.nc2.dt.grid.GeoGrid.readDataSlice(GeoGrid.java:613) at ucar.nc2.dt.grid.GeoGrid.readDataSlice(GeoGrid.java:524) at util.DecodeGrib.decodeGribs(DecodeGrib.java:341) at util.DecodeGrib.main(DecodeGrib.java:838) Regards, Kyle Watson
Attachment:
ds.wdir.bin
Description: ds.wdir.bin
netcdf-java
archives: