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() |
getNamejava.lang.String getFullName()
VariableSimpleIFgetFullName in interface VariableSimpleIFjava.lang.String getFullNameEscaped()
java.lang.String getShortName()
VariableSimpleIFgetShortName in interface VariableSimpleIFvoid getNameAndDimensions(java.util.Formatter result,
boolean useFullName,
boolean strict)
boolean isUnlimited()
boolean isUnsigned()
DataType getDataType()
VariableSimpleIFgetDataType in interface VariableSimpleIFEnumTypedef getEnumTypedef()
int getRank()
VariableSimpleIFgetRank in interface VariableSimpleIFboolean isScalar()
long getSize()
int getElementSize()
int[] getShape()
VariableSimpleIFgetShape in interface VariableSimpleIFjava.util.List<Dimension> getDimensions()
VariableSimpleIFgetDimensions in interface VariableSimpleIFDimension getDimension(int index)
int findDimensionIndex(java.lang.String dimName)
java.util.List<Attribute> getAttributes()
VariableSimpleIFgetAttributes in interface VariableSimpleIFAttribute findAttribute(java.lang.String attName)
Attribute findAttributeIgnoreCase(java.lang.String attName)
VariableSimpleIFfindAttributeIgnoreCase in interface VariableSimpleIFattName - attribute nameGroup getParentGroup()
Variable section(java.util.List<Range> ranges) throws InvalidRangeException
InvalidRangeExceptionSection getShapeAsSection()
java.util.List<Range> getRanges()
Array read(int[] origin, int[] shape) throws java.io.IOException, InvalidRangeException
java.io.IOExceptionInvalidRangeExceptionArray read(java.lang.String rangeSpec) throws java.io.IOException, InvalidRangeException
java.io.IOExceptionInvalidRangeExceptionArray read(Section section) throws java.io.IOException, InvalidRangeException
java.io.IOExceptionInvalidRangeExceptionArray read() throws java.io.IOException
java.io.IOExceptionboolean isCoordinateVariable()
boolean isMemberOfStructure()
boolean isVariableLength()
boolean isMetadata()
Structure getParentStructure()
java.lang.String getDescription()
VariableSimpleIFgetDescription in interface VariableSimpleIFjava.lang.String getUnitsString()
VariableSimpleIFgetUnitsString in interface VariableSimpleIFjava.util.List<Dimension> getDimensionsAll()
byte readScalarByte()
throws java.io.IOException
java.io.IOExceptionshort readScalarShort()
throws java.io.IOException
java.io.IOExceptionint readScalarInt()
throws java.io.IOException
java.io.IOExceptionlong readScalarLong()
throws java.io.IOException
java.io.IOExceptionfloat readScalarFloat()
throws java.io.IOException
java.io.IOExceptiondouble readScalarDouble()
throws java.io.IOException
java.io.IOExceptionjava.lang.String readScalarString()
throws java.io.IOException
java.io.IOExceptionjava.lang.String toStringDebug()