public class FeatureDatasetCoverage extends Object implements FeatureDataset, Closeable
Constructor and Description |
---|
FeatureDatasetCoverage(String location,
AttributeContainer gatts,
Closeable closer,
List<CoverageCollection> covCollections) |
FeatureDatasetCoverage(String location,
Closeable closer,
CoverageCollection covCollection) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close all resources associated with this dataset.
|
CoverageCollection |
findCoverageDataset(FeatureType type) |
CoverageCollection |
findCoverageDataset(String name) |
Attribute |
findGlobalAttributeIgnoreCase(String name)
Return the global attribute with the given name, ignoring case.
|
LatLonRect |
getBoundingBox()
The lat/lon boundingBox for the entire dataset.
|
CalendarDate |
getCalendarDateEnd()
Ending Calendar date for the entire dataset.
|
CalendarDateRange |
getCalendarDateRange()
Calendar Date range for the entire dataset.
|
CalendarDate |
getCalendarDateStart()
Starting Calendar date for the entire dataset.
|
List<CoverageCollection> |
getCoverageCollections() |
VariableSimpleIF |
getDataVariable(String shortName)
Get the named data Variable.
|
List<VariableSimpleIF> |
getDataVariables()
The data Variables available in this dataset.
|
String |
getDescription()
Text information about this dataset.
|
void |
getDetailInfo(Formatter sf)
Show debug / underlying implementation details
|
FeatureType |
getFeatureType()
Contains collections of this FeatureType.
|
List<Attribute> |
getGlobalAttributes()
List of global attributes.
|
String |
getImplementationName()
Show who is implementing
|
long |
getLastModified() |
String |
getLocation()
The URI location of the dataset
|
NetcdfFile |
getNetcdfFile()
Return underlying NetcdfFile, or null if none.
|
CoverageCollection |
getSingleCoverageCollection() |
String |
getTitle()
Title of the dataset.
|
void |
reacquire() |
void |
release() |
void |
setFileCache(ucar.nc2.util.cache.FileCacheIF fileCache) |
public FeatureDatasetCoverage(String location, Closeable closer, CoverageCollection covCollection)
public FeatureDatasetCoverage(String location, AttributeContainer gatts, Closeable closer, List<CoverageCollection> covCollections)
public List<CoverageCollection> getCoverageCollections()
public CoverageCollection getSingleCoverageCollection()
public CoverageCollection findCoverageDataset(FeatureType type)
public CoverageCollection findCoverageDataset(String name)
public FeatureType getFeatureType()
FeatureDataset
getFeatureType
in interface FeatureDataset
public String getTitle()
FeatureDataset
getTitle
in interface FeatureDataset
public String getDescription()
FeatureDataset
getDescription
in interface FeatureDataset
public String getLocation()
FeatureDataset
getLocation
in interface FeatureDataset
getLocation
in interface ucar.nc2.util.cache.FileCacheable
public CalendarDateRange getCalendarDateRange()
FeatureDataset
getCalendarDateRange
in interface FeatureDataset
public CalendarDate getCalendarDateStart()
FeatureDataset
getCalendarDateStart
in interface FeatureDataset
public CalendarDate getCalendarDateEnd()
FeatureDataset
getCalendarDateEnd
in interface FeatureDataset
public LatLonRect getBoundingBox()
FeatureDataset
getBoundingBox
in interface FeatureDataset
public List<Attribute> getGlobalAttributes()
FeatureDataset
getGlobalAttributes
in interface FeatureDataset
public Attribute findGlobalAttributeIgnoreCase(String name)
FeatureDataset
findGlobalAttributeIgnoreCase
in interface FeatureDataset
name
- attribute namepublic List<VariableSimpleIF> getDataVariables()
FeatureDataset
getDataVariables
in interface FeatureDataset
public VariableSimpleIF getDataVariable(String shortName)
FeatureDataset
getDataVariable
in interface FeatureDataset
shortName
- of data Variable.@Nullable public NetcdfFile getNetcdfFile()
FeatureDataset
getNetcdfFile
in interface FeatureDataset
public void getDetailInfo(Formatter sf)
FeatureDataset
getDetailInfo
in interface FeatureDataset
sf
- append info herepublic String getImplementationName()
FeatureDataset
getImplementationName
in interface FeatureDataset
public long getLastModified()
getLastModified
in interface ucar.nc2.util.cache.FileCacheable
public void setFileCache(ucar.nc2.util.cache.FileCacheIF fileCache)
setFileCache
in interface ucar.nc2.util.cache.FileCacheable
public void release() throws IOException
release
in interface ucar.nc2.util.cache.FileCacheable
IOException
public void reacquire() throws IOException
reacquire
in interface ucar.nc2.util.cache.FileCacheable
IOException
public void close() throws IOException
FeatureDataset
close
in interface Closeable
close
in interface AutoCloseable
close
in interface FeatureDataset
close
in interface ucar.nc2.util.cache.FileCacheable
IOException
- on i/o error