georinex icon indicating copy to clipboard operation
georinex copied to clipboard

ValueError: Fails reading Mixed Navigation Message from IGS

Open parrot7483 opened this issue 10 months ago • 1 comments

I fail to read the combined Navigation Message created by the IGS with georinex (version 1.16.2).

  File "/.venv/lib/python3.12/site-packages/georinex/base.py", line 65, in load
    return rinexnav(rinexfn, outfn, use=use, tlim=tlim, overwrite=overwrite)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/.venv/lib/python3.12/site-packages/georinex/base.py", line 166, in rinexnav
    nav = rinexnav3(fn, use=use, tlim=tlim)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/.venv/lib/python3.12/site-packages/georinex/nav3.py", line 98, in rinexnav3
    compact_fields = _sparefields(full_fields, sys=sv[0], N=_num_fields(raws[svi[0]]))
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/.venv/lib/python3.12/site-packages/georinex/nav3.py", line 234, in _sparefields
    raise ValueError(f"System {sys} NAV data is not the same length as the number of fields.")
ValueError: System I NAV data is not the same length as the number of fields.

I added .txt to the two files because otherwise github did not allow uploading them

BRDC00IGS_R_20250110000_01D_MN.rnx.txt BRDC00IGS_R_20250540000_01D_MN.rnx.txt

parrot7483 avatar Mar 03 '25 16:03 parrot7483

I encountered the same error with the file BRDC00IGS_R_20240010000_01D_MN.rnx

ljbade avatar Dec 11 '25 00:12 ljbade