|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.nc2.ft.point.OneNestedPointCollectionImpl
ucar.nc2.ft.point.StationProfileFeatureImpl
public abstract class StationProfileFeatureImpl
Abstract superclass for implementations of StationProfileFeature. Subclass must implement getNestedPointFeatureCollectionIterator();
| Field Summary | |
|---|---|
protected NestedPointFeatureCollectionIterator |
localIterator
|
protected Station |
s
|
protected int |
timeSeriesNpts
|
protected DateUnit |
timeUnit
|
| Constructor Summary | |
|---|---|
StationProfileFeatureImpl(Station s,
DateUnit timeUnit,
int npts)
|
|
StationProfileFeatureImpl(java.lang.String name,
java.lang.String desc,
java.lang.String wmoId,
double lat,
double lon,
double alt,
DateUnit timeUnit,
int npts)
|
|
| Method Summary | |
|---|---|
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. |
java.lang.String |
getWmoId()
WMO station id. |
boolean |
hasNext()
Use the internal iterator to check if there is another ProfileFeature in the iteration. |
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 |
| Methods inherited from class ucar.nc2.ft.point.OneNestedPointCollectionImpl |
|---|
flatten, getCollectionFeatureType, getNestedPointFeatureCollectionIterator, isMultipleNested, setSize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ucar.nc2.ft.NestedPointFeatureCollection |
|---|
flatten, getNestedPointFeatureCollectionIterator, getPointFeatureCollectionIterator, isMultipleNested |
| Methods inherited from interface ucar.nc2.ft.FeatureCollection |
|---|
getCollectionFeatureType |
| Field Detail |
|---|
protected DateUnit timeUnit
protected int timeSeriesNpts
protected Station s
protected NestedPointFeatureCollectionIterator localIterator
| Constructor Detail |
|---|
public StationProfileFeatureImpl(java.lang.String name,
java.lang.String desc,
java.lang.String wmoId,
double lat,
double lon,
double alt,
DateUnit timeUnit,
int npts)
public StationProfileFeatureImpl(Station s,
DateUnit timeUnit,
int npts)
| Method Detail |
|---|
public java.lang.String getWmoId()
Station
getWmoId in interface Stationpublic int size()
NestedPointFeatureCollection
size in interface NestedPointFeatureCollectionsize in interface StationProfileFeaturesize in class OneNestedPointCollectionImplpublic java.lang.String getName()
FeatureCollection
getName in interface FeatureCollectiongetName in interface StationgetName in class OneNestedPointCollectionImplpublic java.lang.String getDescription()
Station
getDescription in interface Stationpublic double getLatitude()
EarthLocation
getLatitude in interface EarthLocationpublic double getLongitude()
EarthLocation
getLongitude in interface EarthLocationpublic double getAltitude()
EarthLocation
getAltitude in interface EarthLocationpublic LatLonPoint getLatLon()
EarthLocation
getLatLon in interface EarthLocation
public boolean hasNext()
throws java.io.IOException
StationProfileFeature
hasNext in interface StationProfileFeaturejava.io.IOException - on read error
public ProfileFeature next()
throws java.io.IOException
StationProfileFeature
next in interface StationProfileFeaturejava.io.IOException - on read error
public void resetIteration()
throws java.io.IOException
StationProfileFeature
resetIteration 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
StationProfileFeature
subset in interface StationProfileFeaturedateRange - only points in this date range. may be null.
java.io.IOException - on read error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||