Skip to main content

ocean_tide_loading

Function ocean_tide_loading 

Source
pub fn ocean_tide_loading(
    xsta: &[f64; 3],
    year: i32,
    month: i32,
    day: i32,
    fhr: f64,
    blq: &OceanLoadingBlq,
) -> Result<[f64; 3], TideError>
Expand description

Ocean tide loading displacement of an ITRF station, in metres (ECEF).

Arguments:

  • xsta - geocentric station position (m, ITRF).
  • year, month, day - UTC calendar date (selects the day of year).
  • fhr - UTC fractional hour of the day (hour + min/60 + sec/3600).
  • blq - the station’s BLQ ocean-loading coefficients (a data dependency the caller supplies; the engine does not embed them).

Returns the displacement vector (m, geocentric ITRF), to be projected onto the line of sight identically to super::solid_earth_tide.

Returns TideError when inputs are non-finite, the date/hour is invalid, the BLQ coefficients are non-finite, or the station vector is degenerate (zero radius).