Tidal constituents#

This appendix lists the tidal constituents that are available by default in xoa.tide, shows the file that defines them, and gives the specifications of the files that complete or change them. Their usage is introduced in the Constituents section.

Default constituents#

Name

Species

Doodson number

Period (h)

Satellites

Compound of

Sa

0

056.554

8770.000

0

Ssa

0

057.555

4382.906

0

Mm

0

065.455

661.309

4

MSf

0

073.555

354.367

0

S2 − M2

Mf

0

075.555

327.859

2

Q1

1

135.655

26.868

6

O1

1

145.555

25.819

4

P1

1

163.555

24.066

5

K1

1

165.555

23.934

5

J1

1

175.455

23.098

6

OO1

1

185.555

22.306

6

2N2

2

235.755

12.905

2

MU2

2

237.555

12.872

1

N2

2

245.655

12.658

4

NU2

2

247.455

12.626

3

M2

2

255.555

12.421

4

LAMBDA2

2

263.655

12.222

1

L2

2

265.455

12.192

5

T2

2

272.556

12.016

0

S2

2

273.555

12.000

2

K2

2

275.555

11.967

3

MNS2

2

227.655

13.127

0

M2 + N2 − S2

MSN2

2

283.455

11.786

0

M2 + S2 − N2

MKN2

2

285.455

11.755

0

M2 + K2 − N2

2SM2

2

291.555

11.607

0

2×S2 − M2

MN4

4

445.655

6.269

0

M2 + N2

M4

4

455.555

6.210

0

2×M2

MS4

4

473.555

6.103

0

M2 + S2

MK4

4

475.555

6.095

0

M2 + K2

2MN6

6

645.655

4.166

0

2×M2 + N2

M6

6

655.555

4.140

0

3×M2

2MS6

6

673.555

4.092

0

2×M2 + S2

The species is 0 for the long-period constituents, 1 for the diurnal ones, 2 for the semidiurnal ones, and so on. The satellites are the nodal modulation terms of the constituent, and the compound constituents are made of those they are listed with.

The default file#

The constituents are read from the internal xoa/tide/tide.cfg file, whose path is xoa.tide.data.CFG_FILE.

# Tidal constituent database.
# Copy to the xoa user config directory as tide.cfg to override or extend the defaults.
#
# Each top-level section is a constituent name.
# phase      : constant phase in degrees added to the Doodson argument (diurnal constituents)
# satellites : semicolon-separated tuples of 5 floats (r dN dp dp1 phi0_deg)
#              where N is the longitude of the lunar node, so that
#              f·exp(iu) = 1 + Σ r·exp(i(dN·N + dp·p + dp1·p1 + phi0))
# compound_of: nested subsections, one per source constituent, each with a multiplier key,
#              which may be negative: f = Π f_i^|m_i| and u = Σ m_i·u_i.
#
# The satellites are those of Foreman (1977), as in t_tide and utide, without the
# latitude-dependent ones, except for Mm and Mf, which follow the series of Schureman (1958).

# ── Long-period (species 0) ─────────────────────────────────────────────────────

[Sa]
doodson = 056.554
species = 0
satellites =

[Ssa]
doodson = 057.555
species = 0
satellites =

[Mm]
doodson = 065.455
species = 0
satellites = -0.0651 1 0 0 0 ; -0.0651 -1 0 0 0 ; 0.00065 2 0 0 0 ; 0.00065 -2 0 0 0

[MSf]
doodson = 073.555
species = 0
satellites =
[[compound_of]]
[[[S2]]]
multiplier = 1
[[[M2]]]
multiplier = -1

[Mf]
doodson = 075.555
species = 0
satellites = 0.4143 -1 0 0 0 ; 0.0387 -2 0 0 0

# ── Diurnal (species 1) ─────────────────────────────────────────────────────────

[Q1]
doodson = 135.655
species = 1
phase = -90
satellites = 0.0007 3 -2 0 180 ; 0.0039 2 -2 0 180 ; 0.0057 2 0 0 180 ; 0.0008 0 -1 1 0 ; 0.1884 1 0 0 0 ; 0.0028 0 2 0 180

[O1]
doodson = 145.555
species = 1
phase = -90
satellites = 0.0058 2 0 0 180 ; 0.1885 1 0 0 0 ; 0.0064 0 2 0 180 ; 0.001 -1 2 0 180

[P1]
doodson = 163.555
species = 1
phase = -90
satellites = 0.0008 2 0 0 0 ; 0.0112 1 0 0 180 ; 0.0004 0 0 2 180 ; 0.0015 0 2 0 180 ; 0.0003 -1 2 0 180

[K1]
doodson = 165.555
species = 1
phase = 90
satellites = 0.0002 1 -2 0 0 ; 0.0001 2 0 0 0 ; 0.0198 1 0 0 180 ; 0.1356 -1 0 0 0 ; 0.0029 -2 0 0 180

[J1]
doodson = 175.455
species = 1
phase = 90
satellites = 0.0294 1 0 0 180 ; 0.198 -1 0 0 0 ; 0.0047 -2 0 0 180 ; 0.0152 0 2 0 180 ; 0.0098 -1 2 0 180 ; 0.0057 -2 2 0 180

[OO1]
doodson = 185.555
species = 1
phase = 90
satellites = 0.0037 1 -2 0 180 ; 0.1496 0 -2 0 0 ; 0.0296 -1 -2 0 0 ; 0.6398 -1 0 0 0 ; 0.1342 -2 0 0 0 ; 0.0086 -3 0 0 0

# ── Semidiurnal (species 2) ─────────────────────────────────────────────────────

[2N2]
doodson = 235.755
species = 2
satellites = 0.0061 2 -2 0 180 ; 0.0374 1 0 0 180

[MU2]
doodson = 237.555
species = 2
satellites = 0.0375 1 0 0 180

[N2]
doodson = 245.655
species = 2
satellites = 0.0039 2 -2 0 180 ; 0.0008 0 -1 1 0 ; 0.0005 2 0 0 0 ; 0.0373 1 0 0 180

[NU2]
doodson = 247.455
species = 2
satellites = 0.0373 1 0 0 180 ; 0.0042 0 2 0 0 ; 0.0036 -1 2 0 180

[M2]
doodson = 255.555
species = 2
satellites = 0.0005 2 0 0 0 ; 0.0373 1 0 0 180 ; 0.0006 0 2 0 0 ; 0.0002 -1 2 0 0

[LAMBDA2]
doodson = 263.655
species = 2
phase = 180
satellites = 0.0448 1 0 0 180

[L2]
doodson = 265.455
species = 2
phase = 180
satellites = 0.0366 1 0 0 180 ; 0.0047 1 2 0 0 ; 0.2505 0 2 0 180 ; 0.1102 -1 2 0 180 ; 0.0156 -2 2 0 180

[T2]
doodson = 272.556
species = 2
satellites =

[S2]
doodson = 273.555
species = 2
satellites = 0.0022 1 0 0 0 ; 0.0001 0 2 0 0

[K2]
doodson = 275.555
species = 2
satellites = 0.0128 1 0 0 180 ; 0.298 -1 0 0 0 ; 0.0324 -2 0 0 0

# ── Shallow-water / compound ────────────────────────────────────────────────────

[MNS2]
doodson = 227.655
species = 2
satellites =
[[compound_of]]
[[[M2]]]
multiplier = 1
[[[N2]]]
multiplier = 1
[[[S2]]]
multiplier = -1

[MSN2]
doodson = 283.455
species = 2
satellites =
[[compound_of]]
[[[M2]]]
multiplier = 1
[[[S2]]]
multiplier = 1
[[[N2]]]
multiplier = -1

[MKN2]
doodson = 285.455
species = 2
satellites =
[[compound_of]]
[[[M2]]]
multiplier = 1
[[[K2]]]
multiplier = 1
[[[N2]]]
multiplier = -1

