Re: [netcdf-java] ECMWF GRIB2 file and toolsUI

  • To: Keith To <kcto@xxxxxxxxxx>
  • Subject: Re: [netcdf-java] ECMWF GRIB2 file and toolsUI
  • From: Sean Arms <sarms@xxxxxxxx>
  • Date: Mon, 22 May 2017 10:18:03 -0600
Greetings Keith,

Do you have an example file that we could check out?

Thanks!

Sean


On Sun, May 21, 2017 at 10:17 PM, Keith To <kcto@xxxxxxxxxx> wrote:
> Hello,
>
> We are processing ECMWF GRIB2 files which can be read by ecCode.
> However, an exception occurs when reading these ECMWF GRIB2 files with
> toolsUI-4.6.10.
> We'd like to know how can we read ECMWF GRIB2 files using toolsUI / TDS.
>
> java.lang.NullPointerException
>     at
> ucar.nc2.grib.grib2.table.Grib2Customizer.factory(Grib2Customizer.java:80)
>     at
> ucar.nc2.ui.grib.Grib2CollectionPanel.processGribFile(Grib2CollectionPanel.java:535)
>     at
> ucar.nc2.ui.grib.Grib2CollectionPanel.setCollection(Grib2CollectionPanel.java:504)
>     at ucar.nc2.ui.ToolsUI$Grib2CollectionPanel.process(ToolsUI.java:2736)
>     at ucar.nc2.ui.ToolsUI$OpPanel.doit(ToolsUI.java:1600)
>     at ucar.nc2.ui.ToolsUI$OpPanel$1.actionPerformed(ToolsUI.java:1522)
>     at javax.swing.JComboBox.fireActionEvent(Unknown Source)
>     at ucar.util.prefs.ui.ComboBox.fireActionEvent(ComboBox.java:172)
>     at javax.swing.JComboBox.setSelectedItem(Unknown Source)
>     at ucar.nc2.ui.ToolsUI$OpPanel$3.actionPerformed(ToolsUI.java:1545)
>     at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
>     at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
>     at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
>     at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
>     at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
> Source)
>     at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
>     at java.awt.Component.processMouseEvent(Unknown Source)
>     at javax.swing.JComponent.processMouseEvent(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.LightweightDispatcher.retargetMouseEvent(Unknown Source)
>     at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
>     at java.awt.LightweightDispatcher.dispatchEvent(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$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
> Source)
>     at
> java.security.ProtectionDomain$JavaSecurityAccessImpl.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$JavaSecurityAccessImpl.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)
>
>
> Thank you in advance,
> Keith
>
> _______________________________________________
> NOTE: All exchanges posted to Unidata maintained email lists are
> recorded in the Unidata inquiry tracking system and made publicly
> available through the web.  Users who post to any of the lists we
> maintain are reminded to remove any personal information that they
> do not want to be made public.
>
>
> netcdf-java mailing list
> netcdf-java@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe, visit:
> http://www.unidata.ucar.edu/mailing_lists/



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