@ThreadSafe public class InvDatasetFcGrib extends InvDatasetFeatureCollection
| Modifier and Type | Class and Description |
|---|---|
protected class |
InvDatasetFcGrib.StateGrib |
InvDatasetFeatureCollection.StatecdmrService, config, configPath, context, datasetCollection, Default_Services, Download_Services, fcType, FILES, first, LATEST_DATASET_CATALOG, LATEST_SERVICE, lock, logger, orgService, state, topDirectory, VARIABLES, Virtual_Services, virtualServiceaccess, authorityName, catalog, collectionType, contributors, creators, dataFormatType, datasets, dataType, dates, defaultService, docs, gc, harvest, id, keywords, metadata, name, parent, projects, properties, publishers, restrictAccess, services, tc, variableMapLink, variables| Constructor and Description |
|---|
InvDatasetFcGrib(thredds.catalog.InvDatasetImpl parent,
thredds.featurecollection.FeatureCollectionConfig config) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_showStatus(java.util.Formatter f,
boolean summaryOnly,
java.lang.String type) |
protected void |
addFileDatasets(thredds.catalog.InvCatalogImpl parentCatalog,
thredds.catalog.InvDatasetImpl parent,
ucar.nc2.grib.collection.GribCollectionImmutable fromGc) |
protected java.lang.String |
getDatasetNameBest(java.lang.String dsName) |
protected java.lang.String |
getDatasetNameLatest(java.lang.String dsName) |
protected java.lang.String |
getDatasetNameTP(java.lang.String dsName) |
protected java.lang.String |
getDatasetNameTwoD(java.lang.String dsName) |
ucar.nc2.ft.FeatureDataset |
getFeatureDataset() |
java.io.File |
getFile(java.lang.String remaining) |
ucar.nc2.dt.grid.GridDataset |
getGridDataset(java.lang.String matchPath)
Get the associated Grid Dataset, if any.
|
ucar.nc2.dataset.NetcdfDataset |
getNetcdfDataset(java.lang.String matchPath)
Get the dataset named by the path.
|
thredds.catalog.InvCatalogImpl |
makeCatalog(java.lang.String match,
java.lang.String reqPath,
java.net.URI catURI)
Get one of the catalogs contained in this collection,
called by DataRootHandler.makeDynamicCatalog()
|
protected thredds.catalog.InvCatalogImpl |
makeCatalogTop(java.net.URI catURI,
InvDatasetFeatureCollection.State localState)
Make the containing catalog of this feature collection
"http://server:port/thredds/catalog/path/catalog.xml"
|
protected void |
makeDatasetTop(InvDatasetFeatureCollection.State state) |
thredds.catalog.InvCatalogImpl |
makeLatest(java.lang.String matchPath,
java.lang.String reqPath,
java.net.URI catURI) |
protected void |
updateCollection(InvDatasetFeatureCollection.State state,
thredds.inventory.CollectionUpdateType force) |
buildCatalogServiceHref, checkState, factory, finishConstruction, firstInit, getCatalogHref, getCollectionName, getConfig, getDatasetCollectionManager, getDatasets, getLatestFileName, getLogger, getPath, getTopDirectoryLocation, makeCatalogFiles, makeCollection, makeDefaultService, makeDownloadService, makeMetadataLink, makeServiceVirtual, sendEvent, setCatalogServletName, setCdmrFeatureServiceUrlPath, setContext, setLoggerFactory, showStatus, showStatusShort, updateequals, findDatasetByName, findProperty, findService, finish, getAccess, getAccess, getAlias, getAuthority, getCalendarDateCoverage, getCollectionType, getContributors, getCreators, getDataFormatType, getDataType, getDates, getDocumentation, getDocumentation, getFullName, getGeospatialCoverage, getID, getKeywords, getMark, getMetadata, getMetadata, getName, getParent, getProjects, getProperties, getProxyDataset, getPublishers, getServiceDefault, getUniqueID, getURI, getUrlPath, getUserProperty, getVariableMapLink, getVariables, getXlinkHref, hasAccess, hashCode, hasNestedDatasets, isHarvest, isRead, readAsynch, release, setXlinkHref, useRemoteCatalogServiceaddAccess, addAccess, addDataset, addDataset, addDocumentation, addProperty, addService, canonicalize, dump, getAccessLocal, getDataSize, getLastModifiedDate, getLocalMetadata, getLocalMetadataInheritable, getNcmlElement, getParentReal, getServiceName, getServicesLocal, removeDataset, removeLocalMetadata, removeService, replaceDataset, resolve, setAlias, setAuthority, setCatalog, setCollectionType, setContributors, setDataFormatType, setDataSize, setDataType, setGeospatialCoverage, setHarvest, setID, setKeywords, setLastModifiedDate, setLastModifiedDate, setLocalMetadata, setMark, setName, setNcmlElement, setParent, setProjects, setPublishers, setResourceControl, setServiceName, setServicesLocal, setTimeCoverage, setTimeCoverage, setUrlPath, setUserProperty, toString, transferMetadata, writeHtmlDescription, writeHtmlDescriptionpublic InvDatasetFcGrib(thredds.catalog.InvDatasetImpl parent,
thredds.featurecollection.FeatureCollectionConfig config)
public ucar.nc2.ft.FeatureDataset getFeatureDataset()
getFeatureDataset in class InvDatasetFeatureCollectionprotected void _showStatus(java.util.Formatter f,
boolean summaryOnly,
java.lang.String type)
throws java.io.IOException
_showStatus in class InvDatasetFeatureCollectionjava.io.IOExceptionprotected void updateCollection(InvDatasetFeatureCollection.State state, thredds.inventory.CollectionUpdateType force)
updateCollection in class InvDatasetFeatureCollectionprotected void addFileDatasets(thredds.catalog.InvCatalogImpl parentCatalog,
thredds.catalog.InvDatasetImpl parent,
ucar.nc2.grib.collection.GribCollectionImmutable fromGc)
throws java.io.IOException
java.io.IOExceptionprotected thredds.catalog.InvCatalogImpl makeCatalogTop(java.net.URI catURI,
InvDatasetFeatureCollection.State localState)
throws java.io.IOException,
java.net.URISyntaxException
InvDatasetFeatureCollectionmakeCatalogTop in class InvDatasetFeatureCollectioncatURI - base URI of the requestlocalState - current state to usejava.io.IOException - on I/O errorjava.net.URISyntaxException - if path is misformedpublic thredds.catalog.InvCatalogImpl makeCatalog(java.lang.String match,
java.lang.String reqPath,
java.net.URI catURI)
throws java.io.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.java.io.IOExceptionprotected void makeDatasetTop(InvDatasetFeatureCollection.State state) throws java.io.IOException
makeDatasetTop in class InvDatasetFeatureCollectionjava.io.IOExceptionpublic thredds.catalog.InvCatalogImpl makeLatest(java.lang.String matchPath,
java.lang.String reqPath,
java.net.URI catURI)
throws java.io.IOException
makeLatest in class InvDatasetFeatureCollectionjava.io.IOExceptionprotected java.lang.String getDatasetNameLatest(java.lang.String dsName)
protected java.lang.String getDatasetNameBest(java.lang.String dsName)
protected java.lang.String getDatasetNameTP(java.lang.String dsName)
protected java.lang.String getDatasetNameTwoD(java.lang.String dsName)
public java.io.File getFile(java.lang.String remaining)
getFile in class InvDatasetFeatureCollectionpublic ucar.nc2.dt.grid.GridDataset getGridDataset(java.lang.String matchPath)
throws java.io.IOException
InvDatasetFeatureCollectiongetGridDataset in class InvDatasetFeatureCollectionmatchPath - match.remainingjava.io.IOException - on errorpublic ucar.nc2.dataset.NetcdfDataset getNetcdfDataset(java.lang.String matchPath)
throws java.io.IOException
InvDatasetFeatureCollectiongetNetcdfDataset in class InvDatasetFeatureCollectionmatchPath - remaining path from matchjava.io.IOException - if read error