Package ucar.nc2.ncml
Class AggregationTiled
- java.lang.Object
-
- ucar.nc2.ncml.Aggregation
-
- ucar.nc2.ncml.AggregationTiled
-
- All Implemented Interfaces:
AggregationIF
,ProxyReader
@Deprecated public class AggregationTiled extends Aggregation implements ProxyReader
Deprecated.do not useTiled Aggregation.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ucar.nc2.ncml.Aggregation
Aggregation.Dataset, Aggregation.DatasetProxyReader, Aggregation.Type, Aggregation.TypicalDataset
-
-
Field Summary
-
Fields inherited from class ucar.nc2.ncml.Aggregation
cacheDirty, datasetManager, datasets, dateFormatMark, dateFormatter, debugConvert, debugDateParse, debugOpenFile, debugProxy, debugRead, debugSyncDetail, dimName, diskCache2, executor, explicitDatasets, isDate, logger, ncDataset, spiObject, type, typicalDatasetMode
-
-
Constructor Summary
Constructors Constructor Description AggregationTiled(NetcdfDataset ncd, String dimName, String recheckS)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
buildNetcdfDataset(CancelTask cancelTask)
Deprecated.Call this to build the dataset objects in the NetcdfDatasetprotected Aggregation.Dataset
makeDataset(String cacheName, String location, String id, String ncoordS, String coordValueS, String sectionSpec, EnumSet<NetcdfDataset.Enhance> enhance, FileFactory reader)
Deprecated.Dataset factory, so subclasses can overrideArray
reallyRead(Variable mainv, Section wantSection, CancelTask cancelTask)
Deprecated.Read a section of the data for a Variable.Array
reallyRead(Variable mainv, CancelTask cancelTask)
Deprecated.Read all the data for a Variable.protected void
rebuildDataset()
Deprecated.Call this when rescan has found changed datasets-
Methods inherited from class ucar.nc2.ncml.Aggregation
addCollection, addDataset, addDatasetScan, addExplicitDataset, close, findVariable, finish, getDatasets, getDetailInfo, getDimensionName, getFileTypeDescription, getFileTypeId, getLastModified, getLocation, getType, getTypicalDataset, makeDataset, makeDatasets, persistRead, persistWrite, setDatasetAcquireProxy, setDatasetAcquireProxy, setExecutor, setModifications, setPersistenceCache, setTypicalDatasetMode, syncExtend
-
-
-
-
Constructor Detail
-
AggregationTiled
public AggregationTiled(NetcdfDataset ncd, String dimName, String recheckS)
Deprecated.
-
-
Method Detail
-
buildNetcdfDataset
protected void buildNetcdfDataset(CancelTask cancelTask) throws IOException
Deprecated.Description copied from class:Aggregation
Call this to build the dataset objects in the NetcdfDataset- Specified by:
buildNetcdfDataset
in classAggregation
- Parameters:
cancelTask
- maybe cancel- Throws:
IOException
- on read error
-
rebuildDataset
protected void rebuildDataset() throws IOException
Deprecated.Description copied from class:Aggregation
Call this when rescan has found changed datasets- Specified by:
rebuildDataset
in classAggregation
- Throws:
IOException
- on read error
-
reallyRead
public Array reallyRead(Variable mainv, CancelTask cancelTask) throws IOException
Deprecated.Description copied from interface:ProxyReader
Read all the data for a Variable.- Specified by:
reallyRead
in interfaceProxyReader
- Parameters:
mainv
- the client VariablecancelTask
- user may cancel- Returns:
- memory resident Array containing the data. Will have same shape as the Variable.
- Throws:
IOException
- on error
-
reallyRead
public Array reallyRead(Variable mainv, Section wantSection, CancelTask cancelTask) throws IOException
Deprecated.Description copied from interface:ProxyReader
Read a section of the data for a Variable.- Specified by:
reallyRead
in interfaceProxyReader
- Parameters:
mainv
- the client VariablewantSection
- the section of data to read.cancelTask
- user may cancel- Returns:
- memory resident Array containing the data. Will have same shape as the Section.
- Throws:
IOException
- on error
-
makeDataset
protected Aggregation.Dataset makeDataset(String cacheName, String location, String id, String ncoordS, String coordValueS, String sectionSpec, EnumSet<NetcdfDataset.Enhance> enhance, FileFactory reader)
Deprecated.Description copied from class:Aggregation
Dataset factory, so subclasses can override- Overrides:
makeDataset
in classAggregation
- Parameters:
cacheName
- 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 dataset- Returns:
- a Aggregation.Dataset
-
-