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

java decoding error



I’m trying to decode the Grided MOS products off of our NOAAPORT.   Here is a copy of the pqact.conf entry…

HDS|NGRID       ^[LM]GU... KWBQ ([0-3][0-9])([0-2][0-9][0-6][0-9])
        FILE    /usr/local/ldm/model/mos/(\1:yyyy)(\1:mm)\1\2_mos_g.grib
 
 
This is the grided mos product for Maximum Temperatures.
 
My command to decode is:
java -Xmx1024m ucar.nc2.iosp.grib.Grib2Netcdf  200705011200_mos_g.grib test.nc
 
The output from this command:
Tue May 01 18:58:41 GMT 2007 ... Start of Grib2Netcdf
read grib file=200705011200_mos_g.grib write to netCDF file=test.nc
java.lang.ArrayIndexOutOfBoundsException: 739042
        at ucar.grib.grib2.Grib2DataSection.complexUnpackingWithSpatial(Grib2DataSection.java:526)
        at ucar.grib.grib2.Grib2DataSection.<init>(Grib2DataSection.java:115)
        at ucar.grib.grib2.Grib2Data.getData(Grib2Data.java:102)
        at ucar.nc2.iosp.grib.Grib2ServiceProvider._readData(Grib2ServiceProvider.java:86)
        at ucar.nc2.iosp.grib.GribServiceProvider.readXY(GribServiceProvider.java:272)
        at ucar.nc2.iosp.grib.GribServiceProvider.readLevel(GribServiceProvider.java:248)
        at ucar.nc2.iosp.grib.GribServiceProvider.readData(GribServiceProvider.java:232)
        at ucar.nc2.NetcdfFile.readData(NetcdfFile.java:1106)
        at ucar.nc2.Variable._read(Variable.java:888)
        at ucar.nc2.Variable.read(Variable.java:644)
        at ucar.nc2.FileWriter.writeToFile(FileWriter.java:194)
        at ucar.nc2.FileWriter.writeToFile(FileWriter.java:63)
        at ucar.nc2.iosp.grib.Grib2Netcdf.main(Grib2Netcdf.java:87)
 
.
.
.
Tue May 01 18:58:44 GMT 2007 ... End of Grib2Netcdf!
 
This same error is repeated 7 times (for each time step?)
 
Any ideas on what is going on here? 
 
Thanks in advance for any help on this!!
 
-Charles
 
 
Charles Ross
Meteorologist
Bonneville Power Administration

 

905 NE 11th Ave.
Portland , OR 97232

503-230-3159