Added support for $weather (experimental).
authorCesare Tirabassi <norsetto@ubuntu.com>
Mon, 6 Jul 2009 22:20:12 +0000 (00:20 +0200)
committerCesare Tirabassi <norsetto@ubuntu.com>
Mon, 6 Jul 2009 22:20:12 +0000 (00:20 +0200)
commit1171ab38a505e56261842f09b942c06fe41e3561
treef3059fe3e34552b747edd2945c36e3d5cbec4849
parentae6c02b0c82a9bf1621e1c073f0a3fbcb48db463
Added support for $weather (experimental).

Download, parse and display METAR data from the NWS.

icao must be a valid icao for the required location
(see for instance https://pilotweb.nas.faa.gov/qryhtml/icao/).

data_type must be one of the following:

last_update   : display the date (yyyy/mm/dd) and time (UTC)
        of the last update.
temperature_C : display air temperature in degree Celsius.
temperature_F : display air temperature in degree Fahrenheit.
cloud_cover   : display the highest cloud cover status.
pressure      : display air pressure in millibar.
wind_speed    : display wind speed in km/hour.
wind_dir      : display wind direction.
wind_dir_DEG  : display compass wind direction.
humidity      : display relative humidity in %.
weather       : display any relevant weather event (rain, snow, etc.).

delay_in_minutes (optional, default 30) cannot be lower than 30 min.
Up to 3 stations can be simultaneously queried.

Use --enable-weather to compile this in.
ChangeLog
configure.ac.in
doc/variables.xml
extras/nano/conky.nanorc
extras/vim/syntax/conkyrc.vim
src/Makefile.am
src/conky.c
src/conky.h
src/text_object.h
src/weather.c [new file with mode: 0644]
src/weather.h [new file with mode: 0644]