ucar.nc2.ncml
Class AggregationFmrc

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

public class AggregationFmrc
extends AggregationOuterDimension

Implement NcML Forecast Model Run Collection Aggregation with files that are complete runs (have all forecast times in the same file)

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
protected static Set<NetcdfDataset.Enhance> fmrcEnhanceMode
           
 
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, debugConvert, debugDateParse, debugOpenFile, debugProxy, debugRead, debugSyncDetail, dimName, diskCache2, executor, explicitDatasets, isDate, logger, ncDataset, spiObject, type, typicalDatasetMode
 
Constructor Summary
AggregationFmrc(NetcdfDataset ncd, String dimName, String recheckS)
           
 
Method Summary
 void addDirectoryScanFmrc(String dirName, String suffix, String regexpPatternString, String subdirs, String olderThan, String runMatcher, String forecastMatcher, String offsetMatcher)
           
protected  void buildNetcdfDataset(CancelTask cancelTask)
          Call this to build the dataset objects in the NetcdfDataset
 void getDetailInfo(Formatter f)
           
static void main(String[] arg)
          testing
protected  void makeDatasets(CancelTask cancelTask)
          Make the list of Datasets, from explicit and scans.
protected  void rebuildDataset()
          Call this when rescan has found changed datasets
 
Methods inherited from class ucar.nc2.ncml.AggregationOuterDimension
addVariable, buildCoords, getTotalCoords, 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, 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
 

Field Detail

fmrcEnhanceMode

protected static Set<NetcdfDataset.Enhance> fmrcEnhanceMode
Constructor Detail

AggregationFmrc

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

addDirectoryScanFmrc

public void addDirectoryScanFmrc(String dirName,
                                 String suffix,
                                 String regexpPatternString,
                                 String subdirs,
                                 String olderThan,
                                 String runMatcher,
                                 String forecastMatcher,
                                 String offsetMatcher)
                          throws IOException
Throws:
IOException

makeDatasets

protected void makeDatasets(CancelTask cancelTask)
                     throws IOException
Description copied from class: Aggregation
Make the list of Datasets, from explicit and scans.

Overrides:
makeDatasets in class Aggregation
Parameters:
cancelTask - user can cancel
Throws:
IOException - on i/o error

getDetailInfo

public void getDetailInfo(Formatter f)
Overrides:
getDetailInfo in class AggregationOuterDimension

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

main

public static void main(String[] arg)
                 throws IOException
testing

Throws:
IOException


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