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);
Variable.Cache| Modifier and Type | Field and Description |
|---|---|
protected static Set<NetcdfDataset.Enhance> |
enhanceScaleMissing |
orgVardefaultBufferSize, isSubset, memberHash, membersattributes, cache, dataType, debugCaching, defaultCoordsSizeToCache, defaultSizeToCache, dimensions, elementSize, hashCode, isMetadata, isVariableLength, ncfile, permitCaching, proxyReader, shape, shapeAsSection, sizeToCache, spiObjectannotations, dodsname, group, immutable, parentstruct, shortName, sort| Modifier | Constructor and Description |
|---|---|
protected |
StructurePseudoDS(NetcdfDataset ncfile,
Group group,
String shortName) |
|
StructurePseudoDS(NetcdfDataset ncfile,
Group group,
String shortName,
List<String> varNames,
Dimension outerDim)
Make a Structure out of all Variables with the named dimension as their outermost dimension, or from a list
named Variables, each has the same named outermost dimension.
|
| Modifier and Type | Method and Description |
|---|---|
protected Variable |
copy() |
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)
Remove a Variable : uses the Variable name to find it.
|
Structure |
select(List<String> memberNames)
Create a subset of the Structure consisting only of the given member variables
|
addCoordinateSystem, clearCoordinateSystems, convert, convert, enhance, getCoordinateSystems, getDescription, getOriginalDataType, getOriginalName, getOriginalVariable, getUnitsString, removeCoordinateSystem, setName, setOriginalVariable, setUnitsStringaddMemberVariable, calcElementSize, calcStructureSize, findVariable, getElementSize, getNameAndAttributes, getNumberOfMemberVariables, getStructureIterator, getStructureIterator, getVariableNames, getVariables, isCaching, isSubset, makeStructureMembers, readStructure, readStructure, readStructure, replaceMemberVariable, select, setCaching, setImmutable, setMemberVariables, setParentGroup, writeCDL_read, _read, addAll, addAttribute, compareTo, createNewCache, equals, extraInfo, findAttribute, findAttributeIgnoreCase, findAttValueIgnoreCase, findDimensionIndex, getAttributeContainer, getAttributes, getDAPName, getDAPName, getDatasetLocation, getDataType, getDimension, getDimensions, getDimensionsAll, getDimensionsString, getEnumTypedef, getNameAndDimensions, getNameAndDimensions, getNameAndDimensions, getNameAndDimensions, getNameAndDimensions, getNameAndDimensions, getNetcdfFile, getParentGroup, getProxyReader, getRanges, getRank, getScalarData, getShape, getShape, getShapeAll, getShapeAsSection, getShapeNotScalar, getSize, getSizeToCache, getSPobject, hasCachedData, hashCode, hashCodeShow, 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, writeCDLannotate, annotation, getDODSName, getFullName, getFullNameEscaped, getGroup, getImmutable, getName, getParentStructure, getShortName, getSort, isMemberOfStructure, localhash, setDODSName, setParentStructure, setShortName, setSort, unwrapclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindAttribute, findAttributeIgnoreCase, findDimensionIndex, getAttributes, getDataType, getDimension, getDimensions, getDimensionsAll, getElementSize, getEnumTypedef, getFullName, getFullNameEscaped, getNameAndDimensions, getParentGroup, getParentStructure, getRanges, getRank, getShape, getShapeAsSection, getShortName, getSize, isCoordinateVariable, isMemberOfStructure, isMetadata, isScalar, isUnlimited, isVariableLength, read, read, read, read, readScalarByte, readScalarDouble, readScalarFloat, readScalarInt, readScalarLong, readScalarShort, readScalarString, section, toStringDebuggetNamecompareTogetNameprotected static final Set<NetcdfDataset.Enhance> enhanceScaleMissing
protected StructurePseudoDS(NetcdfDataset ncfile, Group group, String shortName)
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 dimensionprotected Variable copy()
copy in class StructureDSpublic Structure select(List<String> memberNames)
Structureselect in class StructureDSmemberNames - list of Variable names, already a memberpublic boolean removeMemberVariable(Variable v)
StructureremoveMemberVariable in class Structurev - remove this variable as a member of this structurepublic Array reallyRead(Variable mainv, CancelTask cancelTask) throws IOException
VariablereallyRead in interface ProxyReaderreallyRead in class StructureDSmainv - the client VariablecancelTask - user may cancelIOException - on errorpublic Array reallyRead(Variable mainv, Section section, CancelTask cancelTask) throws IOException, InvalidRangeException
VariablereallyRead in interface ProxyReaderreallyRead in class StructureDSmainv - the client Variablesection - the section of data to read.cancelTask - user may cancelIOException - on errorInvalidRangeException - if section has incorrect rank or illegal shape.