ucar.nc2.ncml
Class AggregationExisting

java.lang.Object
  extended by ucar.nc2.ncml.Aggregation
      extended by ucar.nc2.ncml.AggregationOuterDimension
          extended by ucar.nc2.ncml.AggregationExisting
All Implemented Interfaces:
ProxyReader

public class AggregationExisting
extends AggregationOuterDimension

JoinExisting Aggregation.

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.AggregationOuterDimension
aggVarNames, aggVars, cacheList, debugCache, debugInvocation, debugStride, invocation, timeUnitsChange
 
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
AggregationExisting(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 persistRead()
          read info from the persistent XML file, if it exists; overridden in AggregationExisting
 void persistWrite()
          Persist info (ncoords, coordValues) from joinExisting, since that can be expensive to recreate.
protected  void readTimeCoordinates(VariableDS timeAxis, CancelTask cancelTask)
           
protected  void rebuildDataset()
          Call this when rescan has found changed datasets
 
Methods inherited from class ucar.nc2.ncml.AggregationOuterDimension
addVariable, buildCoords, getDetailInfo, getTotalCoords, main, makeDataset, makeDataset, promoteGlobalAttributes, reallyRead, reallyRead
 
Methods inherited from class ucar.nc2.ncml.Aggregation
addCollection, addDataset, addDatasetScan, addExplicitDataset, close, closeDatasets, findVariable, finish, getDatasets, getDimensionName, getFileTypeDescription, getFileTypeId, getLocation, getType, getTypicalDataset, makeDatasets, 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

AggregationExisting

public AggregationExisting(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

Overrides:
rebuildDataset in class AggregationOuterDimension
Throws:
IOException - on read error

readTimeCoordinates

protected void readTimeCoordinates(VariableDS timeAxis,
                                   CancelTask cancelTask)
                            throws IOException
Throws:
IOException

persistWrite

public void persistWrite()
                  throws IOException
Persist info (ncoords, coordValues) from joinExisting, since that can be expensive to recreate.

Overrides:
persistWrite in class Aggregation
Throws:
IOException

persistRead

protected void persistRead()
Description copied from class: Aggregation
read info from the persistent XML file, if it exists; overridden in AggregationExisting

Overrides:
persistRead in class Aggregation


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