You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the standard, if the xmitTime is set to .9999+e09, then it should be treated as invalid/unknown. However, the library doesn't do this and uses this value as if it were proper.
The following call to fixTimeGPS() then destroys navOut.xmitTime by adding this invalid value to a GPS week nr.:
Apparently, this one place where the invalid value destroys things could get easily fixed by treating the invalid value as 0, but I'm not sure whether there are other places where it could make problems.
gnsstk/core/lib/FileHandling/RINEX3/Rinex3NavData.cpp
Line 1017 in cbba16f
According to the standard, if the
xmitTime
is set to.9999+e09
, then it should be treated as invalid/unknown. However, the library doesn't do this and uses this value as if it were proper.The following call to
fixTimeGPS()
then destroysnavOut.xmitTime
by adding this invalid value to a GPS week nr.:gnsstk/core/lib/NewNav/RinexNavDataFactory.cpp
Line 344 in cbba16f
Apparently, this one place where the invalid value destroys things could get easily fixed by treating the invalid value as 0, but I'm not sure whether there are other places where it could make problems.
One of the problematic RINEX v3 files is e.g. this one: https://igs.bkg.bund.de/root_ftp/MGEX/BRDC/2024/001/BRDC00WRD_S_20240010000_01D_MN.rnx.gz . E.g. the very first nav message:
You can see the
9.999000000000e+08
in the very last position. This is what makes problems.Reproducer:
Initial time is wrongly in year 2055 and final time is also weird:
The text was updated successfully, but these errors were encountered: