ucar.nc2
Class StructurePseudo
java.lang.Object
ucar.nc2.Variable
ucar.nc2.Structure
ucar.nc2.StructurePseudo
- All Implemented Interfaces:
- VariableIF
public class StructurePseudo
- extends Structure
Make a collection of variables with the same outer dimension into a fake Structure.
Its fake because the variables are not stored contiguously.
- Version:
- $Revision:51 $ $Date:2006-07-12 17:13:13Z $
- Author:
- caron
| Fields inherited from class ucar.nc2.Variable |
attributes, cache, dataType, debugCaching, defaultSizeToCache, dimensions, elementSize, group, isCoordinateAxis, isMetadata, isSection, isSlice, isVlen, ncfile, orgVar, parent, scalarIndex, sectionRanges, shape, shortName, sizeToCache, sliceDim, sliceRanges |
|
Constructor Summary |
StructurePseudo(NetcdfFile ncfile,
Group group,
java.lang.String shortName,
Dimension dim)
Make a Structure out of all Variables with the named dimension as their outermost dimension. |
| Methods inherited from class ucar.nc2.Structure |
addMemberVariable, calcElementSize, calcStructureSize, findVariable, getElementSize, getNameAndAttributes, getStructureIterator, getStructureIterator, getVariableNames, getVariables, isCaching, makeStructureMembers, readStructure, readStructure, readStructure, removeMemberVariable, replaceMemberVariable, section, setCaching, setMemberVariables, setParentGroup, toString, writeCDL |
| Methods inherited from class ucar.nc2.Variable |
addAttribute, attributes, calcIsCoordinateVariable, equals, extraInfo, findAttribute, findAttributeIgnoreCase, findDimensionIndex, getAttributes, getCoordinateDimension, getDataType, getDescription, getDimension, getDimensions, getDimensionsAll, getDimensionsString, getIOVar, getName, getNameAndDimensions, getNameAndDimensions, getParentGroup, getParentStructure, getRanges, getRank, getSectionRanges, getShape, getShortName, getSize, getSizeToCache, getSPobject, getUnitsString, hasCachedData, hashCode, invalidateCache, isMemberOfStructure, isMetadata, isScalar, isSection, isUnknownLength, isUnlimited, isUnsigned, isVariableLength, makeSection, makeSectionAddParents, makeSectionRanges, makeSectionWithParents, makeSlice, makeSliceRanges, read, read, read, read, readAllStructures, readAllStructuresSpec, readScalarByte, readScalarDouble, readScalarFloat, readScalarInt, readScalarLong, readScalarShort, readScalarString, remove, replaceDimension, setCachedData, setDataType, setDimension, setDimensions, setDimensions, setDimensionsAnonymous, setElementSize, setIOVar, setIsCoordinateAxis, setName, setParentStructure, setSizeToCache, setSPobject, slice, toStringDebug |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
StructurePseudo
public StructurePseudo(NetcdfFile ncfile,
Group group,
java.lang.String shortName,
Dimension dim)
- Make a Structure out of all Variables with the named dimension as their outermost dimension.
- Parameters:
ncfile - part of this filegroup - part of this groupshortName - short name of this Structuredim - the existing dimension
_read
protected Array _read()
throws java.io.IOException
- Overrides:
_read in class Variable
- Throws:
java.io.IOException
_read
protected Array _read(java.util.List section)
throws java.io.IOException,
InvalidRangeException
- Overrides:
_read in class Variable
- Throws:
java.io.IOException
InvalidRangeException
_readMemberData
protected Array _readMemberData(java.util.List section,
boolean flatten)
throws java.io.IOException,
InvalidRangeException
- Not allowed.
- Overrides:
_readMemberData in class Variable
- Throws:
InvalidRangeException
java.io.IOException