A library for retrieving and parsing meteorological aviation reports (METAR) and terminal area forecasts (TAF)
Ruby
Pull request Compare This branch is 1 commit ahead of felixk:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
README.markdown
example.rb

README.markdown

ruby-wx

This is a fork of brandonh's ruby-metar project. I have renamed it back to ruby-wx as I plan on including TAF decoding support.

METAR decoding TAF decoding

example.rb

usage: ./example.rb 

KSAN 251851Z 31007KT 10SM BKN025 16/09 A3019 RMK AO2 SLP222 T01560094 
Conditions at:        KSAN
Temperature/Dewpoint: 16°C / 9°C (60.8°F / 48.2°F) [RH 62.8%]
Pressure (altimeter): 30.19 inches Hg (1022.4 mb)
Winds:                310.0 degrees (NW) at 7 knots (8.1 MPH; 3.6 m/s)
Visibility:           10 mi
Clouds:               Broken at 2500 ft
Remarks:              AO2 SLP222 T01560094