xtide(1)
π NAME π
xtide β harmonic tide clock and tide predictor (interactive client)
okay so bestie, this is the manual page for xtide(1) and it's literally about to change your whole relationship with the ocean π
β¨ SYNOPSIS β¨
xtide [-b ``YYYY-MM-DD HH:MM''] [-bc color] [-bg color] [-cb y|n] [-cc
color] [-ch pixels] [-cw pixels] [-dc color] [-Dc color] [-df ``format-
string''] [-display ``X display''] [-ec color] [-el y|n] [-em pSsMm]
[-fc color] [-fe y|n] [-fg color] [-fn font] [-ga aspect] [-geometry
``οΏ½XOFFοΏ½YOFF''] [-gf font] [-gh pixels] [-gl longitude] [-gs d|l|s] [-gt
y|n] [-gw pixels] [-hf ``format-string''] [-in y|n] [-l ``location
name''] [-lw pixels] [-m a|g|k|m|p|r] [-mc color] [-Mc color] [-mf font]
[-ml [-]N.NN(ft|m|kt)] [-nc color] [-ou y|n] [-tc color] [-tf ``format-
string''] [-tl y|n] [-to opacity] [-u ft|m] [-v] [-z y|n]
like, that's a lot of flags, but don't panic, we're gonna go through every single one π
π¦ DESCRIPTION π¦
XTide is a whole package that serves up tide and current predictions in a wide variety of formats. You want graphs? Done. Text listings? Done. Calendars? Done. A tide clock chilling on your desktop? Done, bestie. π
XTide can work with X-windows, plain text terminals, or the web. It pulls this off with three separate programs, and the way that it's split up is honestly so organized of it:
- the interactive interface β
xtideπ - the non-interactive or command line interface β
tide - the web interface β
xttpd
xtide is the interactive X-windows client for XTide 2. And like, yes, in reality it accepts many command line options, but ngl you should not need to use them β everything can be done interactively. Just run xtide and point and click your way to whatever you need. Genuinely that's it. π«Ά
If you get stuck, click on a ? button for on-line help. (Not me being saved by the ? button every single time π)
For a complete discussion of the command line options and a detailed explanation of the interactive interface, please see the verbose documentation at https://flaterco.com/xtide/. iykyk π
π CONFIGURATION π
Unless a configuration file /etc/xtide.conf is supplied, you must set the environment variable HFILE_PATH to point to the harmonics files that should have been installed along with the xtide program. No vibes-based guessing here, it's required. Example:
export HFILE_PATH=/usr/local/share/xtide/harmonics.tcd
If a configuration file is used, the first line should consist of the colon-separated list of harmonics files (e.g. the HFILE_PATH line above without the "export HFILE_PATH=" part). And heads up β the environment variable takes precedence over the configuration file. env var wins, periodt. π
If the optional World Vector Shoreline files have been installed, the path to those files can be supplied in the WVS_DIR environment variable or as the second line of the configuration file. π
Set the environment variable XTIDE_DEFAULT_LOCATION to the name of your favorite place if you want to skip the location-choosing step. Main character energy: it just knows where you live. β¨
π OPTIONS π
Every single one, bestie. Buckle in. π’
-bYYYY-MM-DD HH:MMβ Specify the begin (start) time for predictions using the ISO 8601 compliant formatYYYY-MM-DD HH:MM, where hours range from00to23. The timestamp is in the local time zone for the location, or in UTC if the-zsetting is engaged. If clock mode is selected or if no-bis supplied, the current time will be used. β°-bccolorβ Background color of buttons (defaultgray80). π-bgcolorβ Background color for text windows and location chooser (defaultwhite). π€-cby|nβ Select whether or not tide clocks should be created with buttons (defaultn). π-cccolorβ Color of dots indicating current stations in the location chooser (defaultrgb:00/A0/00). π’-chpixelsβ Initial height for tide clocks (default312pixels). π-cwpixelsβ Initial width for tide clocks (default84pixels). π-dccolorβ Daytime background color in tide graphs (defaultSkyBlue). βοΈ-Dccolorβ Color of datum line in tide graphs (defaultwhite). π€-dfformat-stringβstrftime(3)style format string for printing dates (default%Y-%m-%d). ποΈ-displayX displayβ Specify the X display, e.g."quake:0.0". This overrides theDISPLAYenvironment variable. π₯οΈ-eccolorβ Foreground in tide graphs during outgoing tide (defaultSeaGreen). π-ely|nβ Select whether or not to draw datum and middle-level lines in tide graphs (defaultn). π
The National Ocean Service (NOS) defines both Mean Sea Level (MSL) and Mean Tide Level (MTL) in terms of averages taken over observations. The middle-level line is drawn at the midpoint of the theoretical tidal range, which usually corresponds to the mathematical mean level of the predictions. This approximates both MSL and MTL, but, strictly speaking, is equivalent to neither. Moreover, subordinate station offsets may shift the actual mean so that it no longer falls at the midpoint of the tidal range. The datum line is drawn at the zero level of the predictions, which usually corresponds to the station's benchmark, but this too can be rendered inaccurate by subordinate station offsets. π§ͺ (yes, that's a lot of caveats, no I did not skip any of them)
-empSsMmβ Events to suppress (p= phase of moon,S= sunrise,s= sunset,M= moonrise,m= moonset), orxto suppress none. E.g, to suppress all sun and moon events, set eventmask to the valuepSsMm. π-fccolorβ Foreground in tide graphs during incoming tide (defaultBlue). π΅-fey|nβ Select whether or not to prefer flat map to round globe location chooser (defaultn). πΊοΈ-fgcolorβ Color of text and other notations (defaultblack). π€-fnfontβ Font used for button labels and verbiage in text windows (default as incoming from X11 or libXaw3dXft). See NOTES. π€-gaaspectβ Initial aspect for tide graphs and clocks (default1.0). This controls not the width or height of the window but rather the relative scaling of the X and Y axes in the plot of the tide curve. π-geometryοΏ½XOFFοΏ½YOFFβ Specify a position for the window corresponding to the first use of-l. (Width and height are controlled by different settings.) π-gffontβ Font used in graphs and clocks in interactive client (default"embedded"). Does not affect SVG-format output. See NOTES. ποΈ-ghpixelsβ Initial height for tide graphs (default312pixels). π-gllongitudeβ Initial center longitude for location chooser. Valid values are-180-150-120-90-60-300306090120150and360.360(the default) will pick the longitude with the most tide stations. π-gsd|l|sβ Style of graphs and clocks. Valid values:d(default),l(line),s(semitransparent). π¨-gty|nβ Select whether or not to label tenths of units in tide graphs (defaultn). π’-gwpixelsβ Initial width for tide graphs (default960pixels). π-hfformat-stringβstrftime(3)style format string for printing hour labels on time axis (default%l). π-iny|nβ Select whether or not to use inferred values for some constituents (defaultn). For expert use only. π§ (like, don't touch this unless you're that girl)-llocation nameβ Specify a location for tide predictions. When given to the interactive client, this causes it to start a tide clock for the specified location instead of launching a location chooser on startup. This is useful for starting a tide clock automatically when you log on. Multiple uses of-lwill result in multiple tide clocks. π°οΈβ¨ (one for every place you love, obsessed)-lwpixelsβ Width of line in graph styleslands(default2.5pixels). βοΈ-ma|g|k|m|p|rβ Specify mode to be about, graph, clock, medium rare, plain, or raw. The default is clock. π₯© (yes, medium rare is a real mode and yes, it ate)-mccolorβ Color of mark line in graphs (defaultred). β€οΈ-Mccolorβ Color of middle-level line in tide graphs (defaultyellow). π-mffontβ Monospace font used for location list, text predictions, help windows and about mode text (default"-misc-fixed-medium-r-normal--13-100-100-100-c-70-iso8859-1"(without libXaw3dXft) or"LiberationMono-12"(with libXaw3dXft)). See NOTES. π‘-ml[-]N.NN(ft|m|kt)β Specify an initial mark level to be used in prediction windows launched from the command line. The predictions will include the times when the tide level crosses the mark. The mark level also can be specified or changed using the Options menu. Not supported in clock mode. Does not affect windows that are launched from the location chooser. Example usage:-ml -0.25ftπ-nccolorβ Nighttime background color in tide graphs (defaultDeepSkyBlue). π-ouy|nβ Select whether or not to print numbers with no ft/m/kt (defaultn). π’-tccolorβ Color of dots indicating tide stations in the location chooser (defaultred). π΄-tfformat-stringβstrftime(3)style format string for printing times (default%l:%M %p %Z). π°οΈ-tly|nβ Select whether or not to draw depth lines on top of the tide graph (defaultn). π-toopacityβ Opacity of the fill in graph styles(semitransparent) (default0.65). π«₯-uft|mβ Preferred units of length (default no preference). π-vβ Print version string and exit. π-zy|nβ Select whether or not to coerce all time zones to UTC (defaultn). π
π§ NOTES π§
If XTide is built with Xaw3dXft, font names given to XTide must be in fontconfig format (e.g., "Helvetica-10"), rather than the traditional XLFD (e.g., "-*-helvetica-*-r-*-*-10-*-*-*-*-*-*-*"). π
Also, Xaw3dXft does not return errors if there are problems with a font name; it just loads a default font instead. π (silent treatment fr fr β no error, no warning, just vibes and a default font)
π SEE ALSO π
tide(1), xttpd(8), https://flaterco.com/xtide/
π that's the whole page bestie β this one's XTide 2, dated 2020-06-27, and it literally ate. go predict some tides, you absolute icon ππ π«Ά
π¦ where this page comes from
- fedora 43: xtide 2.15.6-2.fc43 Β· GPL-3.0-or-later
- fedora 43: xtide 2.16-1.fc43 Β· GPL-3.0-or-later
- fedora 44: xtide 2.16-1.fc44 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms