public class AggregationTiled extends Aggregation implements ProxyReader
Aggregation.Dataset, Aggregation.DatasetProxyReader, Aggregation.Type, Aggregation.TypicalDataset
cacheDirty, datasetManager, datasets, dateFormatMark, dateFormatter, debugConvert, debugDateParse, debugOpenFile, debugProxy, debugRead, debugSyncDetail, dimName, diskCache2, executor, explicitDatasets, isDate, logger, ncDataset, spiObject, type, typicalDatasetMode
Constructor and Description |
---|
AggregationTiled(NetcdfDataset ncd,
java.lang.String dimName,
java.lang.String recheckS) |
Modifier and Type | Method and Description |
---|---|
protected void |
buildNetcdfDataset(CancelTask cancelTask)
Call this to build the dataset objects in the NetcdfDataset
|
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)
Dataset factory, so subclasses can override
|
Array |
reallyRead(Variable mainv,
CancelTask cancelTask)
Read all the data for a Variable.
|
Array |
reallyRead(Variable mainv,
Section wantSection,
CancelTask cancelTask)
Read a section of the data for a Variable.
|
protected void |
rebuildDataset()
Call this when rescan has found changed datasets
|
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
public AggregationTiled(NetcdfDataset ncd, java.lang.String dimName, java.lang.String recheckS)
protected void buildNetcdfDataset(CancelTask cancelTask) throws java.io.IOException
Aggregation
buildNetcdfDataset
in class Aggregation
cancelTask
- maybe canceljava.io.IOException
- on read errorprotected void rebuildDataset() throws java.io.IOException
Aggregation
rebuildDataset
in class Aggregation
java.io.IOException
- on read errorpublic Array reallyRead(Variable mainv, CancelTask cancelTask) throws java.io.IOException
ProxyReader
reallyRead
in interface ProxyReader
mainv
- the client VariablecancelTask
- user may canceljava.io.IOException
- on errorpublic Array reallyRead(Variable mainv, Section wantSection, CancelTask cancelTask) throws java.io.IOException
ProxyReader
reallyRead
in interface ProxyReader
mainv
- the client VariablewantSection
- the section of data to read.cancelTask
- 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)
Aggregation
makeDataset
in class Aggregation
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