ui/src/main/java/ucar/nc2/ui/grib/Grib2ReportPanel.java
private void doIdProblems(Formatter f, MCollection dcm, boolean useIndex) throws IOException {
    f.format("Look for ID Problems%n");

    Counters countersAll = new Counters();
    countersAll.add("discipline");
    countersAll.add("masterTable");
    countersAll.add("localTable");
    countersAll.add("centerId");
    countersAll.add("subcenterId");
    countersAll.add("genProcess");
    countersAll.add("backProcess");
    countersAll.add("significanceOfReference");

    for (MFile mfile : dcm.getFilesSorted()) {
      f.format(" %s%n", mfile.getPath());
      doIdProblems(f, mfile, useIndex, countersAll);
    }
    
    countersAll.show(f);
  }
private void doIdProblems(Formatter f, MCollection dcm, boolean useIndex) throws IOException {
    f.format("Look for ID Problems%n");

    Counters countersAll = new Counters();
    countersAll.add("discipline");
    countersAll.add("masterTable");
    countersAll.add("localTable");
    countersAll.add("centerId");
    countersAll.add("subcenterId");
    countersAll.add("genProcess");
    countersAll.add("backProcess");
    countersAll.add("significanceOfReference");

    for (MFile mfile : dcm.getFilesSorted()) {
      f.format(" %s%n", mfile.getPath());
      doIdProblems(f, mfile, useIndex, countersAll);
    }
    
    countersAll.show(f);
  }
private void doIdProblems ( Formatter f , MCollection dcm , boolean useIndex ) throws IOException { f . format ( "Look for ID Problems%n" ) ; Counters countersAll = new Counters ( ) ; countersAll . add ( "discipline" ) ; countersAll . add ( "masterTable" ) ; countersAll . add ( "localTable" ) ; countersAll . add ( "centerId" ) ; countersAll . add ( "subcenterId" ) ; countersAll . add ( "genProcess" ) ; countersAll . add ( "backProcess" ) ; countersAll . add ( "significanceOfReference" ) ; for ( MFile mfile : dcm . getFilesSorted ( ) ) { f . format ( " %s%n" , mfile . getPath ( ) ) ; doIdProblems ( f , mfile , useIndex , countersAll ) ; } countersAll . show ( f ) ; }
/////////////////////////////////////////////
/////////////////////////////////////////////