[2SM2]
doodson = 291.555
species = 2
satellites =
[[compound_of]]
[[[S2]]]
multiplier = 2
[[[M2]]]
multiplier = -1

[MN4]
doodson = 445.655
species = 4
satellites =
[[compound_of]]
[[[M2]]]
multiplier = 1
[[[N2]]]
multiplier = 1

[M4]
doodson = 455.555
species = 4
satellites =
[[compound_of]]
[[[M2]]]
multiplier = 2

[MS4]
doodson = 473.555
species = 4
satellites =
[[compound_of]]
[[[M2]]]
multiplier = 1
[[[S2]]]
multiplier = 1

[MK4]
doodson = 475.555
species = 4
satellites =
[[compound_of]]
[[[M2]]]
multiplier = 1
[[[K2]]]
multiplier = 1

[2MN6]
doodson = 645.655
species = 6
satellites =
[[compound_of]]
[[[M2]]]
multiplier = 2
[[[N2]]]
multiplier = 1

[M6]
doodson = 655.555
species = 6
satellites =
[[compound_of]]
[[[M2]]]
multiplier = 3

[2MS6]
doodson = 673.555
species = 6
satellites =
[[compound_of]]
[[[M2]]]
multiplier = 2
[[[S2]]]
multiplier = 1

Adding or changing constituents#

The default constituents are completed by a tide.cfg file located next to the xoa user config file, whose path is returned by xoa.tide.data.get_user_cfg_file(), and by the files that you give to xoa.tide.set_constituents, like a file of your working directory. Their sections complete the default constituents, or replace those of the same name. See Adding or changing constituents for how to use them.

It has one section per constituent, whose name is that of the constituent. For instance, the shallow-water constituent 2MS6 is made of twice M2 and once S2:

[2MS6]
doodson = 673.555
species = 6
[[compound_of]]
[[[M2]]]
multiplier = 2
[[[S2]]]
multiplier = 1

The keys of a section are:

Key

Type

Description

doodson

string

Doodson number, like 255.555 for M2, that sets the frequency

species

integer, at least 0

Tidal species: 0 for long period, 1 for diurnal, 2 for semidiurnal, etc.

phase

float, 0 by default

Constant phase in degrees added to the Doodson argument, for the diurnal constituents

satellites

string, empty by default

Nodal satellites, as r dN dp dp1 phi0 groups of 5 floats separated by semicolons, like 0.0373 1 0 0 180 ; 0.0005 2 0 0 0, such that \(f e^{iu} = 1 + \sum r e^{i(dN\,N + dp\,p + dp1\,p_1 + \phi_0)}\), where \(N\) is the longitude of the lunar node. See xoa.tide.data.is_satellites().

[[compound_of]]

subsection

Only for compound constituents: one [[[name]]] subsection per source constituent, with its integer multiplier, 1 by default, which may be negative

Specifications#

The syntax of the files is validated with the specifications of the internal xoa/tide/tide.ini file, whose path is xoa.tide.data.INI_FILE, using xoa.cfgm. See configobj. Any section name is accepted (__many__).

# Spec file for tidal constituent database.
# Each section defines one constituent; unknown section names are accepted (__many__).

[__many__]
# Doodson number string (e.g. '255.555')
doodson = string(default='')

# Tidal species: 0=long-period 1=diurnal 2=semidiurnal etc.
species = integer(default=0, min=0)

# Constant phase in degrees added to the Doodson argument, for the diurnal constituents
phase = float(default=0)

# Nodal satellite phasors: semicolon-separated groups of 5 floats
# Format: r dN dp dp1 phi0_deg ; r dN dp dp1 phi0_deg ; ...
satellites = satellites(default='')

# Compound-constituent components: one subsection per source constituent.
# Omit entirely for non-compound constituents.
[[compound_of]]
[[[__many__]]]
multiplier = integer(default=1) # may be negative, like -1 for M2 in MSf = S2 - M2