GNSS-SDR  0.0.19
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  * 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_IONO_H
19 #define GNSS_SDR_GPS_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-200M
32  *
33  * See https://www.gps.gov/technical/icwg/IS-GPS-200M.pdf Appendix II
34  */
35 class Gps_Iono
36 {
37 public:
38  Gps_Iono() = default; //!< Default constructor
39 
40  // Ionospheric parameters
41  double alpha0{}; //!< Coefficient 0 of a cubic equation representing the amplitude of the vertical delay [s]
42  double alpha1{}; //!< Coefficient 1 of a cubic equation representing the amplitude of the vertical delay [s/semi-circle]
43  double alpha2{}; //!< Coefficient 2 of a cubic equation representing the amplitude of the vertical delay [s(semi-circle)^2]
44  double alpha3{}; //!< Coefficient 3 of a cubic equation representing the amplitude of the vertical delay [s(semi-circle)^3]
45  double beta0{}; //!< Coefficient 0 of a cubic equation representing the period of the model [s]
46  double beta1{}; //!< Coefficient 1 of a cubic equation representing the period of the model [s/semi-circle]
47  double beta2{}; //!< Coefficient 2 of a cubic equation representing the period of the model [s(semi-circle)^2]
48  double beta3{}; //!< Coefficient 3 of a cubic equation representing the period of the model [s(semi-circle)^3]
49 
50  bool valid{}; //!< Valid flag
51 
52  template <class Archive>
53 
54  /*!
55  * \brief Serialize is a boost standard method to be called by the boost XML
56  * serialization. Here is used to save the ephemeris data on disk file.
57  */
58  inline void serialize(Archive& archive, const unsigned int version)
59  {
60  if (version)
61  {
62  };
63  archive& BOOST_SERIALIZATION_NVP(alpha0);
64  archive& BOOST_SERIALIZATION_NVP(alpha1);
65  archive& BOOST_SERIALIZATION_NVP(alpha2);
66  archive& BOOST_SERIALIZATION_NVP(alpha3);
67  archive& BOOST_SERIALIZATION_NVP(beta0);
68  archive& BOOST_SERIALIZATION_NVP(beta1);
69  archive& BOOST_SERIALIZATION_NVP(beta2);
70  archive& BOOST_SERIALIZATION_NVP(beta3);
71  }
72 };
73 
74 
75 /** \} */
76 /** \} */
77 #endif // GNSS_SDR_GPS_IONO_H
This class is a storage for the GPS IONOSPHERIC data as described in IS-GPS-200M. ...
Definition: gps_iono.h:35
bool valid
Valid flag.
Definition: gps_iono.h:50
double beta0
Coefficient 0 of a cubic equation representing the period of the model [s].
Definition: gps_iono.h:45
double beta1
Coefficient 1 of a cubic equation representing the period of the model [s/semi-circle].
Definition: gps_iono.h:46
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:58
double alpha2
Coefficient 2 of a cubic equation representing the amplitude of the vertical delay [s(semi-circle)^2]...
Definition: gps_iono.h:43
Gps_Iono()=default
Default constructor.
double alpha1
Coefficient 1 of a cubic equation representing the amplitude of the vertical delay [s/semi-circle]...
Definition: gps_iono.h:42
double beta2
Coefficient 2 of a cubic equation representing the period of the model [s(semi-circle)^2].
Definition: gps_iono.h:47
double alpha3
Coefficient 3 of a cubic equation representing the amplitude of the vertical delay [s(semi-circle)^3]...
Definition: gps_iono.h:44
double alpha0
Coefficient 0 of a cubic equation representing the amplitude of the vertical delay [s]...
Definition: gps_iono.h:41
double beta3
Coefficient 3 of a cubic equation representing the period of the model [s(semi-circle)^3].
Definition: gps_iono.h:48