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