public class GempakStation extends java.lang.Object implements Station
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COUN
COUN identifier
|
static java.lang.String |
SELV
SELV identifier
|
static java.lang.String |
SLAT
SLAT identifier
|
static java.lang.String |
SLON
SLON identifier
|
static java.lang.String |
SPRI
SPRI identifier
|
static java.lang.String |
STAT
STAT identifier
|
static java.lang.String |
STD2
STD2 identifier
|
static java.lang.String |
STID
STID identifier
|
static java.lang.String |
STNM
STNM identifier
|
static java.lang.String |
SWFO
SWFO identifier
|
static java.lang.String |
WFO2
WFO2 identifier
|
Constructor and Description |
---|
GempakStation()
Create a new GEMPAK station
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Station o)
Compare this to another
|
double |
getAltitude()
Get the altitude in meters; missing = NaN.
|
java.lang.String |
getCOUN()
Get the COUN
|
java.lang.String |
getDescription()
Get the Station description
|
int |
getIndex()
Get the row or column index for this station
|
double |
getLatitude()
Get the latitude in decimal degrees north
|
LatLonPoint |
getLatLon()
Get the lat/lon location
|
double |
getLongitude()
Get the longitude in decimal degrees east
|
java.lang.String |
getName()
Get the Station name.
|
int |
getNobs()
get Number of obs at this station
|
int |
getSELV()
Get the SELV
|
int |
getSLAT()
Get the SLAT
|
int |
getSLON()
Get the SLON
|
int |
getSPRI()
Get the SPRI
|
java.lang.String |
getSTAT()
Get the STAT
|
java.lang.String |
getSTD2()
Get the STD2
|
java.lang.String |
getSTID()
Get the STID
|
int |
getSTNM()
Get the STNM
|
java.lang.String |
getSWFO()
Get the SWFO
|
java.lang.String |
getWFO2()
Get the WFO2
|
java.lang.String |
getWmoId()
Get the WMO Station ID as a string
|
boolean |
isMissing()
Are either lat or lon missing?
|
void |
setCOUN(java.lang.String value)
Set the COUN
|
void |
setDescription(java.lang.String desc)
Set the station description
|
void |
setIndex(int rowOrCol)
Set the row or column index for this station
|
void |
setSELV(int value)
Set the SELV
|
void |
setSLAT(int value)
Set the SLAT
|
void |
setSLON(int value)
Set the SLON
|
void |
setSPRI(int value)
Set the SPRI
|
void |
setSTAT(java.lang.String value)
Set the STAT
|
void |
setSTD2(java.lang.String value)
Set the STD2
|
void |
setSTID(java.lang.String value)
Set the STID
|
void |
setSTNM(int value)
Set the STNM
|
void |
setSWFO(java.lang.String value)
Set the SWFO
|
void |
setWFO2(java.lang.String value)
Set the WFO2
|
java.lang.String |
toString()
Return a String representation of this
|
public static final java.lang.String STID
public static final java.lang.String STNM
public static final java.lang.String SLAT
public static final java.lang.String SLON
public static final java.lang.String SELV
public static final java.lang.String STAT
public static final java.lang.String COUN
public static final java.lang.String STD2
public static final java.lang.String SPRI
public static final java.lang.String SWFO
public static final java.lang.String WFO2
public java.lang.String toString()
toString
in class java.lang.Object
public int getNobs()
Station
public void setSTID(java.lang.String value)
value
- new valuepublic java.lang.String getSTID()
public void setSTNM(int value)
value
- new valuepublic int getSTNM()
public void setSTAT(java.lang.String value)
value
- new valuepublic java.lang.String getSTAT()
public void setCOUN(java.lang.String value)
value
- new valuepublic java.lang.String getCOUN()
public void setSTD2(java.lang.String value)
value
- new valuepublic java.lang.String getSTD2()
public void setSWFO(java.lang.String value)
value
- new valuepublic java.lang.String getSWFO()
public void setWFO2(java.lang.String value)
value
- new valuepublic java.lang.String getWFO2()
public void setSLAT(int value)
value
- new valuepublic int getSLAT()
public void setSLON(int value)
value
- new valuepublic int getSLON()
public void setSELV(int value)
value
- new valuepublic int getSELV()
public void setSPRI(int value)
value
- new valuepublic int getSPRI()
public double getLatitude()
getLatitude
in interface EarthLocation
public double getLongitude()
getLongitude
in interface EarthLocation
public double getAltitude()
getAltitude
in interface EarthLocation
public java.lang.String getName()
public java.lang.String getDescription()
getDescription
in interface Station
public void setDescription(java.lang.String desc)
desc
- the descriptionpublic java.lang.String getWmoId()
public int compareTo(Station o)
compareTo
in interface java.lang.Comparable<Station>
o
- other objectpublic boolean isMissing()
isMissing
in interface EarthLocation
public LatLonPoint getLatLon()
getLatLon
in interface EarthLocation
public void setIndex(int rowOrCol)
rowOrCol
- the indexpublic int getIndex()