Advanced
METAR parsing
Right
now the observation and forecasting code reads human readable information
in addition to grabbing the METAR encoded data. We need to parse that METAR format more completely.
Detailed information about windspeed, humidity, temperature, visibility,
and other information is contained within a coded METAR message. It
would be useful to support processing this encoded message as it would
allow better observation and forecast retrieval rather than relying
on the fewer sources of observations and forecasts that are already
decoded.
Resources
There are
several good reference sites for METAR parsing. Here are some I've found:
http://www.nws.noaa.gov/oso/oso1/oso12/metar.htm
http://www.nws.noaa.gov/oso/oso1/oso12/tools.htm
http://www.nws.noaa.gov/oso/oso1/oso12/document/guide.shtml
Here
is a sample METAR observation: ftp://weather.noaa.gov/data/observations/metar/decoded/KDCA.TXT
Package
name
org.javaweather.metar.
Some basic METAR processing and retrieval code is already in this package.
|