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

[IDV #PTW-729683]: can't open a grib data set



> Full Name: renato david ghisolfi
> Email Address: address@hidden
> Organization: universidade federal do espirito santo
> Package Version: 2.9u1 build date:2010-09-02 19:36 UTC
> Operating System: Mac OS X
> Hardware: Java: home: 
> /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home version: 
> 1.6.0_20 j3d:1.3.1
> Description of problem:
> 
> There was an error loading the data:
> 
> Error creating data source:file.grid with: 
> /Users/gringo/Downloads/wind_ecmwf/wind2002-2003.grib
> Grid data source failed making data set: 
> /Users/gringo/Downloads/wind_ecmwf/wind2002-2003.grib
> 11682

Hi Renato,
   The problem you ran into is probably caused by the missing of a grib table, 
not sure which table this file requires, can you upload a sample file to this 
site:

 http://motherlode.ucar.edu/repository/alias/idvupload
If you have this girb table, you can also add it to the IDV by yourself.

http://www.unidata.ucar.edu/software/idv/docs/userguide/data/GribTables.html

Yuan
> 
> ******************
> Stack trace:
> java.lang.ArrayIndexOutOfBoundsException: 11682
> at ucar.nc2.iosp.grid.GridVariable.makeVariable(GridVariable.java:552)
> at ucar.nc2.iosp.grid.GridIndexToNC.makeDenseCoordSys(GridIndexToNC.java:412)
> at ucar.nc2.iosp.grid.GridIndexToNC.open(GridIndexToNC.java:236)
> at 
> ucar.nc2.iosp.grib.GribGridServiceProvider.open(GribGridServiceProvider.java:133)
> at ucar.nc2.NetcdfFile.<init>(NetcdfFile.java:1333)
> at ucar.nc2.NetcdfFile.open(NetcdfFile.java:769)
> at ucar.nc2.NetcdfFile.open(NetcdfFile.java:403)
> at ucar.nc2.dataset.NetcdfDataset.openOrAcquireFile(NetcdfDataset.java:687)
> at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:426)
> at ucar.nc2.dataset.NetcdfDataset.acquireDataset(NetcdfDataset.java:522)
> 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:1106)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.getDataset(GeoGridDataSource.java:1128)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.initAfterCreation(GeoGridDataSource.java:490)
> at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1559)
> at 
> ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1998)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1915)
> at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1849)
> at 
> ucar.unidata.idv.IntegratedDataViewer.handleAction(IntegratedDataViewer.java:1691)
> at ucar.unidata.idv.DefaultIdv.handleAction(DefaultIdv.java:114)
> at 
> ucar.unidata.idv.IntegratedDataViewer.handleAction(IntegratedDataViewer.java:1623)
> at 
> ucar.unidata.idv.IntegratedDataViewer.doOpenInThread(IntegratedDataViewer.java:2854)
> at 
> ucar.unidata.idv.IntegratedDataViewer.doOpen(IntegratedDataViewer.java:2794)
> at 
> ucar.unidata.idv.IntegratedDataViewer.doOpen(IntegratedDataViewer.java:2864)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.python.core.PyReflectedFunction.__call__(Unknown Source)
> at org.python.core.PyMethod.__call__(Unknown Source)
> at org.python.core.PyObject.__call__(Unknown Source)
> at org.python.core.PyInstance.invoke(Unknown Source)
> at org.python.pycode._pyx63.f$0(<string>:1)
> at org.python.pycode._pyx63.call_function(<string>)
> at org.python.core.PyTableCode.call(Unknown Source)
> at org.python.core.PyCode.call(Unknown Source)
> at org.python.core.Py.runCode(Unknown Source)
> at org.python.core.Py.exec(Unknown Source)
> at org.python.util.PythonInterpreter.exec(Unknown Source)
> at ucar.unidata.idv.JythonManager.evaluateTrusted(JythonManager.java:1508)
> at 
> ucar.unidata.idv.IntegratedDataViewer.handleFileOrUrlAction(IntegratedDataViewer.java:1559)
> at 
> ucar.unidata.idv.IntegratedDataViewer.handleAction(IntegratedDataViewer.java:1659)
> at ucar.unidata.idv.DefaultIdv.handleAction(DefaultIdv.java:114)
> at 
> ucar.unidata.idv.IntegratedDataViewer.handleAction(IntegratedDataViewer.java:1623)
> at 
> ucar.unidata.idv.IntegratedDataViewer.actionPerformed(IntegratedDataViewer.java:1706)
> at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
> at 
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
> at 
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
> at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
> at javax.swing.AbstractButton.doClick(AbstractButton.java:389)
> at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1223)
> at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:137)
> at 
> javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1264)
> at java.awt.Component.processMouseEvent(Component.java:6348)
> at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
> at java.awt.Component.processEvent(Component.java:6113)
> at java.awt.Container.processEvent(Container.java:2085)
> at java.awt.Component.dispatchEventImpl(Component.java:4714)
> at java.awt.Container.dispatchEventImpl(Container.java:2143)
> at java.awt.Component.dispatchEvent(Component.java:4544)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618)
> at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4282)
> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
> at java.awt.Container.dispatchEventImpl(Container.java:2129)
> at java.awt.Window.dispatchEventImpl(Window.java:2478)
> at java.awt.Component.dispatchEvent(Component.java:4544)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
> at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
> at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
> at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
> 
> 
> 


Ticket Details
===================
Ticket ID: PTW-729683
Department: Support IDV
Priority: Normal
Status: Closed


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.