// params getProducts (implies unique GDSs too), oneRecord
g2i.scan(true, false);
List<Grib2Product> products = g2i.getProducts();
boolean passOne = true;
for (int i = 0; i < products.size(); i++) {
Grib2Product product = products.get(i);
raf.seek(product.getGdsOffset());
GdsReader2 gds = new GdsReader2(raf, true);
Grib2GDSVariables gpv = gds.gdsVars;
if (passOne) {
System.out.println(" Section = " + gpv.getSection());
System.out.println(" Length = " + gpv.getLength());