public class GridVertCoord extends Object implements 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 String |
levelName |
protected List<GridVertCoord.LevelCoord> |
levels
levels
|
protected GridTableLookup |
lookup |
protected int |
seq |
protected GridRecord |
typicalRecord
typical record for this vertical coordinate
|
protected String |
units
units
|
protected boolean |
usesBounds |
Modifier | Constructor and Description |
---|---|
protected |
GridVertCoord(List<GridRecord> records,
String levelName,
GridTableLookup lookup,
GridHorizCoordSys hcs)
Create a new GridVertCoord with the appropriate params
|
protected |
GridVertCoord(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 String |
getLevelDesc() |
String |
getVariableName()
Get the variable name
|
String |
toString() |
protected GridRecord typicalRecord
protected String levelName
protected GridTableLookup lookup
protected int seq
protected double[] coordValues
protected boolean usesBounds
protected boolean isVerticalCoordinate
protected double[] factors
protected String units
protected List<GridVertCoord.LevelCoord> levels
protected GridVertCoord(String name)
name
- nameprotected GridVertCoord(List<GridRecord> records, 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 String getVariableName()
protected String getLevelDesc()
protected void addExtraAttributes(Variable v)
public int compareTo(GridVertCoord gv)
compareTo
in interface Comparable<GridVertCoord>
gv
- the other GridVertCoordpublic double getCoord(int i)
Copyright © 1999–2013 UCAR/Unidata. All rights reserved.