/** * 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); }
/** * 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; }
/** * 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); }
/** * 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); }
/** * 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; }
/** * 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); }
/** * 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; }