Skip to content

Commit 7fcc30b

Browse files
committed
Remove comments that will be outdated as implementation improves
1 parent 9579062 commit 7fcc30b

54 files changed

Lines changed: 8 additions & 253 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/tide-predictor/src/constituents/2MK3.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,9 @@ import M2 from "./M2.js";
33
import O1 from "./O1.js";
44

55
/**
6-
* Shallow-water terdiurnal (2MK3).
7-
* Compound constituent: M2 + O1
8-
* Speed ~42.93°/h with period ~8.39 hours (terdiurnal).
6+
* Shallow-water terdiurnal (2MK3 = M2 + O1).
97
* Lunar-lunar interaction from M2 semi-diurnal and O1 diurnal components.
10-
* Nodal factors combine fM2 with fO1.
118
* Generated in shallow-water environments; typical amplitude <1 cm.
12-
*
13-
* @see https://tidesandcurrents.noaa.gov/ NOAA CO-OPS
149
*/
1510
export default defineCompoundConstituent("2MK3", [
1611
{ constituent: M2, factor: 1 },

packages/tide-predictor/src/constituents/2MK5.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ import K1 from "./K1.js";
44

55
/**
66
* Shallow-water fifth-diurnal from M2-K1 interaction.
7-
* Doodson Number: ~465.555 (estimated; compounded frequency)
8-
* Components: 2×M2 (lunar semi-diurnal × 2) + K1 (lunisolar diurnal).
9-
* Speed 44.025°/h with period ~8.18 hours.
10-
* Nodal factors combine (fM2)² with fK1.
117
*
128
* Note: Found in coastal tide predictions, especially in enclosed bays and harbors.
139
* Amplitude typically 0.1-0.5 cm depending on location and water depth.

packages/tide-predictor/src/constituents/2MO5.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ import O1 from "./O1.js";
44

55
/**
66
* Shallow-water fifth-diurnal from M2-O1 interaction.
7-
* Doodson Number: ~445.555 (estimated; compounded frequency)
8-
* Components: 2×M2 (lunar semi-diurnal × 2) + O1 (lunar diurnal).
9-
* Speed 71.91°/h with period ~5.00 hours.
10-
* Nodal factors combine (fM2)² with fO1.
117
*
128
* Note: Primarily shallow-water coastal phenomenon, not present in deep ocean.
139
* Amplitude typically <0.5 cm except in extreme shallow-water or enclosed basins.

packages/tide-predictor/src/constituents/2MS6.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,9 @@ import S2 from "./S2.js";
44

55
/**
66
* Sixth-diurnal shallow-water interaction: 2×M2 + S2.
7-
* Doodson Number: 473.555
8-
* Speed 87.968°/h with period ~4.09 hours.
9-
* Nodal factor: f(M2)²(S2) / u(M2)²(S2) = combined M2² and S2 factors.
107
*
118
* Generated only in shallow water; typical amplitude 0.01-0.2 meters depending on depth.
129
* Included in IHO shallow-water constituent tables and NOAA analysis (order #37).
13-
*
14-
* @see https://iho.int/en/standards-and-specifications/standards/s-14 IHO Tidal Constituent Bank
15-
* @see https://tidesandcurrents.noaa.gov/ NOAA CO-OPS
16-
* @see https://en.wikipedia.org/wiki/Theory_of_tides
1710
*/
1811
export default defineCompoundConstituent("2MS6", [
1912
{ constituent: M2, factor: 2 },

packages/tide-predictor/src/constituents/2N2.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,7 @@ import nc from "../node-corrections/index.js";
33

44
/**
55
* Lunar semi-diurnal (2N2).
6-
* Doodson Number: 2.-2.0.2.0.0.0
7-
* Speed 27.895°/h with period ~12.91 hours (lunar semi-diurnal).
86
* Second-order lunar semi-diurnal from Moon's orbital ellipticity.
9-
* Uses M2 nodal factors (fM2/uM2) for amplitude and phase modulation.
10-
* Nodal factor ranges: f from ~0.4 to ~1.6; u from 0° to ±180°.
117
* Amplitude typically 5-10% of M2; significant in semi-diurnal analysis.
12-
*
13-
* @see https://tidesandcurrents.noaa.gov/ NOAA CO-OPS
148
*/
159
export default defineConstituent("2N2", [2, -2, 0, 2, 0, 0, 0], nc.uM2, nc.fM2);

packages/tide-predictor/src/constituents/2Q1.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,10 @@ import N2 from "./N2.js";
33
import J1 from "./J1.js";
44

55
/**
6-
* Shallow-water diurnal (2Q1).
7-
* Compound constituent: N2-J1
8-
* Speed ~12.854°/h with period ~27.93 hours (diurnal).
6+
* Shallow-water diurnal (2Q1 = N2-J1).
97
* Derived from interaction of semi-diurnal N2 and diurnal J1 constituents.
10-
* Nodal factor combines effects from both parent constituents: fN2/fJ1 with phase uN2-uJ1.
118
* Amplitude typically very small; rarely significant.
129
* Found only in shallow-water regions with strong tidal distortion.
13-
*
14-
* @see https://tidesandcurrents.noaa.gov/ NOAA CO-OPS
1510
*/
1611
export default defineCompoundConstituent("2Q1", [
1712
{ constituent: N2, factor: 1 },

packages/tide-predictor/src/constituents/2SM2.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@ import M2 from "./M2.js";
55
/**
66
* Shallow-water semi-diurnal (2SM2).
77
* Compound constituent: 2×S2 - M2
8-
* Speed ~31.02°/h with period ~11.61 hours.
98
* Solar-lunar interaction constituent generated in shallow-water environments.
10-
* Nodal factors combine (fS2)² with inverse M2 effects.
119
* Amplitude typically <2% of M2; complementary to MU2.
12-
*
13-
* @see https://tidesandcurrents.noaa.gov/ NOAA CO-OPS
1410
*/
1511
export default defineCompoundConstituent("2SM2", [
1612
{ constituent: S2, factor: 2 },

packages/tide-predictor/src/constituents/3L2.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ import L2 from "./L2.js";
33

44
/**
55
* Triple lunar elliptic; 3 times L2 interaction.
6-
* Doodson Number: ~265 (estimated; not standard Doodson notation)
7-
* Speed ~88.5°/h (≈ 3 × 29.5°/h) with period ~4.14 hours.
8-
* Nodal factor: (fL2)³ / (uL2)³ = cubic L2 nodal modulation (very small).
96
*
107
* Warning: Not in standard IHO constituent bank. Mainly historical/theoretical interest.
118
* Very small amplitude (<0.1 cm); found only in extreme shallow water or enclosed basins.

packages/tide-predictor/src/constituents/3N2.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ import N2 from "./N2.js";
33

44
/**
55
* Triple N2 shallow-water harmonic (3 × N2).
6-
* Doodson Number: ~336 (estimated; not standard Doodson notation)
7-
* Speed 85.32°/h (≈ 3 × 28.44°/h) with period ~4.23 hours.
8-
* Nodal factor: (fN2)³ / (uN2)³ = cubic N2 nodal modulation.
96
*
107
* Note: Shallow-water constituent with definition based on compound frequency estimates.
118
* Typical amplitude <0.5 cm; often <0.1 cm except in extreme shallow-water or enclosed basins.

packages/tide-predictor/src/constituents/EP2.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,5 @@ import nc from "../node-corrections/index.js";
33

44
/**
55
* Lunar elliptic semi-diurnal constituent (ε2).
6-
* Uses M2 nodal factors (fM2/uM2) for amplitude and phase modulation.
7-
*
8-
* @see https://iho.int/en/standards-and-specifications/standards/s-14 IHO Tidal Constituent Bank
9-
* @see https://tidesandcurrents.noaa.gov/ NOAA CO-OPS constituent tables
10-
* @see https://en.wikipedia.org/wiki/Theory_of_tides Theory of Tides
116
*/
127
export default defineConstituent("EP2", [2, -3, 2, 1, 0, 0, 0], nc.uM2, nc.fM2);

0 commit comments

Comments
 (0)