public class CommonCodeTable extends Object implements Comparable<CommonCodeTable>
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
Modifier and Type | Class and Description |
---|---|
static class |
CommonCodeTable.Table |
class |
CommonCodeTable.TableEntry |
Modifier and Type | Field and Description |
---|---|
List<CommonCodeTable.TableEntry> |
entries |
String |
tableName |
int |
type |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(CommonCodeTable o) |
static String |
getCenterName(int center_id,
int edition)
Center name, from table C-1 or C-11
|
static String |
getCenterNameBufr(int center_id,
int edition)
Center name, from table C-1 or C-11
|
static String |
getDataSubcategoy(int cat,
int subcat)
data subcategory name, from table C-13
|
Map<Integer,String> |
getMap() |
static String |
getSubCenterName(int center_id,
int subcenter_id)
Subcenter name, from table C-12
|
static CommonCodeTable |
getTable(int tableNo) |
String |
getTableName() |
static String |
getTableValue(int tableNo,
int code) |
static String |
getTableValue(int tableNo,
int code,
int code2) |
static void |
main(String[] arg) |
public final String tableName
public final int type
public final List<CommonCodeTable.TableEntry> entries
public static String getCenterName(int center_id, int edition)
center_id
- center idedition
- grib editionpublic static String getCenterNameBufr(int center_id, int edition)
center_id
- center idedition
- bufr editionpublic static String getSubCenterName(int center_id, int subcenter_id)
center_id
- center idsubcenter_id
- subcenter idpublic static String getDataSubcategoy(int cat, int subcat)
cat
- data categorysubcat
- data subcategorypublic static CommonCodeTable getTable(int tableNo)
public static String getTableValue(int tableNo, int code)
public static String getTableValue(int tableNo, int code, int code2)
public String getTableName()
public int compareTo(CommonCodeTable o)
compareTo
in interface Comparable<CommonCodeTable>
public static void main(String[] arg) throws IOException
IOException
Copyright © 1999–2017 UCAR/Unidata. All rights reserved.