Package ucar.unidata.geoloc
Class Station
- java.lang.Object
-
- ucar.unidata.geoloc.EarthLocation
-
- ucar.unidata.geoloc.Station
-
- All Implemented Interfaces:
Comparable<Station>
@Immutable public class Station extends EarthLocation implements Comparable<Station>
A named location on the earth.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Station.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Station.Builder
builder(String name)
int
compareTo(Station so)
String
getDescription()
Station description or nullString
getName()
Station name or id.int
getNobs()
The Number of obs at this station, or -1 if unknownString
getWmoId()
WMO station id or null.-
Methods inherited from class ucar.unidata.geoloc.EarthLocation
create, create, equals, getAltitude, getAltitudeUnits, getLatitude, getLatLon, getLongitude, hashCode, isMissing
-
-
-
-
Method Detail
-
getName
public String getName()
Station name or id. Must be unique within the collection. May not be null.
-
getDescription
@Nullable public String getDescription()
Station description or null
-
getWmoId
@Nullable public String getWmoId()
WMO station id or null.
-
getNobs
public int getNobs()
The Number of obs at this station, or -1 if unknown
-
compareTo
public int compareTo(Station so)
- Specified by:
compareTo
in interfaceComparable<Station>
-
builder
public static Station.Builder builder(String name)
-
-