Hi Sean: ucar.grib.* is deprecated, do not use. normally you just read grib like any CDM file. we dont support any public API for lower level access. John > Hi, > > I found an example in the code located at ucar.grib.grib1.Grib1GetData. > > However, I have noticed that some of the exceptions are not logging the > stack trace. For example, > > } catch (NotSupportedException notSupport) { > log.error("Grib1BinaryDataSection exception was caught"); > return null; > } > > It would be helpful to include the stacktrace. For example, > > } catch (NotSupportedException notSupport) { > log.error("Grib1BinaryDataSection exception was caught", notSupport); > return null; > } > > I hope this helps. > > Thanks, > Sean > > ---------- Forwarded message ---------- > From: sean <address@hidden> > Date: Mon, Mar 25, 2013 at 11:07 PM > Subject: Reading grib1 files > To: address@hidden > > > Hi, > > Is there sample code showing how to read grib files using NetCDF in Java? > > [By the way, I have created a Maven project and have already included the > NetCDF libraries.] > > Thanks, > Sean > > Ticket Details =================== Ticket ID: SXO-208102 Department: Support netCDF Java Priority: Normal Status: Open
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.