public abstract class StationProfileFeatureImpl extends OneNestedPointCollectionImpl implements StationProfileFeature
| Modifier and Type | Field and Description |
|---|---|
protected PointFeatureCollectionIterator |
localIterator |
protected Station |
s |
protected int |
timeSeriesNpts |
protected DateUnit |
timeUnit |
npts| Constructor and Description |
|---|
StationProfileFeatureImpl(Station s,
DateUnit timeUnit,
int npts) |
StationProfileFeatureImpl(String name,
String desc,
String wmoId,
double lat,
double lon,
double alt,
DateUnit timeUnit,
int npts) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Station so) |
double |
getAltitude()
altitude in meters; missing = NaN.
|
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.
|
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, getCollectionFeatureType, getNestedPointFeatureCollectionIterator, isMultipleNested, setSizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProfileByDate, getTimesflatten, flatten, getNestedPointFeatureCollectionIterator, getPointFeatureCollectionIterator, isMultipleNestedgetCollectionFeatureTypeprotected DateUnit timeUnit
protected int timeSeriesNpts
protected Station s
protected PointFeatureCollectionIterator localIterator
public StationProfileFeatureImpl(String name, String desc, String wmoId, double lat, double lon, double alt, DateUnit timeUnit, int npts)
public int size()
NestedPointFeatureCollectionsize in interface NestedPointFeatureCollectionsize in interface StationProfileFeaturesize in class OneNestedPointCollectionImplpublic String getName()
FeatureCollectiongetName in interface FeatureCollectiongetName in interface StationgetName in class OneNestedPointCollectionImplpublic 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 IOException
StationProfileFeaturehasNext in interface StationProfileFeatureIOException - on read errorpublic ProfileFeature next() throws IOException
StationProfileFeaturenext in interface StationProfileFeatureIOException - on read errorpublic void resetIteration()
throws IOException
StationProfileFeatureresetIteration in interface StationProfileFeatureIOException - on read errorpublic int compareTo(Station so)
compareTo in interface Comparable<Station>public StationProfileFeature subset(DateRange dateRange) throws IOException
StationProfileFeaturesubset in interface StationProfileFeaturedateRange - only points in this date range. may be null.IOException - on read errorpublic StationProfileFeature subset(LatLonRect dateRange) throws IOException
NestedPointFeatureCollectionsubset in interface NestedPointFeatureCollectiondateRange - spatial subsetIOException - on i/o errorCopyright © 1999-2012 UCAR/Unidata. All Rights Reserved.