@Deprecated public class SequenceDS extends StructureDS
| Modifier and Type | Class and Description |
|---|---|
static class |
SequenceDS.Builder<T extends SequenceDS.Builder<T>>
Deprecated.
|
Variable.CacheorgName, orgVar, proxyattributes, cache, dataType, debugCaching, defaultCoordsSizeToCache, defaultSizeToCache, dimensions, elementSize, hashCode, isVariableLength, ncfile, permitCaching, proxyReader, shape, sizeToCache, spiObjectannotations, dodsname, group, immutable, parentstruct, shortName, sort| Modifier | Constructor and Description |
|---|---|
|
SequenceDS(Group g,
Sequence orgSeq)
Deprecated.
|
protected |
SequenceDS(SequenceDS.Builder<?> builder,
Group parentGroup)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected SequenceDS.Builder<?> |
addLocalFieldsToBuilder(SequenceDS.Builder<? extends SequenceDS.Builder<?>> b)
Deprecated.
|
static SequenceDS.Builder<?> |
builder()
Deprecated.
|
StructureDataIterator |
getStructureIterator(int bufferSize)
Deprecated.
Get an efficient iterator over all the data in the Structure.
|
Array |
read()
Deprecated.
Read all the data for this Variable and return a memory resident Array.
|
Array |
read(Section section)
Deprecated.
Read a section of the data for this Variable from the netcdf file and return a memory resident Array.
|
SequenceDS.Builder<?> |
toBuilder()
Deprecated.
Turn into a mutable Builder.
|
addCoordinateSystem, addLocalFieldsToBuilder, clearCoordinateSystems, convert, convert, copy, enhance, getCoordinateSystems, getDescription, getOriginalDataType, getOriginalName, getOriginalVariable, getUnitsString, reallyRead, reallyRead, removeCoordinateSystem, select, setName, setOriginalVariable, setUnitsStringaddLocalFieldsToBuilder, addMemberVariable, calcElementSize, calcStructureSize, findVariable, getElementSize, getNameAndAttributes, getNumberOfMemberVariables, getStructureIterator, getVariableNames, getVariables, isCaching, isSubset, makeStructureMembers, readStructure, readStructure, readStructure, removeMemberVariable, replaceMemberVariable, select, setCaching, setImmutable, setMemberVariables, setParentGroup, writeCDL_read, _read, _readScalarData, addAll, addAttribute, addLocalFieldsToBuilder, attributes, compareTo, createNewCache, equals, extraInfo, findAttribute, findAttributeDouble, findAttributeIgnoreCase, findAttributeInteger, findAttributeString, findDimensionIndex, getAttributes, getDAPName, getDAPName, getDatasetLocation, getDataType, getDimension, getDimensions, getDimensionsAll, getDimensionsString, getEnumTypedef, getFileTypeId, getFullName, getNameAndDimensions, getNameAndDimensions, getNameAndDimensions, getNameAndDimensions, getNameAndDimensions, getNameAndDimensions, getNetcdfFile, getParentGroup, getParentGroupOrRoot, getParentStructure, getProxyReader, getRanges, getRank, getScalarData, getShape, getShape, getShapeAll, getShapeAsSection, getSize, getSizeToCache, getSPobject, hasCachedData, hashCode, invalidateCache, isCoordinateVariable, isEmpty, isImmutable, isMemberOfStructure, isMetadata, isScalar, isUnknownLength, isUnlimited, isVariableLength, lookupEnumString, read, read, read, readScalarByte, readScalarDouble, readScalarFloat, readScalarInt, readScalarLong, readScalarShort, readScalarString, readToByteChannel, readToStream, reduce, remove, removeAttribute, removeAttributeIgnoreCase, resetDimensions, resetShape, section, section, setCachedData, setCachedData, setDataType, setDimension, setDimensions, setDimensions, setDimensionsAnonymous, setElementSize, setEnumTypedef, setIsScalar, setProxyReader, setSizeToCache, setSPobject, setValues, setValues, slice, toString, toStringDebug, writeCDLannotate, annotation, getDODSName, getFullNameEscaped, getGroup, getImmutable, getName, getShortName, getSort, localhash, setDODSName, setParentStructure, setShortName, setSort, unwrapclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetFullName, getShortNamegetName, getShortNamefilter, findAttValueIgnoreCase, getName, hasAttribute, hasAttributeIgnoreCase, iteratorprotected SequenceDS(SequenceDS.Builder<?> builder, Group parentGroup)
public StructureDataIterator getStructureIterator(int bufferSize) throws java.io.IOException
Structure
Example:
StructureDataIterator ii = structVariable.getStructureIterator(100 * 1000);
while (ii.hasNext()) {
StructureData sdata = ii.next();
}
getStructureIterator in class StructurebufferSize - size in bytes to buffer, set < 0 to use default sizejava.io.IOException - on read errorpublic Array read(Section section) throws java.io.IOException
Variableread in class Variablesection - 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.java.io.IOException - if errorpublic Array read() throws java.io.IOException
Variablepublic SequenceDS.Builder<?> toBuilder()
StructuretoBuilder in class StructureDSprotected SequenceDS.Builder<?> addLocalFieldsToBuilder(SequenceDS.Builder<? extends SequenceDS.Builder<?>> b)
public static SequenceDS.Builder<?> builder()