Package ucar.nc2.ft
Interface DsgFeatureCollection
-
- All Known Subinterfaces:
PointFeatureCC,PointFeatureCCC,PointFeatureCollection,ProfileFeature,ProfileFeatureCollection,StationProfileFeature,StationProfileFeatureCollection,StationTimeSeriesFeature,StationTimeSeriesFeatureCollection,TrajectoryFeature,TrajectoryFeatureCollection,TrajectoryProfileFeature,TrajectoryProfileFeatureCollection
- All Known Implementing Classes:
CompositePointCollection,CompositeStationCollection,CompositeStationCollectionFlattened,DsgCollectionImpl,FlattenedDatasetPointCollection,PointCollectionImpl,PointCollectionImpl.PointCollectionSubset,PointCollectionStreamAbstract,PointCollectionStreamLocal,PointCollectionStreamRemote,PointFeatureCCCImpl,PointFeatureCCImpl,ProfileFeatureImpl,SectionCollectionImpl,SectionFeatureImpl,StandardPointCollectionImpl,StandardProfileCollectionImpl,StandardSectionCollectionImpl,StandardStationCollectionImpl,StandardStationProfileCollectionImpl,StandardTrajectoryCollectionImpl,StationCollectionStream,StationProfileCollectionImpl,StationProfileFeatureImpl,StationProfileFeatureImpl.StationProfileFeatureSubset,StationTimeSeriesCollectionFlattened,StationTimeSeriesCollectionImpl,StationTimeSeriesFeatureImpl,StationTimeSeriesFeatureImpl.StationFeatureSubset,TrajectoryFeatureImpl
public interface DsgFeatureCollectionA collection of FeatureTypes. Will either be a PointFeatureCollection, PointFeatureCC, or PointFeatureCCC- Since:
- Mar 20, 2008
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAltUnits()The altitude unit string if it exists.LatLonRectgetBoundingBox()The boundingBox for the FeatureCollection.CalendarDateRangegetCalendarDateRange()Calendar date range for the FeatureCollection.FeatureTypegetCollectionFeatureType()All features in this collection have this feature typeList<Variable>getExtraVariables()StringgetName()Get the name of this feature collection.CalendarDateUnitgetTimeUnit()The time unit.intsize()The number of Features in the collection.
-
-
-
Method Detail
-
getName
@Nonnull String getName()
Get the name of this feature collection.- Returns:
- the name of this feature collection
-
getCollectionFeatureType
@Nonnull FeatureType getCollectionFeatureType()
All features in this collection have this feature type- Returns:
- the feature type
-
getTimeUnit
@Nonnull CalendarDateUnit getTimeUnit()
The time unit.- Returns:
- time unit, may not be null
-
getAltUnits
@Nullable String getAltUnits()
The altitude unit string if it exists.- Returns:
- altitude unit string, may be null
-
getCalendarDateRange
@Nullable CalendarDateRange getCalendarDateRange()
Calendar date range for the FeatureCollection. May not be known until after iterating through the collection.- Returns:
- the calendar date range for the entire collection, or null if unknown
-
getBoundingBox
@Nullable LatLonRect getBoundingBox()
The boundingBox for the FeatureCollection. May not be known until after iterating through the collection.- Returns:
- the lat/lon boundingBox for the entire collection, or null if unknown.
-
size
int size()
The number of Features in the collection. May not be known until after iterating through the collection.- Returns:
- number of elements in the collection, or -1 if not known.
-
-