public class GridVertCoord extends java.lang.Object implements java.lang.Comparable<GridVertCoord>
| Modifier and Type | Class and Description |
|---|---|
protected class |
GridVertCoord.LevelCoord
A level coordinate
|
| Modifier and Type | Field and Description |
|---|---|
protected double[] |
coordValues |
protected double[] |
factors
vertical pressure factors
|
protected boolean |
isVerticalCoordinate |
protected java.lang.String |
levelName |
protected java.util.List<GridVertCoord.LevelCoord> |
levels
levels
|
protected GridTableLookup |
lookup |
protected int |
seq |
protected GridRecord |
typicalRecord
typical record for this vertical coordinate
|
protected java.lang.String |
units
units
|
protected boolean |
usesBounds |
| Modifier | Constructor and Description |
|---|---|
protected |
GridVertCoord(java.util.List<GridRecord> records,
java.lang.String levelName,
GridTableLookup lookup,
GridHorizCoordSys hcs)
Create a new GridVertCoord with the appropriate params
|
protected |
GridVertCoord(java.lang.String name)
Create a new GridVertCoord with the given name.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addExtraAttributes(Variable v) |
int |
compareTo(GridVertCoord gv)
Compare this to another
|
double |
getCoord(int i) |
protected java.lang.String |
getLevelDesc() |
java.lang.String |
getVariableName()
Get the variable name
|
java.lang.String |
toString() |
protected GridRecord typicalRecord
protected java.lang.String levelName
protected GridTableLookup lookup
protected int seq
protected double[] coordValues
protected boolean usesBounds
protected boolean isVerticalCoordinate
protected double[] factors
protected java.lang.String units
protected java.util.List<GridVertCoord.LevelCoord> levels
protected GridVertCoord(java.lang.String name)
name - nameprotected GridVertCoord(java.util.List<GridRecord> records, java.lang.String levelName, GridTableLookup lookup, GridHorizCoordSys hcs)
records - list of GridRecords that make up this coordlevelName - the name of the levellookup - the lookup tablehcs - Horizontal coordinatepublic java.lang.String getVariableName()
protected java.lang.String getLevelDesc()
protected void addExtraAttributes(Variable v)
public int compareTo(GridVertCoord gv)
compareTo in interface java.lang.Comparable<GridVertCoord>gv - the other GridVertCoordpublic double getCoord(int i)
public java.lang.String toString()
toString in class java.lang.Object