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 John, I seem to be having this same issue with GRIB files for Puerto Rico now. Is there any chance you guys could take a look at it? I have attached the GRIB2 files (ds.pop12.bin & ds.wx.bin). For GRIB2 file: ds.wx.bin 3/15/2010 14:00:49 [ERROR] GeoGrid.getdataSlice() on dataset Categorical_Rain - java.lang.ArrayIndexOutOfBoundsException: 76953 at ucar.grib.grib2.Grib2DataSection.complexUnpacking(Grib2DataSection.java:402) at ucar.grib.grib2.Grib2DataSection.<init>(Grib2DataSection.java:172) at ucar.grib.grib2.Grib2Data.getData(Grib2Data.java:124) at ucar.nc2.iosp.grib.GribGridServiceProvider._readData(GribGridServiceProvider.java:416) at ucar.nc2.iosp.grid.GridServiceProvider.readXY(GridServiceProvider.java:400) at ucar.nc2.iosp.grid.GridServiceProvider.readData(GridServiceProvider.java:303) at ucar.nc2.NetcdfFile.readData(NetcdfFile.java:1780) at ucar.nc2.Variable._read(Variable.java:1010) at ucar.nc2.Variable.read(Variable.java:809) at ucar.nc2.dataset.VariableDS._read(VariableDS.java:503) at ucar.nc2.Variable.read(Variable.java:809) at ucar.nc2.Variable.read(Variable.java:755) at ucar.nc2.dt.grid.GeoGrid.readDataSlice(GeoGrid.java:613) at ucar.nc2.dt.grid.GeoGrid.readDataSlice(GeoGrid.java:524) at com.hughestelematics.www.scheduler.DecodeGrib.decodeGribs(DecodeGrib.java:340) at com.hughestelematics.www.scheduler.DecodeGrib.main(DecodeGrib.java:904) For GRIB2 file: ds.pop12.bin 3/15/2010 14:00:45 [ERROR] GeoGrid.getdataSlice() on dataset Total_precipitation - java.lang.ArrayIndexOutOfBoundsException: 76953 at ucar.grib.grib2.Grib2DataSection.complexUnpacking(Grib2DataSection.java:402) at ucar.grib.grib2.Grib2DataSection.<init>(Grib2DataSection.java:172) at ucar.grib.grib2.Grib2Data.getData(Grib2Data.java:124) at ucar.nc2.iosp.grib.GribGridServiceProvider._readData(GribGridServiceProvider.java:416) at ucar.nc2.iosp.grid.GridServiceProvider.readXY(GridServiceProvider.java:400) at ucar.nc2.iosp.grid.GridServiceProvider.readData(GridServiceProvider.java:303) at ucar.nc2.NetcdfFile.readData(NetcdfFile.java:1780) at ucar.nc2.Variable._read(Variable.java:1010) at ucar.nc2.Variable.read(Variable.java:809) at ucar.nc2.dataset.VariableDS._read(VariableDS.java:503) at ucar.nc2.Variable.read(Variable.java:809) at ucar.nc2.Variable.read(Variable.java:755) at ucar.nc2.dt.grid.GeoGrid.readDataSlice(GeoGrid.java:613) at ucar.nc2.dt.grid.GeoGrid.readDataSlice(GeoGrid.java:524) at com.hughestelematics.www.scheduler.DecodeGrib.decodeGribs(DecodeGrib.java:340) at com.hughestelematics.www.scheduler.DecodeGrib.main(DecodeGrib.java:904) -----Original Message----- From: netcdf-java-bounces@xxxxxxxxxxxxxxxx [mailto:netcdf-java-bounces@xxxxxxxxxxxxxxxx] On Behalf Of Kyle Watson Sent: Saturday, November 28, 2009 2:34 PM To: john caron Cc: netcdf-java@xxxxxxxxxxxxxxxx Subject: Re: [netcdf-java] ArrayIndexOutOfBoundsException from ucar.nc2.dt.grid.GeoGrid.readDataSlice() while reading GRIB2 files I grabbed the latest grib.jar and it seems to be working so far. I will test the 4.1 release also. Thanks, Kyle Sent from my iPhone On Nov 28, 2009, at 2:31 PM, "john caron" <caron@xxxxxxxxxxxxxxxx> wrote: > Should be fixed in latest 4.1 release (Version 4.1.20091124.2319) > > please let us know otherwise > > > > Kyle Watson wrote: >> >> 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 >> >> --- >> --------------------------------------------------------------------- >> >> _______________________________________________ >> netcdf-java mailing list >> netcdf-java@xxxxxxxxxxxxxxxx >> For list information or to unsubscribe, visit: >> http://www.unidata.ucar.edu/mailing_lists/ > _______________________________________________ netcdf-java mailing list netcdf-java@xxxxxxxxxxxxxxxx For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/
Attachment:
ds.pop12.bin
Description: ds.pop12.bin
Attachment:
ds.wx.bin
Description: ds.wx.bin
netcdf-java
archives: