Package ucar.nc2
Interface VariableIF
- All Superinterfaces:
Comparable<VariableSimpleIF>,VariableSimpleIF
Deprecated.
do not use.
The public interface to a Variable.
TODO was here because of VariableEnhanced. But not needed, as any VariableEnhanced can be cast to Variable.
-
Method Summary
Modifier and TypeMethodDescriptionfindAttribute(String attName) Deprecated.Use attributes()intfindDimensionIndex(String dimName) Deprecated.Deprecated.Variable's data typeDeprecated.description of the VariablegetDimension(int index) Deprecated.Deprecated.Dimension List.Deprecated.intDeprecated.Deprecated.Deprecated.full, backslash escaped name of the data VariableDeprecated.voidgetNameAndDimensions(Formatter result, boolean useFullName, boolean strict) Deprecated.Deprecated.Deprecated.Deprecated.intgetRank()Deprecated.Variable rankint[]getShape()Deprecated.Variable shapeDeprecated.Deprecated.short name of the data VariablelonggetSize()Deprecated.Deprecated.Units of the Variable.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanisScalar()Deprecated.booleanDeprecated.booleanDeprecated.read()Deprecated.read(int[] origin, int[] shape) Deprecated.Deprecated.Deprecated.byteDeprecated.doubleDeprecated.floatDeprecated.intDeprecated.longDeprecated.shortDeprecated.Deprecated.Deprecated.Deprecated.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface ucar.nc2.VariableSimpleIF
attributes, findAttributeIgnoreCase, getAttributes, getName
-
Method Details
-
getFullName
String getFullName()Deprecated.Description copied from interface:VariableSimpleIFfull, backslash escaped name of the data Variable- Specified by:
getFullNamein interfaceVariableSimpleIF- Returns:
- full, backslash escaped name of the data Variable
-
getFullNameEscaped
String getFullNameEscaped()Deprecated. -
getShortName
String getShortName()Deprecated.Description copied from interface:VariableSimpleIFshort name of the data Variable- Specified by:
getShortNamein interfaceVariableSimpleIF- Returns:
- short name of the data Variable
-
getNameAndDimensions
Deprecated. -
isUnlimited
boolean isUnlimited()Deprecated. -
getDataType
DataType getDataType()Deprecated.Description copied from interface:VariableSimpleIFVariable's data type- Specified by:
getDataTypein interfaceVariableSimpleIF- Returns:
- Variable's data type
-
getEnumTypedef
EnumTypedef getEnumTypedef()Deprecated. -
getRank
int getRank()Deprecated.Description copied from interface:VariableSimpleIFVariable rank- Specified by:
getRankin interfaceVariableSimpleIF- Returns:
- Variable rank
-
isScalar
boolean isScalar()Deprecated. -
getSize
long getSize()Deprecated. -
getElementSize
int getElementSize()Deprecated. -
getShape
int[] getShape()Deprecated.Description copied from interface:VariableSimpleIFVariable shape- Specified by:
getShapein interfaceVariableSimpleIF- Returns:
- Variable shape
-
getDimensions
Deprecated.Description copied from interface:VariableSimpleIFDimension List. empty for a scalar variable.- Specified by:
getDimensionsin interfaceVariableSimpleIF- Returns:
- List of ucar.nc2.Dimension, ImmutableList in ver6
-
getDimension
Deprecated. -
findDimensionIndex
Deprecated. -
findAttribute
Deprecated.Use attributes() -
getParentGroup
Group getParentGroup()Deprecated. -
section
Deprecated.- Throws:
InvalidRangeException
-
getShapeAsSection
Section getShapeAsSection()Deprecated. -
getRanges
Deprecated. -
read
Deprecated.- Throws:
IOExceptionInvalidRangeException
-
read
Deprecated.- Throws:
IOExceptionInvalidRangeException
-
read
Deprecated.- Throws:
IOExceptionInvalidRangeException
-
read
Deprecated.- Throws:
IOException
-
isCoordinateVariable
boolean isCoordinateVariable()Deprecated. -
isMemberOfStructure
boolean isMemberOfStructure()Deprecated. -
isVariableLength
boolean isVariableLength()Deprecated. -
isMetadata
boolean isMetadata()Deprecated. -
getParentStructure
Structure getParentStructure()Deprecated. -
getDescription
String getDescription()Deprecated.Description copied from interface:VariableSimpleIFdescription of the Variable- Specified by:
getDescriptionin interfaceVariableSimpleIF- Returns:
- description of the Variable, or null if none.
-
getUnitsString
String getUnitsString()Deprecated.Description copied from interface:VariableSimpleIFUnits of the Variable. These should be udunits compatible if possible- Specified by:
getUnitsStringin interfaceVariableSimpleIF- Returns:
- Units of the Variable, or null if none.
-
getDimensionsAll
Deprecated. -
readScalarByte
Deprecated.- Throws:
IOException
-
readScalarShort
Deprecated.- Throws:
IOException
-
readScalarInt
Deprecated.- Throws:
IOException
-
readScalarLong
Deprecated.- Throws:
IOException
-
readScalarFloat
Deprecated.- Throws:
IOException
-
readScalarDouble
Deprecated.- Throws:
IOException
-
readScalarString
Deprecated.- Throws:
IOException
-
toStringDebug
String toStringDebug()Deprecated.
-