Package thredds.featurecollection
Class InvDatasetFcFmrc
- java.lang.Object
-
- thredds.featurecollection.InvDatasetFeatureCollection
-
- thredds.featurecollection.InvDatasetFcFmrc
-
- All Implemented Interfaces:
Closeable,AutoCloseable
@ThreadSafe public class InvDatasetFcFmrc extends InvDatasetFeatureCollection
InvDataset Feature Collection for Fmrc Generate anew each call; use object caching if needed to improve efficiency- Since:
- Mar 3, 2010
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class thredds.featurecollection.InvDatasetFeatureCollection
InvDatasetFeatureCollection.State
-
-
Field Summary
-
Fields inherited from class thredds.featurecollection.InvDatasetFeatureCollection
allowedServices, config, configPath, contextName, datasetCollection, downloadService, fcType, FILES, first, LATEST_DATASET_CATALOG, latestService, lock, name, orgService, parent, state, topDirectory, useNetcdfJavaBuilders, VARIABLES, virtualService
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()ucar.nc2.ft2.coverage.CoverageCollectiongetGridCoverage(String matchPath)ucar.nc2.dt.grid.GridDatasetgetGridDataset(String matchPath)Get the associated Grid Dataset, if any.thredds.client.catalog.builder.CatalogBuildermakeCatalog(String match, String orgPath, URI catURI)Get one of the catalogs contained in this collection, called by DataRootHandler.makeDynamicCatalog()protected thredds.client.catalog.builder.DatasetBuildermakeDatasetTop(URI catURI, InvDatasetFeatureCollection.State localState)protected voidupdate(thredds.inventory.CollectionUpdateType force)Collection was changed, update internal objects.protected voidupdateCollection(InvDatasetFeatureCollection.State localState, thredds.inventory.CollectionUpdateType force)voidupdateProto()-
Methods inherited from class thredds.featurecollection.InvDatasetFeatureCollection
_showStatus, buildCatalogServiceHref, checkState, factory, firstInit, getCatalogHref, getConfig, getConfigPath, getDatasetCollectionManager, getFile, getLatestFileName, getLogger, getName, getNetcdfDataset, getPath, getPointDataset, getSimpleGeometryDataset, getTopDirectoryLocation, makeCatalogFiles, makeCatalogTop, makeCollection, makeDefaultServices, makeFullName, makeLatest, makeMetadataLink, makeUriResolved, processEvent, setAllowedServices, setContextName, showStatus, showStatusShort
-
-
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInvDatasetFeatureCollection
-
update
protected void update(thredds.inventory.CollectionUpdateType force) throws IOExceptionDescription copied from class:InvDatasetFeatureCollectionCollection was changed, update internal objects. called by CollectionUpdater, trigger via handleCollectionEvent, so in a quartz scheduler thread- Overrides:
updatein classInvDatasetFeatureCollection- Parameters:
force- update type- Throws:
IOException
-
updateProto
public void updateProto()
-
updateCollection
protected void updateCollection(InvDatasetFeatureCollection.State localState, thredds.inventory.CollectionUpdateType force)
- Specified by:
updateCollectionin classInvDatasetFeatureCollection
-
makeCatalog
public thredds.client.catalog.builder.CatalogBuilder makeCatalog(String match, String orgPath, URI catURI) throws IOException
Description copied from class:InvDatasetFeatureCollectionGet one of the catalogs contained in this collection, called by DataRootHandler.makeDynamicCatalog()- Specified by:
makeCatalogin classInvDatasetFeatureCollection- Parameters:
match- match.remainingorgPath- the path for the request.catURI- the base URI for the catalog to be made, used to resolve relative URLs.- Returns:
- containing catalog
- Throws:
IOException
-
makeDatasetTop
protected thredds.client.catalog.builder.DatasetBuilder makeDatasetTop(URI catURI, InvDatasetFeatureCollection.State localState)
- Specified by:
makeDatasetTopin classInvDatasetFeatureCollection
-
getGridCoverage
public ucar.nc2.ft2.coverage.CoverageCollection getGridCoverage(String matchPath) throws IOException
- Overrides:
getGridCoveragein classInvDatasetFeatureCollection- Throws:
IOException
-
getGridDataset
public ucar.nc2.dt.grid.GridDataset getGridDataset(String matchPath) throws IOException
Description copied from class:InvDatasetFeatureCollectionGet the associated Grid Dataset, if any. called by DatasetHandler.openGridDataset()- Overrides:
getGridDatasetin classInvDatasetFeatureCollection- Parameters:
matchPath- match.remaining- Returns:
- Grid Dataset, or null if n/a
- Throws:
IOException- on error
-
-