Package ucar.unidata.metdata
Interface NamedStation
- All Superinterfaces:
Comparable,Serializable,Station
- All Known Implementing Classes:
NamedStationImpl,SoundingStation
Interface for a landmark with name, id, lat, lon, altitude
(height above msl); and a hash table of "properties".
ID is usually a letter or number code like "KICT,"
and is the "id" part of the NamedLocation.
Name is a name or description like "Wichita."
-
Method Summary
Modifier and TypeMethodDescriptionbooleanSee if this object is equal to the object in question.Get the altitude as a Real.getID()Get the id of this station.doubleGet the latitude of this station in degrees.doubleGet the longitude of this station in degrees.getName()Get the name of this station.Get the VisAD NamedLocation that can be used to represent this NamedStation.voidsetAltitude(Real alt) Set the altitude as a Real.voidSet the id of this station.voidsetLatitude(double lat) Set the latitude of this station in degrees.voidsetLongitude(double lon) Set the longitude of this station in degrees.voidSet the name of this station.voidSet the VisAD NamedLocation that can be used to represent this NamedStation.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface ucar.unidata.metdata.Station
getIdentifier
-
Method Details
-
getNamedLocation
NamedLocation getNamedLocation()Get the VisAD NamedLocation that can be used to represent this NamedStation.- Returns:
NamedLocationobject.
-
setNamedLocation
Set the VisAD NamedLocation that can be used to represent this NamedStation.- Parameters:
nl-NamedLocationto use.
-
getLatitude
double getLatitude()Get the latitude of this station in degrees.- Specified by:
getLatitudein interfaceStation- Returns:
- latitude in degrees north.
-
setLatitude
void setLatitude(double lat) Set the latitude of this station in degrees.- Parameters:
lat- latitude in degrees north.
-
getLongitude
double getLongitude()Get the longitude of this station in degrees.- Specified by:
getLongitudein interfaceStation- Returns:
- longitude in degrees east.
-
setLongitude
void setLongitude(double lon) Set the longitude of this station in degrees.- Parameters:
lon- longitude in degrees east.
-
getAltitude
Real getAltitude()Get the altitude as a Real. Units are not necessarily meters.- Returns:
- altitude as a
Real
-
setAltitude
Set the altitude as a Real. Units are not necessarily meters.- Parameters:
alt- altitude as aReal
-
getID
String getID()Get the id of this station. Something like "KICT" or "72518".- Returns:
- name of the station
-
setID
Set the id of this station. Something like "KICT" or "72518".- Parameters:
id- name of the station
-
getName
String getName()Get the name of this station. Usually a human readable string.- Returns:
- name of the station
-
setName
Set the name of this station. Usually a human readable string.- Parameters:
name- name of the station
-
equals
See if this object is equal to the object in question.
-