mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-13 19:50:34 +00:00
Removing a blank line in the RINEX file
This commit is contained in:
parent
db7b746297
commit
9862ec7dfd
@ -583,7 +583,7 @@ void Rinex_Printer::update_nav_header(std::fstream& out, const Gps_Utc_Model& ut
|
||||
out.close();
|
||||
out.open(navfilename, std::ios::out | std::ios::trunc);
|
||||
out.seekp(0);
|
||||
for (int i = 0; i < (int) data.size(); i++)
|
||||
for (int i = 0; i < (int) data.size() - 1; i++)
|
||||
{
|
||||
out << data[i] << std::endl;
|
||||
}
|
||||
@ -604,8 +604,6 @@ void Rinex_Printer::update_nav_header(std::fstream& out, const Gps_Utc_Model& ut
|
||||
|
||||
}
|
||||
|
||||
//myFile.close();
|
||||
//remove(tmpfilename.c_str());
|
||||
out.seekp(pos);
|
||||
std::cout << "The RINEX Navigation file header has been updated with UTC and IONO info." << std::endl;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user