Package ucar.nc2.dataset
Class StructurePseudo2Dim
- java.lang.Object
-
- ucar.nc2.CDMNode
-
- ucar.nc2.Variable
-
- ucar.nc2.Structure
-
- ucar.nc2.dataset.StructureDS
-
- ucar.nc2.dataset.StructurePseudoDS
-
- ucar.nc2.dataset.StructurePseudo2Dim
-
- All Implemented Interfaces:
Comparable<VariableSimpleIF>
,Iterable<Attribute>
,AttributeContainer
,ucar.nc2.dataset.Enhancements
,VariableEnhanced
,ProxyReader
,VariableSimpleIF
public class StructurePseudo2Dim extends StructurePseudoDS
Make a collection of variables with the same 2 outer dimensions into a fake 2D Structure(outer,inner)- Since:
- Oct 21, 2009
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StructurePseudo2Dim.Builder<T extends StructurePseudo2Dim.Builder<T>>
-
Field Summary
-
Fields inherited from class ucar.nc2.Variable
defaultCoordsSizeToCache, defaultSizeToCache, permitCaching
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StructurePseudo2Dim.Builder<?>
builder()
Structure
select(List<String> memberNames)
Create a subset of the Structure consisting only of the given member variablesStructurePseudo2Dim.Builder<?>
toBuilder()
Turn into a mutable Builder.-
Methods inherited from class ucar.nc2.dataset.StructurePseudoDS
reallyRead, reallyRead
-
Methods inherited from class ucar.nc2.dataset.StructureDS
getCoordinateSystems, getDescription, getOriginalDataType, getOriginalName, getOriginalVariable, getUnitsString
-
Methods inherited from class ucar.nc2.Structure
findVariable, getElementSize, getNameAndAttributes, getNumberOfMemberVariables, getStructureIterator, getStructureIterator, getVariableNames, getVariables, isCaching, isSubset, makeStructureMembers, readStructure, readStructure, select, setCaching
-
Methods inherited from class ucar.nc2.Variable
attributes, compareTo, createNewCache, equals, findAttribute, findAttributeString, findDimensionIndex, getDatasetLocation, getDataType, getDimension, getDimensions, getDimensionsString, getEnumTypedef, getFileTypeId, getFullName, getNameAndDimensions, getNameAndDimensions, getNameAndDimensions, getNetcdfFile, getParentGroup, getParentStructure, getRanges, getRank, getShape, getShape, getShapeAsSection, getSize, getSizeToCache, getSPobject, hasCachedData, hashCode, isCoordinateVariable, isMemberOfStructure, isMetadata, isScalar, isUnlimited, isVariableLength, lookupEnumString, read, read, read, read, read, readScalarByte, readScalarDouble, readScalarFloat, readScalarInt, readScalarLong, readScalarShort, readScalarString, readToStream, reduce, section, section, slice, toString, toStringDebug
-
Methods inherited from interface ucar.nc2.AttributeContainer
findAttributeDouble, findAttributeIgnoreCase, findAttributeInteger, getName, hasAttribute, hasAttributeIgnoreCase, isEmpty, iterator
-
Methods inherited from interface ucar.nc2.dataset.Enhancements
addCoordinateSystem, removeCoordinateSystem
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface ucar.nc2.dataset.VariableEnhanced
getFullName, getShortName
-
Methods inherited from interface ucar.nc2.VariableSimpleIF
getShortName
-
-
-
-
Method Detail
-
select
public Structure select(List<String> memberNames)
Description copied from class:Structure
Create a subset of the Structure consisting only of the given member variables- Overrides:
select
in classStructurePseudoDS
- Parameters:
memberNames
- list of Variable names, already a member- Returns:
- Structure containing just those members
-
toBuilder
public StructurePseudo2Dim.Builder<?> toBuilder()
Description copied from class:Structure
Turn into a mutable Builder. Can use toBuilder().build() to copy.- Overrides:
toBuilder
in classStructurePseudoDS
-
builder
public static StructurePseudo2Dim.Builder<?> builder()
-
-