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

Greetings Sean,

Sorry for the late reply.
Thank you for creating a github issue.

We are seeking a sample grib2 file that can be distributed to public.
At the same time, we might send a sample privately to who would like to help.

Thanks!

Keith


On 26/5/2017 21:51, Sean Arms wrote:
Greetings Keith!

Yes, we would need to start by adding Grib2Pds32 in class
Grib2Pds.java, although it may make sense to knock out PDS 31 as well.
I've created a github issue here:

https://github.com/Unidata/thredds/issues/846

One big thing is that we will need to have a grib2 file that is
licensed to be distributed for our tests. Any ideas on where we could
get one?

Thanks!

Sean


On Wed, May 24, 2017 at 9:46 PM, Keith To <kcto@xxxxxxxxxx> wrote:
Greetings Sean,

We don't have a github account at this moment and we will make one ASAP.
Could you please help us to create an issue on github first? Thanks you!
(Kindly remind the GRIB2 file have license, we have no right to share to
public.)

For PDS template 32, is it mean "Grib2Pds32" need to add in class
"main/java/ucar/nc2/grib/grib2/Grib2Pds.java"?
We could help to get this GRIB2 file supported in netCDF-Java, are there any
parts we can contribute?

Thank you in advance,
Keith

On 25/5/2017 0:13, Sean Arms wrote:
Greetings Keith,

The issue is that we do not yet support PDS template 32. It looks like
template 32 references values from BUFR tables as well, so this might
get a bit tricky. It may take some time to get this supported in
netCDF-Java. Do you have a github account? If so, would you mind
making an issue so that we do not lose track of this?

https://github.com/Unidata/thredds/issues

If you don't have an account, is it ok with you if I make an issue there?

Thank you!

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: