|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.nc2.ncml.Aggregation
ucar.nc2.ncml.AggregationOuterDimension
ucar.nc2.ncml.AggregationFmrc
public class AggregationFmrc
Implement NcML Forecast Model Run Collection Aggregation with files that are complete runs (have all forecast times in the same file)
| 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 java.util.Set<NetcdfDataset.Enhance> |
fmrcEnhanceMode
|
| Fields inherited from class ucar.nc2.ncml.AggregationOuterDimension |
|---|
aggVarNames, aggVars, cacheList, debugCache, debugInvocation, invocation, timeUnitsChange |
| Fields inherited from class ucar.nc2.ncml.Aggregation |
|---|
cacheDirty, datasetManager, datasets, dateFormatMark, dateFormatter, debugDateParse, debugOpenFile, debugProxy, debugRead, debugSyncDetail, dimName, diskCache2, executor, explicitDatasets, isDate, logger, ncDataset, spiObject, type, typicalDatasetMode |
| Constructor Summary | |
|---|---|
protected |
AggregationFmrc(NetcdfDataset ncd,
java.lang.String dimName,
Aggregation.Type type,
java.lang.String recheckS)
|
|
AggregationFmrc(NetcdfDataset ncd,
java.lang.String dimName,
java.lang.String recheckS)
|
| Method Summary | |
|---|---|
protected void |
buildNetcdfDataset(Aggregation.Dataset typicalDataset,
NetcdfFile typicalFile,
GridDataset typicalGds,
CancelTask cancelTask)
Build the resulting dataset. |
protected void |
buildNetcdfDataset(CancelTask cancelTask)
Call this to build the dataset objects in the NetcdfDataset |
void |
detail(java.util.Formatter f)
|
void |
getDetailInfo(java.util.Formatter f)
|
static void |
main(java.lang.String[] arg)
testing |
protected void |
makeDatasets(CancelTask cancelTask)
Make the list of Datasets, from explicit and scans. |
protected void |
makeTimeCoordinate(GridDataset gds,
CancelTask cancelTask)
|
protected void |
makeTimeCoordinateWithDefinition(GridDataset gds,
CancelTask cancelTask)
|
Array |
read(Variable mainv,
CancelTask cancelTask)
Read an aggregation variable: A variable whose data spans multiple files. |
Array |
read(Variable mainv,
Section section,
CancelTask cancelTask)
Read a section of an aggregation variable. |
protected void |
readTimeCoordinates(VariableDS timeAxis,
CancelTask cancelTask)
|
protected void |
rebuildDataset()
Call this when rescan has found changed datasets |
static void |
setDefinitionDirectory(java.io.File defDir)
|
void |
setInventoryDefinition(java.lang.String invDef)
|
| Methods inherited from class ucar.nc2.ncml.AggregationOuterDimension |
|---|
addVariable, buildCoords, getTotalCoords, makeDataset, makeDataset, promoteGlobalAttributes |
| Methods inherited from class ucar.nc2.ncml.Aggregation |
|---|
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 |
|---|
protected static java.util.Set<NetcdfDataset.Enhance> fmrcEnhanceMode
| Constructor Detail |
|---|
public AggregationFmrc(NetcdfDataset ncd,
java.lang.String dimName,
java.lang.String recheckS)
protected AggregationFmrc(NetcdfDataset ncd,
java.lang.String dimName,
Aggregation.Type type,
java.lang.String recheckS)
| Method Detail |
|---|
public static void setDefinitionDirectory(java.io.File defDir)
public void setInventoryDefinition(java.lang.String invDef)
protected void makeDatasets(CancelTask cancelTask)
throws java.io.IOException
Aggregation
makeDatasets in class AggregationcancelTask - user can cancel
java.io.IOException - on i/o errorpublic void getDetailInfo(java.util.Formatter f)
getDetailInfo in class AggregationOuterDimension
protected void buildNetcdfDataset(CancelTask cancelTask)
throws java.io.IOException
Aggregation
buildNetcdfDataset in class AggregationcancelTask - maybe cancel
java.io.IOException - on read error
protected void buildNetcdfDataset(Aggregation.Dataset typicalDataset,
NetcdfFile typicalFile,
GridDataset typicalGds,
CancelTask cancelTask)
throws java.io.IOException
typicalDataset - prototype NetcdfDatasettypicalFile - here just so it can be closed properly. may be null if it doesnt need closingtypicalGds - prototype GridDataset - built from typicalDatasetcancelTask - may be null
java.io.IOException - on read error
protected void rebuildDataset()
throws java.io.IOException
Aggregation
rebuildDataset in class AggregationOuterDimensionjava.io.IOException - on read error
protected void makeTimeCoordinateWithDefinition(GridDataset gds,
CancelTask cancelTask)
throws java.io.IOException
java.io.IOException
protected void makeTimeCoordinate(GridDataset gds,
CancelTask cancelTask)
throws java.io.IOException
java.io.IOException
public Array read(Variable mainv,
CancelTask cancelTask)
throws java.io.IOException
AggregationOuterDimension
read in interface ProxyReaderread in class AggregationOuterDimensionmainv - the aggregation variablecancelTask - allow the user to cancel
java.io.IOException - on error
public Array read(Variable mainv,
Section section,
CancelTask cancelTask)
throws java.io.IOException,
InvalidRangeException
read in interface ProxyReaderread in class AggregationOuterDimensionmainv - the aggregation variablecancelTask - allow the user to cancelsection - read just this section of the data, array of Range
java.io.IOException
InvalidRangeException - if section has incorrect rank or shape.
protected void readTimeCoordinates(VariableDS timeAxis,
CancelTask cancelTask)
throws java.io.IOException
java.io.IOExceptionpublic void detail(java.util.Formatter f)
detail in class AggregationOuterDimension
public static void main(java.lang.String[] arg)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||