public abstract class StationTimeSeriesFeatureImpl extends PointCollectionImpl implements StationTimeSeriesFeature
PointCollectionImpl.PointCollectionSubset| Modifier and Type | Field and Description |
|---|---|
protected Station |
s |
altUnits, boundingBox, dateRange, extras, localIterator, name, npts, timeUnit| Constructor and Description |
|---|
StationTimeSeriesFeatureImpl(Station s,
DateUnit timeUnit,
String altUnits,
int npts) |
StationTimeSeriesFeatureImpl(String name,
String desc,
String wmoId,
double lat,
double lon,
double alt,
DateUnit timeUnit,
String altUnits,
int npts) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Station so) |
boolean |
equals(Object o) |
double |
getAltitude()
altitude in meters; missing = NaN.
|
FeatureType |
getCollectionFeatureType()
All features in this collection have this feature type
|
String |
getDescription()
Station description
|
double |
getLatitude()
latitude in decimal degrees north
|
LatLonPoint |
getLatLon()
Get the lat/lon location
|
double |
getLongitude()
longitude in decimal degrees east
|
String |
getName()
Get the name of this feature collection.
|
DateUnit |
getTimeUnit()
The udunit time unit string.
|
String |
getWmoId()
WMO station id.
|
int |
hashCode() |
boolean |
isMissing()
Are either lat or lon missing?
|
void |
setNumberPoints(int npts) |
int |
size()
The number of points in the collection.
|
StationTimeSeriesFeature |
subset(CalendarDateRange dateRange)
Subset this collection by calendar dateRange
|
StationTimeSeriesFeature |
subset(DateRange dateRange) |
String |
toString() |
calcBounds, finish, getAltUnits, getBoundingBox, getCalendarDateRange, getDateRange, getExtraVariables, getNobs, hasNext, next, resetIteration, setBoundingBox, setCalendarDateRange, setDateRange, setSize, subset, subsetclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetFeatureDatacalcBounds, finish, getAltUnits, getBoundingBox, getCalendarDateRange, getDateRange, getExtraVariables, getPointFeatureIterator, hasNext, next, resetIteration, setBoundingBox, setCalendarDateRange, setDateRange, setSize, subset, subsetprotected Station s
public StationTimeSeriesFeatureImpl(String name, String desc, String wmoId, double lat, double lon, double alt, DateUnit timeUnit, String altUnits, int npts)
public int size()
PointFeatureCollectionsize in interface PointFeatureCollectionsize in interface StationTimeSeriesFeaturesize in class PointCollectionImplpublic void setNumberPoints(int npts)
public String getName()
FeatureCollectiongetName in interface FeatureCollectiongetName in interface StationgetName in class PointCollectionImplpublic String getDescription()
StationgetDescription in interface Stationpublic double getLatitude()
EarthLocationgetLatitude in interface EarthLocationpublic double getLongitude()
EarthLocationgetLongitude in interface EarthLocationpublic double getAltitude()
EarthLocationgetAltitude in interface EarthLocationpublic LatLonPoint getLatLon()
EarthLocationgetLatLon in interface EarthLocationpublic boolean isMissing()
EarthLocationisMissing in interface EarthLocationpublic FeatureType getCollectionFeatureType()
FeatureCollectiongetCollectionFeatureType in interface FeatureCollectiongetCollectionFeatureType in class PointCollectionImplpublic DateUnit getTimeUnit()
PointFeatureCollectiongetTimeUnit in interface PointFeatureCollectiongetTimeUnit 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 StationTimeSeriesFeature subset(DateRange dateRange) throws IOException
subset in interface StationTimeSeriesFeatureIOExceptionpublic int compareTo(Station so)
compareTo in interface Comparable<Station>Copyright © 1999–2014 UCAR/Unidata. All rights reserved.