@Immutable 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);
| Modifier and Type | Class and Description |
|---|---|
static class |
StructurePseudoDS.Builder<T extends StructurePseudoDS.Builder<T>> |
Variable.Cache| Modifier and Type | Field and Description |
|---|---|
protected List<Variable> |
orgVariables |
orgName, orgVar, proxyattributes, cache, dataType, dimensions, elementSize, hashCode, isVariableLength, ncfile, permitCaching, proxyReader, shape, spiObject| Modifier | Constructor and Description |
|---|---|
protected |
StructurePseudoDS(StructurePseudoDS.Builder<?> builder,
Group parentGroup) |
| Modifier and Type | Method and Description |
|---|---|
protected StructurePseudoDS.Builder<?> |
addLocalFieldsToBuilder(StructurePseudoDS.Builder<? extends StructurePseudoDS.Builder<?>> b) |
static StructurePseudoDS.Builder<?> |
builder() |
static StructurePseudoDS |
fromVars(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.
|
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.
|
StructurePseudoDS.Builder<?> |
toBuilder()
Turn into a mutable Builder.
|
addLocalFieldsToBuilder, getCoordinateSystems, getDescription, getOriginalArrayType, getOriginalDataType, getOriginalName, getOriginalVariable, getUnitsString, proxyReadArray, proxyReadArrayaddLocalFieldsToBuilder, findVariable, getElementSize, getNameAndAttributes, getNumberOfMemberVariables, getStructureIterator, getStructureIterator, getVariableNames, getVariables, isSubset, makeStructureMembers, makeStructureMembersBuilder, readStructure, readStructure, select, select, writeCDL_read, _read, _readScalarData, addLocalFieldsToBuilder, attributes, compareTo, equals, extraInfo, findAttribute, findAttributeString, findDimensionIndex, getArrayType, getDatasetLocation, getDataType, getDimension, getDimensions, getDimensionSet, getDimensionsString, getEnumTypedef, getFileTypeId, getFullName, getNameAndDimensions, getNameAndDimensions, getNetcdfFile, getParentGroup, getParentStructure, getRanges, getRank, getSection, getShape, getShape, getShapeAsSection, getShortName, getSize, getSizeToCache, getSPobject, hasCachedData, hashCode, invalidateCache, isCaching, isCoordinateVariable, isMemberOfStructure, isMetadata, isScalar, isUnlimited, isVariableLength, lookupEnumString, read, read, read, read, read, readArray, readArray, readScalarByte, readScalarDouble, readScalarFloat, readScalarInt, readScalarLong, readScalarShort, readScalarString, readToStream, reduce, resetShape, section, section, setCachedData, setCaching, slice, toString, toStringDebugclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindVariable, getVariablesgetFullName, getParentGroup, getShortNameprotected StructurePseudoDS(StructurePseudoDS.Builder<?> builder, Group parentGroup)
public static StructurePseudoDS fromVars(Group group, String shortName, List<String> varNames, Dimension outerDim)
group - 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 dimensionpublic Array reallyRead(Variable mainv, CancelTask cancelTask) throws IOException
VariablereallyRead in interface ProxyReaderreallyRead in class StructureDSmainv - the client VariablecancelTask - user may cancelIOExceptionpublic 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 cancelInvalidRangeException - if section has incorrect rank or illegal shape.IOExceptionpublic StructurePseudoDS.Builder<?> toBuilder()
StructuretoBuilder in class StructureDSprotected StructurePseudoDS.Builder<?> addLocalFieldsToBuilder(StructurePseudoDS.Builder<? extends StructurePseudoDS.Builder<?>> b)
public static StructurePseudoDS.Builder<?> builder()