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.

Re: Grib2Input.scan

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
rkambic@xxxxxxxxxxxxxxxx                   WWW: http://www.unidata.ucar.edu/
==============================================================================