Package ucar.nc2.ui.op
Class StationRadialViewer.StationBean
- java.lang.Object
-
- ucar.nc2.ui.op.StationRadialViewer.StationBean
-
- All Implemented Interfaces:
Comparable<Station>
,EarthLocation
,Station
- Enclosing class:
- StationRadialViewer
public static class StationRadialViewer.StationBean extends Object implements Station
-
-
Constructor Summary
Constructors Constructor Description StationBean(Station s)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Station so)
double
getAltitude()
Returns the altitude in some unit.String
getDescription()
Station descriptiondouble
getLatitude()
Returns the latitude in some unit.LatLonPoint
getLatLon()
Get the lat/lon locationdouble
getLongitude()
Returns the longitude in some unit.String
getName()
Station name or id.int
getNobs()
get Number of obs at this stationString
getWmoId()
WMO station id.boolean
isMissing()
Are either lat or lon missing?
-
-
-
Constructor Detail
-
StationBean
public StationBean(Station s)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:Station
Station name or id. Must be unique within the collection
-
getDescription
public String getDescription()
Description copied from interface:Station
Station description- Specified by:
getDescription
in interfaceStation
- Returns:
- station description or null
-
getLatitude
public double getLatitude()
Description copied from interface:EarthLocation
Returns the latitude in some unit. The unit is very likely decimal degrees north, but we don't enforce that anywhere.- Specified by:
getLatitude
in interfaceEarthLocation
- Returns:
- the latitude in some unit.
-
getLongitude
public double getLongitude()
Description copied from interface:EarthLocation
Returns the longitude in some unit. The unit is very likely decimal degrees east, but we don't enforce that anywhere.- Specified by:
getLongitude
in interfaceEarthLocation
- Returns:
- the longitude in some unit.
-
getAltitude
public double getAltitude()
Description copied from interface:EarthLocation
Returns the altitude in some unit.- Specified by:
getAltitude
in interfaceEarthLocation
- Returns:
- the altitude in some unit. A value of
Double.NaN
indicates "no altitude".
-
getLatLon
public LatLonPoint getLatLon()
Description copied from interface:EarthLocation
Get the lat/lon location- Specified by:
getLatLon
in interfaceEarthLocation
- Returns:
- lat/lon location
-
isMissing
public boolean isMissing()
Description copied from interface:EarthLocation
Are either lat or lon missing?- Specified by:
isMissing
in interfaceEarthLocation
- Returns:
- true if lat or lon is missing
-
compareTo
public int compareTo(Station so)
- Specified by:
compareTo
in interfaceComparable<Station>
-
-