public abstract class StationTimeSeriesFeatureImpl extends PointCollectionImpl implements StationTimeSeriesFeature
| Modifier and Type | Class and Description |
|---|---|
static class |
StationTimeSeriesFeatureImpl.StationFeatureSubset |
PointCollectionImpl.PointCollectionSubset| Modifier and Type | Field and Description |
|---|---|
protected StationFeature |
s |
localIterator| Constructor and Description |
|---|
StationTimeSeriesFeatureImpl(StationFeature s,
CalendarDateUnit timeUnit,
String altUnits,
int nfeatures) |
StationTimeSeriesFeatureImpl(String name,
String desc,
String wmoId,
double lat,
double lon,
double alt,
CalendarDateUnit timeUnit,
String altUnits,
int npts,
StructureData sdata) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Station so) |
boolean |
equals(Object o) |
double |
getAltitude()
Returns the altitude in some unit.
|
FeatureType |
getCollectionFeatureType()
All features in this collection have this feature type
|
String |
getDescription()
Station description
|
double |
getLatitude()
Returns the latitude in some unit.
|
LatLonPoint |
getLatLon()
Get the lat/lon location
|
double |
getLongitude()
Returns the longitude in some unit.
|
String |
getWmoId()
WMO station id.
|
int |
hashCode() |
boolean |
isMissing()
Are either lat or lon missing?
|
StationTimeSeriesFeature |
subset(CalendarDateRange dateRange)
Subset this collection by calendar dateRange
|
String |
toString() |
finish, hasNext, iterator, next, resetIteration, subsetgetAltUnits, getBoundingBox, getCalendarDateRange, getExtraVariables, getInfo, getName, getNobs, getTimeUnit, sizeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetFeatureData, sizefinish, getPointFeatureIterator, hasNext, next, resetIteration, subsetgetAltUnits, getBoundingBox, getCalendarDateRange, getExtraVariables, getName, getTimeUnitforEach, iterator, spliteratorprotected StationFeature s
public StationTimeSeriesFeatureImpl(String name, String desc, String wmoId, double lat, double lon, double alt, CalendarDateUnit timeUnit, String altUnits, int npts, StructureData sdata)
public StationTimeSeriesFeatureImpl(StationFeature s, CalendarDateUnit timeUnit, String altUnits, int nfeatures)
public String getDescription()
StationgetDescription in interface Stationpublic double getLatitude()
EarthLocationgetLatitude in interface EarthLocationpublic double getLongitude()
EarthLocationgetLongitude in interface EarthLocationpublic double getAltitude()
EarthLocationEarthLocation was retrieved from a PointFeature
(via PointFeature.getLocation()), then the unit can be obtained by calling
pointFeature.getFeatureCollection().getAltUnits().getAltitude in interface EarthLocationDouble.NaN indicates "no altitude".public LatLonPoint getLatLon()
EarthLocationgetLatLon in interface EarthLocationpublic boolean isMissing()
EarthLocationisMissing in interface EarthLocation@Nonnull public FeatureType getCollectionFeatureType()
DsgFeatureCollectiongetCollectionFeatureType in interface DsgFeatureCollectiongetCollectionFeatureType in class PointCollectionImplpublic StationTimeSeriesFeature subset(CalendarDateRange dateRange) throws IOException
StationTimeSeriesFeaturesubset in interface StationTimeSeriesFeaturedateRange - only points in this date range. may be null.IOException - on read errorpublic int compareTo(@Nonnull Station so)
compareTo in interface Comparable<Station>