thredds.catalog
Class InvDatasetFmrc
java.lang.Object
thredds.catalog.InvDataset
thredds.catalog.InvDatasetImpl
thredds.catalog.InvCatalogRef
thredds.catalog.InvDatasetFmrc
public class InvDatasetFmrc
- extends InvCatalogRef
InvDatasetFmrc represents an element in a TDS catalog.
- Author:
- caron
| Fields inherited from class thredds.catalog.InvDataset |
access, authorityName, collectionType, contributors, creators, dataFormatType, datasets, dataType, dates, defaultService, docs, gc, harvest, id, keywords, metadata, name, parent, projects, properties, publishers, restrictAccess, services, tc, variables |
| Methods inherited from class thredds.catalog.InvCatalogRef |
equals, findDatasetByName, findProperty, findService, finish, getAccess, getAccess, getAlias, getAuthority, getCollectionType, getContributors, getCreators, getDataFormatType, getDataType, getDates, getDocumentation, getDocumentation, getFullName, getGeospatialCoverage, getID, getKeywords, getMark, getMetadata, getMetadata, getName, getParent, getProjects, getProperties, getProxyDataset, getPublishers, getServiceDefault, getTimeCoverage, getUniqueID, getURI, getUrlPath, getUserProperty, getVariables, getXlinkHref, hashCode, isHarvest, isRead, readAsynch, release, setXlinkHref |
| Methods inherited from class thredds.catalog.InvDatasetImpl |
addAccess, addAccess, addDataset, addDataset, addDocumentation, addProperty, addService, canonicalize, clearProperties, clearPublishers, dump, getAccessLocal, getCat6Metadata, getDataSize, getDocumentationLinks, getLastModifiedDate, getLocalMetadata, getLocalMetadataInheritable, getNcmlElement, getParentReal, getServiceName, getServicesLocal, main, 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, setUrlPath, setUserProperty, toString, transferMetadata, writeHtmlDescription |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
InvDatasetFmrc
public InvDatasetFmrc(InvDatasetImpl parent,
java.lang.String name,
java.lang.String path,
boolean runsOnly)
setScanTimeCovDsNameMatchPatternParam
public void setScanTimeCovDsNameMatchPatternParam(java.lang.String match)
setScanTimeCovStartTimeSubstPatternParam
public void setScanTimeCovStartTimeSubstPatternParam(java.lang.String subst)
setScanTimeCovDurationParam
public void setScanTimeCovDurationParam(java.lang.String duration)
getPath
public java.lang.String getPath()
isRunsOnly
public boolean isRunsOnly()
getRawFileScan
public InvDatasetScan getRawFileScan()
getFmrcInventoryParams
public InvDatasetFmrc.InventoryParams getFmrcInventoryParams()
getFile
public java.io.File getFile(java.lang.String remaining)
setFmrcInventoryParams
public void setFmrcInventoryParams(java.lang.String location,
java.lang.String def,
java.lang.String suffix,
java.lang.String olderThanS)
hasAccess
public boolean hasAccess()
- Description copied from class:
InvDataset
- If this dataset has access elements.
- Overrides:
hasAccess in class InvCatalogRef
- Returns:
- true if has access elements.
hasNestedDatasets
public boolean hasNestedDatasets()
- Description copied from class:
InvDataset
- If this dataset has nested datasets.
- Overrides:
hasNestedDatasets in class InvCatalogRef
- Returns:
- true if has nested datasets.
makeCatalog
public InvCatalogImpl makeCatalog(java.lang.String match,
java.lang.String orgPath,
java.net.URI baseURI)
- Create the FMRC catalog, or one of its nested catalogs.
- Parameters:
match - which catalog, one of null, RUNS, OFFSET, FORECAST, or SCANorgPath - baseURI -
- Returns:
- the requested catalog
getDatasets
public java.util.List getDatasets()
- Description copied from class:
InvCatalogRef
- Get Datasets. This triggers a read of the referenced catalog the first time its called.
- Overrides:
getDatasets in class InvCatalogRef
- Returns:
- list of objects of type InvDataset. May be empty, not null.
getDataset
public NetcdfDataset getDataset(java.lang.String path)
throws java.io.IOException
- Throws:
java.io.IOException