|
||||||||||
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 pds10,
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 java.lang.String |
getLevelDescription(int id)
type of vertical coordinate: Description or short Name derived from ON388 - TABLE 3. |
java.lang.String |
getName()
Name of this level. |
static java.lang.String |
getNameShort(int id)
short name of level. |
static java.lang.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 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GribPDSLevel(int pds10, int pds11, int pds12)
pds10
- part 1 of level code indexpds11
- part 2 of level codepds12
- part 3 of level codeMethod Detail |
---|
public final int getIndex()
public final java.lang.String getName()
public static java.lang.String getLevelDescription(int id)
id
-
public static java.lang.String getNameShort(int id)
id
-
public static java.lang.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 |