|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.jgrib.GribPDSLevel
public class GribPDSLevel
A class containing static methods which deliver descriptions and names of parameters, levels and units for byte codes from GRIB records.
2006-07-26 frv_peg: Added NCEP extention levels for use of GFS files. (level: 117, 211,212,213,222,223,232,233,242,243,244) See: table3.html
Constructor Summary | |
---|---|
GribPDSLevel(int pds10,
int pds11,
int pds12)
Constructor. |
Method Summary | |
---|---|
int |
compare(GribPDSLevel level)
rdg - added this method to be used in a comparator for sorting while extracting records. |
boolean |
equals(java.lang.Object obj)
rdg - added equals method didn't check everything as most are set in the constructor |
java.lang.String |
getDesc()
|
int |
getIndex()
|
boolean |
getIsIncreasingUp()
|
boolean |
getIsNumeric()
|
boolean |
getIsSingleLayer()
|
java.lang.String |
getLevel()
|
java.lang.String |
getName()
|
java.lang.String |
getUnits()
|
float |
getValue1()
|
float |
getValue2()
|
boolean |
isDepth()
|
java.lang.String |
toString()
Formats the class for output |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GribPDSLevel(int pds10, int pds11, int pds12)
pds10
- part 1 of level codepds11
- part 2 of level codepds12
- part 3 of level codeMethod Detail |
---|
public boolean isDepth()
public int getIndex()
public java.lang.String getName()
public java.lang.String getLevel()
public java.lang.String getDesc()
public java.lang.String getUnits()
public float getValue1()
public float getValue2()
public boolean getIsNumeric()
public boolean getIsIncreasingUp()
public boolean getIsSingleLayer()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- - Object to check
Object.equals(java.lang.Object)
public int compare(GribPDSLevel level)
level
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |