Article 12691 of alt.sources:
Path: nntpd.lkg.dec.com!crl.dec.com!crl.dec.com!bloom-beacon.mit.edu!panix!news.mathworks.com!usenet.eel.ufl.edu!newsfeed.internetmci.com!uunet!in1.uu.net!dove.nist.gov!case50.ncsl.nist.gov!dave
From: dave@case50.ncsl.nist.gov (David Flater)
Newsgroups: alt.sources
Subject: XTide 2/4
Followup-To: poster
Date: 7 Aug 1995 13:47:39 GMT
Organization: National Institute of Standards and Technology
Lines: 654
Message-ID: <4055hr$vk@dove.nist.gov>
References: <4055f1$vb@dove.nist.gov>
NNTP-Posting-Host: case50.ncsl.nist.gov
Keywords: tide

Submitted-by: dave@case50.ncsl.nist.gov
Archive-name: xtide-1.0.1/part02

This program uses the harmonic method to display tide levels either as
a tide clock (showing the current level) or as a graph.  Please refer
to README for more information.

THIS PACKAGE IS AVAILABLE FOR ANONYMOUS FTP FROM:
ftp://speckle.ncsl.nist.gov/flater/sources/xtide-1.0.1.tgz

An illustrated, HTML-ized version of the README is available at:
http://case50.ncsl.nist.gov/xtide/xtide.html

#!/bin/sh
# this is xtide.02 (part 2 of xtide-1.0.1)
# do not concatenate these parts, unpack them in order with /bin/sh
# file README continued
#
if touch 2>&1 | fgrep '[-amc]' > /dev/null
 then TOUCH=touch
 else TOUCH=true
fi
if test ! -r @shar_seq_.tmp; then
	echo "Please unpack part 1 first!"
	exit 1
fi
(read Scheck
 if test "$Scheck" != 2; then
	echo "Please unpack part $Scheck next!"
	exit 1
 else
	exit 0
 fi
) < @shar_seq_.tmp || exit 1
echo "x - Continuing file README"
sed 's/^X//' << 'SHAR_EOF' >> README &&
Xthis in Computer Applications to Tides in the National Ocean Survey.
XI will be just as happy to distribute sets of harmonic constants that
Xyou derived yourself; see above for how to send them to me.
X
XComputer Applications to Tides in the National Ocean Survey can be
Xgotten from the NOS by faxing a request to the same number as provided
Xabove for harmonic constants.  Despite what you may have heard, it
Xalso costs ten dollars.  I have not bothered to type up a program for
Xderiving constants since I have no way of testing it out and I doubt
Xmany people would use it.
X
X
XThe Harmonics File
X------------------
X
XThe harmonics file contains definitions for the 37 constituents used
Xby the NOS and whatever meager database of harmonic constants I have
Xmanaged to collect.  The data that must be entered for each location
Xare described in the comments:
X
X# First line:  name of location.
X# Second line:  time meridian.
X# Remaining lines:  identifier [whitespace] amplitude [whitespace] epoch.
X# The time meridian takes the format [-]HH:MM and is hours east of
X# Greenwich.  This is your time zone displacement in the _winter_.  Do
X# not include Daylight Savings Time!
X# Amplitude units do not matter; they will not be converted.
X# Epoch is "modified" or "adapted" epoch in degrees, also known as
X# Kappa Prime.
X# The identifiers are for readability only; xtide assumes that they
X# are in the same order as defined above.
X
XOn the newest NOS printout, the columns you want to enter are labeled
XH (amplitude) and Kappa Prime (modified epoch).  The time meridian you
Xwill have to figure out with a little applied common sense.
X
XUnless there is some major incompatibility, you should be able to
Xmodify the harmonics file to use a different method to calculate
Xtides, with more or less constituents (like the 114-constituent system
Xfor Anchorage, or the system used by a data service other than NOS).
XHowever, it is assumed that all sets of harmonic constants in a given
Xharmonics file are on the same system, so you will have to specify a
Xdifferent harmonics file on the command line if you want to do
Xmultiple locations with different tide prediction methods.
X
X
XInstallation
X------------
X
XIf you just want to see what the program looks like, you can skip
Xstep 1.
X
X1.  You NEED the harmonic constants for your location.  I will keep an
Xupdated harmonics file available for anonymous FTP at
Xftp://speckle.ncsl.nist.gov/flater/sources/harmonics, but in all
Xlikelihood your location still won't be in it.  Read the previous
Xsections to find out how to get them and how to send them to me for
Xincorporation into the distribution.
X
X2.  Edit the #defines in config.h to specify the location and name of
Xthe harmonics file that you will use and the default location to show
Xtides for.  The location that you specify must be in the harmonics
Xfile.
X
X3.  Copy the harmonics file to the place that you have decided to put
Xit.
X
X4.  xmkmf; make.  (Non-ANSI compilers need not apply.)
X
X5.  Copy the xtide executable into /usr/X11R6/bin or whatever.
X
X
X***** WARNING:  CONTAINS VERSION 1 SOFTWARE. *****
X--------------------------------------------------
X
XThis program is poorly tested.  What I mean is I have never had
Xoccasion to compare its output against a trusted tide table for the
Xexact same location.
X
XDon't shoot me.  It wasn't my fault.  The National Weather Service
Xaround here reports tides for Thomas Point Lighthouse and for Fort
XMcHenry.  When I called NOS I told them I wanted the constants for
XThomas Pt. Light.  They told me that that was a bad choice and
Xrecommended Baltimore instead.  I asked about Ft. McHenry and got the
Ximpression that the Baltimore numbers _were_ from Ft. McHenry.  OK.
X
XWell, after significant wasted debugging effort trying to get the high
Xtides to match up with Ft. McHenry (they were off by <= 30 minutes), I
Xchecked the coordinates of the numbers they sent.  Close but no cigar.
XFt. McHenry is a ways up the Patapsco River, and here I am out in the
XChesapeake Bay.  I'm pretty sure that it's far enough away to explain
Xa half hour difference in tides, especially with the flow of the river
Xinterfering.
X
XIf somebody can verify that this program is working to within a minute
Xor two of an official tide chart, I will be most grateful to be able
Xto remove this humiliating warning label.  Conversely, if you verify
Xthat it is off by a mile, I will get very depressed.
X
X
XBugs
X----
X
X1.  The node factors and epoch are changed abruptly at the stroke of
Xmidnight on New Year's Eve in Greenwich.  This causes a slight
Xdiscontinuity which may cause a spurious high or low tide prediction.
XAs a corollary, on a graph spanning two epochs, the depth lines will
Xbe wrong for one epoch or the other -- unless you figure out the
Xsecret to making it display _both_ sets of lines!
X
X2.  After an exposure event that affects only one side of the tide
Xclock, the water level will often show a discontinuity, where half is
Xat one level and half is a pixel higher or lower.  I can't figure out
Xwhy it does that.  It fixes itself in a minute or so.
X
X
XXTide FAQ
X---------
X
XQ:  "First it says high tide is at 3:15 PM but then when I run it again
Xit says 3:14 PM!"
X
XA:  Xtide's accuracy is plus or minus one minute.  The behavior that
Xyou witnessed is normal.
X
X
XAcknowledgement
X---------------
X
XI must thank Greg Seidman (anthro@cs.umd.edu) for suggesting the hairy
Xfeatures that otherwise I never would have bothered to implement.
X
X
XContact Info
X------------
X
XDavid Flater
Xdave@case50.ncsl.nist.gov
X
X
XChangelog
X---------
X
XPatch 1 to 1.0, 8/5/95:
X
X523c523
X<       cos_degrees (cst_speeds[a] * (t-meridian-epoch) +
X---
X>       cos_degrees (cst_speeds[a] * ((long)(t - epoch) - meridian) +
X
XThis affects locations east of Greenwich with machines that declare
Xtime_t to be unsigned.  Your time relative to the epoch is negative
Xfor part of New Year's Day, so you would have gotten a New Year's Day
Xsurprise in the form of an underflow error.
X
X
XVersion 1.0 released locally on 8/4/95.
SHAR_EOF
echo "File README is complete" &&
$TOUCH -am 0805102495 README &&
chmod 0600 README ||
echo "restore of README failed"
set `wc -c README`;Wc_c=$1
if test "$Wc_c" != "15353"; then
	echo original size 15353, current size $Wc_c
fi
# ============= config.h ==============
echo "x - extracting config.h (Text)"
sed 's/^X//' << 'SHAR_EOF' > config.h &&
X/* Default location and name of harmonics file */
X#define hfile "/etc/harmonics"
X
X/* Default location to show tides for */
X#define deflocation "Baltimore"
SHAR_EOF
$TOUCH -am 0805102495 config.h &&
chmod 0600 config.h ||
echo "restore of config.h failed"
set `wc -c config.h`;Wc_c=$1
if test "$Wc_c" != "155"; then
	echo original size 155, current size $Wc_c
fi
# ============= harmonics ==============
echo "x - extracting harmonics (Text)"
sed 's/^X//' << 'SHAR_EOF' > harmonics &&
X# Definitions and constants for xtide
X# Last updated 8/3/95 by DWF
X#
X# This data file is distributed in the hope that it will be useful,
X# but WITHOUT ANY WARRANTY; without even the implied warranty of
X# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  This
X# data was originally compiled with United States Government funding,
X# so no proprietary rights can be attached to it.  For more
X# information, refer to the following publications:
X#
X#   Manual of Harmonic Analysis and Prediction of Tides.  Special
X#   Publication No. 98, Revised (1940) Edition.  United States
X#   Government Printing Office, 1941.
X#
X#   Computer Applications to Tides in the National Ocean Survey.
X#   Supplement to Manual of Harmonic Analysis and Prediction of Tides
X#   (Special Publication No. 98).  National Ocean Service, National
X#   Oceanic and Atmospheric Administration, U.S. Department of
X#   Commerce, January 1982.
X#
X#
X# I will be using the 37 harmonic constituents used by the National
X# Ocean Survey / Service.  This first non-comment line gives the
X# number of constituents.
X37
X#
X# The following 37 lines give the speed for each constituent.  These
X# numbers came from the Manual of Harmonic Analysis since it gave more
X# decimal places than the sheet I got from NOS.
X# Format:  identifier [whitespace] speed [CR]
X# Speed is in degrees per solar hour.
X# Identifier is just a name for the constituent.  They are for
X# readability only; xtide assumes that the constituents will be listed
X# in the same order throughout this file.
XJ(1)        15.5854433
XK(1)        15.0410686
XK(2)        30.0821373
XL(2)        29.5284789
XM(1)        14.4966939
XM(2)        28.9841042
XM(3)        43.4761563
XM(4)        57.9682084
XM(6)        86.9523127
XM(8)       115.9364169
XN(2)        28.4397295
X2N(2)       27.8953548
XO(1)        13.9430356
XOO(1)       16.1391017
XP(1)        14.9589314
XQ(1)        13.3986609
X2Q(1)       12.8542862
XR(2)        30.0410667
XS(1)        15.0000000
XS(2)        30.0000000
XS(4)        60.0000000
XS(6)        90.0000000
XT(2)        29.9589333
XLAMBDA(2)   29.4556253
XMU(2)       27.9682084
XNU(2)       28.5125831
XRHO(1)      13.4715145
XMK(3)       44.0251729
X2MK(3)      42.9271398
XMN(4)       57.4238337
XMS(4)       58.9841042
X2SM(2)      31.0158958
XMF           1.0980331
XMSF          1.0158958
XMM           0.5443747
XSA           0.0410686
XSSA          0.0821373
X#
X# This line gives the starting year for the equilibrium arguments and
X# node factors that follow.
X1995
X#
X# The following table gives equilibrium arguments for each year that
X# we want to be able to predict tides for.  This prevents the numbers
X# in the calculations from getting so large that loss of precision
X# occurs.  The equilibrium argument is in degrees for the meridian of
X# Greenwich, at the beginning of each year.
X#
X# I typed in these numbers from the two publications that I cited in
X# the header comments.  The numbers for years 2000 through 2025 were
X# from a table with very small digits that had been photocopied several
X# times.  Caveat emptor.
X#
X# First line:  how many years in this table [CR]
X# Remainder of table:  identifier [whitespace] arg [whitespace] arg...
X# Carriage returns inside the table will be ignored.
X#
X# The identifiers are for readability only; xtide assumes that they
X# are in the same order as defined above.
X#
X# ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** **
X# I have modified the value for N(2) for 1998 from 83.0 as printed in
X# the Manual of Harmonic Analysis and Prediction of Tides to 343.1 as
X# inferred by the -check option of xtide.  Since the Manual predated
X# computers, I believe it very likely that a transcription error
X# caused a discrepancy of 100 degrees.  The calculations for 1998
X# looked very wrong before the correction.  DWF 8/3/95
X# ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** **
X#
X# DO NOT PUT COMMENT LINES INSIDE THE FOLLOWING TABLE.
X# DO NOT REMOVE THE "*END*" AT THE END.
X31
XJ(1)        50.2 134.0 231.1 322.5  39.3 125.77 228.00 317.57  48.19
X139.58 245.48 337.53  69.60 161.42 266.80 357.38  86.86 174.93 275.35
X360.00  83.36 166.40 264.31 349.73  76.90 165.65 269.73   0.68  92.27
X184.23 290.38
XK(1)        15.6  12.2   9.5   6.0   3.2   1.45   1.83   2.20   3.38
X  5.14   8.28  10.50  12.90  15.02  17.74  18.87  19.19  18.49  17.68
X 14.84  11.27   7.55   5.25   2.86   1.57   1.35   3.06   4.49   6.42
X  8.66  11.98
XK(2)       210.3 204.0 199.2 192.7 187.2 183.35 183.60 183.98 186.17
X189.77 196.26 201.19 206.13 210.59 216.07 218.17 218.40 216.52 214.56
X208.96 202.37 195.59 191.34 186.41 183.38 182.49 185.60 188.39 192.39
X197.13 204.10
XL(2)       229.4  66.7 242.7  59.3 244.2  83.71 275.07  95.26 260.72
X105.01 306.24 133.06 286.93 131.87 331.47 160.87 324.68 157.82 348.12
X182.73   3.67 182.09   1.98 202.15  39.81 211.35  17.28 224.34  74.17
X246.04  41.02
XM(1)         4.9 293.5 176.9  64.8 319.9 251.38 167.55  62.95 316.21
X237.35 169.81  70.22 323.53 239.48 174.74  77.28 328.54 231.31 159.53
X 72.76 322.97 211.44 102.42  42.71 314.60 206.57  90.26  24.62 317.01
X213.12  96.20
XM(2)        18.2 118.3 194.0 294.0  34.2 134.54 210.72 311.50  52.52
X153.76 230.78 332.26  73.70 175.08 251.92 352.94  93.72 194.24 270.18
X 10.36 110.42 210.46 286.20  26.40 126.82 227.46 303.98  45.10 146.40
X247.82 324.90
XM(3)       207.3 177.4 110.9  81.0  51.3  21.81 316.08 287.25 258.78
X230.64 166.17 138.39 110.55  82.62  17.88 349.41 320.58 291.36 225.27
X195.54 165.63 135.69  69.30  39.60  10.23 341.19 275.97 247.65 219.60
X191.73 127.35
XM(4)        36.4 236.6  27.9 228.0  68.4 269.08  61.44 263.00 105.04
X307.52 101.56 304.52 147.40 350.16 143.84 345.88 187.44  28.48 180.36
X 20.72 220.84  60.92 212.40  52.80 253.64  94.92 247.96  90.20 292.80
X135.64 289.80
XM(6)        54.6 354.9 221.9 162.1 102.6  43.62 272.16 214.50 157.56
X101.28 332.34 276.78 221.10 165.24  35.76 338.82 281.16 222.72  90.54
X 31.08 331.26 271.38 138.60  79.20  20.46 322.38 191.94 135.30  79.20
X 23.46 254.70
XM(8)        72.8 113.2  55.8  96.1 136.8 178.16 122.88 166.00 210.08
X255.04 203.12 249.04 294.80 340.32 287.68 331.76  14.88  56.96   0.72
X 41.44  81.68 121.84  64.80 105.60 147.28 189.84 135.92 180.40 225.60
X271.28 219.60
XN(2)       346.4 357.8 331.7 343.1 354.5   6.09 340.48 352.54   4.84
X 17.35 352.59   5.35  18.06  30.72   5.78  18.07  30.13  41.92  16.08
X 27.54  38.87  50.20  24.15  35.62  47.32  59.24  33.97  46.37  58.95
X 71.65  46.93
X2N(2)      314.6 237.3 109.4  32.0 314.7 237.64 110.24  33.58 317.16
X240.94 114.40  38.44 322.42 246.36 119.64  43.20 326.54 249.60 121.98
X 44.72 327.32 249.94 122.10  44.84 327.82 251.02 123.96  47.64 331.50
X255.48 128.96
XO(1)       359.7 104.8 185.2 290.5  34.6 137.22 212.96 312.89  52.01
X150.59 223.49 321.64  59.74 158.02 231.26 330.43  70.45 171.63 248.93
X353.18  98.61 204.32 283.94  27.45 129.42 230.03 304.26  43.15 141.58
X239.76 312.49
XOO(1)      217.2 102.3  12.5 256.5 144.4  37.42 322.56 224.33 129.01
X 35.75 331.09 239.60 148.18  56.10 350.06 254.59 156.09  53.59 333.57
X221.18 105.01 347.96 260.58 150.45  45.38 304.83 235.18 140.75  48.06
X316.36 252.33
XP(1)       349.8 350.1 349.3 349.6 349.8 350.03 349.28 349.52 349.76
X350.00 349.25 349.49 349.73 349.97 349.22 349.46 349.70 349.94 349.19
X349.43 349.67 349.91 349.16 349.40 349.64 349.88 349.13 349.37 349.61
X349.85 349.10
XQ(1)       327.9 344.3 322.9 339.5 354.9   8.77 342.72 353.93   4.33
X 14.18 345.30 354.73   4.10  13.66 345.12 355.56   6.86  19.31 354.83
X 10.36  27.06  44.06  21.89  36.67  49.92  61.81  34.25  44.42  54.13
X 63.59  34.52
X2Q(1)      296.2 223.8 100.6  28.5 315.2 240.32 112.48  34.97 316.65
X237.77 107.11  27.82 308.46 229.30  98.98  20.69 303.27 226.99 100.73
X 27.54 315.51 243.80 119.84  45.89 330.42 253.59 124.24  45.69 326.68
X247.42 116.55
XR(2)       177.3 177.1 177.8 177.5 177.3 177.03 177.76 177.51 177.25
X176.99 177.72 177.47 177.21 176.95 177.69 177.43 177.17 176.91 177.65
X177.39 177.13 176.87 177.61 177.35 177.09 176.84 177.57 177.31 177.05
X176.80 177.53
XS(1)       180.0 180.0 180.0 180.0 180.0 180.00 180.00 180.00 180.00
X180.00 180.00 180.00 180.00 180.00 180.00 180.00 180.00 180.00 180.00
X180.00 180.00 180.00 180.00 180.00 180.00 180.00 180.00 180.00 180.00
X180.00 180.00
XS(2)         0.0   0.0   0.0   0.0   0.0   0.00   0.00   0.00   0.00
X  0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00
X  0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00
X  0.00   0.00
XS(4)         0.0   0.0   0.0   0.0   0.0   0.00   0.00   0.00   0.00
X  0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00
X  0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00
X  0.00   0.00
XS(6)         0.0   0.0   0.0   0.0   0.0   0.00   0.00   0.00   0.00
X  0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00
X  0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00   0.00
X  0.00   0.00
XT(2)         2.7   2.9   2.2   2.5   2.7   2.97   2.24   2.49   2.75
X  3.01   2.28   2.53   2.79   3.05   2.31   2.57   2.83   3.09   2.35
X  2.61   2.87   3.13   2.39   2.65   2.91   3.16   2.43   2.69   2.95
X  3.20   2.47
XLAMBDA(2)  149.4  60.0 317.5 228.1 138.8  49.63 307.64 218.96 130.50
X 42.27 301.13 213.13 125.10  37.00 295.68 207.23 118.53  29.58 287.36
X198.06 108.65  19.22 276.79 187.52  98.46   9.64 267.99 179.63  91.47
X  3.41 262.33
XMU(2)       35.3 236.1  28.2 229.0  69.9 271.00  63.56 265.08 106.86
X308.84 102.24 304.48 146.66 348.80 142.02 343.78 185.32  26.58 178.90
X 19.84 220.64  61.44 213.56  54.50 255.68  97.06 249.96  91.84 293.88
X136.06 289.50
XNU(2)       67.0 356.6 250.4 180.0 109.6  39.45 293.80 224.04 154.54
X 85.25 340.43 271.39 202.30 133.16  28.16 318.65 248.91 178.90  73.00
X  2.66 292.19 221.70 115.61  45.28 335.18 265.28 159.97  90.57  21.33
X312.23 207.47
XRHO(1)      48.6 343.1 241.6 176.5 110.1  42.13 296.04 225.43 154.03
X 82.08 333.14 260.77 188.34 116.10   7.50 296.14 225.64 156.29  51.75
X345.48 280.38 215.56 113.35  46.33 337.78 267.85 160.25  88.62  16.51
X304.17 195.06
XMK(3)       33.8 130.5 203.4 300.0  37.4 135.99 212.55 313.70  55.90
X158.90 239.06 342.85  86.60 190.10 269.66  11.81 112.91 212.73 287.86
X 25.20 121.69 218.01 291.45  29.26 128.39 228.81 307.04  49.59 152.82
X256.48 336.88
X2MK(3)      20.8 224.4  18.4 222.1  65.2 267.63  59.61 260.80 101.66
X302.38  93.28 293.93 134.50 335.14 126.10 327.01 168.25   9.99 162.68
X  5.88 209.57  53.37 207.15  49.94 252.07  93.57 244.90  85.71 286.38
X126.98 277.82
XMN(4)        4.6 116.1 165.6 277.0  28.7 140.63 191.20 304.04  57.36
X171.11 223.37 337.61  91.76 205.80 257.70  11.01 123.85 236.16 286.26
X 37.90 149.29 260.66 310.35  62.02 174.14 286.70 337.95  91.47 205.35
X319.47  11.83
XMS(4)       18.2 118.3 194.0 294.0  34.2 134.54 210.72 311.50  52.52
X153.76 230.78 332.26  73.70 175.08 251.92 352.94  93.72 194.24 270.18
X 10.36 110.42 210.46 286.20  26.40 126.82 227.46 303.98  45.10 146.40
X247.82 324.90
X2SM(2)     341.8 241.7 166.0  66.0 325.8 225.46 149.28  48.50 307.48
X206.24 129.22  27.74 286.30 184.92 108.08   7.06 266.28 165.76  89.82
X349.64 249.58 149.54  73.80 333.60 233.18 132.54  56.02 314.90 213.60
X112.18  35.10
XMF         198.8  88.8   3.7 253.0 144.9  40.10 324.80 225.72 128.50
X 32.58 323.80 228.98 134.22  39.04 329.40 232.08 132.82  30.98 312.32
X204.00  93.20 341.82 258.32 151.50  47.98 307.40 235.46 138.80  43.24
X308.30 239.92
XMSF        341.8 241.7 166.0  66.0 325.8 225.46 149.28  48.50 307.48
X206.24 129.22  27.74 286.30 184.92 108.08   7.06 266.28 165.76  89.82
X349.64 249.58 149.54  73.80 333.60 233.18 132.54  56.02 314.90 213.60
X112.18  35.10
XMM          31.8 120.5 222.3 311.0  39.7 128.45 230.24 318.96  47.68
X136.41 238.19 326.91  55.64 144.36 246.14 334.87  63.59 152.32 254.10
X342.82  71.55 160.26 262.05 350.78  79.50 168.22 270.01 358.73  87.45
X176.17 277.97
XSA         280.2 279.9 280.7 280.4 280.2 279.97 280.72 280.48 280.24
X280.00 280.75 280.51 280.27 280.03 280.78 280.54 280.30 280.06 280.81
X280.57 280.33 280.09 280.84 280.60 280.36 280.12 280.87 280.63 280.39
X280.15 280.90
XSSA        200.4 199.9 201.4 200.9 200.4 199.94 201.44 200.96 200.48
X200.00 201.50 201.02 200.54 200.06 201.56 201.08 200.60 200.12 201.62
X201.14 200.66 200.18 201.68 201.20 200.72 200.24 201.74 201.26 200.78
X200.30 201.80
X*END*
X#
X# Now come the node factors for the middle of each year that we want
X# to be able to predict tides for.  These numbers compensate for
X# long-term astronomical changes that are not handled by the harmonic
X# constituents.
X#
X# I typed in these numbers from the two publications that I cited in
X# the header comments.  The numbers for years 2000 through 2025 were
X# from a table with very small digits that had been photocopied several
X# times.  Caveat emptor.
X#
X# First line:  how many years in this table [CR]
X# Remainder of table:  identifier [whitespace] factor [whitespace] factor...
X# Carriage returns inside the table will be ignored.
X#
X# The identifiers are for readability only; xtide assumes that they
X# are in the same order as defined above.
X#
X# DO NOT PUT COMMENT LINES INSIDE THE FOLLOWING TABLE.
X# DO NOT REMOVE THE "*END*" AT THE END.
X31
XJ(1)       0.864 0.833 0.829 0.852 0.896 0.9532 1.0119 1.0654 1.1090
X1.1407 1.1593 1.1651 1.1585 1.1387 1.1064 1.0620 1.0079 0.9490 0.8929
X0.8492 0.8276 0.8342 0.8667 0.9174 0.9761 1.0335 1.0835 1.1228 1.1494
X1.1630 1.1641
XK(1)       0.905 0.886 0.883 0.897 0.926 0.9626 1.0023 1.0397 1.0709
X1.0942 1.1081 1.1125 1.1075 1.0928 1.0690 1.0373 0.9996 0.9598 0.9232
X0.8954 0.8820 0.8861 0.9064 0.9390 0.9780 1.0173 1.0526 1.0810 1.1007
X1.1109 1.1117
XK(2)       0.785 0.754 0.750 0.772 0.821 0.8930 0.9839 1.0822 1.1748
X1.2507 1.2993 1.3151 1.2971 1.2459 1.1689 1.0754 0.9773 0.8871 0.8153
X0.7676 0.7465 0.7528 0.7858 0.8451 0.9266 1.0216 1.1191 1.2069 1.2731
X1.3093 1.3122
XL(2)       1.208 1.107 0.921 0.893 1.096 1.2400 1.0586 0.7052 0.9428
X1.3094 1.1552 0.6399 0.8668 1.2907 1.1867 0.7790 0.8483 1.1644 1.2046
X1.0216 0.8783 0.9704 1.1653 1.2038 0.9582 0.7341 1.0647 1.3145 1.0392
X0.5919 1.0006
XM(1)       0.800 1.083 1.487 1.560 1.214 0.8804 1.4838 2.0515 1.8354
X1.1277 1.5660 2.2503 2.0169 1.1809 1.3819 1.9712 1.8159 1.1234 0.8780
X1.3201 1.5572 1.4049 0.9652 0.9341 1.6117 1.9813 1.5937 1.0586 1.7587
X2.2834 1.8472
XM(2)       1.032 1.037 1.038 1.034 1.027 1.0162 1.0041 0.9916 0.9802
X0.9710 0.9652 0.9633 0.9654 0.9716 0.9809 0.9925 1.0050 1.0170 1.0272
X1.0343 1.0377 1.0367 1.0315 1.0229 1.0117 0.9993 0.9870 0.9763 0.9683
X0.9640 0.9636
XM(3)       1.048 1.056 1.057 1.051 1.040 1.0244 1.0062 0.9874 0.9704
X0.9508 0.9482 0.9454 0.9486 0.9576 0.9715 0.9887 1.0075 1.0256 1.0411
X1.0519 1.0570 1.0555 1.0477 1.0345 1.0175 0.9989 0.9806 0.9646 0.9528
X0.9464 0.9459
XM(4)       1.065 1.075 1.076 1.069 1.054 1.0327 1.0082 0.9833 0.9607
X0.9428 0.9315 0.9279 0.9320 0.9439 0.9621 0.9850 1.0100 1.0343 1.0551
X1.0699 1.0767 1.0747 1.0641 1.0463 1.0235 0.9985 0.9742 0.9531 0.9376
X0.9292 0.9286
XM(6)       1.099 1.115 1.117 1.105 1.082 1.0494 1.0124 0.9750 0.9417
X0.9154 0.8991 0.8938 0.8998 0.9171 0.9438 0.9775 1.0150 1.0520 1.0838
X1.1066 1.1173 1.1141 1.0977 1.0702 1.0354 0.9978 0.9615 0.9305 0.9078
X0.8957 0.8948
XM(8)       1.134 1.156 1.159 1.143 1.111 1.0664 1.0165 0.9668 0.9230
X0.8888 0.8677 0.8610 0.8686 0.8910 0.9257 0.9701 1.0201 1.0699 1.1132
X1.1446 1.1593 1.1549 1.1323 1.0947 1.0475 0.9970 0.9491 0.9084 0.8791
X0.8634 0.8622
XN(2)       1.032 1.037 1.038 1.034 1.027 1.0162 1.0041 0.9916 0.9802
X0.9710 0.9652 0.9633 0.9654 0.9716 0.9809 0.9925 1.0050 1.0170 1.0272
X1.0343 1.0377 1.0367 1.0315 1.0229 1.0117 0.9993 0.9870 0.9763 0.9683
X0.9640 0.9636
X2N(2)      1.032 1.037 1.038 1.034 1.027 1.0162 1.0041 0.9916 0.9802
X0.9710 0.9652 0.9633 0.9654 0.9716 0.9809 0.9925 1.0050 1.0170 1.0272
X1.0343 1.0377 1.0367 1.0315 1.0229 1.0117 0.9993 0.9870 0.9763 0.9683
X0.9640 0.9636
XO(1)       0.844 0.812 0.808 0.832 0.879 0.9393 1.0037 1.0641 1.1147
X1.1527 1.1755 1.1827 1.1746 1.1503 1.1116 1.0602 0.9993 0.9348 0.8749
X0.8290 0.8066 0.8134 0.8473 0.9010 0.9643 1.0278 1.0849 1.1311 1.1633
X1.1801 1.1814
XOO(1)      0.565 0.498 0.489 0.538 0.643 0.8026 1.0029 1.2253 1.4418
X1.6245 1.7439 1.7831 1.7386 1.6127 1.4278 1.2098 0.9880 0.7897 0.6347
X0.5325 0.4873 0.5008 0.5716 0.6990 0.8761 1.0874 1.3108 1.5185 1.6792
X1.7688 1.7759
XP(1)       1.000 1.000 1.000 1.000 1.000 1.0000 1.0000 1.0000 1.0000
X1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000
X1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000
X1.0000 1.0000
XQ(1)       0.844 0.812 0.808 0.832 0.879 0.9393 1.0037 1.0641 1.1147
X1.1527 1.1755 1.1827 1.1746 1.1503 1.1116 1.0602 0.9993 0.9348 0.8749
X0.8290 0.8066 0.8134 0.8473 0.9010 0.9643 1.0278 1.0849 1.1311 1.1633
X1.1801 1.1814
X2Q(1)      0.844 0.812 0.808 0.832 0.879 0.9393 1.0037 1.0641 1.1147
X1.1527 1.1755 1.1827 1.1746 1.1503 1.1116 1.0602 0.9993 0.9348 0.8749
X0.8290 0.8066 0.8134 0.8473 0.9010 0.9643 1.0278 1.0849 1.1311 1.1633
X1.1801 1.1814
XR(2)       1.000 1.000 1.000 1.000 1.000 1.0000 1.0000 1.0000 1.0000
X1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000
X1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000
X1.0000 1.0000
XS(1)       1.000 1.000 1.000 1.000 1.000 1.0000 1.0000 1.0000 1.0000
X1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000
X1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000
X1.0000 1.0000
XS(2)       1.000 1.000 1.000 1.000 1.000 1.0000 1.0000 1.0000 1.0000
X1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000
X1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000
X1.0000 1.0000
XS(4)       1.000 1.000 1.000 1.000 1.000 1.0000 1.0000 1.0000 1.0000
X1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000
X1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000
X1.0000 1.0000
XS(6)       1.000 1.000 1.000 1.000 1.000 1.0000 1.0000 1.0000 1.0000
X1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000
X1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000
X1.0000 1.0000
XT(2)       1.000 1.000 1.000 1.000 1.000 1.0000 1.0000 1.0000 1.0000
X1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000
X1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000
X1.0000 1.0000
XLAMBDA(2)  1.032 1.037 1.038 1.034 1.027 1.0162 1.0041 0.9916 0.9802
X0.9710 0.9652 0.9633 0.9654 0.9716 0.9809 0.9925 1.0050 1.0170 1.0272
X1.0343 1.0377 1.0367 1.0315 1.0229 1.0117 0.9993 0.9870 0.9763 0.9683
X0.9640 0.9636
XMU(2)      1.032 1.037 1.038 1.034 1.027 1.0162 1.0041 0.9916 0.9802
X0.9710 0.9652 0.9633 0.9654 0.9716 0.9809 0.9925 1.0050 1.0170 1.0272
X1.0343 1.0377 1.0367 1.0315 1.0229 1.0117 0.9993 0.9870 0.9763 0.9683
X0.9640 0.9636
XNU(2)      1.032 1.037 1.038 1.034 1.027 1.0162 1.0041 0.9916 0.9802
X0.9710 0.9652 0.9633 0.9654 0.9716 0.9809 0.9925 1.0050 1.0170 1.0272
X1.0343 1.0377 1.0367 1.0315 1.0229 1.0117 0.9993 0.9870 0.9763 0.9683
X0.9640 0.9636
XRHO(1)     0.844 0.812 0.808 0.832 0.879 0.9393 1.0037 1.0641 1.1147
X1.1527 1.1755 1.1827 1.1746 1.1503 1.1116 1.0602 0.9993 0.9348 0.8749
X0.8290 0.8066 0.8134 0.8473 0.9010 0.9643 1.0278 1.0849 1.1311 1.1633
X1.1801 1.1814
XMK(3)      0.934 0.918 0.916 0.928 0.950 0.9782 1.0064 1.0310 1.0497
X1.0624 1.0695 1.0716 1.0692 1.0617 1.0486 1.0295 1.0046 0.9761 0.9483
X0.9262 0.9152 0.9186 0.9350 0.9605 0.9894 1.0165 1.0389 1.0553 1.0658
X1.0709 1.0713
X2MK(3)     0.964 0.952 0.951 0.959 0.976 0.9941 1.0106 1.0223 1.0289
X1.0316 1.0322 1.0323 1.0322 1.0315 1.0286 1.0217 1.0096 0.9928 0.9740
X0.9580 0.9497 0.9522 0.9645 0.9825 1.0009 1.0157 1.0254 1.0303 1.0320
X1.0323 1.0323
XMN(4)      1.065 1.075 1.076 1.069 1.054 1.0327 1.0082 0.9833 0.9607
X0.9428 0.9315 0.9279 0.9320 0.9439 0.9621 0.9850 1.0100 1.0343 1.0551
X1.0699 1.0767 1.0747 1.0641 1.0463 1.0235 0.9985 0.9742 0.9531 0.9376
X0.9292 0.9286
XMS(4)      1.032 1.037 1.038 1.034 1.027 1.0162 1.0041 0.9916 0.9802
X0.9710 0.9652 0.9633 0.9654 0.9716 0.9809 0.9925 1.0050 1.0170 1.0272
X1.0343 1.0377 1.0367 1.0315 1.0229 1.0117 0.9993 0.9870 0.9763 0.9683
X0.9640 0.9636
X2SM(2)     1.032 1.037 1.038 1.034 1.027 1.0162 1.0041 0.9916 0.9802
X0.9710 0.9652 0.9633 0.9654 0.9716 0.9809 0.9925 1.0050 1.0170 1.0272
X1.0343 1.0377 1.0367 1.0315 1.0229 1.0117 0.9993 0.9870 0.9763 0.9683
X0.9640 0.9636
XMF         0.691 0.636 0.629 0.669 0.752 0.8683 1.0033 1.1419 1.2678
X1.3684 1.4318 1.4522 1.4290 1.3620 1.2598 1.1325 0.9936 0.8592 0.7451
X0.6644 0.6269 0.6382 0.6960 0.7936 0.9191 1.0572 1.1925 1.3106 1.3977
X1.4448 1.4485
XMSF        1.032 1.037 1.038 1.034 1.027 1.0162 1.0041 0.9916 0.9802
X0.9710 0.9652 0.9633 0.9654 0.9716 0.9809 0.9925 1.0050 1.0170 1.0272
X1.0343 1.0377 1.0367 1.0315 1.0229 1.0117 0.9993 0.9870 0.9763 0.9683
X0.9640 0.9636
XMM         1.110 1.128 1.130 1.117 1.091 1.0548 1.0124 0.9690 0.9295
X0.8979 0.8780 0.8716 0.8789 0.8999 0.9320 0.9719 1.0155 1.0577 1.0934
X1.1188 1.1305 1.1270 1.1089 1.0782 1.0389 0.9955 0.9531 0.9160 0.8887
X0.8739 0.8728
XSA         1.000 1.000 1.000 1.000 1.000 1.0000 1.0000 1.0000 1.0000
X1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000
X1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000
X1.0000 1.0000
XSSA        1.000 1.000 1.000 1.000 1.000 1.0000 1.0000 1.0000 1.0000
X1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000
X1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000
X1.0000 1.0000
X*END*
X#
X# Harmonic constants for all locations that we can predict tides for.
X# First line:  name of location.
SHAR_EOF
echo "End of xtide-1.0.1 part 2"
echo "File harmonics is continued in part 3"
echo "3" > @shar_seq_.tmp
exit 0


