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.
On Thu, 2 Mar 2006, Carl Drews wrote: > Robb - > > In your class Grib2Input the scan() method has two arguments: > > public final boolean scan(boolean getProductsOnly, boolean oneRecord) > throws ucar.grib.NotSupportedException, java.io.IOException; > > In the netcdf library that I got from Unidata, scan() is called with > three arguments. Here is line 52 of > ucar/nc2/iosp/grib/Grib2ServiceProvider.java: > > g2i.scan( false, false, true ); Carl, thanks for the report, the old call had 3 parameters. they were getData, getProducts, and oneRecord. since getData was removed, the call should be: g2i.scan( false, true ); thanks, robb... > > How shall I resolve this difference? > > Carl > =============================================================================== Robb Kambic Unidata Program Center Software Engineer III Univ. Corp for Atmospheric Research address@hidden WWW: http://www.unidata.ucar.edu/ ===============================================================================