public class Metar extends StationOb
Constructor and Description |
---|
Metar(Station stn,
Timestamp timestamp,
Ensemble ensemble,
ByteString text,
WMOHeader wmoHeader)
Create a new Metar
|
Modifier and Type | Method and Description |
---|---|
java.lang.StringBuffer |
format(java.lang.StringBuffer buf)
Format this Metar for toString()
|
Value |
getAltimeterSetting()
Get the Altimeter setting for this metar
|
Value |
getCeiling()
Get the ceiling value
|
Value |
getDewPoint()
Get the dewpoint value.
|
Value |
getSkyCoverage()
Get the sky coverage
|
Value |
getTemperature()
Get the temperature
|
ByteString |
getText()
Get the raw METAR text
|
Value |
getVerticalVisibility()
Get the vertical visibility value
|
Value |
getWindDirection()
Get the wind direction.
|
Value |
getWindSpeed()
Get the wind speed.
|
java.lang.String |
toString()
Return a formatted string representation for this Metar.
|
getEnsemble, getStation, getStationIdentifier, getTimestamp
public Metar(Station stn, Timestamp timestamp, Ensemble ensemble, ByteString text, WMOHeader wmoHeader)
stn
- the Stationtimestamp
- the timeensemble
- the decoded valuestext
- the raw textwmoHeader
- the WMO headerpublic ByteString getText()
public Value getAltimeterSetting()
public Value getCeiling()
public Value getDewPoint()
public Value getSkyCoverage()
public Value getTemperature()
public Value getVerticalVisibility()
public Value getWindDirection()
public Value getWindSpeed()
public java.lang.StringBuffer format(java.lang.StringBuffer buf)
buf
- buffer for output formatbuf
with formatted infopublic java.lang.String toString()
toString
in class java.lang.Object