MRTKLIB 0.7.14
Modernized GNSS Positioning Library
Loading...
Searching...
No Matches
mrtk_tides.h File Reference

MRTKLIB Tides Module — Tidal displacement corrections. More...

Include dependency graph for mrtk_tides.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void tidedisp (gtime_t tutc, const double *rr, int opt, const erp_t *erp, const double *odisp, double *dr)
 Compute displacements by earth tides.
void tide_oload (gtime_t tut, const double *odisp, double *denu)
 Compute displacement by ocean tide loading (11 constituents).

Detailed Description

MRTKLIB Tides Module — Tidal displacement corrections.

This header declares the public tidal displacement function (tidedisp) extracted from tides.c.

Note
All functions in this module are pure cut-and-paste extractions from tides.c with zero algorithmic changes.

Definition in file mrtk_tides.h.

Function Documentation

◆ tide_oload()

void tide_oload ( gtime_t tut,
const double * odisp,
double * denu )

Compute displacement by ocean tide loading (11 constituents).

Parameters
[in]tutTime in UT
[in]odispOcean tide loading parameters (6*11 values)
[out]denuDisplacement in ENU (m)

Definition at line 146 of file mrtk_tides.c.

References D2R, epoch2time(), PI, time2epoch(), timediff(), and trace().

Referenced by ocean_tide_clasgrid(), and tidedisp().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tidedisp()

void tidedisp ( gtime_t tutc,
const double * rr,
int opt,
const erp_t * erp,
const double * odisp,
double * dr )

Compute displacements by earth tides.

Parameters
[in]tutcTime in UTC
[in]rrSite position (ECEF) (m)
[in]optOptions (bitwise OR): 1: solid earth tide 2: ocean tide loading 4: pole tide 8: eliminate permanent deformation
[in]erpEarth rotation parameters (NULL: not used)
[in]odispOcean loading parameters (NULL: not used) odisp[0+i*6]: constituent i amplitude radial (m) odisp[1+i*6]: constituent i amplitude west (m) odisp[2+i*6]: constituent i amplitude south (m) odisp[3+i*6]: constituent i phase radial (deg) odisp[4+i*6]: constituent i phase west (deg) odisp[5+i*6]: constituent i phase south (deg) (i=0:M2,1:S2,2:N2,3:K2,4:K1,5:O1,6:P1,7:Q1, 8:Mf,9:Mm,10:Ssa)
[out]drDisplacement by earth tides (ECEF) (m)

Definition at line 261 of file mrtk_tides.c.

References geterp(), matmul(), norm(), sunmoonpos(), tide_oload(), tide_pole(), tide_solid(), time2epoch(), time_str(), timeadd(), trace(), utc2gpst(), and xyz2enu().

Referenced by clas_osr_zdres(), zdres(), and zdres().

Here is the call graph for this function:
Here is the caller graph for this function: