Implements the capability of translating NewNav data into RINEX NAV data. The numerous static methods may be used as needed, but the typical use case will likely be:
Definition at line 103 of file NewNavToRinex.hpp.
#include <NewNavToRinex.hpp>
|
static bool | fillData (const NavDataPtr &ndp, Rinex3NavData &rnd, HealthGetter &healthGet) |
|
static bool | fillDataBDSD1Nav (const NavDataPtr &ndp, Rinex3NavData &rnd) |
|
static bool | fillDataBDSD2Nav (const NavDataPtr &ndp, Rinex3NavData &rnd) |
|
static bool | fillDataGalFNav (const NavDataPtr &ndp, Rinex3NavData &rnd, HealthGetter &healthGet) |
|
static bool | fillDataGalINav (const NavDataPtr &ndp, Rinex3NavData &rnd, HealthGetter &healthGet) |
|
static bool | fillDataGLOFNav (const NavDataPtr &ndp, Rinex3NavData &rnd) |
|
static bool | fillDataGPSLNav (const NavDataPtr &ndp, Rinex3NavData &rnd) |
|
static bool | fillDataKepler (const std::shared_ptr< OrbitDataKepler > &odk, Rinex3NavData &rnd) |
|
static bool | fillHeader (const NavDataPtr &ndp, Rinex3NavHeader &h) |
|
static bool | fillTimeSystemCorrection (const std::shared_ptr< StdNavTimeOffset > &toffs, TimeSystemCorrection &tsc) |
|
◆ fillData()
Fill the contents of the given RINEX nav data object with data from ndp. This method need only be called once for a given NavDataPtr object.
- Parameters
-
[in] | ndp | A NavDataPtr containing an ephemeris. |
[out] | rnd | The resulting converted Rinex3NavData object. |
[in] | healthGet | Callback for obtaining health information, used to fill in the blanks in RINEX. |
- Returns
- true on success, false on failure.
Definition at line 220 of file NewNavToRinex.cpp.
◆ fillDataBDSD1Nav()
Fill the contents of the given RINEX nav data object with data from ndp, which is expected to contain a BeiDou D1 ephemeris.
- Parameters
-
[in] | ndp | A NavDataPtr containing an ephemeris. |
[out] | rnd | The resulting converted Rinex3NavData object. |
- Returns
- true on success, false on failure (i.e. ndp is not a BeiDou D1 ephemeris.
Definition at line 458 of file NewNavToRinex.cpp.
◆ fillDataBDSD2Nav()
Fill the contents of the given RINEX nav data object with data from ndp, which is expected to contain a BeiDou D2 ephemeris.
- Parameters
-
[in] | ndp | A NavDataPtr containing an ephemeris. |
[out] | rnd | The resulting converted Rinex3NavData object. |
- Returns
- true on success, false on failure (i.e. ndp is not a BeiDou D2 ephemeris.
Definition at line 506 of file NewNavToRinex.cpp.
◆ fillDataGalFNav()
Fill the contents of the given RINEX nav data object with data from ndp, which is expected to contain a Galileo F/Nav ephemeris.
- Parameters
-
[in] | ndp | A NavDataPtr containing an ephemeris. |
[out] | rnd | The resulting converted Rinex3NavData object. |
[in] | healthGet | Callback for obtaining health information, used to fill in the blanks in RINEX. |
- Returns
- true on success, false on failure (i.e. ndp is not a Galileo F/Nav ephemeris.
- Todo:
- figure out how best to get BGD E5b/E1 which is not in the F/NAV ephemeris.
Definition at line 292 of file NewNavToRinex.cpp.
◆ fillDataGalINav()
Fill the contents of the given RINEX nav data object with data from ndp, which is expected to contain a Galileo I/Nav ephemeris.
- Parameters
-
[in] | ndp | A NavDataPtr containing an ephemeris. |
[out] | rnd | The resulting converted Rinex3NavData object. |
[in] | healthGet | Callback for obtaining health information, used to fill in the blanks in RINEX. |
- Returns
- true on success, false on failure (i.e. ndp is not a Galileo I/Nav ephemeris.
Definition at line 380 of file NewNavToRinex.cpp.
◆ fillDataGLOFNav()
Fill the contents of the given RINEX nav data object with data from ndp, which is expected to contain a GLONASS FDMA ephemeris.
- Parameters
-
[in] | ndp | A NavDataPtr containing an ephemeris. |
[out] | rnd | The resulting converted Rinex3NavData object. |
- Returns
- true on success, false on failure (i.e. ndp is not a GLONASS FDMA ephemeris.
Definition at line 554 of file NewNavToRinex.cpp.
◆ fillDataGPSLNav()
Fill the contents of the given RINEX nav data object with data from ndp, which is expected to contain a GPS LNAV ephemeris.
- Parameters
-
[in] | ndp | A NavDataPtr containing an ephemeris. |
[out] | rnd | The resulting converted Rinex3NavData object. |
- Returns
- true on success, false on failure (i.e. ndp is not a GPS LNAV ephemeris.
Definition at line 249 of file NewNavToRinex.cpp.
◆ fillDataKepler()
Fill the contents of the given RINEX nav data object with data from odk. This handles all the common Keplerian orbit parameters across those systems that use them.
- Parameters
-
- Returns
- true on success, false on failure (i.e. ndp is not a Keplerian ephemeris.
Definition at line 597 of file NewNavToRinex.cpp.
◆ fillHeader()
Fill the contents of the given RINEX nav header with data from ndp. This method may (should) be called multiple times for a given header object in order to get all of the relevant time offset and ionospheric model data (no other header data is affected).
- Parameters
-
[in] | ndp | The NavDataPtr to get data from. |
[out] | h | The header object to add time offset or iono data to. |
- Returns
- true if successful, false if ndp contained no relevant data.
Definition at line 131 of file NewNavToRinex.cpp.
◆ fillTimeSystemCorrection()
◆ translate()
Given an ordered list of NavData, generate RINEX equivalents and store them internally.
- Parameters
-
[in] | data | The NavData to process and turn into RINEX. |
[in] | healthGet | Callback for obtaining health information, used to fill in the blanks in RINEX. Currently this is only used for Galileo ephemerides where F/NAV doesn't contain I/NAV health and vice versa. |
- Returns
- true if any nav data was converted successfully.
Definition at line 59 of file NewNavToRinex.cpp.
◆ write()
bool gnsstk::NewNavToRinex::write |
( |
const std::string & |
filename | ) |
|
Write the internally stored RINEX header and data to the specified output file name.
- Parameters
-
[in] | filename | The path to the RINEX NAV file to write. |
- Returns
- true on success, false on failure.
Definition at line 101 of file NewNavToRinex.cpp.
◆ header
◆ rndList
The documentation for this class was generated from the following files: