GNSS-SDR  0.0.14
An Open Source GNSS Software Defined Receiver
galileo_iono.h
Go to the documentation of this file.
1 /*!
2  * \file galileo_iono.h
3  * \brief Interface of a Galileo Ionospheric Model storage
4  * \author Javier Arribas, 2013. jarribas(at)cttc.es
5  * \author Mara Branzanti 2013. mara.branzanti(at)gmail.com
6  *
7  * -----------------------------------------------------------------------------
8  *
9  * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
10  * This file is part of GNSS-SDR.
11  *
12  * Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
13  * SPDX-License-Identifier: GPL-3.0-or-later
14  *
15  * -----------------------------------------------------------------------------
16  */
17 
18 
19 #ifndef GNSS_SDR_GALILEO_IONO_H
20 #define GNSS_SDR_GALILEO_IONO_H
21 
22 #include <boost/serialization/nvp.hpp>
23 #include <cstdint>
24 
25 /** \addtogroup Core
26  * \{ */
27 /** \addtogroup System_Parameters
28  * \{ */
29 
30 
31 /*!
32  * \brief This class is a storage for the GALILEO IONOSPHERIC data as described in Galileo ICD paragraph 5.1.6
33  *
34  * See https://www.gsc-europa.eu/sites/default/files/sites/all/files/Galileo-OS-SIS-ICD.pdf
35  */
37 {
38 public:
39  /*!
40  * Default constructor
41  */
42  Galileo_Iono() = default;
43 
44  // Ionospheric correction
45  double ai0_5{}; //!< Effective Ionisation Level 1st order parameter [sfu]
46  double ai1_5{}; //!< Effective Ionisation Level 2st order parameter [sfu/degree]
47  double ai2_5{}; //!< Effective Ionisation Level 3st order parameter [sfu/degree]
48 
49  // from page 5 (UTC) to have a timestamp
50  int32_t TOW_5{}; //!< UTC data reference Time of Week [s]
51  int32_t WN_5{}; //!< UTC data reference Week number [week]
52 
53  // Ionospheric disturbance flag
54  bool Region1_flag_5{}; //!< Ionospheric Disturbance Flag for region 1
55  bool Region2_flag_5{}; //!< Ionospheric Disturbance Flag for region 2
56  bool Region3_flag_5{}; //!< Ionospheric Disturbance Flag for region 3
57  bool Region4_flag_5{}; //!< Ionospheric Disturbance Flag for region 4
58  bool Region5_flag_5{}; //!< Ionospheric Disturbance Flag for region 5
59 
60  template <class Archive>
61 
62  /*!
63  * \brief Serialize is a boost standard method to be called by the boost XML serialization.
64  Here is used to save the iono data on disk file.
65  */
66  inline void serialize(Archive& archive, const unsigned int version)
67  {
68  using boost::serialization::make_nvp;
69  if (version)
70  {
71  };
72  archive& make_nvp("ai0_5", ai0_5);
73  archive& make_nvp("ai1_5", ai1_5);
74  archive& make_nvp("ai2_5", ai2_5);
75  archive& make_nvp("TOW_5", TOW_5);
76  archive& make_nvp("WN_5", WN_5);
77  archive& make_nvp("Region1_flag_5", Region1_flag_5);
78  archive& make_nvp("Region2_flag_5", Region2_flag_5);
79  archive& make_nvp("Region3_flag_5", Region3_flag_5);
80  archive& make_nvp("Region4_flag_5", Region4_flag_5);
81  archive& make_nvp("Region5_flag_5", Region5_flag_5);
82  }
83 };
84 
85 
86 /** \} */
87 /** \} */
88 #endif // GNSS_SDR_GALILEO_IONO_H
bool Region1_flag_5
Ionospheric Disturbance Flag for region 1.
Definition: galileo_iono.h:54
int32_t TOW_5
UTC data reference Time of Week [s].
Definition: galileo_iono.h:50
bool Region4_flag_5
Ionospheric Disturbance Flag for region 4.
Definition: galileo_iono.h:57
double ai1_5
Effective Ionisation Level 2st order parameter [sfu/degree].
Definition: galileo_iono.h:46
double ai0_5
Effective Ionisation Level 1st order parameter [sfu].
Definition: galileo_iono.h:45
bool Region3_flag_5
Ionospheric Disturbance Flag for region 3.
Definition: galileo_iono.h:56
int32_t WN_5
UTC data reference Week number [week].
Definition: galileo_iono.h:51
Galileo_Iono()=default
bool Region2_flag_5
Ionospheric Disturbance Flag for region 2.
Definition: galileo_iono.h:55
This class is a storage for the GALILEO IONOSPHERIC data as described in Galileo ICD paragraph 5...
Definition: galileo_iono.h:36
double ai2_5
Effective Ionisation Level 3st order parameter [sfu/degree].
Definition: galileo_iono.h:47
bool Region5_flag_5
Ionospheric Disturbance Flag for region 5.
Definition: galileo_iono.h:58
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: galileo_iono.h:66