/** * Subcenter name, from table C-12 * * @param center_id center id * @param subcenter_id subcenter id * @return subcenter name, or null if not found */ static public String getSubCenterName(int center_id, int subcenter_id) { return getTableValue(12, center_id, subcenter_id); }
/** * sets description of parameter. * * @param description of parameter */ public final void setDescription(String description) { this.description = Util.cleanName(description); }
@Override public String getSubCenterName(int center_id, int subcenter_id) { return CommonCodeTable.getSubCenterName(center_id, subcenter_id); }
/** * sets unit of parameter. * * @param unit of parameter */ public final void setUnit(String unit) { this.unit = Util.cleanUnit(unit); }
/** * Subcenter name, from table C-12 * * @param center_id center id * @param subcenter_id subcenter id * @return subcenter name, or null if not found */ static public String getSubCenterName(int center_id, int subcenter_id) { return getTableValue(12, center_id, subcenter_id); }
@Override public String getSubCenterName(int center, int subcenter) { return CommonCodeTable.getSubCenterName(center, subcenter); }
/** * Subcenter name, from table C-12 * * @param center_id center id * @param subcenter_id subcenter id * @return subcenter name, or null if not found */ static public String getSubCenterName(int center_id, int subcenter_id) { return getTableValue(12, center_id, subcenter_id); }
public String getSubCenterName(int subcenter) { return CommonCodeTable.getSubCenterName(center, subcenter); }
/** * data subcategory name, from table C-13 * * @param cat data category * @param subcat data subcategory * @return subcategory name, or null if not found */ static public String getDataSubcategoy(int cat, int subcat) { return getTableValue(13, cat, subcat); }
/** * data subcategory name, from table C-13 * * @param cat data category * @param subcat data subcategory * @return subcategory name, or null if not found */ static public String getDataSubcategoy(int cat, int subcat) { return getTableValue(13, cat, subcat); }
/** * Center name, from table C-1 or C-11 * * @param center_id center id * @param edition grib edition * @return center name, or "unknown" */ static public String getCenterName(int center_id, int edition) { String result = (edition == 1) ? getTableValue(1, center_id) : getTableValue(11, center_id); if (result != null) return result; if (center_id == 0) return "WMO standard table"; return "Unknown center=" + center_id; }
/** * Center name, from table C-1 or C-11 * * @param center_id center id * @param edition bufr edition * @return center name, or "unknown" */ static public String getCenterNameBufr(int center_id, int edition) { String result = (edition < 4) ? getTableValue(1, center_id) : getTableValue(11, center_id); if (result != null) return result; if (center_id == 0) return "WMO standard table"; return "Unknown center=" + center_id; }
/** * data subcategory name, from table C-13 * * @param cat data category * @param subcat data subcategory * @return subcategory name, or null if not found */ static public String getDataSubcategoy(int cat, int subcat) { return getTableValue(13, cat, subcat); }
/** * Center name, from table C-1 or C-11 * * @param center_id center id * @param edition bufr edition * @return center name, or "unknown" */ static public String getCenterNameBufr(int center_id, int edition) { String result = (edition < 4) ? getTableValue(1, center_id) : getTableValue(11, center_id); if (result != null) return result; if (center_id == 0) return "WMO standard table"; return "Unknown center=" + center_id; }
/** * Center name, from table C-1 or C-11 * * @param center_id center id * @param edition grib edition * @return center name, or "unknown" */ static public String getCenterName(int center_id, int edition) { String result = (edition == 1) ? getTableValue(1, center_id) : getTableValue(11, center_id); if (result != null) return result; if (center_id == 0) return "WMO standard table"; return "Unknown center=" + center_id; }
/** * Center name, from table C-1 or C-11 * * @param center_id center id * @param edition bufr edition * @return center name, or "unknown" */ static public String getCenterNameBufr(int center_id, int edition) { String result = (edition < 4) ? getTableValue(1, center_id) : getTableValue(11, center_id); if (result != null) return result; if (center_id == 0) return "WMO standard table"; return "Unknown center=" + center_id; }
/** * Center name, from table C-1 or C-11 * * @param center_id center id * @param edition grib edition * @return center name, or "unknown" */ static public String getCenterName(int center_id, int edition) { String result = (edition == 1) ? getTableValue(1, center_id) : getTableValue(11, center_id); if (result != null) return result; if (center_id == 0) return "WMO standard table"; return "Unknown center=" + center_id; }