9 .TH wmweather+ 1x "@DATE@"
11 wmweather+ \- A dock app for displaying weather information
17 \fBwmweather+\fP downloads current conditions, forecast data, and optionally a
18 radar image. It will also watch for various warnings and display them using an
21 Note that later options override earlier ones, and command line options
22 override configuration file options. All multi-character options may be
23 specified with one or two leading dashes. The configuration file is simply one
24 option (with value if necessary) per line, leading dashes optional. Empty lines
25 and lines beginning with the '#' character are ignored.
28 .BI "-display " <display\ name>
29 Name of display to use.
32 Specify a configuration file instead of the default. This option is ignored in
33 the configuration file.
35 .BI "-display-mode " <string>
36 Specify the starting display mode. Valid values are "cur"/"current",
37 "fcst"/"forecast", and "map"/"radar".
39 .BI "-location " <latitude+longitude>
40 Specify a latitude and longitude, for example "41'59'00N 87'55'00W" or
41 "N41.9833333333333 W87.9166666666667". You may use either the decimal or DMS
42 notation, with either a prefixed sign or a prefixed or suffixed N/S/E/W. If
43 this option isn't given, the program will assume you live on the equator and
44 guess your longitude based on your system timezone offset.
46 .BR "-e\fR,\fP\ -email " <address>
47 Specify the anonymous FTP password.
50 Display version number and exit.
52 .BI "-viewer " <program>
53 External program for viewing weather warnings. This command must take the text
54 to display from standard input. It will be executed as '/bin/sh -c
55 \fI<program>\fP' with stdout redirected to /dev/null. If not specified, it will
58 .BR -animate ", " -noanimate
59 Turn animation on or off. Animation may still be toggled with the middle mouse
60 button as described below. The default is on.
63 .BI "-s\fR,\fP\ -station " <ID>
64 Station ID for all stations. Equivalent to
65 .RI "'-metar-station " <ID> " -avn-station " <ID>
66 .RI " -eta-station " <ID> " -mrf-station " <ID> '.
68 .BI "-metar-station " <ID>
69 Station ID for METAR observations. See \fBCurrent Conditions\fP for more
70 information. A value must be provided.
72 .BI "-avn-station " <ID>
73 Station ID for AVN forecasts. See \fBForecasts\fP for more information.
75 .BI "-eta-station " <ID>
76 Station ID for ETA forecasts. See \fBForecasts\fP for more information.
78 .BI "-mrf-station " <ID>
79 Station ID for MRF forecasts. See \fBForecasts\fP for more information.
81 .BI "-warning-zone " <zoneID>
82 Zone ID for weather warnings. See \fBWarnings\fP for more information. This
83 option may be repeated for multiple zones.
85 .BI "-forget-warning-zones"
86 Cause wmweather+ to forget all warning zones found to this point. Useful for
87 user configuration files to override the warning zones specified in the
88 system-wide configuration.
90 .BI "-metar-uri " <URI>
98 .BI "-warning-uri " <URI>
100 URI to download the specified data from. See \fBURIs\fP for more information.
103 .BI "-metar-post " <DATA>
105 .BI "-avn-post " <DATA>
107 .BI "-eta-post " <DATA>
109 .BI "-mrf-post " <DATA>
111 .BI "-warning-post " <DATA>
113 Post data for downloading the specified data. See \fBURIs\fP for more
114 information. Note that the post option must follow the corresponding URI
115 option. Note that the post data will \fInot\fP be URL-encoded for you.
119 Do not display a radar image. This is the default.
121 .BI "-radar-uri " <URI>
123 .BI "-radar-post " <DATA>
125 Retrieve an image from the specified URI. See \fBRadar Map\fP for more
129 .BI "-radar-crop " <string>
130 How to crop the radar image.
132 format. See \fBRadar Map\fP for more information.
134 .BI "-radar-cross " <string>
135 Where to draw radar crosshairs.
137 format. See \fBRadar Map\fP for more
139 .SS Measurement Options
142 Same as '-cm -hPa -kph -tempc'.
145 Display precipitation amounts in inches. This is the default.
148 Display precipitation amounts in centimeters.
151 Display pressure in inches of mercury. This is the default.
154 Display pressure in hectopascal (millibars)
157 Display pressure in millimeters of mercury.
160 Display pressure in atmospheres.
163 Display windspeed in miles/hour. This is the default.
166 Display windspeed in kilometers/hour.
169 Display windspeed in knots.
172 Display windspeed in meters/second.
175 Display windspeed on the Beaufort scale.
178 Display temperature in degrees Fahrenheit. This is the default.
181 Display temperature in degrees Celcius.
183 The dockapp has three display modes: Current Conditions, Forecasts, and Radar
184 Map. Modes are selected by the buttons across the top of the icon. Weather
185 Warning status is indicated by the font color. At any point
186 double-(left)clicking the main display will send SIGUSR1 to the process (see
188 .Sh "Current Conditions"
189 This mode displays the current conditions as given in the METAR report for the
190 selected station, as downloaded from
191 .UR http://weather.noaa.gov/pub/data/observations/metar/stations/
192 http://weather.noaa.gov/pub/data/observations/metar/stations/
195 Downloads are attempted every 15 minutes. Find your station at
196 .UR http://www.nws.noaa.gov/tg/siteloc.shtml
197 http://www.nws.noaa.gov/tg/siteloc.shtml
201 The station ID is displayed at the top left of the display. The observation
202 date (local) is to the right, and the time (local and UTC) occupies the line
203 below. Under that, to the right is the temperature and relative humidity, the
204 wind direction and speed, the atmospheric pressure (indicated by "P"), the
205 heat index (indicated by "HI"), and the wind chill (indicated by "WC").
207 To the left is a graphical display of the current weather. The sky condition is
208 indicated as clear (sun), partly cloudy (sun with small clouds), mostly cloudy
209 (sun behind a large cloud), or overcast (large cloud). This image may be
210 covered by fog (foggy overlay), dust/sand/haze (brownish particles), or blowing
211 snow/dust/sand (blue wind-lines), with the level of transparency indicating the
212 degree of visibility. If a funnel cloud or tornado was reported, a tornado
213 graphic will be displayed instead of the sky condition.
215 Beneath this graphic, icons will depict rain (raindrop), snow (snowflake),
216 freezing precipitation (hailstones), and thunderstorms (lightning bolt). If
217 animation is enabled, the icons will appear and vanish on a ten second cycle
218 to indicate precipitation intensity. Animation may be enabled or disabled by
219 middle-clicking the display.
221 This mode displays the current conditions as given in the AVN, ETA, and MRF
222 data for the selected stations, as downloaded from
223 .UR http://www.nws.noaa.gov/tdl/synop/products/bullform.mav.htm
224 http://www.nws.noaa.gov/tdl/synop/products/bullform.mav.htm
227 .UR http://www.nws.noaa.gov/mdl/synop/products/bullform.met.htm
228 http://www.nws.noaa.gov/mdl/synop/products/bullform.met.htm
231 .UR http://www.nws.noaa.gov/tdl/synop/products/bullform.mex.htm
232 http://www.nws.noaa.gov/tdl/synop/products/bullform.mex.htm
235 AVN and ETA reports are downloaded at startup, 0000Z, and 1200Z. MRF reports
236 are downloaded at startup and 0000Z. In the event of failure, downloads will be
237 retried every 15 minutes. See the URIs given to find your stations.
239 The display is divided into two sections. A small window at the top indicates
240 the date and hour (local time) for which this forecast is valid. Left-clicking
241 this window or clicking the small arrow-button to the right will advance to
242 the next forecast; right-clicking or clicking the small arrow-button to the
243 left will move to the previous forecast. Middle-clicking will return to the
244 first forecast in the list.
246 The larger display at the bottom shows the forecast for the selected date and
247 time. To the right from top to bottom are the station ID, the daily high and
248 low temperatures, the predicted temperature and relative humidity, and the
249 wind direction and speed. The final line may display the heat index (HI), the
250 wind chill (WC), the amount of snow to fall in that period (SN), the amount of
251 liquid-equivalent precipitation to fall in that period (P), or the forecast
252 type (e.g. "AVN" or "MRF").
254 To the left is a weather display similar to that for the Current Conditions.
255 The animation here indicates the percent chance of rain, snow, freezing
256 precipitation, thunderstorms, and severe thunderstorms (large lightning bolt).
257 Animation may be turned on or off with the middle button. When animation is
258 off, the mouse wheel may be used to adjust the cutoff chance for the display
259 (hold Shift to adjust faster). The cutoff will be displayed briefly when first
260 turning off animation, when first displaying forecasts, whenever button 6
261 (typically, the 'side' button) is held down in the large display. Permanent
262 cutoff display may be toggled by double-middle-clicking the large display.
264 The radar image will be downloaded every 30 minutes from the URI specified.
265 Then, if -radar-crop was specified in the form
267 a subimage of witdh \fIW\fP and height \fIH\fP will be taken, with the
268 upper-left pixel taken from
270 If \fIX\fP or \fIY\fP is negative, it will be measured from the right/bottom of
271 the image instead of the top/left. The image is then resized to fit within the
272 52x40 rectangle available. A border around the image indicates the current font
273 color. If -radar-cross was specified in the form
275 crosshairs will then be
278 when the middle button is held on the radar map.
280 If -noradar was specified or no radar data is available, an image to that
281 effect will be displayed instead.
283 Some nice images are available from
284 .UR http://weather.noaa.gov/radar/mosaic/DS.p19r0/ar.us.conus.shtml
285 http://weather.noaa.gov/radar/mosaic/DS.p19r0/ar.us.conus.shtml
288 .UR http://www.weather.com/common/home/maps.html
289 http://www.weather.com/common/home/maps.html
292 Be kind, since the display is so small pick the smallest version of the image
294 .Sh "Weather Warnings"
295 Various weather warnings, watches, and statements for the specified zone are
297 .UR http://weather.noaa.gov/pub/data/watches_warnings/
298 http://weather.noaa.gov/pub/data/watches_warnings/
301 Downloads are attempted at the same time METAR observations are retrieved. Find
303 .UR http://weather.noaa.gov/
304 http://weather.noaa.gov/
307 .UR http://weather.gov/
311 Note that some areas issue weather warnings by multiple geopolitical units
312 (e.g. "zones" and "counties"). The -warning-zone option may be specified
313 multiple times, so all appropriate files may be inspected.
315 If any new warnings are downloaded, all text will be displayed in an
316 orange/red scheme instead of the normal blue/orange. The new warnings may then
317 be viewed by left-clicking the large display window in any mode. At any point,
318 all current warnings may be displayed by right-clicking the large display.
320 The URIs from which the various observations, forecasts, and images are
321 downloaded can be easily customized by supplying values for the various
323 options. The following substitution variables are available:
326 The station ID for the specified data type (note that warnings have no station
330 The zone ID, for warnings.
333 The warning type, for warnings (e.g. "tornado", "special_weather_stmt").
335 The substitutions can be manipulated with the standard
337 modifiers for strings, in particular the
338 .BR # ", " 0 ", " - ", "
339 .BR "' '" ", " + ", and " '
344 fields are accepted. Also, an additional flag
346 is recognized to use the capitalized versions of various numeric flags (e.g.
347 \fBX\fP versus \fBx\fP) and to capitalize character or string values, and an
350 after the precision is recognized to start at an offset into the string value
351 (negative values indicate offset from the end of the string).
353 The current defaults are:
357 http://weather.noaa.gov/pub/data/observations/metar/stations/%s.TXT
362 http://www.nws.noaa.gov/cgi-bin/mos/getmav.pl?sta=%s
367 http://www.nws.noaa.gov/cgi-bin/mos/getmet.pl?sta=%s
372 http://www.nws.noaa.gov/cgi-bin/mos/getmex.pl?sta=%s
377 http://weather.noaa.gov/pub/data/watches_warnings/%f/%.2z/%z.txt
381 .I $HOME/.wmweather+/
382 Directory used to store downloaded data files. These files may be deleted at
385 .I $HOME/.wmweather+/conf
388 .I /etc/wmweather+.conf
389 System configuration.
391 .I $HOME/.wmweather+/.dir-test
392 Created and deleted to test write access to \fI$HOME/.wmweather+/\fP
396 Forces downloads for the current mode to be attempted immediately.
399 Forces all downloads to be attempted immediately.
401 Before reporting a bug, please check the HINTS file (in particular,
402 proxy instructions are in that file). Also, please verify that you have
403 the latest version of wmweather+, and that your bug has not already been
404 reported. Bugs may be filed at
405 .UR http://sourceforge.net/tracker/?group_id=60336&atid=493854
406 http://sourceforge.net/tracker/?group_id=60336&atid=493854
410 \fBwmweather+\fP was written by \fIBrad Jorsch
411 <anomie@users.sourceforge.net>\fP, using the wmgeneral code by \fIMartijn
412 Pieterse <pieterse@xs4all.nl>\fP.
414 Email regarding wmweather+ should be sent to
415 \fIanomie@users.sourceforge.net\fP.
417 wmWeather was a good idea, but it didn't give me enough information. However,
418 no code from wmWeather was used in writing wmweather+.