public class StationRadialViewer.StationBean extends java.lang.Object implements Station
| Constructor and Description |
|---|
StationBean(Station s) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Station so) |
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()
Station name or id.
|
int |
getNobs()
get Number of obs at this station
|
java.lang.String |
getWmoId()
WMO station id.
|
boolean |
isMissing()
Are either lat or lon missing?
|
public StationBean(Station s)
public java.lang.String getName()
Stationpublic java.lang.String getDescription()
StationgetDescription in interface Stationpublic java.lang.String getWmoId()
Stationpublic double getLatitude()
EarthLocationgetLatitude in interface EarthLocationpublic double getLongitude()
EarthLocationgetLongitude in interface EarthLocationpublic double getAltitude()
EarthLocationEarthLocation was retrieved from a PointFeature
(via PointFeature.getLocation()), then the unit can be obtained by calling
pointFeature.getFeatureCollection().getAltUnits().getAltitude in interface EarthLocationDouble.NaN indicates "no altitude".public LatLonPoint getLatLon()
EarthLocationgetLatLon in interface EarthLocationpublic boolean isMissing()
EarthLocationisMissing in interface EarthLocationpublic int compareTo(Station so)
compareTo in interface java.lang.Comparable<Station>