public class StructureDS extends Structure implements VariableEnhanced
NetcdfDataset
Modifier and Type | Class and Description |
---|---|
static class |
StructureDS.Builder<T extends StructureDS.Builder<T>> |
defaultCoordsSizeToCache, defaultSizeToCache, permitCaching
Modifier and Type | Method and Description |
---|---|
static StructureDS.Builder<?> |
builder() |
com.google.common.collect.ImmutableList<CoordinateSystem> |
getCoordinateSystems()
Get the list of Coordinate Systems for this Variable.
|
java.lang.String |
getDescription()
Get the description of the Variable.
|
DataType |
getOriginalDataType()
When this wraps another Variable, get the original Variable's DataType.
|
java.lang.String |
getOriginalName()
When this wraps another Variable, get the original Variable's DataType.
|
Variable |
getOriginalVariable()
A StructureDS may wrap another Structure.
|
java.lang.String |
getUnitsString()
Get the Unit String for the Variable.
|
Array |
reallyRead(Variable client,
CancelTask cancelTask)
public by accident, do not call directly.
|
Array |
reallyRead(Variable client,
Section section,
CancelTask cancelTask)
public by accident, do not call directly.
|
Structure |
select(java.util.List<java.lang.String> memberNames)
Create a subset of the Structure consisting only of the given member variables
|
java.lang.String |
setName(java.lang.String newName)
Deprecated.
|
StructureDS.Builder<?> |
toBuilder()
Turn into a mutable Builder.
|
findVariable, getElementSize, getNameAndAttributes, getNumberOfMemberVariables, getStructureIterator, getStructureIterator, getVariableNames, getVariables, isCaching, isSubset, makeStructureMembers, readStructure, readStructure, select, setCaching
attributes, compareTo, createNewCache, equals, findAttribute, findAttributeString, findDimensionIndex, getDatasetLocation, getDataType, getDimension, getDimensions, getDimensionsString, getEnumTypedef, getFileTypeId, getFullName, getNameAndDimensions, getNameAndDimensions, getNameAndDimensions, getNetcdfFile, getParentGroup, getParentStructure, getRanges, getRank, getShape, getShape, getShapeAsSection, getSize, getSizeToCache, getSPobject, hasCachedData, hashCode, isCoordinateVariable, isMemberOfStructure, isMetadata, isScalar, isUnlimited, isVariableLength, lookupEnumString, read, read, read, read, read, readScalarByte, readScalarDouble, readScalarFloat, readScalarInt, readScalarLong, readScalarShort, readScalarString, readToStream, reduce, section, section, slice, toString, toStringDebug
getFullName, getShortName
addCoordinateSystem, removeCoordinateSystem
getShortName
filter, findAttributeDouble, findAttributeIgnoreCase, findAttributeInteger, getName, hasAttribute, hasAttributeIgnoreCase, isEmpty, iterator
public static StructureDS.Builder<?> builder()
public com.google.common.collect.ImmutableList<CoordinateSystem> getCoordinateSystems()
Enhancements
getCoordinateSystems
in interface ucar.nc2.dataset.Enhancements
public java.lang.String getDescription()
Variable
getDescription
in interface ucar.nc2.dataset.Enhancements
getDescription
in interface VariableSimpleIF
getDescription
in class Variable
public DataType getOriginalDataType()
public java.lang.String getOriginalName()
getOriginalName
in interface VariableEnhanced
public Variable getOriginalVariable()
getOriginalVariable
in interface VariableEnhanced
public java.lang.String getUnitsString()
Variable
getUnitsString
in interface ucar.nc2.dataset.Enhancements
getUnitsString
in interface VariableSimpleIF
getUnitsString
in class Variable
public Array reallyRead(Variable client, CancelTask cancelTask) throws java.io.IOException
Variable
reallyRead
in interface ProxyReader
reallyRead
in class Variable
client
- the client VariablecancelTask
- user may canceljava.io.IOException
- on errorpublic Array reallyRead(Variable client, Section section, CancelTask cancelTask) throws java.io.IOException, InvalidRangeException
Variable
reallyRead
in interface ProxyReader
reallyRead
in class Variable
client
- the client Variablesection
- the section of data to read.cancelTask
- user may canceljava.io.IOException
- on errorInvalidRangeException
- if section has incorrect rank or illegal shape.public Structure select(java.util.List<java.lang.String> memberNames)
Structure
@Deprecated public java.lang.String setName(java.lang.String newName)
Variable
public StructureDS.Builder<?> toBuilder()
Structure