public final GridParameter getParameter(GridRecord gr) {
    """
	gets parameter table, then grib1 parameter based on number.
	
	@param gr GridRecord
	@return Parameter
    """
    McIDASGridRecord mgr = (McIDASGridRecord) gr;
    String name = mgr.getParameterName();
    String desc = mgr.getGridDescription();
    if (desc.trim().equals("")) {
      desc = name;
    }
    String unit = visad.jmet.MetUnits.makeSymbol(mgr.getParamUnitName());
    return new GridParameter(0, name, desc, unit);
  }
public final GridParameter getParameter(GridRecord gr) {
    McIDASGridRecord mgr = (McIDASGridRecord) gr;
    String name = mgr.getParameterName();
    String desc = mgr.getGridDescription();
    if (desc.trim().equals("")) {
      desc = name;
    }
    String unit = visad.jmet.MetUnits.makeSymbol(mgr.getParamUnitName());
    return new GridParameter(0, name, desc, unit);
  }
public final GridParameter getParameter ( GridRecord gr ) { McIDASGridRecord mgr = ( McIDASGridRecord ) gr ; String name = mgr . getParameterName ( ) ; String desc = mgr . getGridDescription ( ) ; if ( desc . trim ( ) . equals ( "" ) ) { desc = name ; } String unit = visad . jmet . MetUnits . makeSymbol ( mgr . getParamUnitName ( ) ) ; return new GridParameter ( 0 , name , desc , unit ) ; }
gets parameter table, then grib1 parameter based on number.

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