|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectGribPDSLevel
public final class GribPDSLevel
A class containing static methods which deliver descriptions and names of parameters, levels and units for byte codes from GRIB records.
Constructor Summary | |
---|---|
GribPDSLevel(int pds10,
double value1,
double value2)
|
|
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(Object obj)
rdg - added equals method didn't check everything as most are set in the constructor |
String |
getDesc()
|
int |
getIndex()
|
boolean |
getIsIncreasingUp()
|
boolean |
getIsNumeric()
|
boolean |
getIsSingleLayer()
|
String |
getLevel()
|
String |
getName()
|
String |
getUnits()
|
double |
getValue1()
|
double |
getValue2()
|
int |
hashCode()
|
String |
toString()
Formats the class for output |
void |
writeTo(OutputStream out)
writeTo Writes the current section to an output stream as requested by the specifications on grib files. |
Methods inherited from class Object |
---|
clone, finalize, getClass, 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 codepublic GribPDSLevel(int pds10, double value1, double value2)
Method Detail |
---|
public int getIndex()
public String getName()
public String getLevel()
public String getDesc()
public String getUnits()
public double getValue1()
public double getValue2()
public boolean getIsNumeric()
public boolean getIsIncreasingUp()
public boolean getIsSingleLayer()
public String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
obj
- DOCUMENT ME!
public int compare(GribPDSLevel level)
level
- - the GribRecordGDS to compare to
public void writeTo(OutputStream out) throws IOException
out
- OutputStream
IOException
- DOCUMENT ME!public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |