NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: 20050418: NTSB grib problem

NOTE: The decoders mailing list is no longer active. The list archives are made available for historical reasons.

it's a table problem, center 7 subcenter 0 version 0   no one else is
using those numbers.  it's basically 7 0 2 table because parameters are
under 128.  i updated the table list for the grib files and ci.

on a side note,the routine for a user to read in his own table is:


GribPDSParamTable.setParameterUserLookup(String UserGribTabPath)

the UserGribTabPath can be path, url, etc.  the routine expects a file
called: userlookup.lst with format:

158:     0:               2:    fnmoc_2.tab

and the table ie. fnmoc_2.tab in the same location.  tables are in ncep
format:

-1:7:-1:2
0:var0:undefined
1:PRES:Pressure [Pa]
2:PRMSL:Pressure reduced to MSL [Pa]
3:PTEND:Pressure tendency [Pa/s]
4:PVORT:Pot. vorticity [km^2/kg/s]
5:ICAHT:ICAO Standard Atmosphere Reference Height [M]
6:GP:Geopotential [m^2/s^2]
...

robb...



On Mon, 18 Apr 2005, Unidata Support wrote:

>
> Here's the error that we get in the IDV when we try to load in
> Greg Salatto's grib file.
>
> Don
> ------- Forwarded Message
>
> >To: support-idv@xxxxxxxxxxxxxxxx
> >From: "Don Murray" <dmurray@xxxxxxxx>
> >Subject: IDV - Grib error
> >Organization: UCAR/Unidata
> >Keywords: 200504182152.j3ILqj5Q024309
>
> Institution: Unidata
> Package Version: 1.2b2
> Operating System: os.name:Windows XP; os.arch:x86; os.version:5.1;
> Hardware Information: java.vendor:Sun Microsystems Inc.; 
> java.version:1.4.2_01; java.home:c:\\Program Files\\IDV_1.1b2_ogl\\jre;
> Inquiry: An error has occurred:
> There was an error loading the data:
> java.lang.NullPointerException
>
> ******************
> Stack trace:
> java.lang.NullPointerException
>       at ucar.grib.grib1.Grib1Lookup.<init>(Grib1Lookup.java:36)
>       at 
> ucar.nc2.iosp.grib.Grib1ServiceProvider.open(Grib1ServiceProvider.java:71)
>       at ucar.nc2.NetcdfFile.<init>(NetcdfFile.java:644)
>       at ucar.nc2.NetcdfFile.open(NetcdfFile.java:262)
>       at ucar.nc2.NetcdfFile.open(NetcdfFile.java:211)
>       at ucar.nc2.dataset.NetcdfDataset.openFile(NetcdfDataset.java:232)
>       at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:125)
>       at ucar.nc2.dataset.grid.GridDataset.open(GridDataset.java:65)
>       at ucar.nc2.dataset.grid.GridDataset.factory(GridDataset.java:74)
>       at 
> ucar.unidata.data.grid.GeoGridDataSource.doMakeDataSet(GeoGridDataSource.java:268)
>       at 
> ucar.unidata.data.grid.GeoGridDataSource.getDataset(GeoGridDataSource.java:285)
>       at 
> ucar.unidata.data.grid.GeoGridDataSource.doMakeDataChoices(GeoGridDataSource.java:299)
>       at 
> ucar.unidata.data.DataSourceImpl.getDataChoices(DataSourceImpl.java:959)
>       at ucar.unidata.data.DataManager.createDataSource(DataManager.java:870)
>       at 
> ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1360)
>       at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1298)
>       at 
> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1279)
>       at 
> ucar.unidata.idv.chooser.IdvChooser.makeDataSource(IdvChooser.java:395)
>       at 
> ucar.unidata.idv.chooser.FileChooser.selectFileInner(FileChooser.java:393)
>       at ucar.unidata.idv.chooser.FileChooser.selectFile(FileChooser.java:271)
>       at ucar.unidata.idv.chooser.FileChooser.doLoad(FileChooser.java:288)
>       at ucar.unidata.ui.ChooserPanel.actionPerformed(ChooserPanel.java:130)
>       at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
>       at 
> javax.swing.AbstractButton$ForwardActionEvents.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 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.dispatchEvent(Unknown Source)
>       at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
>
>
>
> --
> 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.
>
> ------- End of Forwarded Message
>

==============================================================================
Robb Kambic                                Unidata Program Center
Software Engineer III                      Univ. Corp for Atmospheric Research
rkambic@xxxxxxxxxxxxxxxx                   WWW: http://www.unidata.ucar.edu/
==============================================================================


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