if (edition == 2) {
Grib2Pds pds2 = (Grib2Pds) pds;
p = ParameterTable.getParameter(discipline, pds2.getParameterCategory(), pds.getParameterNumber());
} else {
GribPDSParamTable pt = null;
try {
pt = GribPDSParamTable.getParameterTable(center, subCenter, tableVersion);
} catch (NotSupportedException e) {
logger.error("Failed to get Parameter name for " + this);
}
p = pt.getParameter( pds.getParameterNumber());
}
return p;
}