Package ucar.nc2.dataset
Class SequenceDS
- java.lang.Object
-
- ucar.nc2.Variable
-
- ucar.nc2.Structure
-
- ucar.nc2.Sequence
-
- ucar.nc2.dataset.SequenceDS
-
- All Implemented Interfaces:
Comparable<Variable>
,Iterable<StructureData>
,StructureEnhanced
,VariableEnhanced
,ProxyReader
@Immutable public class SequenceDS extends Sequence implements StructureEnhanced
An "enhanced" Sequence
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SequenceDS.Builder<T extends SequenceDS.Builder<T>>
-
Field Summary
-
Fields inherited from class ucar.nc2.Variable
permitCaching
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SequenceDS.Builder<?>
builder()
Get a Builder of SequenceDS.List<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.Iterator<StructureData>
iterator()
An iterator over all the data in the sequence, enhanced if needed.SequenceDS.Builder<?>
toBuilder()
Turn into a mutable Builder.-
Methods inherited from class ucar.nc2.Sequence
readArray, readRecord, section, slice
-
Methods inherited from class ucar.nc2.Structure
findVariable, getElementSize, getNameAndAttributes, getNumberOfMemberVariables, getVariableNames, getVariables, isSubset, makeStructureMembersBuilder, select, select
-
Methods inherited from class ucar.nc2.Variable
attributes, compareTo, equals, findAttribute, findAttributeString, findDimensionIndex, getArrayType, getDatasetLocation, getDescription, getDimension, getDimensions, getDimensionSet, getDimensionsString, getEnumTypedef, getFileTypeId, getFullName, getNameAndDimensions, getNameAndDimensions, getNetcdfFile, getParentGroup, getParentStructure, getRank, getSection, getShape, getShape, getShortName, getSize, getSizeToCache, getSPobject, getUnitsString, hasCachedData, hashCode, isCaching, isCoordinateVariable, isMemberOfStructure, isMetadata, isScalar, isUnlimited, isVariableLength, lookupEnumString, proxyReadArray, proxyReadArray, readArray, readScalarByte, readScalarDouble, readScalarFloat, readScalarInt, readScalarLong, readScalarShort, readScalarString, reduce, setCaching, toString
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface ucar.nc2.dataset.StructureEnhanced
findVariable, getVariables
-
Methods inherited from interface ucar.nc2.dataset.VariableEnhanced
getDescription, getFullName, getParentGroup, getShortName, getUnitsString
-
-
-
-
Method Detail
-
iterator
public Iterator<StructureData> iterator()
An iterator over all the data in the sequence, enhanced if needed.- Specified by:
iterator
in interfaceIterable<StructureData>
- Overrides:
iterator
in classSequence
-
getOriginalVariable
public Variable getOriginalVariable()
Description copied from interface:VariableEnhanced
A VariableDS usually wraps another Variable.- Specified by:
getOriginalVariable
in interfaceVariableEnhanced
-
getOriginalName
public String getOriginalName()
Description copied from interface:VariableEnhanced
The original name of the Variable (in case it was renamed in NcML).- Specified by:
getOriginalName
in interfaceVariableEnhanced
-
getCoordinateSystems
public List<CoordinateSystem> getCoordinateSystems()
Description copied from interface:VariableEnhanced
Get the list of Coordinate Systems for this Variable, larger number of axes first.- Specified by:
getCoordinateSystems
in interfaceVariableEnhanced
-
toBuilder
public SequenceDS.Builder<?> toBuilder()
Description copied from class:Sequence
Turn into a mutable Builder. Can use toBuilder().build() to copy.
-
builder
public static SequenceDS.Builder<?> builder()
Get a Builder of SequenceDS.
-
-