@ThreadSafe public class InvDatasetFcGrib extends InvDatasetFeatureCollection
Modifier and Type | Class and Description |
---|---|
protected class |
InvDatasetFcGrib.StateGrib |
InvDatasetFeatureCollection.State
cdmrService, config, configPath, context, datasetCollection, Default_Services, Download_Services, fcType, FILES, first, LATEST_DATASET_CATALOG, LATEST_SERVICE, lock, logger, orgService, state, topDirectory, VARIABLES, Virtual_Services, virtualService
log, mark, ncmlElement, tm, tmi
access, 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(InvDatasetImpl parent,
FeatureCollectionConfig config) |
Modifier and Type | Method and Description |
---|---|
protected void |
_showStatus(Formatter f,
boolean summaryOnly,
String type) |
protected void |
addFileDatasets(InvCatalogImpl parentCatalog,
InvDatasetImpl parent,
GribCollectionImmutable fromGc) |
protected String |
getDatasetNameBest(String dsName) |
protected String |
getDatasetNameLatest(String dsName) |
protected String |
getDatasetNameTP(String dsName) |
protected String |
getDatasetNameTwoD(String dsName) |
FeatureDataset |
getFeatureDataset() |
File |
getFile(String remaining) |
GridDataset |
getGridDataset(String matchPath)
Get the associated Grid Dataset, if any.
|
NetcdfDataset |
getNetcdfDataset(String matchPath)
Get the dataset named by the path.
|
InvCatalogImpl |
makeCatalog(String match,
String reqPath,
URI catURI)
Get one of the catalogs contained in this collection,
called by DataRootHandler.makeDynamicCatalog()
|
protected InvCatalogImpl |
makeCatalogTop(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) |
InvCatalogImpl |
makeLatest(String matchPath,
String reqPath,
URI catURI) |
protected void |
updateCollection(InvDatasetFeatureCollection.State state,
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, update
equals, 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, useRemoteCatalogService
addAccess, 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, writeHtmlDescription
findAccess, getCatalogUrl, getHistory, getParentCatalog, getProcessing, getRestrictAccess, getRights, getSubsetUrl, getSummary, getTimeCoverage, getVariables
public InvDatasetFcGrib(InvDatasetImpl parent, FeatureCollectionConfig config)
public FeatureDataset getFeatureDataset()
getFeatureDataset
in class InvDatasetFeatureCollection
protected void _showStatus(Formatter f, boolean summaryOnly, String type) throws IOException
_showStatus
in class InvDatasetFeatureCollection
IOException
protected void updateCollection(InvDatasetFeatureCollection.State state, CollectionUpdateType force)
updateCollection
in class InvDatasetFeatureCollection
protected void addFileDatasets(InvCatalogImpl parentCatalog, InvDatasetImpl parent, GribCollectionImmutable fromGc) throws IOException
IOException
protected InvCatalogImpl makeCatalogTop(URI catURI, InvDatasetFeatureCollection.State localState) throws IOException, URISyntaxException
InvDatasetFeatureCollection
makeCatalogTop
in class InvDatasetFeatureCollection
catURI
- base URI of the requestlocalState
- current state to useIOException
- on I/O errorURISyntaxException
- if path is misformedpublic InvCatalogImpl makeCatalog(String match, String reqPath, URI catURI) throws IOException
InvDatasetFeatureCollection
makeCatalog
in class InvDatasetFeatureCollection
match
- match.remainingreqPath
- the path for the request.catURI
- the base URI for the catalog to be made, used to resolve relative URLs.IOException
protected void makeDatasetTop(InvDatasetFeatureCollection.State state) throws IOException
makeDatasetTop
in class InvDatasetFeatureCollection
IOException
public InvCatalogImpl makeLatest(String matchPath, String reqPath, URI catURI) throws IOException
makeLatest
in class InvDatasetFeatureCollection
IOException
public File getFile(String remaining)
getFile
in class InvDatasetFeatureCollection
public GridDataset getGridDataset(String matchPath) throws IOException
InvDatasetFeatureCollection
getGridDataset
in class InvDatasetFeatureCollection
matchPath
- match.remainingIOException
- on errorpublic NetcdfDataset getNetcdfDataset(String matchPath) throws IOException
InvDatasetFeatureCollection
getNetcdfDataset
in class InvDatasetFeatureCollection
matchPath
- remaining path from matchIOException
- if read errorCopyright © 1999–2015 UCAR/Unidata. All rights reserved.