This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> Full Name: sun > Email Address: address@hidden > Organization: Tianjin meteorological Buearu,China > Package Version: 4.1 build date:2013-08-02 18:38 UTC > Operating System: Windows XP > Hardware: Java: home: C:\Program Files\IDV_4.1\jre version: 1.6.0_43 > j3d:1.5.2 fcs (build4) > Description of problem: There was an error loading the data: > Error creating data source:file.grid with: E:\Y59591 > Grid data source failed making data set: E:\Y59591 > -1 > Hi Sun, The problem is that your dataset doesn't follow the convention and can not be recognized as gridded data. Can you provide more information of this dataset? Yuan > ****************** > Stack trace: > java.lang.ArrayIndexOutOfBoundsException: -1 > at > ucar.nc2.grib.grib1.Grib1SectionGridDefinition.getOctet(Grib1SectionGridDefinition.java:159) > at > ucar.nc2.grib.grib1.Grib1SectionGridDefinition.getNptsInLine(Grib1SectionGridDefinition.java:208) > at > ucar.nc2.grib.grib1.Grib1SectionGridDefinition.getGDS(Grib1SectionGridDefinition.java:168) > at > ucar.nc2.grib.grib1.Grib1CollectionBuilder.makeAggregatedGroups(Grib1CollectionBuilder.java:489) > at > ucar.nc2.grib.grib1.Grib1CollectionBuilder.createIndex(Grib1CollectionBuilder.java:445) > at > ucar.nc2.grib.grib1.Grib1CollectionBuilder.readOrCreateIndex(Grib1CollectionBuilder.java:151) > at > ucar.nc2.grib.grib1.Grib1CollectionBuilder.readOrCreateIndexFromSingleFile(Grib1CollectionBuilder.java:66) > at > ucar.nc2.grib.GribIndex.makeGribCollectionFromSingleFile(GribIndex.java:120) > at ucar.nc2.grib.grib1.Grib1Iosp.open(Grib1Iosp.java:136) > at ucar.nc2.NetcdfFile.<init>(NetcdfFile.java:1521) > at ucar.nc2.NetcdfFile.open(NetcdfFile.java:813) > at ucar.nc2.NetcdfFile.open(NetcdfFile.java:422) > at ucar.nc2.dataset.NetcdfDataset.openOrAcquireFile(NetcdfDataset.java:699) > at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:421) > at ucar.nc2.dataset.NetcdfDataset.acquireDataset(NetcdfDataset.java:516) > at ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:117) > at ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:103) > at > ucar.unidata.data.grid.GeoGridDataSource.doMakeDataSet(GeoGridDataSource.java:1154) > at > ucar.unidata.data.grid.GeoGridDataSource.getDataset(GeoGridDataSource.java:1176) > at > ucar.unidata.data.grid.GeoGridDataSource.initAfterCreation(GeoGridDataSource.java:502) > at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1597) > at > ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1980) > at > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1897) > at > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1831) > at > ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1804) > 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:1223) > at ucar.unidata.util.Misc$3.run(Misc.java:1251) > > > Ticket Details =================== Ticket ID: LGS-355273 Department: Support IDV Priority: Normal Status: Closed