Skip to main content

Module tides

Module tides 

Source
Expand description

Solid-earth tide station displacement (IERS Conventions, Chapter 7).

solid_earth_tide computes the tidal displacement of an Earth-fixed (ITRF) GNSS station caused by the lunar and solar gravitational attraction. It is a derived work of the IERS Conventions (2010) reference routine DEHANTTIDEINEL.F (and its companion routines ST1IDIU, ST1ISEM, ST1L1, STEP2DIU, STEP2LON, CAL2JD, DAT), reproduced here in Rust.

How this derived work is based upon and differs from the original Software:

  • It is a line-for-line Rust translation of the in-phase degree-2/degree-3 displacement, the out-of-phase corrections (ST1IDIU, ST1ISEM), the latitude-dependence correction (ST1L1), and the frequency-dependent step-2 diurnal/long-period band corrections (STEP2DIU, STEP2LON), evaluating the identical Love/Shida numbers, Doodson/argument tables, and leap-second table.
  • It keeps the permanent (mean) tide deformation: the original routine’s commented-out “Step 3” permanent-tide removal is left disabled, matching the ITRF/IGS conform-to-mean-tide convention.
  • The routine names are changed from the IERS originals (per the IERS Conventions Software License), and the Fortran subroutine structure is inlined into private helpers.

The Sun and Moon geocentric positions are inputs (metres, ECEF/ITRF); the caller supplies them, e.g. from crate::astro::bodies::sun_moon_ecef.

IERS Conventions Software License: permission is granted to use this software for any purpose, including commercial applications, free of charge, and to distribute derived works subject to the conditions reproduced above. Results obtained with this software acknowledge use of the IERS Conventions software.

Enums§

TideError
TideInputErrorKind

Functions§

solid_earth_tide
Solid-earth tide displacement of an ITRF station, in metres (ECEF).