@Immutable public class SequenceDS extends Sequence implements StructureEnhanced
| Modifier and Type | Class and Description |
|---|---|
static class |
SequenceDS.Builder<T extends SequenceDS.Builder<T>> |
Variable.Cacheattributes, cache, dataType, dimensions, elementSize, hashCode, isVariableLength, ncfile, permitCaching, proxyReader, shape, spiObject| Modifier | Constructor and Description |
|---|---|
protected |
SequenceDS(SequenceDS.Builder<?> builder,
Group parentGroup) |
| Modifier and Type | Method and Description |
|---|---|
protected SequenceDS.Builder<?> |
addLocalFieldsToBuilder(SequenceDS.Builder<? extends SequenceDS.Builder<?>> b) |
static SequenceDS.Builder<?> |
builder()
Get a Builder of SequenceDS.
|
com.google.common.collect.ImmutableList<CoordinateSystem> |
getCoordinateSystems()
Get the list of Coordinate Systems for this Variable, larger number of axes first.
|
String |
getOriginalName()
The original name of the Variable (in case it was renamed in NcML).
|
Variable |
getOriginalVariable()
A VariableDS usually wraps another Variable.
|
StructureDataIterator |
getStructureIterator(int bufferSize)
Deprecated.
|
Iterator<StructureData> |
iterator()
An iterator over all the data in the sequence, enhanced if needed.
|
Array |
read()
Deprecated.
|
Array |
read(Section section)
Deprecated.
|
SequenceDS.Builder<?> |
toBuilder()
Turn into a mutable Builder.
|
addLocalFieldsToBuilder, read, read, read, readStructure, readStructure, section, sliceaddLocalFieldsToBuilder, findVariable, getElementSize, getNameAndAttributes, getNumberOfMemberVariables, getStructureIterator, getVariableNames, getVariables, isSubset, makeStructureMembers, makeStructureMembersBuilder, select, select, writeCDL_read, _read, _readScalarData, addLocalFieldsToBuilder, attributes, compareTo, equals, extraInfo, findAttribute, findAttributeString, findDimensionIndex, getArrayType, getDatasetLocation, getDataType, getDescription, getDimension, getDimensions, getDimensionSet, getDimensionsString, getEnumTypedef, getFileTypeId, getFullName, getNameAndDimensions, getNameAndDimensions, getNetcdfFile, getParentGroup, getParentStructure, getRanges, getRank, getSection, getShape, getShape, getShapeAsSection, getShortName, getSize, getSizeToCache, getSPobject, getUnitsString, hasCachedData, hashCode, invalidateCache, isCaching, isCoordinateVariable, isMemberOfStructure, isMetadata, isScalar, isUnlimited, isVariableLength, lookupEnumString, proxyReadArray, proxyReadArray, readArray, readArray, readScalarByte, readScalarDouble, readScalarFloat, readScalarInt, readScalarLong, readScalarShort, readScalarString, readToStream, reallyRead, reallyRead, reduce, resetShape, section, setCachedData, setCaching, toString, toStringDebugclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindVariable, getVariablesgetDescription, getFullName, getParentGroup, getShortName, getUnitsStringforEach, spliteratorprotected SequenceDS(SequenceDS.Builder<?> builder, Group parentGroup)
@Deprecated public StructureDataIterator getStructureIterator(int bufferSize) throws IOException
Structure
Example:
StructureDataIterator ii = structVariable.getStructureIterator(100 * 1000);
while (ii.hasNext()) {
StructureData sdata = ii.next();
}
getStructureIterator in class SequencebufferSize - size in bytes to buffer, set < 0 to use default sizeIOException - on read errorpublic Iterator<StructureData> iterator()
iterator in interface Iterable<StructureData>iterator in class Sequencepublic Variable getOriginalVariable()
VariableEnhancedgetOriginalVariable in interface VariableEnhancedpublic String getOriginalName()
VariableEnhancedgetOriginalName in interface VariableEnhancedpublic com.google.common.collect.ImmutableList<CoordinateSystem> getCoordinateSystems()
VariableEnhancedgetCoordinateSystems in interface VariableEnhanced@Deprecated public Array read(Section section) throws IOException
Sequenceread in class Sequencesection - list of Range specifying the section of data to read.
Must be null or same rank as variable.
If list is null, assume all data.
Each Range corresponds to a Dimension. If the Range object is null, it means use the entire dimension.IOException - if error@Deprecated public Array read() throws IOException
Variableread in class VariableIOExceptionpublic SequenceDS.Builder<?> toBuilder()
Sequenceprotected SequenceDS.Builder<?> addLocalFieldsToBuilder(SequenceDS.Builder<? extends SequenceDS.Builder<?>> b)
public static SequenceDS.Builder<?> builder()