public abstract class StationProfileFeatureImpl extends PointFeatureCCImpl implements StationProfileFeature
| Modifier and Type | Class and Description |
|---|---|
static class |
StationProfileFeatureImpl.StationProfileFeatureSubset |
| Modifier and Type | Field and Description |
|---|---|
protected PointFeatureCollectionIterator |
localIterator |
protected Station |
station |
protected int |
timeSeriesNpts |
collectionFeatureType| Constructor and Description |
|---|
StationProfileFeatureImpl(Station s,
CalendarDateUnit timeUnit,
java.lang.String altUnits,
int npts) |
StationProfileFeatureImpl(Station s,
java.util.List<CoordinateAxis> coords,
int npts) |
StationProfileFeatureImpl(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) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Station so) |
boolean |
equals(java.lang.Object o) |
double |
getAltitude()
Returns the altitude in some unit.
|
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 |
getName()
Get the name of this feature collection.
|
int |
getNobs()
get Number of obs at this station
|
java.lang.String |
getWmoId()
WMO station id.
|
int |
hashCode() |
boolean |
hasNext()
Use the internal iterator to check if there is another ProfileFeature in the iteration.
|
boolean |
isMissing()
Are either lat or lon missing?
|
java.util.Iterator<ProfileFeature> |
iterator() |
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 Features in the collection.
|
StationProfileFeature |
subset(CalendarDateRange dateRange)
Subset this collection by dateRange
|
StationProfileFeature |
subset(LatLonRect boundingBox) |
getCollectionFeatureTypegetAltName, getAltUnits, getBoundingBox, getCalendarDateRange, getCoordinateVariables, getExtraVariables, getInfo, getTimeName, getTimeUnitclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetFeatureData, getPointFeatureCollectionIterator, getProfileByDate, getTimescreategetCollectionIteratorgetAltName, getAltUnits, getBoundingBox, getCalendarDateRange, getCollectionFeatureType, getCoordinateVariables, getExtraVariables, getTimeName, getTimeUnitprotected int timeSeriesNpts
protected Station station
protected PointFeatureCollectionIterator localIterator
public StationProfileFeatureImpl(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)
public StationProfileFeatureImpl(Station s, CalendarDateUnit timeUnit, java.lang.String altUnits, int npts)
public StationProfileFeatureImpl(Station s, java.util.List<CoordinateAxis> coords, int npts)
public int getNobs()
StationgetNobs in interface StationgetNobs in class DsgCollectionImplpublic java.lang.String getWmoId()
Stationpublic int size()
DsgFeatureCollectionsize in interface DsgFeatureCollectionsize in interface StationProfileFeaturesize in class DsgCollectionImpl@Nonnull public java.lang.String getName()
DsgFeatureCollectiongetName in interface DsgFeatureCollectiongetName in interface StationgetName in class DsgCollectionImplpublic 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 EarthLocationDouble.NaN indicates "no altitude".public LatLonPoint getLatLon()
EarthLocationgetLatLon in interface EarthLocationpublic boolean isMissing()
EarthLocationisMissing in interface EarthLocationpublic int compareTo(@Nonnull
Station so)
compareTo in interface java.lang.Comparable<Station>public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic StationProfileFeature subset(LatLonRect boundingBox)
public StationProfileFeature subset(CalendarDateRange dateRange)
StationProfileFeaturesubset in interface StationProfileFeaturedateRange - only points in this date range. may be null.public java.util.Iterator<ProfileFeature> iterator()
iterator in interface java.lang.Iterable<ProfileFeature>public 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 error