|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.nc2.iosp.gempak.GempakStation
public class GempakStation
Class to hold GEMPAK station information
Field Summary | |
---|---|
static String |
COUN
COUN identifier |
static String |
SELV
SELV identifier |
static String |
SLAT
SLAT identifier |
static String |
SLON
SLON identifier |
static String |
SPRI
SPRI identifier |
static String |
STAT
STAT identifier |
static String |
STD2
STD2 identifier |
static String |
STID
STID identifier |
static String |
STNM
STNM identifier |
static String |
SWFO
SWFO identifier |
static String |
WFO2
WFO2 identifier |
Constructor Summary | |
---|---|
GempakStation()
Create a new GEMPAK station |
Method Summary | |
---|---|
int |
compareTo(Station o)
Compare this to another |
double |
getAltitude()
Get the altitude in meters; missing = NaN. |
String |
getCOUN()
Get the COUN |
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 |
String |
getName()
Get the Station name. |
int |
getSELV()
Get the SELV |
int |
getSLAT()
Get the SLAT |
int |
getSLON()
Get the SLON |
int |
getSPRI()
Get the SPRI |
String |
getSTAT()
Get the STAT |
String |
getSTD2()
Get the STD2 |
String |
getSTID()
Get the STID |
int |
getSTNM()
Get the STNM |
String |
getSWFO()
Get the SWFO |
String |
getWFO2()
Get the WFO2 |
String |
getWmoId()
Get the WMO Station ID as a string |
boolean |
isMissing()
Are either lat or lon missing? |
void |
setCOUN(String value)
Set the COUN |
void |
setDescription(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(String value)
Set the STAT |
void |
setSTD2(String value)
Set the STD2 |
void |
setSTID(String value)
Set the STID |
void |
setSTNM(int value)
Set the STNM |
void |
setSWFO(String value)
Set the SWFO |
void |
setWFO2(String value)
Set the WFO2 |
String |
toString()
Return a String representation of this |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String STID
public static final String STNM
public static final String SLAT
public static final String SLON
public static final String SELV
public static final String STAT
public static final String COUN
public static final String STD2
public static final String SPRI
public static final String SWFO
public static final String WFO2
Constructor Detail |
---|
public GempakStation()
Method Detail |
---|
public String toString()
toString
in class Object
public void setSTID(String value)
value
- new valuepublic String getSTID()
public void setSTNM(int value)
value
- new valuepublic int getSTNM()
public void setSTAT(String value)
value
- new valuepublic String getSTAT()
public void setCOUN(String value)
value
- new valuepublic String getCOUN()
public void setSTD2(String value)
value
- new valuepublic String getSTD2()
public void setSWFO(String value)
value
- new valuepublic String getSWFO()
public void setWFO2(String value)
value
- new valuepublic 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 String getName()
getName
in interface Station
public String getDescription()
getDescription
in interface Station
public void setDescription(String desc)
desc
- the descriptionpublic String getWmoId()
getWmoId
in interface Station
public int compareTo(Station o)
compareTo
in interface Comparable<Station>
o
- other object
public boolean isMissing()
isMissing
in interface EarthLocation
public LatLonPoint getLatLon()
getLatLon
in interface EarthLocation
public void setIndex(int rowOrCol)
rowOrCol
- the indexpublic int getIndex()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |