@ThreadSafe public class InvDatasetFcGrib extends InvDatasetFeatureCollection
catalogs see makeCatalog() path/catalog.xml // top catalog path/partitionName/catalog.xml path/partitionName/../partitionName/catalog.xml path/latest.xml // latest (resolver)
datasets see findDataset() path/dataset (dataset = BEST, TWOD, TP, "") // top collection, single group path/dataset/groupName // top collection, multiple group path/partitionName/dataset // partition, single group path/partitionName/../partitionName/dataset path/partitionName/dataset/groupName // partition, multiple group path/partitionName/../partitionName/dataset/groupName
files path/partitionName/../partitionName/FILES/filename
| Modifier and Type | Class and Description |
|---|---|
protected class |
InvDatasetFcGrib.StateGrib |
InvDatasetFeatureCollection.StateallowedServices, config, configPath, contextName, datasetCollection, downloadService, fcType, FILES, first, LATEST_DATASET_CATALOG, latestService, lock, name, orgService, parent, state, topDirectory, VARIABLES, virtualService| Constructor and Description |
|---|
InvDatasetFcGrib(thredds.server.catalog.FeatureCollectionRef parent,
thredds.featurecollection.FeatureCollectionConfig config) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_showStatus(Formatter f,
boolean summaryOnly,
String type) |
protected void |
addFileDatasets(thredds.client.catalog.builder.DatasetBuilder parent,
String parentPath,
ucar.nc2.grib.collection.GribCollectionImmutable fromGc) |
void |
close() |
protected String |
getDatasetNameBest(String dsName) |
protected String |
getDatasetNameLatest(String dsName) |
protected String |
getDatasetNameTP(String dsName) |
protected String |
getDatasetNameTwoD(String dsName) |
File |
getFile(String remaining) |
ucar.nc2.ft2.coverage.CoverageCollection |
getGridCoverage(String matchPath) |
ucar.nc2.dt.grid.GridDataset |
getGridDataset(String matchPath)
Get the associated Grid Dataset, if any.
|
ucar.nc2.dataset.NetcdfDataset |
getNetcdfDataset(String matchPath)
Get the dataset named by the path.
|
ucar.nc2.grib.collection.GribCollectionImmutable.Dataset |
getSingleDatasetOrByTypeName(ucar.nc2.grib.collection.GribCollectionImmutable gc,
String typeName) |
thredds.client.catalog.builder.CatalogBuilder |
makeCatalog(String match,
String reqPath,
URI catURI)
Get one of the catalogs contained in this collection,
called by DataRootHandler.makeDynamicCatalog()
|
protected thredds.client.catalog.builder.DatasetBuilder |
makeDatasetTop(URI catURI,
InvDatasetFeatureCollection.State state) |
thredds.client.catalog.builder.CatalogBuilder |
makeLatest(String matchPath,
String reqPath,
URI catURI) |
protected void |
updateCollection(InvDatasetFeatureCollection.State state,
thredds.inventory.CollectionUpdateType force) |
buildCatalogServiceHref, checkState, factory, firstInit, getCatalogHref, getConfig, getConfigPath, getDatasetCollectionManager, getLatestFileName, getLogger, getName, getPath, getPointDataset, getSimpleGeometryDataset, getTopDirectoryLocation, makeCatalogFiles, makeCatalogTop, makeCollection, makeDefaultServices, makeFullName, makeMetadataLink, makeUriResolved, processEvent, setAllowedServices, setContextName, showStatus, showStatusShort, updatepublic InvDatasetFcGrib(thredds.server.catalog.FeatureCollectionRef parent,
thredds.featurecollection.FeatureCollectionConfig config)
public void close()
close in interface Closeableclose in interface AutoCloseableclose in class InvDatasetFeatureCollectionprotected void _showStatus(Formatter f, boolean summaryOnly, String type) throws IOException
_showStatus in class InvDatasetFeatureCollectionIOExceptionprotected void updateCollection(InvDatasetFeatureCollection.State state, thredds.inventory.CollectionUpdateType force)
updateCollection in class InvDatasetFeatureCollectionprotected void addFileDatasets(thredds.client.catalog.builder.DatasetBuilder parent,
String parentPath,
ucar.nc2.grib.collection.GribCollectionImmutable fromGc)
throws IOException
IOExceptionpublic thredds.client.catalog.builder.CatalogBuilder makeCatalog(String match, String reqPath, URI catURI) throws IOException
InvDatasetFeatureCollectionmakeCatalog in class InvDatasetFeatureCollectionmatch - match.remainingreqPath - the path for the request.catURI - the base URI for the catalog to be made, used to resolve relative URLs.IOExceptionprotected thredds.client.catalog.builder.DatasetBuilder makeDatasetTop(URI catURI, InvDatasetFeatureCollection.State state) throws IOException
makeDatasetTop in class InvDatasetFeatureCollectionIOExceptionpublic thredds.client.catalog.builder.CatalogBuilder makeLatest(String matchPath, String reqPath, URI catURI) throws IOException
makeLatest in class InvDatasetFeatureCollectionIOExceptionpublic File getFile(String remaining)
getFile in class InvDatasetFeatureCollectionpublic ucar.nc2.ft2.coverage.CoverageCollection getGridCoverage(String matchPath) throws IOException
getGridCoverage in class InvDatasetFeatureCollectionIOExceptionpublic ucar.nc2.dt.grid.GridDataset getGridDataset(String matchPath) throws IOException
InvDatasetFeatureCollectiongetGridDataset in class InvDatasetFeatureCollectionmatchPath - match.remainingIOException - on errorpublic ucar.nc2.dataset.NetcdfDataset getNetcdfDataset(String matchPath) throws IOException
InvDatasetFeatureCollectiongetNetcdfDataset in class InvDatasetFeatureCollectionmatchPath - remaining path from matchIOException - if read errorpublic ucar.nc2.grib.collection.GribCollectionImmutable.Dataset getSingleDatasetOrByTypeName(ucar.nc2.grib.collection.GribCollectionImmutable gc,
String typeName)