public class StructurePseudoDS extends StructureDS
so var1(dim, other); var2(dim, other); var3(dim, other); becomes struct { var1(other); var2(other); var3(other); } name(dim);
Modifier and Type | Class and Description |
---|---|
static class |
StructurePseudoDS.Builder<T extends StructurePseudoDS.Builder<T>> |
defaultCoordsSizeToCache, defaultSizeToCache, permitCaching
Constructor and Description |
---|
StructurePseudoDS(NetcdfDataset ncfile,
Group group,
String shortName,
List<String> varNames,
Dimension outerDim)
Deprecated.
Use StructurePseudoDS.builder()
|
Modifier and Type | Method and Description |
---|---|
static StructurePseudoDS.Builder<?> |
builder() |
Array |
reallyRead(Variable mainv,
CancelTask cancelTask)
public by accident, do not call directly.
|
Array |
reallyRead(Variable mainv,
Section section,
CancelTask cancelTask)
public by accident, do not call directly.
|
boolean |
removeMemberVariable(Variable v)
Deprecated.
|
Structure |
select(List<String> memberNames)
Create a subset of the Structure consisting only of the given member variables
|
StructurePseudoDS.Builder<?> |
toBuilder()
Turn into a mutable Builder.
|
addCoordinateSystem, clearCoordinateSystems, enhance, getCoordinateSystems, getDescription, getOriginalDataType, getOriginalName, getOriginalVariable, getUnitsString, removeCoordinateSystem, setName, setOriginalVariable, setUnitsString
addMemberVariable, calcElementSize, findVariable, getElementSize, getNameAndAttributes, getNumberOfMemberVariables, getStructureIterator, getStructureIterator, getVariableNames, getVariables, isCaching, isSubset, makeStructureMembers, readStructure, readStructure, readStructure, replaceMemberVariable, select, setCaching, setImmutable, setMemberVariables, setParentGroup
addAll, addAttribute, attributes, compareTo, createNewCache, equals, findAttribute, findAttributeDouble, findAttributeIgnoreCase, findAttributeInteger, findAttValueIgnoreCase, findDimensionIndex, getAttributes, getDAPName, getDAPName, getDatasetLocation, getDataType, getDimension, getDimensions, getDimensionsAll, getDimensionsString, getEnumTypedef, getFileTypeId, getNameAndDimensions, getNameAndDimensions, getNameAndDimensions, getNameAndDimensions, getNameAndDimensions, getNameAndDimensions, getNetcdfFile, getParentGroup, getProxyReader, getRanges, getRank, getShape, getShape, getShapeAll, getShapeAsSection, getSize, getSizeToCache, getSPobject, hasCachedData, hashCode, invalidateCache, isCoordinateVariable, isImmutable, isMetadata, isScalar, isUnknownLength, isUnlimited, isVariableLength, lookupEnumString, read, read, 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, writeCDL
annotate, annotation, getDODSName, getFullName, getFullNameEscaped, getGroup, getImmutable, getName, getParentStructure, getShortName, getSort, isMemberOfStructure, localhash, setDODSName, setParentStructure, setShortName, setSort, unwrap
getFullName, getShortName
getFullName, getName, getShortName
getName, hasAttribute, iterator
forEach, spliterator
@Deprecated public StructurePseudoDS(NetcdfDataset ncfile, Group group, String shortName, List<String> varNames, Dimension outerDim)
ncfile
- part of this filegroup
- part of this groupshortName
- short name of this StructurevarNames
- limited to these variables, all must have dim as outer dimension. If null, use all Variables
with that outer dimensionouterDim
- existing, outer dimensionpublic Structure select(List<String> memberNames)
Structure
select
in class StructureDS
memberNames
- list of Variable names, already a member@Deprecated public boolean removeMemberVariable(Variable v)
Structure
removeMemberVariable
in class Structure
v
- remove this variable as a member of this structurepublic Array reallyRead(Variable mainv, CancelTask cancelTask) throws IOException
Variable
reallyRead
in interface ProxyReader
reallyRead
in class StructureDS
mainv
- the client VariablecancelTask
- user may cancelIOException
- on errorpublic Array reallyRead(Variable mainv, Section section, CancelTask cancelTask) throws IOException, InvalidRangeException
Variable
reallyRead
in interface ProxyReader
reallyRead
in class StructureDS
mainv
- the client Variablesection
- the section of data to read.cancelTask
- user may cancelIOException
- on errorInvalidRangeException
- if section has incorrect rank or illegal shape.public StructurePseudoDS.Builder<?> toBuilder()
Structure
toBuilder
in class StructureDS
public static StructurePseudoDS.Builder<?> builder()