|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.grib.grib1.GribPDSLevel
public final class GribPDSLevel
A class containing static methods which deliver names of levels and units for byte codes from GRIB records.
Constructor Summary | |
---|---|
GribPDSLevel(int code,
int pds11,
int pds12)
Constructor. |
Method Summary | |
---|---|
int |
getIndex()
Index number from table 3 - can be used for comparison even if the description of the level changes. |
static String |
getLevelDescription(int id)
type of vertical coordinate: Description or short Name derived from ON388 - TABLE 3. |
String |
getName()
Name of this level. |
static String |
getNameShort(int id)
short name of level. |
static String |
getUnits(int id)
type of vertical coordinate: units derived from ON388 - TABLE 3. |
float |
getValue1()
gets the 1st value for the level. |
float |
getValue2()
gets the 2nd value for the level. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GribPDSLevel(int code, int pds11, int pds12)
code
- level code index (Table 3 and 3a)pds11
- first byte (octet 11)pds12
- second byte (octet 12)Method Detail |
---|
public final int getIndex()
public final String getName()
public static String getLevelDescription(int id)
id
-
public static String getNameShort(int id)
id
-
public static String getUnits(int id)
id
- units number
public final float getValue1()
public final float getValue2()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |