visad/src/main/java/ucar/nc2/iosp/gempak/GempakGridReader.java
public void showGridInfo(boolean printGrids) {
    List gridList = gridIndex.getGridRecords();
    System.out.println("\nGRID FILE: " + getFilename() + "\n");
    printNavBlock();
    System.out.println("");
    printAnalBlock();
    System.out.println("\nNumber of grids in file:  " + gridList.size());
    System.out.println("\nMaximum number of grids in file:  " + dmLabel.kcol);
    System.out.println("");
    if (printGrids) {
      printGrids();
    }
  }
public void showGridInfo(boolean printGrids) {
    List gridList = gridIndex.getGridRecords();
    System.out.println("\nGRID FILE: " + getFilename() + "\n");
    printNavBlock();
    System.out.println("");
    printAnalBlock();
    System.out.println("\nNumber of grids in file:  " + gridList.size());
    System.out.println("\nMaximum number of grids in file:  " + dmLabel.kcol);
    System.out.println("");
    if (printGrids) {
      printGrids();
    }
  }
List out the grid information (aka GDINFO)

@param printGrids print each grid record