Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore known but unimplemented sat systems when reading RINEX3 #24

Open
wants to merge 1 commit into
base: stable
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions core/lib/NewNav/RinexNavDataFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ namespace gnsstk
}
if (check)
{
if (processEph)
if (processEph && (eph != nullptr))
{
if (eph->validate() == expect)
{
Expand Down Expand Up @@ -267,7 +267,7 @@ namespace gnsstk
}
else
{
if (processEph)
if (processEph && (eph != nullptr))
{
if (!cb.process(eph))
return false;
Expand Down Expand Up @@ -585,6 +585,10 @@ namespace gnsstk
//glo->step is algorithm configuration
glo->fixFit();
break;
case SatelliteSystem::Geosync:
case SatelliteSystem::IRNSS:
// These GNSSes are not supported but are expected, so do not fail
break;
default:
/// @todo add other GNSSes
rv = false;
Expand Down Expand Up @@ -693,6 +697,10 @@ namespace gnsstk
glo->healthBits = navIn.health << 2;
healthOut.push_back(health);
break;
case SatelliteSystem::Geosync:
case SatelliteSystem::IRNSS:
// These GNSSes are not supported but are expected, so do not fail
break;
default:
/// @todo add other GNSSes
rv = false;
Expand Down