public interface VariableIF extends VariableSimpleIF
getName
compareTo
String getFullName()
VariableSimpleIF
getFullName
in interface VariableSimpleIF
String getFullNameEscaped()
String getShortName()
VariableSimpleIF
getShortName
in interface VariableSimpleIF
void getNameAndDimensions(Formatter result, boolean useFullName, boolean strict)
boolean isUnlimited()
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
List<Dimension> getDimensions()
VariableSimpleIF
getDimensions
in interface VariableSimpleIF
Dimension getDimension(int index)
int findDimensionIndex(String dimName)
List<Attribute> getAttributes()
VariableSimpleIF
getAttributes
in interface VariableSimpleIF
Attribute findAttributeIgnoreCase(String attName)
VariableSimpleIF
findAttributeIgnoreCase
in interface VariableSimpleIF
attName
- attribute nameGroup getParentGroup()
Variable section(List<Range> ranges) throws InvalidRangeException
InvalidRangeException
Section getShapeAsSection()
Array read(int[] origin, int[] shape) throws IOException, InvalidRangeException
IOException
InvalidRangeException
Array read(String rangeSpec) throws IOException, InvalidRangeException
IOException
InvalidRangeException
Array read(Section section) throws IOException, InvalidRangeException
IOException
InvalidRangeException
Array read() throws IOException
IOException
boolean isCoordinateVariable()
boolean isMemberOfStructure()
boolean isVariableLength()
boolean isMetadata()
Structure getParentStructure()
String getDescription()
VariableSimpleIF
getDescription
in interface VariableSimpleIF
String getUnitsString()
VariableSimpleIF
getUnitsString
in interface VariableSimpleIF
byte readScalarByte() throws IOException
IOException
short readScalarShort() throws IOException
IOException
int readScalarInt() throws IOException
IOException
long readScalarLong() throws IOException
IOException
float readScalarFloat() throws IOException
IOException
double readScalarDouble() throws IOException
IOException
String readScalarString() throws IOException
IOException
String toStringDebug()