public abstract class StationProfileFeatureImpl extends OneNestedPointCollectionImpl implements StationProfileFeature
| Modifier and Type | Field and Description |
|---|---|
protected PointFeatureCollectionIterator |
localIterator |
protected Station |
s |
protected int |
timeSeriesNpts |
altUnits, collectionFeatureType, extras, name, npts, timeUnit| Constructor and Description |
|---|
StationProfileFeatureImpl(Station s,
DateUnit timeUnit,
java.lang.String altUnits,
int npts) |
StationProfileFeatureImpl(java.lang.String name,
java.lang.String desc,
java.lang.String wmoId,
double lat,
double lon,
double alt,
DateUnit timeUnit,
java.lang.String altUnits,
int npts) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Station so) |
double |
getAltitude()
altitude in meters; missing = NaN.
|
java.lang.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
|
java.lang.String |
getName()
Get the name of this feature collection.
|
int |
getNobs()
get Number of obs at this station
|
java.lang.String |
getWmoId()
WMO station id.
|
boolean |
hasNext()
Use the internal iterator to check if there is another ProfileFeature in the iteration.
|
boolean |
isMissing()
Are either lat or lon missing?
|
ProfileFeature |
next()
Use the internal iterator to get the next ProfileFeature in the iteration.
|
void |
resetIteration()
Reset the internal iterator for another iteration over the ProfileFeature in this Collection.
|
int |
size()
The number of elements in the collection.
|
StationProfileFeature |
subset(DateRange dateRange)
Subset this collection by dateRange
|
StationProfileFeature |
subset(LatLonRect dateRange)
Get a subsetted NestedPointFeatureCollection based on a LatLonRect
|
flatten, flatten, getAltUnits, getCollectionFeatureType, getExtraVariables, getNestedPointFeatureCollectionIterator, getTimeUnit, isMultipleNested, setSizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProfileByDate, getTimesgetFeatureDataflatten, flatten, getAltUnits, getExtraVariables, getNestedPointFeatureCollectionIterator, getPointFeatureCollectionIterator, getTimeUnit, isMultipleNestedgetCollectionFeatureTypeprotected int timeSeriesNpts
protected Station s
protected PointFeatureCollectionIterator localIterator
public StationProfileFeatureImpl(java.lang.String name,
java.lang.String desc,
java.lang.String wmoId,
double lat,
double lon,
double alt,
DateUnit timeUnit,
java.lang.String altUnits,
int npts)
public int getNobs()
Stationpublic java.lang.String getWmoId()
Stationpublic int size()
NestedPointFeatureCollectionsize in interface NestedPointFeatureCollectionsize in interface StationProfileFeaturesize in class OneNestedPointCollectionImplpublic java.lang.String getName()
FeatureCollectiongetName in interface FeatureCollectiongetName in interface StationgetName in class OneNestedPointCollectionImplpublic java.lang.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 boolean hasNext()
throws java.io.IOException
StationProfileFeaturehasNext in interface StationProfileFeaturejava.io.IOException - on read errorpublic ProfileFeature next() throws java.io.IOException
StationProfileFeaturenext in interface StationProfileFeaturejava.io.IOException - on read errorpublic void resetIteration()
throws java.io.IOException
StationProfileFeatureresetIteration in interface StationProfileFeaturejava.io.IOException - on read errorpublic int compareTo(Station so)
compareTo in interface java.lang.Comparable<Station>public StationProfileFeature subset(DateRange dateRange) throws java.io.IOException
StationProfileFeaturesubset in interface StationProfileFeaturedateRange - only points in this date range. may be null.java.io.IOException - on read errorpublic StationProfileFeature subset(LatLonRect dateRange) throws java.io.IOException
NestedPointFeatureCollectionsubset in interface NestedPointFeatureCollectiondateRange - spatial subsetjava.io.IOException - on i/o error