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

opcode 1I/Q/X is not supported for Beidou #163

Open
mikehb opened this issue May 7, 2024 · 0 comments
Open

opcode 1I/Q/X is not supported for Beidou #163

mikehb opened this issue May 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mikehb
Copy link

mikehb commented May 7, 2024

Describe the bug
As explained by table 19 of https://files.igs.org/pub/data/format/rinex305.pdf, when reading a RINEX 3.02 file, both 1I/Q/X and 2I/Q/X observation codes should be accepted and treated the same as 2I/Q/X in the current RINEX standard. But gnss_lib_py doesn't support this. This will introduce following trace message

Traceback (most recent call last):
  File "/home/mikehuang/programs/./obs_featuring.py", line 20, in <module>
    staNavData = glp.RinexObs(file)
                 ^^^^^^^^^^^^^^^^^^
  File "/home/mikehuang/.local/lib/python3.11/site-packages/gnss_lib_py/parsers/rinex_obs.py", line 106, in __init__
    signal_type = signal_type_dict[constellation][band]
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
KeyError: '1I'
@mikehb mikehb added the bug Something isn't working label May 7, 2024
@mikehb mikehb changed the title opcode opcode 1I/Q/X is not supported for Beidou May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant