ucar.nc2.ncml
Class AggregationUnion

java.lang.Object
  extended by ucar.nc2.ncml.Aggregation
      extended by ucar.nc2.ncml.AggregationUnion

public class AggregationUnion
extends Aggregation

Aggregation on datasets to be simply combined - aka "union". The variables are transferred from the component files to the ncml dataset

Author:
caron

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, debug, debugConvert, debugDateParse, debugOpenFile, debugProxy, debugRead, debugSyncDetail, dimName, diskCache2, executor, explicitDatasets, isDate, logger, ncDataset, spiObject, type, typicalDatasetMode
 
Constructor Summary
AggregationUnion(NetcdfDataset ncd, String dimName, String recheckS)
           
 
Method Summary
protected  void buildNetcdfDataset(CancelTask cancelTask)
          Call this to build the dataset objects in the NetcdfDataset
protected  void closeDatasets()
           
protected  void rebuildDataset()
          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, getLocation, getType, getTypicalDataset, makeDataset, makeDataset, makeDatasets, persistRead, persistWrite, setDatasetAcquireProxy, setExecutor, setModifications, setPersistenceCache, setTypicalDatasetMode, sync, syncExtend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregationUnion

public AggregationUnion(NetcdfDataset ncd,
                        String dimName,
                        String recheckS)
Method Detail

buildNetcdfDataset

protected void buildNetcdfDataset(CancelTask cancelTask)
                           throws IOException
Description copied from class: Aggregation
Call this to build the dataset objects in the NetcdfDataset

Specified by:
buildNetcdfDataset in class Aggregation
Parameters:
cancelTask - maybe cancel
Throws:
IOException - on read error

rebuildDataset

protected void rebuildDataset()
                       throws IOException
Description copied from class: Aggregation
Call this when rescan has found changed datasets

Specified by:
rebuildDataset in class Aggregation
Throws:
IOException - on read error

closeDatasets

protected void closeDatasets()
                      throws IOException
Overrides:
closeDatasets in class Aggregation
Throws:
IOException


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.