@Immutable public class StructureDS extends Structure implements StructureEnhanced
| Modifier and Type | Class and Description |
|---|---|
static class |
StructureDS.Builder<T extends StructureDS.Builder<T>> |
Variable.Cache| Modifier and Type | Field and Description |
|---|---|
protected String |
orgName |
protected Structure |
orgVar |
protected ucar.nc2.dataset.EnhancementsImpl |
proxy |
attributes, cache, dataType, dimensions, elementSize, hashCode, isVariableLength, ncfile, permitCaching, proxyReader, shape, spiObject| Modifier | Constructor and Description |
|---|---|
protected |
StructureDS(StructureDS.Builder<?> builder,
Group parentGroup) |
| Modifier and Type | Method and Description |
|---|---|
protected StructureDS.Builder<?> |
addLocalFieldsToBuilder(StructureDS.Builder<? extends StructureDS.Builder<?>> b) |
static StructureDS.Builder<?> |
builder()
Get a Builder of StructureDS.
|
com.google.common.collect.ImmutableList<CoordinateSystem> |
getCoordinateSystems()
Get the list of Coordinate Systems for this Variable, larger number of axes first.
|
String |
getDescription()
Get the description of the Variable.
|
ArrayType |
getOriginalArrayType()
When this wraps another Variable, get the original Variable's ArrayType.
|
DataType |
getOriginalDataType()
Deprecated.
use getOriginalArrayType()
|
String |
getOriginalName()
When this wraps another Variable, get the original Variable's name.
|
Variable |
getOriginalVariable()
A StructureDS may wrap another Structure.
|
String |
getUnitsString()
Get the Unit String for the Variable.
|
Array<?> |
proxyReadArray(Variable client,
CancelTask cancelTask)
public by accident, do not call directly.
|
Array<?> |
proxyReadArray(Variable client,
Section section,
CancelTask cancelTask)
public by accident, do not call directly.
|
Array |
reallyRead(Variable client,
CancelTask cancelTask)
Deprecated.
|
Array |
reallyRead(Variable client,
Section section,
CancelTask cancelTask)
Deprecated.
|
StructureDS.Builder<?> |
toBuilder()
Turn into a mutable Builder.
|
addLocalFieldsToBuilder, findVariable, getElementSize, getNameAndAttributes, getNumberOfMemberVariables, getStructureIterator, getStructureIterator, getVariableNames, getVariables, isSubset, makeStructureMembers, makeStructureMembersBuilder, readStructure, readStructure, select, select, writeCDL_read, _read, _readScalarData, addLocalFieldsToBuilder, attributes, compareTo, equals, extraInfo, findAttribute, findAttributeString, findDimensionIndex, getArrayType, getDatasetLocation, getDataType, getDimension, getDimensions, getDimensionSet, getDimensionsString, getEnumTypedef, getFileTypeId, getFullName, getNameAndDimensions, getNameAndDimensions, getNetcdfFile, getParentGroup, getParentStructure, getRanges, getRank, getSection, getShape, getShape, getShapeAsSection, getShortName, getSize, getSizeToCache, getSPobject, hasCachedData, hashCode, invalidateCache, isCaching, isCoordinateVariable, isMemberOfStructure, isMetadata, isScalar, isUnlimited, isVariableLength, lookupEnumString, read, read, read, read, read, readArray, readArray, readScalarByte, readScalarDouble, readScalarFloat, readScalarInt, readScalarLong, readScalarShort, readScalarString, readToStream, reduce, resetShape, section, section, setCachedData, setCaching, slice, toString, toStringDebugclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindVariable, getVariablesgetFullName, getParentGroup, getShortNameprotected final ucar.nc2.dataset.EnhancementsImpl proxy
protected final Structure orgVar
protected final String orgName
protected StructureDS(StructureDS.Builder<?> builder, Group parentGroup)
@Nullable public Variable getOriginalVariable()
getOriginalVariable in interface VariableEnhanced@Deprecated public DataType getOriginalDataType()
public ArrayType getOriginalArrayType()
public String getOriginalName()
getOriginalName in interface VariableEnhanced@Deprecated public Array reallyRead(Variable client, CancelTask cancelTask) throws IOException
VariablereallyRead in interface ProxyReaderreallyRead in class Variableclient - the client VariablecancelTask - user may cancelIOExceptionpublic Array<?> proxyReadArray(Variable client, CancelTask cancelTask) throws IOException
VariableproxyReadArray in interface ProxyReaderproxyReadArray in class VariableIOException@Deprecated public Array reallyRead(Variable client, Section section, CancelTask cancelTask) throws IOException, InvalidRangeException
VariablereallyRead in interface ProxyReaderreallyRead in class Variableclient - the client Variablesection - the section of data to read.cancelTask - user may cancelInvalidRangeException - if section has incorrect rank or illegal shape.IOExceptionpublic Array<?> proxyReadArray(Variable client, Section section, CancelTask cancelTask) throws IOException, InvalidRangeException
VariableproxyReadArray in interface ProxyReaderproxyReadArray in class VariableIOExceptionInvalidRangeExceptionpublic com.google.common.collect.ImmutableList<CoordinateSystem> getCoordinateSystems()
VariableEnhancedgetCoordinateSystems in interface VariableEnhancedpublic String getDescription()
VariablegetDescription in interface VariableEnhancedgetDescription in interface VariableSimpleIFgetDescription in class Variablepublic String getUnitsString()
VariablegetUnitsString in interface VariableEnhancedgetUnitsString in interface VariableSimpleIFgetUnitsString in class Variablepublic StructureDS.Builder<?> toBuilder()
Structureprotected StructureDS.Builder<?> addLocalFieldsToBuilder(StructureDS.Builder<? extends StructureDS.Builder<?>> b)
public static StructureDS.Builder<?> builder()