This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi John- > Sorry, the IDV error message below is not relevant. That was an earlier > attempt and was simply not bringing the file in properly. What happens > is that IDV reads the headers ok, and I can attempt to plot the data, > but nothing shows up, except for the colorbar. There appears to be a problem with the GRIB2 decoder and we're looking into that. I am able to create plots (color shaded plan view), but the values are wrong. Thanks for the files. That will help us track down the bug. Don Murray > John > > > John D. Horel wrote: > > I'm thinking about demoing and having the participants in the 06 Unidata > > Users Workshop use IDV to look at a product under development at > > NCEP, the real time mesoscale analysis (RTMA). The grib2 grids are > > really large and so our version of IDV is not able to bring them up. > > > > Here's the error message: > > > >> An error has occurred: > >> There was an error loading the data: > >> Failed to open /data/jhorel/rtma/gsi.2dvaranl.2006061215.Grb2.ndfd > >> Data object "/data/jhorel/rtma/gsi.2dvaranl.2006061215.Grb2.ndfd" not > >> compatible with "VisADDataSource" data family > >> ucar.unidata.data.BadDataException: Failed to open > >> /data/jhorel/rtma/gsi.2dvaranl.2006061215.Grb2.ndfd Data object > >> "/data/jhorel/rtma/gsi.2dvaranl.2006061215.Grb2.ndfd" not compatible > >> with "VisADDataSource" data family > >> at > >> ucar.unidata.data.DataManager.createDataSource(DataManager.java:988) > >> at > >> ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1422) > >> > >> at > >> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1361) > >> > >> at > >> ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1342) > >> > >> at > >> ucar.unidata.idv.chooser.IdvChooser.makeDataSource(IdvChooser.java:398) > >> at > >> ucar.unidata.idv.chooser.PollingFileChooser.doLoadInThread(PollingFileChooser.java:194) > >> > >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > >> at > >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > >> > >> at > >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > >> > >> at java.lang.reflect.Method.invoke(Method.java:585) > >> at ucar.unidata.util.Misc$1.run(Misc.java:867) > >> at ucar.unidata.util.Misc$2.run(Misc.java:895) > > > > I've put an example file on our anonymous ftp server to see if you are > > able to bring up the grids. > > > > ftp.met.utah.edu > > cd pub/jhorel/rtma > > *ndfd > > > > For some reason, they've dumped a second set of the grids in the same > > file, so the files are twice as large as needed. I've included in that > > directory a gempak version of the data over Utah (utah.grd). > > > > However, it is possible to use nagrib2 to read the entire grid (complete > > .grid) > > > >> GRID FILE: complete.grd > >> > >> GRID NAVIGATION: > >> PROJECTION: LCC > >> ANGLES: 25.0 -95.0 25.0 > >> GRID SIZE: 1073 689 > >> LL CORNER: 20.19 -121.55 > >> UR CORNER: 50.11 -60.89 > >> > >> GRID ANALYSIS BLOCK: > >> ANALYSIS TYPE: BARNES > >> DELTAN: 4.000 > >> DELTAX: -9999.000 > >> DELTAY: -9999.000 > >> GRID AREA: 19.00 -131.00 54.00 -60.00 > >> EXTEND AREA: 19.00 -131.00 54.00 -60.00 > >> DATA AREA: 19.00 -131.00 54.00 -60.00 > >> > >> Number of grids in file: 8 > >> > >> Maximum number of grids in file: 200 > >> > >> First time in file: 060612/1600F000 > >> Last time in file: 060612/1600F000 > >> > >> > >> > >> 16 GRIB messages were read or scanned from the GRIB file: > >> > >> gsi.2dvaranl.2006061216.Grb2.ndfd > >> > >> 8 grids were written to the GEMPAK file: > >> > >> complete.grd > >> > >> Parameters requested: > >> GBFILE,GDOUTF,PROJ,GRDAREA,KXKY,MAXGRD,CPYFIL,GAREA, > >> OUTPUT,G2TBLS,G2DIAG. > >> GEMPAK-NAGRIB2> > > > > You can see from the above that the grid size (1073x689) may be the > > problem. > > > > Is this something you can address in time for the workshop? > > > > Thanks > > > > John > > > > Ticket Details =================== Ticket ID: CZL-505760 Department: Support IDV Priority: Normal Status: Open