GNSS-SDR  0.0.13
An Open Source GNSS Software Defined Receiver
gps_iono.h
Go to the documentation of this file.
1 /*!
2  * \file gps_iono.h
3  * \brief Interface of a GPS IONOSPHERIC MODEL storage
4  * \author Javier Arribas, 2013. jarribas(at)cttc.es
5  *
6  * -----------------------------------------------------------------------------
7  *
8  * Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
9  *
10  * GNSS-SDR is a software defined Global Navigation
11  * Satellite Systems receiver
12  *
13  * This file is part of GNSS-SDR.
14  *
15  * SPDX-License-Identifier: GPL-3.0-or-later
16  *
17  * -----------------------------------------------------------------------------
18  */
19 
20 
21 #ifndef GNSS_SDR_GPS_IONO_H
22 #define GNSS_SDR_GPS_IONO_H
23 
24 
25 #include <boost/serialization/nvp.hpp>
26 
27 
28 /*!
29  * \brief This class is a storage for the GPS IONOSPHERIC data as described in IS-GPS-200K
30  *
31  * See https://www.gps.gov/technical/icwg/IS-GPS-200K.pdf Appendix II
32  */
33 class Gps_Iono
34 {
35 public:
36  bool valid{}; //!< Valid flag
37  // Ionospheric parameters
38  double d_alpha0{}; //!< Coefficient 0 of a cubic equation representing the amplitude of the vertical delay [s]
39  double d_alpha1{}; //!< Coefficient 1 of a cubic equation representing the amplitude of the vertical delay [s/semi-circle]
40  double d_alpha2{}; //!< Coefficient 2 of a cubic equation representing the amplitude of the vertical delay [s(semi-circle)^2]
41  double d_alpha3{}; //!< Coefficient 3 of a cubic equation representing the amplitude of the vertical delay [s(semi-circle)^3]
42  double d_beta0{}; //!< Coefficient 0 of a cubic equation representing the period of the model [s]
43  double d_beta1{}; //!< Coefficient 1 of a cubic equation representing the period of the model [s/semi-circle]
44  double d_beta2{}; //!< Coefficient 2 of a cubic equation representing the period of the model [s(semi-circle)^2]
45  double d_beta3{}; //!< Coefficient 3 of a cubic equation representing the period of the model [s(semi-circle)^3]
46 
47  Gps_Iono() = default; //!< Default constructor
48 
49  template <class Archive>
50 
51  /*!
52  * \brief Serialize is a boost standard method to be called by the boost XML serialization. Here is used to save the ephemeris data on disk file.
53  */
54  inline void serialize(Archive& archive, const unsigned int version)
55  {
56  using boost::serialization::make_nvp;
57  if (version)
58  {
59  };
60  archive& make_nvp("d_alpha0", d_alpha0);
61  archive& make_nvp("d_alpha1", d_alpha1);
62  archive& make_nvp("d_alpha2", d_alpha2);
63  archive& make_nvp("d_alpha3", d_alpha3);
64  archive& make_nvp("d_beta0", d_beta0);
65  archive& make_nvp("d_beta1", d_beta1);
66  archive& make_nvp("d_beta2", d_beta2);
67  archive& make_nvp("d_beta3", d_beta3);
68  }
69 };
70 
71 #endif
This class is a storage for the GPS IONOSPHERIC data as described in IS-GPS-200K. ...
Definition: gps_iono.h:33
bool valid
Valid flag.
Definition: gps_iono.h:36
double d_alpha2
Coefficient 2 of a cubic equation representing the amplitude of the vertical delay [s(semi-circle)^2]...
Definition: gps_iono.h:40
double d_beta0
Coefficient 0 of a cubic equation representing the period of the model [s].
Definition: gps_iono.h:42
double d_beta2
Coefficient 2 of a cubic equation representing the period of the model [s(semi-circle)^2].
Definition: gps_iono.h:44
void serialize(Archive &archive, const unsigned int version)
Serialize is a boost standard method to be called by the boost XML serialization. Here is used to sav...
Definition: gps_iono.h:54
Gps_Iono()=default
Default constructor.
double d_beta3
Coefficient 3 of a cubic equation representing the period of the model [s(semi-circle)^3].
Definition: gps_iono.h:45
double d_beta1
Coefficient 1 of a cubic equation representing the period of the model [s/semi-circle].
Definition: gps_iono.h:43
double d_alpha1
Coefficient 1 of a cubic equation representing the amplitude of the vertical delay [s/semi-circle]...
Definition: gps_iono.h:39
double d_alpha0
Coefficient 0 of a cubic equation representing the amplitude of the vertical delay [s]...
Definition: gps_iono.h:38
double d_alpha3
Coefficient 3 of a cubic equation representing the amplitude of the vertical delay [s(semi-circle)^3]...
Definition: gps_iono.h:41