Package ucar.nc2.wmo
Class CommonCodeTable
- java.lang.Object
-
- ucar.nc2.wmo.CommonCodeTable
-
- All Implemented Interfaces:
Comparable<CommonCodeTable>
@Deprecated public class CommonCodeTable extends Object implements Comparable<CommonCodeTable>
Deprecated.will be moved in ver6Read and process WMO common code and flag tables.see manual on codes I.2 —Co Tab — 1 COMMON CODE TABLE C–1: Identification of originating/generating centre GRIB-1, BUFR-3 COMMON CODE TABLE C–2: Radiosonde/sounding system used COMMON CODE TABLE C–3: Instrument make and type for water temperature profile measurement with fall rate equation coefficients COMMON CODE TABLE C–4: Water temperature profile recorder types COMMON CODE TABLE C–5: Satellite identifier COMMON CODE TABLE C–6: List of units for TDCFs COMMON CODE TABLE C–7: Tracking techniques/status of system used COMMON CODE TABLE C–8: Satellite instruments COMMON CODE TABLE C–11: Originating/generating centres GRIB-2, BUFR-4 COMMON CODE TABLE C–12: Sub-centres of originating centres defined by entries in Common code tables C–1 or C–11 COMMON CODE TABLE C–13: Data sub-categories of categories defined by entries in BUFR Table A COMMON CODE TABLE C–14: Atmospheric chemical or physical constituent type
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CommonCodeTable.Table
Deprecated.class
CommonCodeTable.TableEntry
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
compareTo(CommonCodeTable o)
Deprecated.static String
getCenterName(int center_id, int edition)
Deprecated.Center name, from table C-1 or C-11static String
getCenterNameBufr(int center_id, int edition)
Deprecated.Center name, from table C-1 or C-11static String
getDataSubcategoy(int cat, int subcat)
Deprecated.data subcategory name, from table C-13Map<Integer,String>
getMap()
Deprecated.static String
getSubCenterName(int center_id, int subcenter_id)
Deprecated.Subcenter name, from table C-12static CommonCodeTable
getTable(int tableNo)
Deprecated.String
getTableName()
Deprecated.static String
getTableValue(int tableNo, int code)
Deprecated.static String
getTableValue(int tableNo, int code, int code2)
Deprecated.
-
-
-
Field Detail
-
tableName
public final String tableName
Deprecated.
-
type
public final int type
Deprecated.
-
entries
public final List<CommonCodeTable.TableEntry> entries
Deprecated.
-
-
Method Detail
-
getCenterName
public static String getCenterName(int center_id, int edition)
Deprecated.Center name, from table C-1 or C-11- Parameters:
center_id
- center idedition
- grib edition- Returns:
- center name, or "unknown"
-
getCenterNameBufr
public static String getCenterNameBufr(int center_id, int edition)
Deprecated.Center name, from table C-1 or C-11- Parameters:
center_id
- center idedition
- bufr edition- Returns:
- center name, or "unknown"
-
getSubCenterName
@Nullable public static String getSubCenterName(int center_id, int subcenter_id)
Deprecated.Subcenter name, from table C-12- Parameters:
center_id
- center idsubcenter_id
- subcenter id- Returns:
- subcenter name, or null if not found
-
getDataSubcategoy
@Nullable public static String getDataSubcategoy(int cat, int subcat)
Deprecated.data subcategory name, from table C-13- Parameters:
cat
- data categorysubcat
- data subcategory- Returns:
- subcategory name, or null if not found
-
getTable
public static CommonCodeTable getTable(int tableNo)
Deprecated.
-
getTableValue
@Nullable public static String getTableValue(int tableNo, int code)
Deprecated.
-
getTableValue
@Nullable public static String getTableValue(int tableNo, int code, int code2)
Deprecated.
-
getTableName
public String getTableName()
Deprecated.
-
compareTo
public int compareTo(CommonCodeTable o)
Deprecated.- Specified by:
compareTo
in interfaceComparable<CommonCodeTable>
-
-