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.
|
String |
getDescription()
Get the description of the Variable.
|
DataType |
getOriginalDataType()
When this wraps another Variable, get the original Variable's DataType.
|
String |
getOriginalName()
When this wraps another Variable, get the original Variable's DataType.
|
Variable |
getOriginalVariable()
A StructureDS may wrap another Structure.
|
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(List<String> memberNames)
Create a subset of the Structure consisting only of the given member variables
|
String |
setName(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
forEach, spliterator
public static StructureDS.Builder<?> builder()
public com.google.common.collect.ImmutableList<CoordinateSystem> getCoordinateSystems()
Enhancements
getCoordinateSystems
in interface ucar.nc2.dataset.Enhancements
public String getDescription()
Variable
getDescription
in interface ucar.nc2.dataset.Enhancements
getDescription
in interface VariableSimpleIF
getDescription
in class Variable
public DataType getOriginalDataType()
public String getOriginalName()
getOriginalName
in interface VariableEnhanced
public Variable getOriginalVariable()
getOriginalVariable
in interface VariableEnhanced
public 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 IOException
Variable
reallyRead
in interface ProxyReader
reallyRead
in class Variable
client
- the client VariablecancelTask
- user may cancelIOException
- on errorpublic Array reallyRead(Variable client, Section section, CancelTask cancelTask) throws IOException, InvalidRangeException
Variable
reallyRead
in interface ProxyReader
reallyRead
in class Variable
client
- the client Variablesection
- the section of data to read.cancelTask
- user may cancelIOException
- on errorInvalidRangeException
- if section has incorrect rank or illegal shape.public Structure select(List<String> memberNames)
Structure
@Deprecated public String setName(String newName)
Variable
public StructureDS.Builder<?> toBuilder()
Structure