public final GridParameter getParameter(GridRecord gr) {
    String name = gr.getParameterName();
    GridParameter gp = GempakGridParameterTable.getParameter(name);
    if (gp != null) {
      return gp;
    }
    return new GridParameter(0, name, name, "");
  }
public final GridParameter getParameter(GridRecord gr) {
    String name = gr.getParameterName();
    GridParameter gp = GempakGridParameterTable.getParameter(name);
    if (gp != null) {
      return gp;
    }
    return new GridParameter(0, name, name, "");
  }
public final GridParameter getParameter ( GridRecord gr ) { String name = gr . getParameterName ( ) ; GridParameter gp = GempakGridParameterTable . getParameter ( name ) ; if ( gp != null ) { return gp ; } return new GridParameter ( 0 , name , name , "" ) ; }
gets parameter table, then grib1 parameter based on number.

@param gr GridRecord
@return Parameter
gets parameter table then grib1 parameter based on number .