|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.nc2.Variable
ucar.nc2.Structure
ucar.nc2.dataset.StructureDS
ucar.nc2.dataset.StructurePseudoDS
ucar.nc2.dataset.StructurePseudo2Dim
public class StructurePseudo2Dim
Make a collection of variables with the same 2 outer dimensions into a fake 2D Structure(outer,inner)
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ucar.nc2.Variable |
---|
Variable.Cache |
Field Summary |
---|
Fields inherited from class ucar.nc2.dataset.StructurePseudoDS |
---|
enhanceScaleMissing |
Fields inherited from class ucar.nc2.dataset.StructureDS |
---|
orgVar |
Fields inherited from class ucar.nc2.Structure |
---|
defaultBufferSize, isSubset, memberHash, members |
Fields inherited from class ucar.nc2.Variable |
---|
attributes, cache, dataType, debugCaching, defaultCoordsSizeToCache, defaultSizeToCache, dimensions, elementSize, group, hashCode, isMetadata, isVariableLength, ncfile, parent, proxyReader, shape, shapeAsSection, shortName, sizeToCache, spiObject |
Constructor Summary | |
---|---|
StructurePseudo2Dim(NetcdfDataset ncfile,
Group group,
String shortName,
List<String> varNames,
Dimension outer,
Dimension inner)
Make a Structure out of named Variables which have var(outer, inner, ...) |
Method Summary | |
---|---|
protected Array |
_read(Section section)
|
Structure |
select(List<String> memberNames)
Create a subset of the Structure consisting only of the given member variables |
Methods inherited from class ucar.nc2.dataset.StructurePseudoDS |
---|
copy, reallyRead, reallyRead, removeMemberVariable |
Methods inherited from class ucar.nc2.dataset.StructureDS |
---|
addCoordinateSystem, clearCoordinateSystems, convert, convert, enhance, getCoordinateSystems, getDescription, getOriginalDataType, getOriginalName, getOriginalVariable, getUnitsString, removeCoordinateSystem, setName, setOriginalVariable, setUnitsString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface ucar.nc2.VariableSimpleIF |
---|
getName |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Constructor Detail |
---|
public StructurePseudo2Dim(NetcdfDataset ncfile, Group group, String shortName, List<String> varNames, Dimension outer, Dimension inner)
ncfile
- the contaning filegroup
- the containing group, if null use root groupshortName
- short name of this StructurevarNames
- limited to these variables. all must var(outer, inner, ...). If null, then find all such variables.outer
- the outer dimension, may not be nullinner
- the inner dimension, may not be nullMethod Detail |
---|
public Structure select(List<String> memberNames)
Structure
select
in class StructurePseudoDS
memberNames
- list of Variable names, already a member
protected Array _read(Section section) throws IOException, InvalidRangeException
_read
in class Variable
IOException
InvalidRangeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |