Package ucar.nc2
Interface VariableSimpleIF
- All Superinterfaces:
Comparable<VariableSimpleIF>
- All Known Implementing Classes:
CoordinateAxis,CoordinateAxis1D,CoordinateAxis1DTime,CoordinateAxis2D,Sequence,Structure,StructureDS,StructurePseudo2Dim,StructurePseudoDS,Variable,VariableDS
A lightweight abstraction of a Variable.
-
Method Summary
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getFullName
String getFullName()full, backslash escaped name of the data Variable- Returns:
- full, backslash escaped name of the data Variable
-
getShortName
String getShortName()short name of the data Variable- Returns:
- short name of the data Variable
-
getDescription
String getDescription()description of the Variable- Returns:
- description of the Variable, or null if none.
-
getUnitsString
String getUnitsString()Units of the Variable. These should be udunits compatible if possible- Returns:
- Units of the Variable, or null if none.
-
getRank
int getRank()Variable rank- Returns:
- Variable rank
-
getShape
int[] getShape()Variable shape- Returns:
- Variable shape
-
getDimensions
Dimension List. empty for a scalar variable.- Returns:
- List of ucar.nc2.Dimension, ImmutableList in ver6
-
getDataType
DataType getDataType()Variable's data type- Returns:
- Variable's data type
-
attributes
AttributeContainer attributes()Attributes for the variable.
-