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

[IDV #MUF-683279]: Gempak read errors



Jim-

What version of GEMPAK was used to create these files?  The problem is that the 
values in the grid headers which tell how many bytes to read are off by 1 for 
some grids.  It depends on how many bits are being uses in the GRIB packing.

I've got a fix that will be in tomorrow's nightly build.  Still, the caveats 
about reading from a URL still apply.  If you have a web server, you should be 
able to install and configure RAMADDA in about 15 minutes.

Don

> Unidata IDV Support wrote:
> > Jim-
> >
> >
> >> Full Name: Jim Steenburgh
> >> Email Address: address@hidden
> >> Organization: University of Utah
> >> Package Version: 2.9a1 build date:2010-05-03 07:07 UTC
> >> Operating System: Mac OS X
> >> Hardware: Java: home: 
> >> /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home version: 
> >> 1.6.0_15 j3d:1.5.2 fcs (build4)
> >> Description of problem: Don and friends:
> >>
> >> When you get tired of me sending you these bug-bundles, let me know.
> >>
> >
> > You've got one more week. ;-)
> >
> >
> Pity your replacement...
> >> In this instance I have a gempak file I'm reading via URL.  I'm able to 
> >> plot several fields, but others, that do plot with gempak programs, do 
> >> not.  I get the error below.  An example is relative humidity at a 
> >> pressure surface.
> >>
> >
> > Which fields do plot?  Do any 3D fields plot?
> >
> >
> Yes.  Temperature plots.
> >> This can be viewed as a low priority item.
> >>
> >
> > In general, accessing grib, GEMPAK and (to a lesser degree) netCDF via http 
> > will be slow and your results may vary.  You would be better off setting up 
> > a RAMADDA server to host these and use the OPeNDAP access built in to it.
> >
> >
> The reason I'm using URL is that I'm just doing this for a few files and
> I lack the time and staff support to do all these things.  This isn't a
> complaint.  I'm just mentioning it as it is reality for me here.  We
> have solid core support for computers, but nobody to work on the
> real-time stuff.
> > Don
> >
> >
> >> Couldn't get data
> >> java.io.IOException
> >>
> >> ******************
> >> Stack trace:
> >> java.io.IOException
> >> at ucar.nc2.dt.grid.GeoGrid.readDataSlice(GeoGrid.java:616)
> >> at ucar.visad.data.GeoGridFlatField.readData(GeoGridFlatField.java:244)
> >> at visad.data.CachedFlatField.getMyValues(CachedFlatField.java:461)
> >> at visad.data.CachedFlatField.unpackFloats(CachedFlatField.java:600)
> >> at visad.data.CachedFlatField.getRanges(CachedFlatField.java:367)
> >> at 
> >> ucar.unidata.data.grid.GeoGridAdapter.readTimeStep(GeoGridAdapter.java:1478)
> >> at 
> >> ucar.unidata.data.grid.GeoGridAdapter.access$100(GeoGridAdapter.java:127)
> >> at ucar.unidata.data.grid.GeoGridAdapter$1.run(GeoGridAdapter.java:1383)
> >> at visad.util.ThreadManager.runInParallel(ThreadManager.java:273)
> >> at visad.util.ThreadManager.runInParallel(ThreadManager.java:245)
> >> at visad.util.ThreadManager.runInParallel(ThreadManager.java:212)
> >> at 
> >> ucar.unidata.data.grid.GeoGridAdapter.makeSequence(GeoGridAdapter.java:1400)
> >> at 
> >> ucar.unidata.data.grid.GeoGridAdapter.getSequence(GeoGridAdapter.java:1090)
> >> at 
> >> ucar.unidata.data.grid.GeoGridDataSource.makeFieldImpl(GeoGridDataSource.java:1796)
> >> at 
> >> ucar.unidata.data.grid.GeoGridDataSource.getDataInner(GeoGridDataSource.java:1303)
> >> at ucar.unidata.data.DataSourceImpl.getData(DataSourceImpl.java:2236)
> >> at ucar.unidata.data.DirectDataChoice.getData(DirectDataChoice.java:332)
> >> at ucar.unidata.data.DataChoice.getData(DataChoice.java:637)
> >> at ucar.unidata.data.DataInstance.getData(DataInstance.java:239)
> >> at ucar.unidata.data.DataInstance.getData(DataInstance.java:203)
> >> at ucar.unidata.data.grid.GridDataInstance.init(GridDataInstance.java:200)
> >> at 
> >> ucar.unidata.data.grid.GridDataInstance.<init>(GridDataInstance.java:157)
> >> at 
> >> ucar.unidata.data.grid.GridDataInstance.<init>(GridDataInstance.java:138)
> >> at 
> >> ucar.unidata.idv.control.PlanViewControl.doMakeDataInstance(PlanViewControl.java:1358)
> >> at 
> >> ucar.unidata.idv.control.DisplayControlImpl.initializeDataInstance(DisplayControlImpl.java:3062)
> >> at 
> >> ucar.unidata.idv.control.DisplayControlImpl.setData(DisplayControlImpl.java:3044)
> >> at 
> >> ucar.unidata.idv.control.PlanViewControl.setData(PlanViewControl.java:586)
> >> at 
> >> ucar.unidata.idv.control.ContourPlanViewControl.setData(ContourPlanViewControl.java:214)
> >> at ucar.unidata.idv.control.PlanViewControl.init(PlanViewControl.java:437)
> >> at 
> >> ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1324)
> >> at 
> >> ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1025)
> >> at 
> >> ucar.unidata.idv.ControlDescriptor.initControl(ControlDescriptor.java:987)
> >> at ucar.unidata.idv.ControlDescriptor$1.run(ControlDescriptor.java:912)
> >> at ucar.unidata.util.Misc$3.run(Misc.java:1089)
> >>
> >>
> >>
> >>
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: MUF-683279
> > Department: Support IDV
> > Priority: Normal
> > Status: Open
> >
> >
> 
> 


Ticket Details
===================
Ticket ID: MUF-683279
Department: Support IDV
Priority: Normal
Status: Open