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

[IDV #HOR-288798]: HYCOM ocean model output in grib1 format

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.


  • Subject: [IDV #HOR-288798]: HYCOM ocean model output in grib1 format
  • Date: Sun, 19 May 2013 08:40:56 -0600

Greetings!

I see that you are using an outdated version of the IDV. Could you try
to read the data again using the latest (IDV 4.0u1)? There were several
changes made to how netCDF-Java reads grib files, and may issues
found previously are no longer an issue.

Cheers,

Sean

> Full Name: Hyun-Sook Kim
> Email Address: address@hidden
> Organization: EMC/NCEP
> Package Version: 3.1u1 build date:2012-11-30 17:36 UTC
> Operating System: Windows 7
> Hardware: Java: home: C:\Users\hyun.sook.kim\IDV_3.1u1\jre version: 1.6.0_31 
> j3d:1.5.2 fcs (build4)
> Description of problem: There was an error loading the data:
> Error creating data source:file.grid with: 
> Z:\H3Y2\Tembin15w\2012081906\cyc000-1906\ocean\hwrf_TEMBIN.15w.rtofs_hwp33.t06z.F012.3d.grb
> Grid data source failed making data set: 
> Z:\H3Y2\Tembin15w\2012081906\cyc000-1906\ocean\hwrf_TEMBIN.15w.rtofs_hwp33.t06z.F012.3d.grb
> 1
> 
> ******************
> Stack trace:
> java.lang.ArrayIndexOutOfBoundsException: 1
> at ucar.grib.GribIndexReader.open(GribIndexReader.java:142)
> at ucar.grib.GribIndexReader.open(GribIndexReader.java:97)
> at ucar.grib.grib1.Grib1WriteIndex.writeGribIndex(Grib1WriteIndex.java:123)
> at 
> ucar.nc2.iosp.grib.GribGridServiceProvider.writeIndex(GribGridServiceProvider.java:346)
> at 
> ucar.nc2.iosp.grib.GribGridServiceProvider.getIndex(GribGridServiceProvider.java:292)
> at 
> ucar.nc2.iosp.grib.GribGridServiceProvider.open(GribGridServiceProvider.java:118)
> at ucar.nc2.NetcdfFile.<init>(NetcdfFile.java:1439)
> at ucar.nc2.NetcdfFile.open(NetcdfFile.java:846)
> at ucar.nc2.NetcdfFile.open(NetcdfFile.java:479)
> at ucar.nc2.dataset.NetcdfDataset.openOrAcquireFile(NetcdfDataset.java:696)
> at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:424)
> at ucar.nc2.dataset.NetcdfDataset.acquireDataset(NetcdfDataset.java:520)
> at ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:101)
> at ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:87)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.doMakeDataSet(GeoGridDataSource.java:1106)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.getDataset(GeoGridDataSource.java:1128)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.initAfterCreation(GeoGridDataSource.java:491)
> at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1585)
> 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:1222)
> at ucar.unidata.util.Misc$3.run(Misc.java:1250)
> 
> 
> 


Ticket Details
===================
Ticket ID: HOR-288798
Department: Support IDV
Priority: Normal
Status: Open