Class Grib1ParamLevel


  • @Immutable
    public class Grib1ParamLevel
    extends Object
    Level information contained in a particular PDS. WMO Table 3
    Since:
    1/13/12
    • Constructor Detail

      • Grib1ParamLevel

        public Grib1ParamLevel​(Grib1Customizer cust,
                               int levelType,
                               float value1,
                               float value2)
        Allows center specific parsing
        Parameters:
        cust - customized for this center/subcenter
        levelType - the level type
        value1 - first level value
        value2 - second level value
      • Grib1ParamLevel

        public Grib1ParamLevel​(Grib1Customizer cust,
                               Grib1SectionProductDefinition pds)
        Implements tables 3 and 3a.
        Parameters:
        cust - customized for this center/subcenter
        pds - the Grib1SectionProductDefinition
    • Method Detail

      • getLevelType

        public int getLevelType()
        Index number from table 3 (pds octet 10)
        Returns:
        index
      • getValue1

        public float getValue1()
        gets the 1st value for the level.
        Returns:
        level value 1
      • getValue2

        public float getValue2()
        gets the 2nd value for the level.
        Returns:
        level value 2
      • getNameShort

        public String getNameShort()
      • getDescription

        public String getDescription()