Package ucar.nc2.ft
Interface PointFeature
-
- All Known Subinterfaces:
StationPointFeature
- All Known Implementing Classes:
PointFeatureImpl
public interface PointFeature
A collection of observations at one time and location.- Since:
- Feb 29, 2008
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StructureData
getDataAll()
All the data of this observation, joined with data from all parent features.DsgFeatureCollection
getFeatureCollection()
Get the containing DsgFeatureCollectionStructureData
getFeatureData()
The actual data of just this PointFeature.EarthLocation
getLocation()
Location of this observationdouble
getNominalTime()
Nominal time of this observation.CalendarDate
getNominalTimeAsCalendarDate()
Nominal time of this observation, as a CalendarDate.double
getObservationTime()
Actual time of this observation.CalendarDate
getObservationTimeAsCalendarDate()
Actual time of this observation, as a CalendarDate.
-
-
-
Method Detail
-
getLocation
@Nonnull EarthLocation getLocation()
Location of this observation- Returns:
- the location of this observation
-
getObservationTime
double getObservationTime()
Actual time of this observation. Convert to CalendarDate with getFeatureCollection().getTimeUnit().makeDate()- Returns:
- actual time of this observation.
-
getObservationTimeAsCalendarDate
@Nonnull CalendarDate getObservationTimeAsCalendarDate()
Actual time of this observation, as a CalendarDate.- Returns:
- actual time of this observation, as a CalendarDate.
-
getNominalTime
double getNominalTime()
Nominal time of this observation. Convert to Date with getTimeUnit().makeDate(). When the nominal time is not given in the data, it is usually set to the observational time.- Returns:
- Nominal time of this observation.
-
getNominalTimeAsCalendarDate
@Nonnull CalendarDate getNominalTimeAsCalendarDate()
Nominal time of this observation, as a CalendarDate. Will be equal to the observation date if not exists independently.- Returns:
- Nominal time of this observation, as a CalendarDate.
-
getFeatureData
@Nonnull StructureData getFeatureData() throws IOException
The actual data of just this PointFeature. This is the data of the innermost nested table, aka leaf data.- Throws:
IOException
-
getDataAll
@Nonnull StructureData getDataAll() throws IOException
All the data of this observation, joined with data from all parent features.- Throws:
IOException
-
getFeatureCollection
@Nonnull DsgFeatureCollection getFeatureCollection()
Get the containing DsgFeatureCollection
-
-