Package ucar.nc2.ft.fmrc
Class VertCoord
- java.lang.Object
-
- ucar.nc2.ft.fmrc.VertCoord
-
- All Implemented Interfaces:
Comparable<VertCoord>
public class VertCoord extends Object implements Comparable<VertCoord>
Represents a vertical coordinate shared among variables.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(VertCoord o)
boolean
equalsData(VertCoord other)
static VertCoord
findVertCoord(List<VertCoord> vertCoords, VertCoord want)
int
getId()
String
getName()
int
getSize()
String
getUnits()
double[]
getValues1()
double[]
getValues2()
static void
normalize(VertCoord result, List<VertCoord> vcList)
Extend result with all the values in the list of VertCoord Sort the values and recreate the double[] values array.void
setId(int id)
void
setName(String name)
void
setUnits(String units)
void
setValues1(double[] values)
void
setValues2(double[] values)
String
toString()
-
-
-
Method Detail
-
getId
public int getId()
-
setId
public void setId(int id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getUnits
public String getUnits()
-
setUnits
public void setUnits(String units)
-
getValues1
public double[] getValues1()
-
setValues1
public void setValues1(double[] values)
-
getValues2
public double[] getValues2()
-
setValues2
public void setValues2(double[] values)
-
getSize
public int getSize()
-
equalsData
public boolean equalsData(VertCoord other)
-
compareTo
public int compareTo(VertCoord o)
- Specified by:
compareTo
in interfaceComparable<VertCoord>
-
-