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

[IDV #NGB-653916]: Error importing GRIB1 data



Hi Simon-

This should be fixed in the 2.9b1 release.  Please let us know if it is not.

Don Murray

> > Full Name: Simon Metcalf
> > Email Address: address@hidden
> > Organization: New South Wales Rural Fire Service
> > Package Version: 2.8u1 build date:2010-02-02 22:30 UTC
> > Operating System: Windows XP
> > Hardware: Java: home: C:\Program Files\IDV_2.8u1\jre version: 1.6.0_17 
> > j3d:1.5.2 fcs (build4)
> > Description of problem: GRIB1 is supported according to the User Manual but 
> > is failing to import.
> >
> > Example source data at:
> > http://dd.weatheroffice.ec.gc.ca/model_gem_global/high_resolution/grib1/lat_lon/12/000/
> >  or
> > http://dd.weatheroffice.ec.gc.ca/model_gem_global/high_resolution/grib1/lat_lon/00/000/
> 
> This looks like a  bug in the GRIB library.  I'm going to transfer this over 
> to the decoder group.   Thanks for finding this.
> 
> Don Murray
> 
> > LOG:
> > There was an error loading the data:
> > Error creating data source:file.grid with: C:\Documents and 
> > Settings\simonm\Desktop\CGE\CMC_glb_ABSV_ISBL_250_latlon.6x.6_2010041912_P000.grib
> > Grid data source failed making data set: C:\Documents and 
> > Settings\simonm\Desktop\CGE\CMC_glb_ABSV_ISBL_250_latlon.6x.6_2010041912_P000.grib
> > 40
> >
> > ******************
> > Stack trace:
> > java.lang.ArrayIndexOutOfBoundsException: 40
> > at ucar.grib.grib1.Grib1PDSVariables.getInt(Grib1PDSVariables.java:976)
> > at ucar.grib.grib1.Grib1PDSVariables.isEnsemble(Grib1PDSVariables.java:487)
> > at ucar.grib.grib1.Grib1WriteIndex.writeGribIndex(Grib1WriteIndex.java:173)
> > at ucar.grib.grib1.Grib1WriteIndex.writeGribIndex(Grib1WriteIndex.java:97)
> > at 
> > ucar.nc2.iosp.grib.GribGridServiceProvider.writeIndex(GribGridServiceProvider.java:332)
> > at 
> > ucar.nc2.iosp.grib.GribGridServiceProvider.getIndex(GribGridServiceProvider.java:277)
> > at 
> > ucar.nc2.iosp.grib.GribGridServiceProvider.open(GribGridServiceProvider.java:104)
> > at ucar.nc2.NetcdfFile.<init>(NetcdfFile.java:1328)
> > at ucar.nc2.NetcdfFile.open(NetcdfFile.java:764)
> > at ucar.nc2.NetcdfFile.open(NetcdfFile.java:398)
> > at ucar.nc2.dataset.NetcdfDataset.openOrAcquireFile(NetcdfDataset.java:688)
> > at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:434)
> > at ucar.nc2.dataset.NetcdfDataset.acquireDataset(NetcdfDataset.java:523)
> > at ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:103)
> > at ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:89)
> > at 
> > ucar.unidata.data.grid.GeoGridDataSource.doMakeDataSet(GeoGridDataSource.java:1084)
> > at 
> > ucar.unidata.data.grid.GeoGridDataSource.getDataset(GeoGridDataSource.java:1106)
> > at 
> > ucar.unidata.data.grid.GeoGridDataSource.initAfterCreation(GeoGridDataSource.java:471)
> > at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1565)
> > at 
> > ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1992)
> > at 
> > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1909)
> > at 
> > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1843)
> > at 
> > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1816)
> > at ucar.unidata.idv.chooser.IdvChooser.makeDataSource(IdvChooser.java:943)
> > at 
> > ucar.unidata.idv.chooser.FileChooser.selectFilesInner(FileChooser.java:656)
> > at ucar.unidata.idv.chooser.FileChooser.selectFiles(FileChooser.java:525)
> > at ucar.unidata.idv.chooser.FileChooser.doLoadInThread(FileChooser.java:547)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> > at java.lang.reflect.Method.invoke(Unknown Source)
> > at ucar.unidata.util.Misc$2.run(Misc.java:1068)
> > at ucar.unidata.util.Misc$3.run(Misc.java:1096)
> >
> >
> >
> 


Ticket Details
===================
Ticket ID: NGB-653916
Department: Support netCDF Decoders
Priority: Normal
Status: Open