[netcdf-java] Meaning of exception when processing NETCDF file : java.util.NoSuchElementException: GRIB1 Latin1

  • To: "netcdf-java@xxxxxxxxxxxxxxxx" <netcdf-java@xxxxxxxxxxxxxxxx>
  • Subject: [netcdf-java] Meaning of exception when processing NETCDF file : java.util.NoSuchElementException: GRIB1 Latin1
  • From: "Ferguson, Steve -FS" <sferguson@xxxxxxxxx>
  • Date: Thu, 25 Jun 2015 17:16:40 +0000
  • Authentication-results: spf=pass (sender IP is 199.135.140.12) smtp.mailfrom=fs.fed.us; unidata.ucar.edu; dkim=none (message not signed) header.d=none;
I am attempting to use the 4.6 version of the netcdf reader to process a 
Lambert Conformal file. I receive a rather cryptic exception that prevents me 
from seeing the coordinate system or any feature types and I'd like to know, 
what if any information I could add to the netcdf file to be able to process it 
successfully. Here is the stack trace. Thanks in advance for any help in this 
matter. The file I am processing does have a Latin1 variable defined, so the 
error message is not helping me understand what to do to remedy the situation.


java.util.NoSuchElementException: GRIB1 Latin1
                at 
ucar.nc2.dataset.conv.NUWGConvention$NavInfoList.getDouble(NUWGConvention.java:472)
                at 
ucar.nc2.dataset.conv.NUWGConvention$Grib1.makeLCProjection(NUWGConvention.java:566)
                at 
ucar.nc2.dataset.conv.NUWGConvention$Grib1.<init>(NUWGConvention.java:538)
                at 
ucar.nc2.dataset.conv.NUWGConvention.augmentDataset(NUWGConvention.java:115)
                at 
ucar.nc2.dataset.NetcdfDataset.enhance(NetcdfDataset.java:458)
                at 
ucar.nc2.dataset.NetcdfDataset.<init>(NetcdfDataset.java:1425)
                at 
ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:433)
                at 
ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:410)
                at 
ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:395)
                at ucar.nc2.ui.ToolsUI$GeoGridPanel.process(ToolsUI.java:4909)
                at ucar.nc2.ui.ToolsUI$OpPanel.doit(ToolsUI.java:1594)
                at 
ucar.nc2.ui.ToolsUI$OpPanel$1.actionPerformed(ToolsUI.java:1516)
                at javax.swing.JComboBox.fireActionEvent(Unknown Source)
                at 
ucar.util.prefs.ui.ComboBox.fireActionEvent(ComboBox.java:172)
                at javax.swing.JComboBox.actionPerformed(Unknown Source)
                at javax.swing.JTextField.fireActionPerformed(Unknown Source)
                at javax.swing.JTextField.postActionEvent(Unknown Source)
                at javax.swing.JTextField$NotifyAction.actionPerformed(Unknown 
Source)
                at javax.swing.SwingUtilities.notifyAction(Unknown Source)
                at javax.swing.JComponent.processKeyBinding(Unknown Source)
                at javax.swing.JComponent.processKeyBindings(Unknown Source)
                at javax.swing.JComponent.processKeyEvent(Unknown Source)
                at java.awt.Component.processEvent(Unknown Source)
                at java.awt.Container.processEvent(Unknown Source)
                at java.awt.Component.dispatchEventImpl(Unknown Source)
                at java.awt.Container.dispatchEventImpl(Unknown Source)
                at java.awt.Component.dispatchEvent(Unknown Source)
                at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
                at 
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
                at 
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
                at 
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
                at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown 
Source)
                at java.awt.Component.dispatchEventImpl(Unknown Source)
                at java.awt.Container.dispatchEventImpl(Unknown Source)
                at java.awt.Window.dispatchEventImpl(Unknown Source)
                at java.awt.Component.dispatchEvent(Unknown Source)
                at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
                at java.awt.EventQueue.access$500(Unknown Source)
                at java.awt.EventQueue$3.run(Unknown Source)
                at java.awt.EventQueue$3.run(Unknown Source)
                at java.security.AccessController.doPrivileged(Native Method)
                at 
java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
                at 
java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
                at java.awt.EventQueue$4.run(Unknown Source)
                at java.awt.EventQueue$4.run(Unknown Source)
                at java.security.AccessController.doPrivileged(Native Method)
                at 
java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
                at java.awt.EventQueue.dispatchEvent(Unknown Source)
                at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown 
Source)
                at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown 
Source)
                at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown 
Source)
                at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                at java.awt.EventDispatchThread.run(Unknown Source)


Steve Ferguson


  • 2015 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: