public class StructurePseudo extends Structure
so var1(dim, other); var2(dim, other); var3(dim, other); becomes struct { var1(other); var2(other); var3(other); } name(dim);
Variable.Cache
defaultBufferSize, isSubset, log, memberHash, members
attributes, cache, dataType, debugCaching, defaultCoordsSizeToCache, defaultSizeToCache, dimensions, elementSize, hashCode, isMetadata, isVariableLength, ncfile, permitCaching, proxyReader, shape, shapeAsSection, sizeToCache, spiObject
annotations, dodsname, group, immutable, parentstruct, shortName, sort
Constructor and Description |
---|
StructurePseudo(NetcdfFile ncfile,
Group group,
java.lang.String shortName,
Dimension dim)
Deprecated.
Make a Structure out of all Variables with the named dimension as their outermost dimension.
|
StructurePseudo(NetcdfFile ncfile,
Group group,
java.lang.String shortName,
java.util.List<java.lang.String> varNames,
Dimension dim)
Deprecated.
Make a Structure out of named Variables, each has the same named outermost dimension.
|
Modifier and Type | Method and Description |
---|---|
Array |
reallyRead(Variable mainv,
CancelTask cancelTask)
Deprecated.
public by accident, do not call directly.
|
Array |
reallyRead(Variable mainv,
Section section,
CancelTask cancelTask)
Deprecated.
public by accident, do not call directly.
|
boolean |
removeMemberVariable(Variable v)
Deprecated.
Remove a Variable : uses the Variable name to find it.
|
addMemberVariable, calcElementSize, calcStructureSize, copy, findVariable, getElementSize, getNameAndAttributes, getNumberOfMemberVariables, getStructureIterator, getStructureIterator, getVariableNames, getVariables, isCaching, isSubset, makeStructureMembers, readStructure, readStructure, readStructure, replaceMemberVariable, select, select, setCaching, setImmutable, setMemberVariables, setParentGroup, writeCDL
_read, _read, addAll, addAttribute, compareTo, createNewCache, equals, extraInfo, findAttribute, findAttributeIgnoreCase, findDimensionIndex, getAttributes, getDAPName, getDAPName, getDatasetLocation, getDataType, getDescription, 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, getUnitsString, hasCachedData, hashCode, hashCodeShow, invalidateCache, isCoordinateVariable, isImmutable, isMetadata, isScalar, isUnknownLength, isUnlimited, isUnsigned, 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, setName, setProxyReader, setSizeToCache, setSPobject, setUnsigned, setValues, setValues, slice, toString, toStringDebug, writeCDL
annotate, getAnnotation, getAnnotations, getDODSName, getFullName, getFullNameEscaped, getGroup, getImmutable, getName, getParentStructure, getShortName, getSort, isMemberOfStructure, localhash, setDODSName, setImmutable, setParentStructure, setShortName, setSort, unwrap
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getFullName, getFullNameEscaped, getParentStructure, getShortName, isMemberOfStructure
getName
public StructurePseudo(NetcdfFile ncfile, Group group, java.lang.String shortName, Dimension dim)
ncfile
- part of this filegroup
- part of this groupshortName
- short name of this Structuredim
- the existing dimensionpublic StructurePseudo(NetcdfFile ncfile, Group group, java.lang.String shortName, java.util.List<java.lang.String> varNames, Dimension dim)
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.dim
- the existing dimensionpublic 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 java.io.IOException
Variable
reallyRead
in interface ProxyReader
reallyRead
in class Variable
mainv
- the client VariablecancelTask
- user may canceljava.io.IOException
- on errorpublic Array reallyRead(Variable mainv, Section section, CancelTask cancelTask) throws java.io.IOException, InvalidRangeException
Variable
reallyRead
in interface ProxyReader
reallyRead
in class Variable
mainv
- the client Variablesection
- the section of data to read.cancelTask
- user may canceljava.io.IOException
- on errorInvalidRangeException
- if section has incorrect rank or illegal shape.