mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-06-01 06:04:08 +00:00
bugfix: Fixes MARKER NUMBER field for RINEX v2.11 file generation
This commit is contained in:
parent
5bdd8fbfaf
commit
4e840f482f
@ -3660,7 +3660,14 @@ void Rinex_Printer::rinex_obs_header(std::fstream& out, const Gps_Ephemeris& gps
|
|||||||
Rinex_Printer::lengthCheck(line);
|
Rinex_Printer::lengthCheck(line);
|
||||||
out << line << std::endl;
|
out << line << std::endl;
|
||||||
|
|
||||||
// -------- Line MARKER NAME / TYPE
|
// -------- Line MARKER NAME
|
||||||
|
line.clear();
|
||||||
|
line += Rinex_Printer::leftJustify("DEFAULT MARKER NAME", 60); // put a flag or a property,
|
||||||
|
line += Rinex_Printer::leftJustify("MARKER NAME", 20);
|
||||||
|
Rinex_Printer::lengthCheck(line);
|
||||||
|
out << line << std::endl;
|
||||||
|
|
||||||
|
// -------- Line MARKER NUMBER / TYPE
|
||||||
if (version == 2)
|
if (version == 2)
|
||||||
{
|
{
|
||||||
line.clear();
|
line.clear();
|
||||||
@ -3680,14 +3687,6 @@ void Rinex_Printer::rinex_obs_header(std::fstream& out, const Gps_Ephemeris& gps
|
|||||||
out << line << std::endl;
|
out << line << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
// -------- Line MARKER TYPE
|
|
||||||
line.clear();
|
|
||||||
line += Rinex_Printer::leftJustify("NON_GEODETIC", 20); // put a flag or a property
|
|
||||||
line += std::string(40, ' ');
|
|
||||||
line += Rinex_Printer::leftJustify("MARKER TYPE", 20);
|
|
||||||
Rinex_Printer::lengthCheck(line);
|
|
||||||
out << line << std::endl;
|
|
||||||
|
|
||||||
// -------- Line OBSERVER / AGENCY
|
// -------- Line OBSERVER / AGENCY
|
||||||
line.clear();
|
line.clear();
|
||||||
std::string username;
|
std::string username;
|
||||||
@ -4012,6 +4011,13 @@ void Rinex_Printer::rinex_obs_header(std::fstream& out, const Gps_CNAV_Ephemeris
|
|||||||
out << line << std::endl;
|
out << line << std::endl;
|
||||||
|
|
||||||
// -------- Line MARKER NAME
|
// -------- Line MARKER NAME
|
||||||
|
line.clear();
|
||||||
|
line += Rinex_Printer::leftJustify("DEFAULT MARKER NAME", 60); // put a flag or a property,
|
||||||
|
line += Rinex_Printer::leftJustify("MARKER NAME", 20);
|
||||||
|
Rinex_Printer::lengthCheck(line);
|
||||||
|
out << line << std::endl;
|
||||||
|
|
||||||
|
// -------- Line MARKER NUMBER / TYPE
|
||||||
if (version == 2)
|
if (version == 2)
|
||||||
{
|
{
|
||||||
line.clear();
|
line.clear();
|
||||||
@ -4031,14 +4037,6 @@ void Rinex_Printer::rinex_obs_header(std::fstream& out, const Gps_CNAV_Ephemeris
|
|||||||
out << line << std::endl;
|
out << line << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
// -------- Line MARKER TYPE
|
|
||||||
line.clear();
|
|
||||||
line += Rinex_Printer::leftJustify("NON_GEODETIC", 20); // put a flag or a property
|
|
||||||
line += std::string(40, ' ');
|
|
||||||
line += Rinex_Printer::leftJustify("MARKER TYPE", 20);
|
|
||||||
Rinex_Printer::lengthCheck(line);
|
|
||||||
out << line << std::endl;
|
|
||||||
|
|
||||||
// -------- Line OBSERVER / AGENCY
|
// -------- Line OBSERVER / AGENCY
|
||||||
line.clear();
|
line.clear();
|
||||||
std::string username;
|
std::string username;
|
||||||
@ -4332,17 +4330,17 @@ void Rinex_Printer::rinex_obs_header(std::fstream& out, const Galileo_Ephemeris&
|
|||||||
// -------- Line MARKER NAME
|
// -------- Line MARKER NAME
|
||||||
line.clear();
|
line.clear();
|
||||||
line += Rinex_Printer::leftJustify("DEFAULT MARKER NAME", 60); // put a flag or a property,
|
line += Rinex_Printer::leftJustify("DEFAULT MARKER NAME", 60); // put a flag or a property,
|
||||||
line += Rinex_Printer::leftJustify("MARKER TYPE", 20);
|
line += Rinex_Printer::leftJustify("MARKER NAME", 20);
|
||||||
Rinex_Printer::lengthCheck(line);
|
Rinex_Printer::lengthCheck(line);
|
||||||
out << line << std::endl;
|
out << line << std::endl;
|
||||||
|
|
||||||
// -------- Line MARKER TYPE
|
// -------- Line MARKER TYPE
|
||||||
//line.clear();
|
line.clear();
|
||||||
//line += Rinex_Printer::leftJustify("NON_GEODETIC", 20); // put a flag or a property
|
line += Rinex_Printer::leftJustify("NON_GEODETIC", 20); // put a flag or a property
|
||||||
//line += std::string(40, ' ');
|
line += std::string(40, ' ');
|
||||||
//line += Rinex_Printer::leftJustify("MARKER TYPE", 20);
|
line += Rinex_Printer::leftJustify("MARKER TYPE", 20);
|
||||||
//Rinex_Printer::lengthCheck(line);
|
Rinex_Printer::lengthCheck(line);
|
||||||
//out << line << std::endl;
|
out << line << std::endl;
|
||||||
|
|
||||||
// -------- Line OBSERVER / AGENCY
|
// -------- Line OBSERVER / AGENCY
|
||||||
line.clear();
|
line.clear();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user