Package ucar.nc2.ft.point
Class StationProfileFeatureImpl.StationProfileFeatureSubset
- java.lang.Object
-
- ucar.nc2.ft.point.DsgCollectionImpl
-
- ucar.nc2.ft.point.PointFeatureCCImpl
-
- ucar.nc2.ft.point.StationProfileFeatureImpl
-
- ucar.nc2.ft.point.StationProfileFeatureImpl.StationProfileFeatureSubset
-
- All Implemented Interfaces:
Comparable<Station>,Iterable<ProfileFeature>,DsgFeatureCollection,StationFeature,PointFeatureCC,StationProfileFeature,EarthLocation,Station
- Enclosing class:
- StationProfileFeatureImpl
public static class StationProfileFeatureImpl.StationProfileFeatureSubset extends StationProfileFeatureImpl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ucar.nc2.ft.point.StationProfileFeatureImpl
StationProfileFeatureImpl.StationProfileFeatureSubset
-
-
Field Summary
-
Fields inherited from class ucar.nc2.ft.point.StationProfileFeatureImpl
localIterator, station, timeSeriesNpts
-
Fields inherited from class ucar.nc2.ft.point.PointFeatureCCImpl
collectionFeatureType
-
-
Constructor Summary
Constructors Constructor Description StationProfileFeatureSubset(StationProfileFeatureImpl from, CalendarDateRange filter_date)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IOIterator<PointFeatureCollection>getCollectionIterator()General way to handle iterations on all classes that implement this interface.StructureDatagetFeatureData()The data associated with the StationProfile feature.PointFeatureCollectionIteratorgetPointFeatureCollectionIterator()ProfileFeaturegetProfileByDate(CalendarDate date)Get a particular profile by date.List<CalendarDate>getTimes()Get the list of times in the time series of profiles.-
Methods inherited from class ucar.nc2.ft.point.StationProfileFeatureImpl
compareTo, getAltitude, getDescription, getLatitude, getLatLon, getLongitude, getName, getNobs, getWmoId, hasNext, isMissing, iterator, next, resetIteration, size, subset, subset
-
Methods inherited from class ucar.nc2.ft.point.PointFeatureCCImpl
getCollectionFeatureType
-
Methods inherited from class ucar.nc2.ft.point.DsgCollectionImpl
getAltUnits, getBoundingBox, getCalendarDateRange, getExtraVariables, getInfo, getTimeUnit
-
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.DsgFeatureCollection
getAltUnits, getBoundingBox, getCalendarDateRange, getCollectionFeatureType, getExtraVariables, getTimeUnit
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
StationProfileFeatureSubset
public StationProfileFeatureSubset(StationProfileFeatureImpl from, CalendarDateRange filter_date)
-
-
Method Detail
-
getFeatureData
@Nonnull public StructureData getFeatureData() throws IOException
Description copied from interface:StationProfileFeatureThe data associated with the StationProfile feature.- Returns:
- the actual data of this section. may be empty, not null.
- Throws:
IOException- on i/o error
-
getTimes
public List<CalendarDate> getTimes()
Description copied from interface:StationProfileFeatureGet the list of times in the time series of profiles. Note that this may be as costly as iterating over the collection.- Returns:
- list of times in the time series of profiles.
-
getProfileByDate
public ProfileFeature getProfileByDate(CalendarDate date) throws IOException
Description copied from interface:StationProfileFeatureGet a particular profile by date. Note that this may be as costly as iterating over the collection.- Parameters:
date- get profile matching this date.- Returns:
- profile whose date matches the given date
- Throws:
IOException- on read error
-
getCollectionIterator
public IOIterator<PointFeatureCollection> getCollectionIterator() throws IOException
Description copied from interface:PointFeatureCCGeneral way to handle iterations on all classes that implement this interface. Generally, one uses class specific foreach- Returns:
- Iterator over PointFeatureCollection which may throw an IOException
- Throws:
IOException
-
getPointFeatureCollectionIterator
public PointFeatureCollectionIterator getPointFeatureCollectionIterator() throws IOException
- Throws:
IOException
-
-