Initial loading of level 3 file through bzip2 decompression

This commit is contained in:
Dan Paulat 2021-12-28 02:44:12 -06:00
parent f66a0b46e6
commit c6ce9c99e4
4 changed files with 181 additions and 4 deletions

View file

@ -150,11 +150,11 @@ bool WmoHeader::Parse(std::istream& is)
// Remove delimiters from the end of the line
if (!sequenceLine.empty())
{
sequenceLine.erase(sequenceLine.end() - 3);
sequenceLine.erase(sequenceLine.length() - 3);
}
wmoLine.erase(wmoLine.end() - 2);
awipsLine.erase(awipsLine.end() - 2);
wmoLine.erase(wmoLine.length() - 2);
awipsLine.erase(awipsLine.length() - 2);
}
// Transmission Header: