Package ucar.nc2.wmo

Class CommonCodeTable

  • All Implemented Interfaces:
    Comparable<CommonCodeTable>

    @Deprecated
    public class CommonCodeTable
    extends Object
    implements Comparable<CommonCodeTable>
    Deprecated.
    will be moved in ver6
    Read 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
     
     
    • 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 id
        edition - 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 id
        edition - 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 id
        subcenter_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 category
        subcat - 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.