wmweather+(1)
π wmweather+ β bestie edition π
okay so this is the manual for wmweather+, a dock app that shows you the weather, from the General Commands Manual section (wmweather+(1)). sit down, grab a strawberry drink π, and let's get into it.
β¨ NAME β¨
wmweather+ β a dock app for displaying weather information π¦
β¨ SYNOPSIS β¨
wmweather+ [options]
that's it. that's the whole thing. options go in, weather comes out π
β¨ DESCRIPTION β¨
okay so wmweather+ downloads current conditions, forecast data, and optionally a radar image. and like, that's not even all of it β it will also watch for various warnings and display them using an external command. multi-tasking icon behavior, we love to see it π
β¨ OPTIONS β¨
first, the rules of the game, bestie, and these are important:
- later options override earlier ones, no cap
- command line options override configuration file options β the command line always wins, main character energy
- every multi-character option may be specified with one or two leading dashes β¨
- the configuration file is literally just one option per line (with its value if it needs one), leading dashes optional
- empty lines are ignored, and so are lines that start with the
#character β those are the lil comment moments π
π General Options π
-display<display name> β name of display to use.-c<file> β specify a configuration file instead of the default. fun fact: this option is ignored in the configuration file (yes, really, it just doesn't work there π).-display-mode<string> β specify the starting display mode. valid values are"cur"/"current","fcst"/"forecast", and"map"/"radar".-location<latitude+longitude> β specify a latitude and longitude, for example"41'59'00N 87'55'00W"or"N41.9833333333333 W87.9166666666667". you may use either the decimal or DMS notation, with either a prefixed sign or a prefixed or suffixedN/S/E/W. and if you don't give this option? the program will assume you live on the equator and guess your longitude based on your system timezone offset π (iconic guesswork, honestly).-e,-email<address> β specify the anonymous FTP password.-v,-versionβ display version number and exit. bye bestie π-viewer<program> β external program for viewing weather warnings. this command must take the text to display from standard input. it will be executed as/bin/sh -c <program>with stdout redirected to/dev/null. if not specified, it will default to"xless".-animate,-noanimateβ turn animation on or off. animation may still be toggled with the middle mouse button as described below. the default is on. β¨
πΈ Station Options πΈ
-s,-station<ID> β station ID for all stations. equivalent to-metar-station <ID> -avn-station <ID> -eta-station <ID> -mrf-station <ID>. one option, four jobs, she's efficient π-metar-station<ID> β station ID for METAR observations. see Current Conditions for more information. a value must be provided.-avn-station<ID> β station ID for AVN forecasts. see Forecasts for more information.-eta-station<ID> β station ID for ETA forecasts. see Forecasts for more information.-mrf-station<ID> β station ID for MRF forecasts. see Forecasts for more information.-warning-zone<zoneID> β zone ID for weather warnings. see Warnings for more information. this option may be repeated for multiple zones π«Ά-forget-warning-zonesβ causewmweather+to forget all warning zones found to this point. useful for user configuration files to override the warning zones specified in the system-wide configuration. (selective memory, but make it a feature π)-metar-uri<URI>-avn-uri<URI>-eta-uri<URI>-mrf-uri<URI>-warning-uri<URI> β URI to download the specified data from. see URIs for more information.-metar-post<DATA>-avn-post<DATA>-eta-post<DATA>-mrf-post<DATA>-warning-post<DATA> β post data for downloading the specified data. see URIs for more information. > note bestie: the post option must follow the corresponding URI option. and also, the post data will not be URL-encoded for you. you're on your own for that one π-noradarβ do not display a radar image. this is the default.-radar-uri<URI>-radar-post<DATA> β retrieve an image from the specified URI. see Radar Map for more information.-radar-crop<string> β how to crop the radar image.XxY+W+Hformat. see Radar Map for more information.-radar-cross<string> β where to draw radar crosshairs.XxYformat. see Radar Map for more information.
π Measurement Options π
-m,-metricβ same as-cm -hPa -kph -tempc.-inβ display precipitation amounts in inches. this is the default.-cmβ display precipitation amounts in centimeters.-inHgβ display pressure in inches of mercury. this is the default.-hPa,-mbarβ display pressure in hectopascal (millibars)-mmHgβ display pressure in millimeters of mercury.-atmβ display pressure in atmospheres.-mphβ display windspeed in miles/hour. this is the default.-kphβ display windspeed in kilometers/hour.-knotsβ display windspeed in knots.-mpsβ display windspeed in meters/second.-beaufortβ display windspeed on the Beaufort scale.-tempfβ display temperature in degrees Fahrenheit. this is the default.-tempcβ display temperature in degrees Celcius.
π DISPLAY π
the dockapp has three display modes: Current Conditions, Forecasts, and Radar Map. you pick your mode with the buttons across the top of the icon. and the Weather Warning status? that's indicated by the font color π
at any point, double-(left)clicking the main display will send SIGUSR1 to the process (see SIGNALS). noted. periodt.
β Current Conditions β
this mode displays the current conditions as given in the METAR report for the selected station, as downloaded from http://tgftp.nws.noaa.gov/data/observations/metar/stations/. downloads are attempted every 15 minutes. find your station at http://www.nws.noaa.gov/tg/siteloc.shtml.
the station ID is displayed at the top left of the display. the observation date (local) is to the right, and the time (local and UTC) occupies the line below. under that, to the right, is the temperature and relative humidity, the wind direction and speed, the atmospheric pressure (indicated by "P"), the heat index (indicated by "HI"), and the wind chill (indicated by "WC").
to the left is a graphical display of the current weather. the sky condition is indicated as:
- clear (sun) βοΈ
- partly cloudy (sun with small clouds)
- mostly cloudy (sun behind a large cloud)
- overcast (large cloud)
this image may be covered by fog (foggy overlay), dust/sand/haze (brownish particles), or blowing snow/dust/sand (blue wind-lines), with the level of transparency indicating the degree of visibility. and if a funnel cloud or tornado was reported, a tornado graphic will be displayed instead of the sky condition πͺοΈ (not the vibe we want, but it's the vibe we're getting).
beneath this graphic, icons will depict:
- rain (raindrop)
- snow (snowflake)
- freezing precipitation (hailstones)
- thunderstorms (lightning bolt) β‘
if animation is enabled, the icons will appear and vanish on a ten second cycle to indicate precipitation intensity. animation may be enabled or disabled by middle-clicking the display. so easy. obsessed.
π¦ Forecasts π¦
this mode displays the current conditions as given in the AVN, ETA, and MRF data for the selected stations, as downloaded from http://www.nws.noaa.gov/tdl/synop/products/bullform.mav.htm, http://www.nws.noaa.gov/mdl/synop/products/bullform.met.htm and http://www.nws.noaa.gov/tdl/synop/products/bullform.mex.htm.
AVN and ETA reports are downloaded at startup, 0000Z, and 1200Z. MRF reports are downloaded at startup and 0000Z. and in the event of failure? downloads will be retried every 15 minutes. see the URIs given to find your stations.
the display is divided into two sections. a small window at the top indicates the date and hour (local time) for which this forecast is valid.
- left-clicking this window, or clicking the small arrow-button to the right, will advance to the next forecast β‘οΈ
- right-clicking, or clicking the small arrow-button to the left, will move to the previous forecast β¬ οΈ
- middle-clicking will return to the first forecast in the list π
the larger display at the bottom shows the forecast for the selected date and time. to the right, from top to bottom, are the station ID, the daily high and low temperatures, the predicted temperature and relative humidity, and the wind direction and speed. the final line may display the heat index (HI), the wind chill (WC), the amount of snow to fall in that period (SN), the amount of liquid-equivalent precipitation to fall in that period (P), or the forecast type (e.g. "AVN" or "MRF").
to the left is a weather display similar to that for the Current Conditions. the animation here indicates the percent chance of rain, snow, freezing precipitation, thunderstorms, and severe thunderstorms (large lightning bolt). animation may be turned on or off with the middle button.
when animation is off, the mouse wheel may be used to adjust the cutoff chance for the display (hold Shift to adjust faster). the cutoff will be displayed briefly when:
- first turning off animation
- first displaying forecasts
- whenever button 6 (typically, the
'side'button) is held down in the large display
permanent cutoff display may be toggled by double-middle-clicking the large display. iykyk π
π§ Radar Map π§
the radar image will be downloaded every 30 minutes from the URI specified. then, if -radar-crop was specified in the form XxY+W+H, a subimage of witdh W and height H will be taken, with the upper-left pixel taken from (X, Y). if X or Y is negative, it will be measured from the right/bottom of the image instead of the top/left. the image is then resized to fit within the 52x40 rectangle available. a border around the image indicates the current font color. if -radar-cross was specified in the form XxY, crosshairs will then be drawn over the pixel (X, Y) when the middle button is held on the radar map. π―
if -noradar was specified or no radar data is available, an image to that effect will be displayed instead.
some nice images are available from http://weather.noaa.gov/radar/mosaic/DS.p19r0/ar.us.conus.shtml and http://www.weather.com/common/home/maps.html. be kind β since the display is so small, pick the smallest version of the image to download. π«Ά
π Weather Warnings π
various weather warnings, watches, and statements for the specified zone are downloaded from http://tgftp.nws.noaa.gov/data/watches_warnings/. downloads are attempted at the same time METAR observations are retrieved. find your zone at http://weather.noaa.gov/ or http://weather.gov/.
note bestie: some areas issue weather warnings by multiple geopolitical units (e.g."zones"and"counties"). the-warning-zoneoption may be specified multiple times, so all appropriate files may be inspected. ποΈ
if any new warnings are downloaded, all text will be displayed in an orange/red scheme instead of the normal blue/orange. the new warnings may then be viewed by left-clicking the large display window in any mode. and at any point, all current warnings may be displayed by right-clicking the large display. π
β¨ URIs β¨
okay so bestie, you can literally customize all the URIs where the observations, forecasts, and images come from by setting the various -*-uri options. it's giving very much "choose your own adventure" π
here are the substitution variables you can use:
%sβ the station ID for the specified data type (and lowkey note that warnings have no station ID, so don't come for me)%zβ the zone ID, for warnings%fβ the warning type, for warnings (like"tornado","special_weather_stmt", etc.)
and you can manipulate these substitutions with the standard printf(3) modifiers for strings. specifically, the #, 0, -, ' ', +, and ' flags, the field width, and the precision fields are all accepted. also there's an extra flag ! that's recognized to use the capitalized versions of various numeric flags (like X versus x) and to capitalize character or string values. and there's an additional syntax ><offset> after the precision that's recognized to start at an offset into the string value (negative values indicate offset from the end of the string). periodt.
the current defaults are:
metar-uriβhttp://tgftp.nws.noaa.gov/data/observations/metar/stations/%s.TXTavn-uriβhttp://www.nws.noaa.gov/cgi-bin/mos/getmav.pl?sta=%seta-uriβhttp://www.nws.noaa.gov/cgi-bin/mos/getmet.pl?sta=%smrf-uriβhttp://www.nws.noaa.gov/cgi-bin/mos/getmex.pl?sta=%swarning-uriβhttp://tgftp.nws.noaa.gov/data/watches_warnings/%f/%.2z/%z.txt
π FILES π
$HOME/.wmweather+/β directory used to store downloaded data files. these files may be deleted at any time, so don't get attached π$HOME/.wmweather+/confβ user configuration./etc/wmweather+.confβ system configuration.$HOME/.wmweather+/.dir-testβ created and deleted to test write access to$HOME/.wmweather+/.
π¨ SIGNALS π¨
SIGUSR1β forces downloads for the current mode to be attempted immediately.SIGUSR2β forces all downloads to be attempted immediately.
π BUGS π
before you report a bug, bestie, please check the HINTS file (in particular, proxy instructions are in that file). also, please verify that you have the latest version of wmweather+, and that your bug has not already been reported. bugs may be filed at http://sourceforge.net/tracker/?group_id=60336&atid=493854.
π AUTHORS π
wmweather+ was written by Brad Jorsch <anomie@users.sourceforge.net>, using the wmgeneral code by Martijn Pieterse <pieterse@xs4all.nl>.
email regarding wmweather+ should be sent to anomie@users.sourceforge.net.
π‘ INSPIRATION π‘
wmWeather was a good idea, but it didn't give me enough information. however, no code from wmWeather was used in writing wmweather+.
and that's the whole vibe! this manpage is from wmweather+(1), dated April 24, 2020. slay, you made it to the end πβ¨
π¦ where this page comes from
- debian bookworm: wmweather+ 2.19~alpha+ds-1 Β· GPL-2.0-or-later
- debian trixie: wmweather+ 2.19~alpha+ds-2 Β· GPL-2.0-or-later
- fedora 43: wmweather+ 2.18^20211125gitbe2f4b30-10.fc43 Β· GPL-2.0-or-later
- fedora 44: wmweather+ 2.18^20211125gitbe2f4b30-11.fc44 Β· GPL-2.0-or-later
- ubuntu jammy: wmweather+ 2.18-1 Β· GPL-2.0-or-later
- ubuntu noble: wmweather+ 2.19~alpha+ds-1.1 Β· GPL-2.0-or-later
- ubuntu questing: wmweather+ 2.19~alpha+ds-2
- ubuntu resolute: wmweather+ 2.19~alpha+ds-2build1 Β· GPL-2.0-or-later
- ubuntu stonking: wmweather+ 2.19~alpha+ds-2build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms