Package ucar.nc2
Interface VariableIF
-
- All Superinterfaces:
Comparable<VariableSimpleIF>,VariableSimpleIF
@Deprecated public interface VariableIF extends 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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description AttributefindAttribute(String attName)Deprecated.Use attributes()intfindDimensionIndex(String dimName)Deprecated.DataTypegetDataType()Deprecated.Variable's data typeStringgetDescription()Deprecated.description of the VariableDimensiongetDimension(int index)Deprecated.List<Dimension>getDimensions()Deprecated.Dimension List.List<Dimension>getDimensionsAll()Deprecated.intgetElementSize()Deprecated.EnumTypedefgetEnumTypedef()Deprecated.StringgetFullName()Deprecated.full, backslash escaped name of the data VariableStringgetFullNameEscaped()Deprecated.voidgetNameAndDimensions(Formatter result, boolean useFullName, boolean strict)Deprecated.GroupgetParentGroup()Deprecated.StructuregetParentStructure()Deprecated.List<Range>getRanges()Deprecated.intgetRank()Deprecated.Variable rankint[]getShape()Deprecated.Variable shapeSectiongetShapeAsSection()Deprecated.StringgetShortName()Deprecated.short name of the data VariablelonggetSize()Deprecated.StringgetUnitsString()Deprecated.Units of the Variable.booleanisCoordinateVariable()Deprecated.booleanisMemberOfStructure()Deprecated.booleanisMetadata()Deprecated.booleanisScalar()Deprecated.booleanisUnlimited()Deprecated.booleanisVariableLength()Deprecated.Arrayread()Deprecated.Arrayread(int[] origin, int[] shape)Deprecated.Arrayread(String rangeSpec)Deprecated.Arrayread(Section section)Deprecated.bytereadScalarByte()Deprecated.doublereadScalarDouble()Deprecated.floatreadScalarFloat()Deprecated.intreadScalarInt()Deprecated.longreadScalarLong()Deprecated.shortreadScalarShort()Deprecated.StringreadScalarString()Deprecated.Variablesection(List<Range> ranges)Deprecated.StringtoStringDebug()Deprecated.-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface ucar.nc2.VariableSimpleIF
attributes, findAttributeIgnoreCase, getAttributes, getName
-
-
-
-
Method Detail
-
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
void getNameAndDimensions(Formatter result, boolean useFullName, boolean strict)
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
List<Dimension> 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
Dimension getDimension(int index)
Deprecated.
-
findDimensionIndex
int findDimensionIndex(String dimName)
Deprecated.
-
findAttribute
@Deprecated Attribute findAttribute(String attName)
Deprecated.Use attributes()
-
getParentGroup
Group getParentGroup()
Deprecated.
-
section
Variable section(List<Range> ranges) throws InvalidRangeException
Deprecated.- Throws:
InvalidRangeException
-
getShapeAsSection
Section getShapeAsSection()
Deprecated.
-
read
Array read(int[] origin, int[] shape) throws IOException, InvalidRangeException
Deprecated.- Throws:
IOExceptionInvalidRangeException
-
read
Array read(String rangeSpec) throws IOException, InvalidRangeException
Deprecated.- Throws:
IOExceptionInvalidRangeException
-
read
Array read(Section section) throws IOException, InvalidRangeException
Deprecated.- Throws:
IOExceptionInvalidRangeException
-
read
Array read() throws IOException
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.
-
readScalarByte
byte readScalarByte() throws IOExceptionDeprecated.- Throws:
IOException
-
readScalarShort
short readScalarShort() throws IOExceptionDeprecated.- Throws:
IOException
-
readScalarInt
int readScalarInt() throws IOExceptionDeprecated.- Throws:
IOException
-
readScalarLong
long readScalarLong() throws IOExceptionDeprecated.- Throws:
IOException
-
readScalarFloat
float readScalarFloat() throws IOExceptionDeprecated.- Throws:
IOException
-
readScalarDouble
double readScalarDouble() throws IOExceptionDeprecated.- Throws:
IOException
-
readScalarString
String readScalarString() throws IOException
Deprecated.- Throws:
IOException
-
toStringDebug
String toStringDebug()
Deprecated.
-
-