ucar.nc2.ft.point
Class PointDatasetImpl
java.lang.Object
ucar.nc2.ft.FeatureDatasetImpl
ucar.nc2.ft.point.PointDatasetImpl
- All Implemented Interfaces:
- FeatureDataset, FeatureDatasetPoint, FileCacheable
- Direct Known Subclasses:
- PointDatasetRemote
public class PointDatasetImpl
- extends FeatureDatasetImpl
- implements FeatureDatasetPoint
Implementation of PointFeatureDataset.
All of the specialization is in List collectionList.
- Since:
- Feb 29, 2008
- Author:
- caron
Methods inherited from class ucar.nc2.ft.FeatureDatasetImpl |
close, findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDataVariables, getDateRange, getDescription, getEndDate, getGlobalAttributes, getImplementationName, getLocation, getNetcdfFile, getStartDate, getTitle, setBoundingBox, setDateRange, setDescription, setFileCache, setLocationURI, setTitle, sync |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ucar.nc2.ft.FeatureDataset |
close, findGlobalAttributeIgnoreCase, getBoundingBox, getDataVariable, getDataVariables, getDateRange, getDescription, getEndDate, getGlobalAttributes, getImplementationName, getLocation, getNetcdfFile, getStartDate, getTitle |
collectionList
protected List<FeatureCollection> collectionList
featureType
protected FeatureType featureType
PointDatasetImpl
protected PointDatasetImpl(FeatureType featureType)
PointDatasetImpl
protected PointDatasetImpl(PointDatasetImpl from,
LatLonRect filter_bb,
DateRange filter_date)
PointDatasetImpl
public PointDatasetImpl(NetcdfDataset ds,
FeatureType featureType)
setPointFeatureCollection
protected void setPointFeatureCollection(List<FeatureCollection> collectionList)
setPointFeatureCollection
protected void setPointFeatureCollection(FeatureCollection collection)
getFeatureType
public FeatureType getFeatureType()
- Description copied from interface:
FeatureDataset
- Contains collections of this FeatureType.
- Specified by:
getFeatureType
in interface FeatureDataset
- Returns:
- FeatureType of data
setFeatureType
protected void setFeatureType(FeatureType ftype)
getPointFeatureCollectionList
public List<FeatureCollection> getPointFeatureCollectionList()
- Description copied from interface:
FeatureDatasetPoint
- Get a list of FeatureCollections contained in this dataset.
These will all be of type PointFeatureCollection or NestedPointFeatureCollection.
- Specified by:
getPointFeatureCollectionList
in interface FeatureDatasetPoint
- Returns:
- list of FeatureCollections contained in this dataset
calcBounds
public void calcBounds()
throws IOException
- Description copied from interface:
FeatureDataset
- Caclulate date range and bounding box, even if the data has to be scanned.
This ensures that getDateRange() and getBoundingBox() return non-null.
If the collection already knows its date range and bounding box, then this has no effect.
- Specified by:
calcBounds
in interface FeatureDataset
- Throws:
IOException
- or read error.
getDetailInfo
public void getDetailInfo(Formatter sf)
- Description copied from interface:
FeatureDataset
- Show debug / underlying implementation details
- Specified by:
getDetailInfo
in interface FeatureDataset
- Overrides:
getDetailInfo
in class FeatureDatasetImpl
- Parameters:
sf
- append info here
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.