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,
java.lang.String altUnits,
int nfeatures) |
StationTimeSeriesFeatureImpl(StationFeature s,
java.util.List<CoordinateAxis> coords,
int nfeatures) |
StationTimeSeriesFeatureImpl(java.lang.String name,
java.lang.String desc,
java.lang.String wmoId,
double lat,
double lon,
double alt,
CalendarDateUnit timeUnit,
java.lang.String altUnits,
int npts,
StructureData sdata) |
StationTimeSeriesFeatureImpl(java.lang.String name,
java.lang.String desc,
java.lang.String wmoId,
double lat,
double lon,
double alt,
java.util.List<CoordinateAxis> coords,
int npts,
StructureData sdata) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Station so) |
boolean |
equals(java.lang.Object o) |
double |
getAltitude()
Returns the altitude in some unit.
|
FeatureType |
getCollectionFeatureType()
All features in this collection have this feature type
|
java.lang.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.
|
java.lang.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
|
java.lang.String |
toString() |
finish, hasNext, iterator, next, resetIteration, subset
getAltName, getAltUnits, getBoundingBox, getCalendarDateRange, getCoordinateVariables, getExtraVariables, getInfo, getName, getNobs, getTimeName, getTimeUnit, size
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getFeatureData, size
create
finish, getPointFeatureIterator, hasNext, next, resetIteration, subset
getAltName, getAltUnits, getBoundingBox, getCalendarDateRange, getCoordinateVariables, getExtraVariables, getName, getTimeName, getTimeUnit
protected StationFeature s
public StationTimeSeriesFeatureImpl(java.lang.String name, java.lang.String desc, java.lang.String wmoId, double lat, double lon, double alt, CalendarDateUnit timeUnit, java.lang.String altUnits, int npts, StructureData sdata)
public StationTimeSeriesFeatureImpl(java.lang.String name, java.lang.String desc, java.lang.String wmoId, double lat, double lon, double alt, java.util.List<CoordinateAxis> coords, int npts, StructureData sdata)
public StationTimeSeriesFeatureImpl(StationFeature s, CalendarDateUnit timeUnit, java.lang.String altUnits, int nfeatures)
public StationTimeSeriesFeatureImpl(StationFeature s, java.util.List<CoordinateAxis> coords, int nfeatures)
public java.lang.String getWmoId()
Station
public java.lang.String getDescription()
Station
getDescription
in interface Station
public double getLatitude()
EarthLocation
getLatitude
in interface EarthLocation
public double getLongitude()
EarthLocation
getLongitude
in interface EarthLocation
public double getAltitude()
EarthLocation
getAltitude
in interface EarthLocation
Double.NaN
indicates "no altitude".public LatLonPoint getLatLon()
EarthLocation
getLatLon
in interface EarthLocation
public boolean isMissing()
EarthLocation
isMissing
in interface EarthLocation
@Nonnull public FeatureType getCollectionFeatureType()
DsgFeatureCollection
getCollectionFeatureType
in interface DsgFeatureCollection
getCollectionFeatureType
in class PointCollectionImpl
public java.lang.String toString()
toString
in class java.lang.Object
public StationTimeSeriesFeature subset(CalendarDateRange dateRange)
StationTimeSeriesFeature
subset
in interface StationTimeSeriesFeature
dateRange
- only points in this date range. may be null.public int compareTo(@Nonnull Station so)
compareTo
in interface java.lang.Comparable<Station>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object