mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2026-10-10 17:51:49 +00:00
Activated by setting PVT.rinex_version=4 in the configuration file (or with the -RINEX_version=4.02 command-line flag). The default behavior when the parameter is not set remains unchanged (RINEX 3.02). Observation files are generated in the 4.02 version format. Navigation files use the data record structure introduced in RINEX 4.00: - EPH ephemeris records preceded by "> EPH <sat> <msg-type>" header lines: GPS/QZSS LNAV, GPS/QZSS CNAV (with its own record layout, Table A10), Galileo INAV/FNAV, GLONASS FDMA (including the new BROADCAST ORBIT - 4 line with status flags, group delay, URAI and health flags), and BeiDou D1/D2. - Ionospheric corrections logged as ION data records (Klobuchar for GPS and BeiDou, NeQuick-G for Galileo) and time system corrections logged as STO records (GPUT, GAUT, GAGP, GLUT, GLGP, BDUT) instead of header lines, written as soon as the corresponding data are received. - The compulsory LEAP SECONDS header record, written blank if the data are not available yet and updated in place afterwards. - Navigation data records use the recommended 'e' exponent indicator instead of the deprecated FORTRAN 'D' notation. Also fix update_obs_header() so that the end-of-file position is preserved after rewriting the header, preventing the destructor from mistaking an updated observation file for an empty one and deleting it.