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 intcompareTo(VertCoord o)booleanequalsData(VertCoord other)static VertCoordfindVertCoord(List<VertCoord> vertCoords, VertCoord want)intgetId()StringgetName()intgetSize()StringgetUnits()double[]getValues1()double[]getValues2()static voidnormalize(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.voidsetId(int id)voidsetName(String name)voidsetUnits(String units)voidsetValues1(double[] values)voidsetValues2(double[] values)StringtoString()
-
-
-
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:
compareToin interfaceComparable<VertCoord>
-
-