ucar.nc2.ncml
Class AggregationFmrcSingle
java.lang.Object
ucar.nc2.ncml.Aggregation
ucar.nc2.ncml.AggregationOuterDimension
ucar.nc2.ncml.AggregationFmrc
ucar.nc2.ncml.AggregationFmrcSingle
- All Implemented Interfaces:
- ProxyReader
public class AggregationFmrcSingle
- extends AggregationFmrc
Implement NcML Forecast Model Run Collection Aggregation
with files that contain a single forecast time.
- Author:
- caron
| Fields inherited from class ucar.nc2.ncml.Aggregation |
cacheDirty, datasetManager, datasets, dateFormatMark, debugDateParse, debugOpenFile, debugProxy, debugRead, debugSyncDetail, dimName, diskCache2, enhance, executor, explicitDatasets, formatter, isDate, logger, ncDataset, spiObject, type, typicalDatasetMode |
| Methods inherited from class ucar.nc2.ncml.Aggregation |
addDataset, addDatasetScan, addExplicitDataset, close, findVariable, finish, getDatasets, getLocation, getType, persistRead, persistWrite, setDatasetAcquireProxy, setExecutor, setPersistenceCache, setTypicalDatasetMode, sync, syncExtend |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AggregationFmrcSingle
public AggregationFmrcSingle(NetcdfDataset ncd,
java.lang.String dimName,
java.lang.String recheckS)
addDirectoryScanFmrc
public void addDirectoryScanFmrc(java.lang.String dirName,
java.lang.String suffix,
java.lang.String regexpPatternString,
java.lang.String subdirs,
java.lang.String olderThan,
java.lang.String runMatcher,
java.lang.String forecastMatcher,
java.lang.String offsetMatcher)
throws java.io.IOException
- Throws:
java.io.IOException
closeDatasets
protected void closeDatasets()
throws java.io.IOException
- Overrides:
closeDatasets in class Aggregation
- Throws:
java.io.IOException
buildDataset
protected void buildDataset(CancelTask cancelTask)
throws java.io.IOException
- Description copied from class:
Aggregation
- Call this to build the dataset objects
- Overrides:
buildDataset in class AggregationFmrc
- Parameters:
cancelTask - maybe cancel
- Throws:
java.io.IOException - on read error
makeDatasets
protected void makeDatasets(CancelTask cancelTask)
throws java.io.IOException
- Description copied from class:
Aggregation
- Make the Dataset objects.
- Overrides:
makeDatasets in class Aggregation
- Parameters:
cancelTask - user can cancel
- Throws:
java.io.IOException - on i/o error
getTypicalDataset
protected ucar.nc2.ncml.Aggregation.Dataset getTypicalDataset()
throws java.io.IOException
- Description copied from class:
Aggregation
- Open one of the nested datasets as a template for the aggregation dataset.
- Overrides:
getTypicalDataset in class Aggregation
- Returns:
- a typical Dataset
- Throws:
java.io.FileNotFoundException - if there are no datasets
java.io.IOException
makeTimeCoordinate
protected void makeTimeCoordinate(GridDataset gds,
CancelTask cancelTask)
throws java.io.IOException
- Overrides:
makeTimeCoordinate in class AggregationFmrc
- Throws:
java.io.IOException
readTimeCoordinates
protected void readTimeCoordinates(VariableDS timeAxis,
CancelTask cancelTask)
throws java.io.IOException
- Overrides:
readTimeCoordinates in class AggregationFmrc
- Throws:
java.io.IOException