Package ucar.nc2.ft
Interface FeatureDataset
-
- All Superinterfaces:
AutoCloseable,Closeable,FileCacheable
- All Known Subinterfaces:
FeatureDatasetPoint,GridDataset,RadialDatasetSweep,StationRadialDataset
- All Known Implementing Classes:
AbstractRadialAdapter,CFRadialAdapter,Dorade2RadialAdapter,FeatureDatasetCoverage,FeatureDatasetImpl,GridDataset,Nexrad2RadialAdapter,NidsRadialAdapter,NsslRadialAdapter,PointDatasetImpl,PointDatasetRemote,SimpleGeometryFeatureDataset,UF2RadialAdapter
public interface FeatureDataset extends FileCacheable, Closeable
Superclass for "scientific feature type" datasets. These are collections of features of the same feature type. This interface defines general "discovery metadata". Its subtypes define type-specific information. Implementations may or may not have a NetcdfFile underneath.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description AttributeContainerattributes()Get the global attributes.voidclose()Close all resources associated with this dataset.AttributefindGlobalAttributeIgnoreCase(String name)Deprecated.use attributes()LatLonRectgetBoundingBox()The lat/lon boundingBox for the entire dataset.CalendarDategetCalendarDateEnd()Ending Calendar date for the entire dataset.CalendarDateRangegetCalendarDateRange()Calendar Date range for the entire dataset.CalendarDategetCalendarDateStart()Starting Calendar date for the entire dataset.VariableSimpleIFgetDataVariable(String shortName)Get the named data Variable.List<VariableSimpleIF>getDataVariables()The data Variables available in this dataset.StringgetDescription()Text information about this dataset.voidgetDetailInfo(Formatter sf)Show debug / underlying implementation detailsFeatureTypegetFeatureType()Contains collections of this FeatureType.List<Attribute>getGlobalAttributes()Deprecated.use attributes()StringgetImplementationName()Show who is implementingStringgetLocation()The URI location of the datasetNetcdfFilegetNetcdfFile()Return underlying NetcdfFile, or null if none.StringgetTitle()Title of the dataset.-
Methods inherited from interface ucar.nc2.util.cache.FileCacheable
getLastModified, reacquire, release, setFileCache
-
-
-
-
Method Detail
-
getFeatureType
FeatureType getFeatureType()
Contains collections of this FeatureType.- Returns:
- FeatureType of data
-
getTitle
String getTitle()
Title of the dataset.- Returns:
- the title of the dataset, or null
-
getDescription
String getDescription()
Text information about this dataset.- Returns:
- any text information about this dataset, or null.
-
getLocation
String getLocation()
The URI location of the dataset- Specified by:
getLocationin interfaceFileCacheable- Returns:
- the URI location of the dataset, or null
-
getCalendarDateRange
CalendarDateRange getCalendarDateRange()
Calendar Date range for the entire dataset.- Returns:
- the date range for the entire dataset, or null if unknown
-
getCalendarDateStart
CalendarDate getCalendarDateStart()
Starting Calendar date for the entire dataset.- Returns:
- the starting date for the entire dataset, or null if unknown
-
getCalendarDateEnd
CalendarDate getCalendarDateEnd()
Ending Calendar date for the entire dataset.- Returns:
- the ending date for the entire dataset, or null if unknown
-
getBoundingBox
LatLonRect getBoundingBox()
The lat/lon boundingBox for the entire dataset.- Returns:
- the lat/lon boundingBox for the entire dataset, or null if unknown.
-
attributes
AttributeContainer attributes()
Get the global attributes.
-
getGlobalAttributes
@Deprecated List<Attribute> getGlobalAttributes()
Deprecated.use attributes()List of global attributes.- Returns:
- List of type ucar.nc2.Attribute, may be empty but not null
-
findGlobalAttributeIgnoreCase
@Deprecated Attribute findGlobalAttributeIgnoreCase(String name)
Deprecated.use attributes()Return the global attribute with the given name, ignoring case.- Parameters:
name- attribute name- Returns:
- the global attribute, or null
-
getDataVariables
List<VariableSimpleIF> getDataVariables()
The data Variables available in this dataset. Should just be data variables others might be searching for, not metadata or coordinate system variables, etc. The shapes of the VariableSimpleIF do not necessarily match the StructureData member.- Returns:
- List of subclass of VariableSimpleIF, may be empty but not null
-
getDataVariable
VariableSimpleIF getDataVariable(String shortName)
Get the named data Variable.- Parameters:
shortName- of data Variable.- Returns:
- VariableSimpleIF or null if not found
-
getNetcdfFile
@Nullable NetcdfFile getNetcdfFile()
Return underlying NetcdfFile, or null if none.- Returns:
- the underlying NetcdfFile, or null if none.
-
close
void close() throws IOExceptionClose all resources associated with this dataset.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceFileCacheable- Throws:
IOException- on i/o error
-
getDetailInfo
void getDetailInfo(Formatter sf)
Show debug / underlying implementation details- Parameters:
sf- append info here
-
getImplementationName
String getImplementationName()
Show who is implementing- Returns:
- name of implementor
-
-