ui/src/main/java/ucar/nc2/ui/grib/Grib1ReportPanel.java
private void doCheckLocalParams(Formatter f, MCollection dcm, boolean useIndex) throws IOException {
    f.format("Check Grib-1 Parameter Tables for local entries%n");
    int[] accum = new int[4];

    for (MFile mfile : dcm.getFilesSorted()) {
      String path = mfile.getPath();
      f.format("%n %s%n", path);
      try {
        doCheckLocalParams(mfile, f, accum);
      } catch (Throwable t) {
        System.out.printf("FAIL on %s%n", mfile.getPath());
        t.printStackTrace();
      }
    }

    f.format("%nGrand total=%d local = %d missing = %d%n", accum[0], accum[2], accum[3]);
  }
private void doCheckLocalParams(Formatter f, MCollection dcm, boolean useIndex) throws IOException {
    f.format("Check Grib-1 Parameter Tables for local entries%n");
    int[] accum = new int[4];

    for (MFile mfile : dcm.getFilesSorted()) {
      String path = mfile.getPath();
      f.format("%n %s%n", path);
      try {
        doCheckLocalParams(mfile, f, accum);
      } catch (Throwable t) {
        System.out.printf("FAIL on %s%n", mfile.getPath());
        t.printStackTrace();
      }
    }

    f.format("%nGrand total=%d local = %d missing = %d%n", accum[0], accum[2], accum[3]);
  }
private void doCheckLocalParams ( Formatter f , MCollection dcm , boolean useIndex ) throws IOException { f . format ( "Check Grib-1 Parameter Tables for local entries%n" ) ; int [ ] accum = new int [ 4 ] ; for ( MFile mfile : dcm . getFilesSorted ( ) ) { String path = mfile . getPath ( ) ; f . format ( "%n %s%n" , path ) ; try { doCheckLocalParams ( mfile , f , accum ) ; } catch ( Throwable t ) { System . out . printf ( "FAIL on %s%n" , mfile . getPath ( ) ) ; t . printStackTrace ( ) ; } } f . format ( "%nGrand total=%d local = %d missing = %d%n" , accum [ 0 ] , accum [ 2 ] , accum [ 3 ] ) ; }
/////////////////////////////////////////////
/////////////////////////////////////////////