public interface VariableIF extends VariableSimpleIF
Modifier and Type | Method and Description |
---|---|
Attribute |
findAttribute(java.lang.String attName) |
Attribute |
findAttributeIgnoreCase(java.lang.String attName)
find the attribute for the variable with the given name, ignoring case.
|
int |
findDimensionIndex(java.lang.String dimName) |
java.util.List<Attribute> |
getAttributes()
Attributes for the variable.
|
DataType |
getDataType()
Variable's data type
|
java.lang.String |
getDescription()
description of the Variable
|
Dimension |
getDimension(int index) |
java.util.List<Dimension> |
getDimensions()
Dimension List.
|
java.util.List<Dimension> |
getDimensionsAll() |
int |
getElementSize() |
EnumTypedef |
getEnumTypedef() |
java.lang.String |
getFullName()
full, backslash escaped name of the data Variable
|
java.lang.String |
getFullNameEscaped() |
void |
getNameAndDimensions(java.util.Formatter result,
boolean useFullName,
boolean strict) |
Group |
getParentGroup() |
Structure |
getParentStructure() |
java.util.List<Range> |
getRanges() |
int |
getRank()
Variable rank
|
int[] |
getShape()
Variable shape
|
Section |
getShapeAsSection() |
java.lang.String |
getShortName()
short name of the data Variable
|
long |
getSize() |
java.lang.String |
getUnitsString()
Units of the Variable.
|
boolean |
isCoordinateVariable() |
boolean |
isMemberOfStructure() |
boolean |
isMetadata() |
boolean |
isScalar() |
boolean |
isUnlimited() |
boolean |
isUnsigned() |
boolean |
isVariableLength() |
Array |
read() |
Array |
read(int[] origin,
int[] shape) |
Array |
read(Section section) |
Array |
read(java.lang.String rangeSpec) |
byte |
readScalarByte() |
double |
readScalarDouble() |
float |
readScalarFloat() |
int |
readScalarInt() |
long |
readScalarLong() |
short |
readScalarShort() |
java.lang.String |
readScalarString() |
Variable |
section(java.util.List<Range> ranges) |
java.lang.String |
toStringDebug() |
getName
java.lang.String getFullName()
VariableSimpleIF
getFullName
in interface VariableSimpleIF
java.lang.String getFullNameEscaped()
java.lang.String getShortName()
VariableSimpleIF
getShortName
in interface VariableSimpleIF
void getNameAndDimensions(java.util.Formatter result, boolean useFullName, boolean strict)
boolean isUnlimited()
boolean isUnsigned()
DataType getDataType()
VariableSimpleIF
getDataType
in interface VariableSimpleIF
EnumTypedef getEnumTypedef()
int getRank()
VariableSimpleIF
getRank
in interface VariableSimpleIF
boolean isScalar()
long getSize()
int getElementSize()
int[] getShape()
VariableSimpleIF
getShape
in interface VariableSimpleIF
java.util.List<Dimension> getDimensions()
VariableSimpleIF
getDimensions
in interface VariableSimpleIF
Dimension getDimension(int index)
int findDimensionIndex(java.lang.String dimName)
java.util.List<Attribute> getAttributes()
VariableSimpleIF
getAttributes
in interface VariableSimpleIF
Attribute findAttribute(java.lang.String attName)
Attribute findAttributeIgnoreCase(java.lang.String attName)
VariableSimpleIF
findAttributeIgnoreCase
in interface VariableSimpleIF
attName
- attribute nameGroup getParentGroup()
Variable section(java.util.List<Range> ranges) throws InvalidRangeException
InvalidRangeException
Section getShapeAsSection()
java.util.List<Range> getRanges()
Array read(int[] origin, int[] shape) throws java.io.IOException, InvalidRangeException
java.io.IOException
InvalidRangeException
Array read(java.lang.String rangeSpec) throws java.io.IOException, InvalidRangeException
java.io.IOException
InvalidRangeException
Array read(Section section) throws java.io.IOException, InvalidRangeException
java.io.IOException
InvalidRangeException
Array read() throws java.io.IOException
java.io.IOException
boolean isCoordinateVariable()
boolean isMemberOfStructure()
boolean isVariableLength()
boolean isMetadata()
Structure getParentStructure()
java.lang.String getDescription()
VariableSimpleIF
getDescription
in interface VariableSimpleIF
java.lang.String getUnitsString()
VariableSimpleIF
getUnitsString
in interface VariableSimpleIF
java.util.List<Dimension> getDimensionsAll()
byte readScalarByte() throws java.io.IOException
java.io.IOException
short readScalarShort() throws java.io.IOException
java.io.IOException
int readScalarInt() throws java.io.IOException
java.io.IOException
long readScalarLong() throws java.io.IOException
java.io.IOException
float readScalarFloat() throws java.io.IOException
java.io.IOException
double readScalarDouble() throws java.io.IOException
java.io.IOException
java.lang.String readScalarString() throws java.io.IOException
java.io.IOException
java.lang.String toStringDebug()