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 TypeMethodDescriptionboolean
See if this object is equal to the object in question.Get the altitude as a Real.getID()
Get the id of this station.double
Get the latitude of this station in degrees.double
Get 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.void
setAltitude
(Real alt) Set the altitude as a Real.void
Set the id of this station.void
setLatitude
(double lat) Set the latitude of this station in degrees.void
setLongitude
(double lon) Set the longitude of this station in degrees.void
Set the name of this station.void
Set the VisAD NamedLocation that can be used to represent this NamedStation.Methods inherited from interface java.lang.Comparable
compareTo
Methods 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:
NamedLocation
object.
-
setNamedLocation
Set the VisAD NamedLocation that can be used to represent this NamedStation.- Parameters:
nl
-NamedLocation
to use.
-
getLatitude
double getLatitude()Get the latitude of this station in degrees.- Specified by:
getLatitude
in 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:
getLongitude
in 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.
-