Class Grib1ParamTableReader


  • public class Grib1ParamTableReader
    extends Object
    A Grib1 Parameter Table (table 2). This is a map: code -> Grib1Parameter. Handles reading the table in from various formats
    Since:
    11/16/11
    • Constructor Detail

      • Grib1ParamTableReader

        public Grib1ParamTableReader​(String path)
        Read a dataset-specific table from a file
        Parameters:
        path - read from this path, may be relative
    • Method Detail

      • getCenter_id

        public int getCenter_id()
      • getSubcenter_id

        public int getSubcenter_id()
      • getVersion

        public int getVersion()
      • getName

        public String getName()
      • getDesc

        public String getDesc()
      • useParamName

        public boolean useParamName()
      • getKey

        public int getKey()
      • getPath

        public String getPath()
      • getParameter

        public Grib1Parameter getParameter​(int id)
        Get the parameter with id. If not found, look in default table.
        Parameters:
        id - the parameter number
        Returns:
        the Grib1Parameter, or null if not found
      • getLocalParameter

        public Grib1Parameter getLocalParameter​(int id)
        Get the parameter with id, but dont look in default table.
        Parameters:
        id - the parameter number
        Returns:
        the Grib1Parameter, or null if not found