Package ucar.nc2.grib.grib1
Class Grib1ParamLevel
- java.lang.Object
-
- ucar.nc2.grib.grib1.Grib1ParamLevel
-
@Immutable public class Grib1ParamLevel extends Object
Level information contained in a particular PDS. WMO Table 3- Since:
- 1/13/12
-
-
Constructor Summary
Constructors Constructor Description Grib1ParamLevel(Grib1Customizer cust, int levelType, float value1, float value2)
Allows center specific parsingGrib1ParamLevel(Grib1Customizer cust, Grib1SectionProductDefinition pds)
Implements tables 3 and 3a.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
int
getLevelType()
Index number from table 3 (pds octet 10)String
getNameShort()
float
getValue1()
gets the 1st value for the level.float
getValue2()
gets the 2nd value for the level.
-
-
-
Constructor Detail
-
Grib1ParamLevel
public Grib1ParamLevel(Grib1Customizer cust, int levelType, float value1, float value2)
Allows center specific parsing- Parameters:
cust
- customized for this center/subcenterlevelType
- the level typevalue1
- first level valuevalue2
- second level value
-
Grib1ParamLevel
public Grib1ParamLevel(Grib1Customizer cust, Grib1SectionProductDefinition pds)
Implements tables 3 and 3a.- Parameters:
cust
- customized for this center/subcenterpds
- 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()
-
-