@Deprecated public abstract class AggregationOuterDimension extends Aggregation implements ProxyReader
Aggregation.Dataset, Aggregation.DatasetProxyReader, Aggregation.Type, Aggregation.TypicalDataset| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.String> |
aggVarNames
Deprecated.
|
protected java.util.List<VariableDS> |
aggVars
Deprecated.
|
protected java.util.List<ucar.nc2.ncml.AggregationOuterDimension.CacheVar> |
cacheList
Deprecated.
|
protected static boolean |
debugCache
Deprecated.
|
protected static boolean |
debugInvocation
Deprecated.
|
protected static boolean |
debugStride
Deprecated.
|
static int |
invocation
Deprecated.
|
protected boolean |
timeUnitsChange
Deprecated.
|
cacheDirty, datasetManager, datasets, dateFormatMark, dateFormatter, debug, debugConvert, debugDateParse, debugOpenFile, debugProxy, debugRead, debugSyncDetail, dimName, diskCache2, executor, explicitDatasets, isDate, logger, ncDataset, numericTimeSettings, spiObject, type, typicalDatasetMode| Modifier | Constructor and Description |
|---|---|
protected |
AggregationOuterDimension(NetcdfDataset ncd,
java.lang.String dimName,
Aggregation.Type type,
java.lang.String recheckS)
Deprecated.
Create an Aggregation for the given NetcdfDataset.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addVariable(java.lang.String varName)
Deprecated.
Add a name for a variableAgg element
|
protected void |
buildCoords(CancelTask cancelTask)
Deprecated.
|
void |
getDetailInfo(java.util.Formatter f)
Deprecated.
|
protected int |
getTotalCoords()
Deprecated.
|
protected Aggregation.Dataset |
makeDataset(MFile dset)
Deprecated.
|
protected Aggregation.Dataset |
makeDataset(java.lang.String cacheName,
java.lang.String location,
java.lang.String id,
java.lang.String ncoordS,
java.lang.String coordValueS,
java.lang.String sectionSpec,
java.util.EnumSet<NetcdfDataset.Enhance> enhance,
FileFactory reader)
Deprecated.
Dataset factory, so subclasses can override
|
protected void |
promoteGlobalAttributes(ucar.nc2.ncml.AggregationOuterDimension.DatasetOuterDimension typicalDataset)
Deprecated.
|
protected void |
readTimeCoordinates(Variable timeAxis,
CancelTask cancelTask)
Deprecated.
|
Array |
reallyRead(Variable mainv,
CancelTask cancelTask)
Deprecated.
Read an aggregation variable: A variable whose data spans multiple files.
|
Array |
reallyRead(Variable mainv,
Section section,
CancelTask cancelTask)
Deprecated.
Read a section of an aggregation variable.
|
protected void |
rebuildDataset()
Deprecated.
Call this when rescan has found changed datasets
|
addCollection, addDataset, addDatasetScan, addDatasetScan, addExplicitDataset, buildNetcdfDataset, close, findVariable, finish, getDatasets, getDimensionName, getFileTypeDescription, getFileTypeId, getLastModified, getLocation, getType, getTypicalDataset, instanceOfDatasetProxyReader, makeDatasets, persistRead, persistWrite, setDatasetAcquireProxy, setDatasetAcquireProxy, setExecutor, setModifications, setPersistenceCache, setTypicalDatasetMode, syncExtendprotected static boolean debugCache
protected static boolean debugInvocation
protected static boolean debugStride
public static int invocation
protected java.util.List<java.lang.String> aggVarNames
protected java.util.List<VariableDS> aggVars
protected java.util.List<ucar.nc2.ncml.AggregationOuterDimension.CacheVar> cacheList
protected boolean timeUnitsChange
protected AggregationOuterDimension(NetcdfDataset ncd, java.lang.String dimName, Aggregation.Type type, java.lang.String recheckS)
ncd - Aggregation belongs to this NetcdfDatasetdimName - the aggregation dimension nametype - the Aggregation.TyperecheckS - how often to check if files have changespublic void addVariable(java.lang.String varName)
varName - name of agg variableprotected void buildCoords(CancelTask cancelTask) throws java.io.IOException
java.io.IOExceptionprotected void readTimeCoordinates(Variable timeAxis, CancelTask cancelTask) throws java.io.IOException
java.io.IOExceptionprotected int getTotalCoords()
protected void promoteGlobalAttributes(ucar.nc2.ncml.AggregationOuterDimension.DatasetOuterDimension typicalDataset)
throws java.io.IOException
java.io.IOExceptionprotected void rebuildDataset()
throws java.io.IOException
AggregationrebuildDataset in class Aggregationjava.io.IOException - on read errorpublic Array reallyRead(Variable mainv, Section section, CancelTask cancelTask) throws java.io.IOException, InvalidRangeException
reallyRead in interface ProxyReadersection - read just this section of the data, array of Rangemainv - the client VariablecancelTask - user may canceljava.io.IOException - on errorInvalidRangeException - if section has incorrect rank or illegal shape.public Array reallyRead(Variable mainv, CancelTask cancelTask) throws java.io.IOException
reallyRead in interface ProxyReadermainv - the aggregation variablecancelTask - user may canceljava.io.IOException - on errorprotected Aggregation.Dataset makeDataset(java.lang.String cacheName, java.lang.String location, java.lang.String id, java.lang.String ncoordS, java.lang.String coordValueS, java.lang.String sectionSpec, java.util.EnumSet<NetcdfDataset.Enhance> enhance, FileFactory reader)
AggregationmakeDataset in class AggregationcacheName - a unique name to use for cachinglocation - attribute "location" on the netcdf elementid - attribute "id" on the netcdf elementncoordS - attribute "ncoords" on the netcdf elementcoordValueS - attribute "coordValue" on the netcdf elementsectionSpec - attribute "sectionSpec" on the netcdf elementenhance - open dataset in enhance mode NOT USEDreader - factory for reading this netcdf datasetprotected Aggregation.Dataset makeDataset(MFile dset)
makeDataset in class Aggregationpublic void getDetailInfo(java.util.Formatter f)
getDetailInfo in interface AggregationIFgetDetailInfo in class Aggregation