[ANN] Ruby WX 0.1.4

H

Hans Fugal

Now with a rudimentary to_s method. (still missing sky and present
weather information, and not very smart about things like calm wind, and
of course the RMK field is uninterpreted)

Also added METAR#raw and METAR#relative_humidity

Sample output:

KLRU 291553Z AUTO 00000KT 10SM CLR 06/04 A3016 RMK AO2
Conditions at: KLRU
Temperature/Dewpoint: 6°C / 4°C (42.8°F / 39.2°F) [RH 86.9%]
Pressure (altimiter): 30.16 inches Hg (1021.3 mb)
Winds: 0 kt from 0 deg
Visibility: 10 mi
Remarks: AO2

Example application:

require 'wx/metar'
m = WX::METAR.parse($stdin.readline)
puts m.to_s

Happy meteorologing!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

[ANN] Ruby WX 2
[ANN] Ruby WX (weather) 12

Members online

No members online now.

Forum statistics

Threads
474,202
Messages
2,571,057
Members
47,665
Latest member
salkete

Latest Threads

Top