visad/src/main/java/ucar/nc2/iosp/gempak/GempakParameterTable.java
public static void main(String[] args) throws IOException {
    GempakParameterTable pt = new GempakParameterTable();
    //pt.addParameters("resources/nj22/tables/gempak/wmogrib3.tbl");
    pt.addParameters("resources/nj22/tables/gempak/params.tbl");
    if (args.length > 0) {
      String param = args[0];
      GempakParameter parm = pt.getParameter(param);
      if (parm != null) {
        System.out.println("Found " + param + ": " + parm);
      }
    }
  }
public static void main(String[] args) throws IOException {
    GempakParameterTable pt = new GempakParameterTable();
    //pt.addParameters("resources/nj22/tables/gempak/wmogrib3.tbl");
    pt.addParameters("resources/nj22/tables/gempak/params.tbl");
    if (args.length > 0) {
      String param = args[0];
      GempakParameter parm = pt.getParameter(param);
      if (parm != null) {
        System.out.println("Found " + param + ": " + parm);
      }
    }
  }
public static void main ( String [ ] args ) throws IOException { GempakParameterTable pt = new GempakParameterTable ( ) ; //pt.addParameters("resources/nj22/tables/gempak/wmogrib3.tbl");
 pt . addParameters ( "resources/nj22/tables/gempak/params.tbl" ) ; if ( args . length > 0 ) { String param = args [ 0 ] ; GempakParameter parm = pt . getParameter ( param ) ; if ( parm != null ) { System . out . println ( "Found " + param + ": " + parm ) ; } } }
Test

@param args ignored
@throws IOException problem reading the table.
Test