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 Attribute
findAttribute(String attName)
Deprecated.Use attributes()int
findDimensionIndex(String dimName)
Deprecated.DataType
getDataType()
Deprecated.Variable's data typeString
getDescription()
Deprecated.description of the VariableDimension
getDimension(int index)
Deprecated.List<Dimension>
getDimensions()
Deprecated.Dimension List.List<Dimension>
getDimensionsAll()
Deprecated.int
getElementSize()
Deprecated.EnumTypedef
getEnumTypedef()
Deprecated.String
getFullName()
Deprecated.full, backslash escaped name of the data VariableString
getFullNameEscaped()
Deprecated.void
getNameAndDimensions(Formatter result, boolean useFullName, boolean strict)
Deprecated.Group
getParentGroup()
Deprecated.Structure
getParentStructure()
Deprecated.List<Range>
getRanges()
Deprecated.int
getRank()
Deprecated.Variable rankint[]
getShape()
Deprecated.Variable shapeSection
getShapeAsSection()
Deprecated.String
getShortName()
Deprecated.short name of the data Variablelong
getSize()
Deprecated.String
getUnitsString()
Deprecated.Units of the Variable.boolean
isCoordinateVariable()
Deprecated.boolean
isMemberOfStructure()
Deprecated.boolean
isMetadata()
Deprecated.boolean
isScalar()
Deprecated.boolean
isUnlimited()
Deprecated.boolean
isVariableLength()
Deprecated.Array
read()
Deprecated.Array
read(int[] origin, int[] shape)
Deprecated.Array
read(String rangeSpec)
Deprecated.Array
read(Section section)
Deprecated.byte
readScalarByte()
Deprecated.double
readScalarDouble()
Deprecated.float
readScalarFloat()
Deprecated.int
readScalarInt()
Deprecated.long
readScalarLong()
Deprecated.short
readScalarShort()
Deprecated.String
readScalarString()
Deprecated.Variable
section(List<Range> ranges)
Deprecated.String
toStringDebug()
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:VariableSimpleIF
full, backslash escaped name of the data Variable- Specified by:
getFullName
in interfaceVariableSimpleIF
- Returns:
- full, backslash escaped name of the data Variable
-
getFullNameEscaped
String getFullNameEscaped()
Deprecated.
-
getShortName
String getShortName()
Deprecated.Description copied from interface:VariableSimpleIF
short name of the data Variable- Specified by:
getShortName
in 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:VariableSimpleIF
Variable's data type- Specified by:
getDataType
in interfaceVariableSimpleIF
- Returns:
- Variable's data type
-
getEnumTypedef
EnumTypedef getEnumTypedef()
Deprecated.
-
getRank
int getRank()
Deprecated.Description copied from interface:VariableSimpleIF
Variable rank- Specified by:
getRank
in interfaceVariableSimpleIF
- Returns:
- Variable rank
-
isScalar
boolean isScalar()
Deprecated.
-
getSize
long getSize()
Deprecated.
-
getElementSize
int getElementSize()
Deprecated.
-
getShape
int[] getShape()
Deprecated.Description copied from interface:VariableSimpleIF
Variable shape- Specified by:
getShape
in interfaceVariableSimpleIF
- Returns:
- Variable shape
-
getDimensions
List<Dimension> getDimensions()
Deprecated.Description copied from interface:VariableSimpleIF
Dimension List. empty for a scalar variable.- Specified by:
getDimensions
in 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:
IOException
InvalidRangeException
-
read
Array read(String rangeSpec) throws IOException, InvalidRangeException
Deprecated.- Throws:
IOException
InvalidRangeException
-
read
Array read(Section section) throws IOException, InvalidRangeException
Deprecated.- Throws:
IOException
InvalidRangeException
-
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:VariableSimpleIF
description of the Variable- Specified by:
getDescription
in interfaceVariableSimpleIF
- Returns:
- description of the Variable, or null if none.
-
getUnitsString
String getUnitsString()
Deprecated.Description copied from interface:VariableSimpleIF
Units of the Variable. These should be udunits compatible if possible- Specified by:
getUnitsString
in interfaceVariableSimpleIF
- Returns:
- Units of the Variable, or null if none.
-
readScalarByte
byte readScalarByte() throws IOException
Deprecated.- Throws:
IOException
-
readScalarShort
short readScalarShort() throws IOException
Deprecated.- Throws:
IOException
-
readScalarInt
int readScalarInt() throws IOException
Deprecated.- Throws:
IOException
-
readScalarLong
long readScalarLong() throws IOException
Deprecated.- Throws:
IOException
-
readScalarFloat
float readScalarFloat() throws IOException
Deprecated.- Throws:
IOException
-
readScalarDouble
double readScalarDouble() throws IOException
Deprecated.- Throws:
IOException
-
readScalarString
String readScalarString() throws IOException
Deprecated.- Throws:
IOException
-
toStringDebug
String toStringDebug()
Deprecated.
-
-