GNSS-SDR 0.0.21
An Open Source GNSS Software Defined Receiver
Loading...
Searching...
No Matches
rtklib_tides.h
Go to the documentation of this file.
1/*!
2 * \file rtklib_tides.h
3 * \brief Tidal displacement corrections
4 * \authors <ul>
5 * <li> 2015, T. Takasu
6 * <li> 2017, Javier Arribas
7 * <li> 2017, Carles Fernandez
8 * </ul>
9 *
10 * This is a derived work from RTKLIB http://www.rtklib.com/
11 * The original source code at https://github.com/tomojitakasu/RTKLIB is
12 * released under the BSD 2-clause license with an additional exclusive clause
13 * that does not apply here. This additional clause is reproduced below:
14 *
15 * " The software package includes some companion executive binaries or shared
16 * libraries necessary to execute APs on Windows. These licenses succeed to the
17 * original ones of these software. "
18 *
19 * Neither the executive binaries nor the shared libraries are required by, used
20 * or included in GNSS-SDR.
21 *
22 * -----------------------------------------------------------------------------
23 * Copyright (C) 2015, T. Takasu
24 * Copyright (C) 2017, Javier Arribas
25 * Copyright (C) 2017, Carles Fernandez
26 * All rights reserved.
27 *
28 * SPDX-License-Identifier: BSD-2-Clause
29 *
30 * References:
31 * [1] D.D.McCarthy, IERS Technical Note 21, IERS Conventions 1996, July 1996
32 * [2] D.D.McCarthy and G.Petit, IERS Technical Note 32, IERS Conventions
33 * 2003, November 2003
34 * [3] D.A.Vallado, Fundamentals of Astrodynamics and Applications 2nd ed,
35 * Space Technology Library, 2004
36 * [4] J.Kouba, A Guide to using International GNSS Service (IGS) products,
37 * May 2009
38 * [5] G.Petit and B.Luzum (eds), IERS Technical Note No. 36, IERS
39 * Conventions (2010), 2010
40 * -----------------------------------------------------------------------------
41 */
42
43
44#ifndef GNSS_SDR_RTKLIB_TIDES_H
45#define GNSS_SDR_RTKLIB_TIDES_H
46
47
48#include "rtklib.h"
49
50
51const double GME = 3.986004415E+14; /* earth gravitational constant */
52const double GMS = 1.327124E+20; /* sun gravitational constant */
53const double GMM = 4.902801E+12; /* moon gravitational constant */
54
55void tide_pl(const double *eu, const double *rp, double GMp,
56 const double *pos, double *dr);
57
58void tide_solid(const double *rsun, const double *rmoon,
59 const double *pos, const double *E, double gmst, int opt,
60 double *dr);
61
62void tide_oload(gtime_t tut, const double *odisp, double *denu);
63
64void iers_mean_pole(gtime_t tut, double *xp_bar, double *yp_bar);
65
66
67void tide_pole(gtime_t tut, const double *pos, const double *erpv,
68 double *denu);
69
70void tidedisp(gtime_t tutc, const double *rr, int opt, const erp_t *erp,
71 const double *odisp, double *dr);
72#endif
main header file for the rtklib library