tide(1)
π¦ tide(1) β General Commands Manual π¦
okay so bestie, welcome to the manual page for tide β she's the command line client, she's from the General Commands Manual, and she is lowkey iconic.
β¨ NAME β¨
tide β Harmonic tide clock and tide predictor (command line client)
π SYNOPSIS π
tide [-b "YYYY-MM-DD HH:MM"] [-cf "format-string"] [-ch pixels] [-cw
pixels] [-dc color] [-Dc color] [-df "format-string"] [-e "YYYY-MM-DD
HH:MM"] [-ec color] [-el y|n] [-em pSsMm] [-f c|h|i|l|p|t|v] [-fc
color] [-fg color] [-ga aspect] [-gh pixels] [-gs d|l|s] [-gt y|n] [-gw
pixels] [-hf "format-string"] [-in y|n] [-l "location name"] [-lb
y|n] [-lw pixels] [-m a|b|c|C|g|k|l|m|p|r|s] [-mc color] [-Mc color]
[-ml [-]N.NN(ft|m|kt)] [-nc color] [-o "filename"] [-ou y|n] [-pb y|n]
[-ph mm] [-pi days] [-pm mm] [-pw mm] [-s "HH:MM"] [-tf "format-
string"] [-th characters] [-tl y|n] [-to opacity] [-tw characters] [-u
ft|m] [-v] [-z y|n]
likeβ¦ yeah that's a lot of flags. she contains multitudes π
π DESCRIPTION π
XTide is a whole package that gives you tide and current predictions in a wide variety of formats. You can generate graphs, text listings, and calendars β or you can have a tide clock chilling on your desktop like a little aquarium for your soul. π
XTide can work with X-windows, plain text terminals, or the web. And the way she does that is with three separate programs, bestie:
- the interactive interface β
xtide - the non-interactive / command line interface β
tide(that's us!! hi!!) - the web interface β
xttpd
tide is the non-interactive command line client for XTide 2. For the complete discussion (the full tea, the extended cut, the director's commentary), please see the verbose documentation at https://flaterco.com/xtide/. π«Ά
π 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. 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. π
Set the environment variable XTIDE_DEFAULT_LOCATION to the name of your favorite place if you want to skip the location-choosing step. no more scrolling through a million stations, you just teleport straight there β¨
π OPTIONS π
-b "YYYY-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.-cf "format-string"βstrftime(3)style format string for printing days in calendars (default%a %d).-ch pixelsβ Height for tide clocks (default312pixels).-cw pixelsβ Width for tide clocks (default84pixels).-dc colorβ Daytime background color in tide graphs (defaultSkyBlue).-Dc colorβ Color of datum line in tide graphs (defaultwhite).-df "format-string"βstrftime(3)style format string for printing dates (default%Y-%m-%d). For calendars see-cf.-e "YYYY-MM-DD HH:MM"β Specify the end (stop) time for predictions in banner, calendar, alt. calendar, medium rare, plain, raw, or stats mode. Does not apply in graph and clock modes: the effective end time for graph and clock modes is entirely determined by the start time (-b), the width (-cw,-gwor-tw), and the aspect (-ga). The format and time zone are the same as for-b. If no-eis supplied, the end time will be set to four days after the begin time.-ec colorβ Foreground in tide graphs during outgoing tide (defaultSeaGreen).-el y|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.
-em pSsMmβ 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.-f c|h|i|l|p|t|vβ Specify the output format as CSV, HTML, iCalendar, LaTeX, PNG, text, or SVG. The default istext.-fc colorβ Foreground in tide graphs during incoming tide (defaultBlue).-fg colorβ Color of text and other notations (defaultblack).-ga aspectβ Aspect for tide graphs, clocks, and banners (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.-gh pixelsβ Height for tide graphs (default312pixels).-gs d|l|sβ Style of graphs and clocks. Valid values:d(default),l(line),s(semitransparent).-gt y|nβ Select whether or not to label tenths of units in tide graphs (defaultn).-gw pixelsβ Width for tide graphs (default960pixels).-hf "format-string"βstrftime(3)style format string for printing hour labels on time axis (default%l).-in y|nβ Select whether or not to use inferred values for some constituents (defaultn). For expert use only. π§ (fr fr, this one is not for the girlies who are just vibing)-l "location name"β Specify a location for tide predictions. You get the first station where the name supplied with-lis a case-insensitive match with the beginning (or the entirety) of the station's name. You can use the-lswitch more than once if the output format is text, HTML, or CSV.-lb y|nβ Select whether or not calendar mode inserts a line break before prediction values (defaultn).-lw pixelsβ Width of line in graph styleslands(default2.5pixels).-m a|b|c|C|g|k|l|m|p|r|sβ Specify mode to be about, banner, calendar, alt. calendar, graph, clock, list, medium rare, plain, raw, or stats. The default isplain.-mc colorβ Color of mark line in graphs (defaultred).-Mc colorβ Color of middle-level line in tide graphs (defaultyellow).-ml [-]N.NN(ft|m|kt)β Specify the mark level to be used in predictions. The predictions will include the times when the tide level crosses the mark. Not supported in clock mode. Example usage:-ml -0.25ft-nc colorβ Nighttime background color in tide graphs (defaultDeepSkyBlue).-o "filename"β Redirect output to the specified file. If the format is text, HTML, or CSV, an existing file will be appended to; otherwise, it will be overwritten.-ou y|nβ Select whether or not to print numbers with no ft/m/kt (defaultn). Where possible, adds a header line stating the units and datum.-pb y|nβ Select whether or not calendar mode inserts a page break and repeats the station header for each month in text, HTML, and LaTeX formats (defaulty).-ph mmβ Nominal length of paper in LaTeX output (default420mm). This need not match your actual paper; use "Shrink oversized pages" in print options.-pi daysβ Number of days of predictions to generate when no end time is specified (default4).-pm mmβ Nominal width of top, bottom, left and right margins in LaTeX output (default10mm). Actual width will depend on print scaling.-pw mmβ Nominal width of paper in LaTeX output (default297mm). This need not match your actual paper; use "Shrink oversized pages" in print options.-s "HH:MM"β Specify the step interval, in hours and minutes, for raw or medium rare mode predictions. The default is one hour.-tf "format-string"βstrftime(3)style format string for printing times (default%l:%M %p %Z).-th charactersβ Height of ASCII graphs and clocks (default24characters).-tl y|nβ Select whether or not to draw depth lines on top of the tide graph (defaultn).-to opacityβ Opacity of the fill in graph styles(semitransparent) (default0.65).-tw charactersβ Width of text format (default79characters).-u ft|mβ Preferred units of length (default no preference).-vβ Print version string and exit.-z y|nβ Select whether or not to coerce all time zones to UTC (defaultn).
πΈ NOTES πΈ
If the environment variable TERM is set to vt100 or vt102, tide will take it seriously and invoke the DEC Special Graphics character set in text form output. she believes you. periodt. π
π₯ SEE ALSO π₯
xtide(1), xttpd(8), https://flaterco.com/xtide/
that's the whole page bestie π this one's from XTide 2, dated 2026-01-17, and it's the tide(1) page from the General Commands Manual. go check the tide, hydrate, and slay ππ
π¦ where this page comes from
- 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