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
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, 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, dump, getAccessLocal, getDataSize, 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, setName, setNcmlElement, setParent, setProjects, setPublishers, setResourceControl, setServiceName, setServicesLocal, setTimeCoverage, setUrlPath, setUserProperty, toString, transferMetadata, writeHtmlDescription, writeHtmlDescription |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
InvDatasetFmrc
public InvDatasetFmrc(InvDatasetImpl parent,
java.lang.String name,
java.lang.String path,
boolean runsOnly)
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
- the path for the requested catalog.baseURI
- the base URI for the catalog, used to resolve relative URLs.
- Returns:
- the requested catalog
getDatasets
public java.util.List<InvDataset> getDatasets()
- Description copied from class:
InvDataset
- Get a list of all the nested datasets.
- Overrides:
getDatasets
in class InvCatalogRef
- Returns:
- Datasets. This triggers a read of the referenced catalog the first time its called.
getDataset
public NetcdfDataset getDataset(java.lang.String path)
throws java.io.IOException
- Get the dataset named by the path
- Parameters:
path
- URL path
- Returns:
- requested dataset
- Throws:
java.io.IOException
- if read error