-
Notifications
You must be signed in to change notification settings - Fork 6
Remove duplicate parse_rinex_nav_file function #159
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
Conversation
@@ -221,11 +224,21 @@ def check_assumptions( | |||
) | |||
|
|||
|
|||
def parse_rinex_nav_or_obs_file(rinex_file_path: Path): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This convenience function was actually only used to warm up the parser cache, so moved it here.
@@ -575,7 +575,7 @@ def test_gps_group_delay_multi_prn(input_for_test): | |||
def test_gal_group_delay(input_for_test): | |||
""" | |||
Note that both ephemerides have the same Toe (reference time), but one is I/NAV, the | |||
other F/NAV. This test implicitly checks whether the right ephemeris is used wben computing | |||
other F/NAV. This test implicitly checks whether the right ephemeris is used when computing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unrelated typo fix
What is the difference between |
@jtec, this question is still valid. I would rather limit the number of submodule files, so why not merge helpers.py and util.py? Unless there is a clear rationale to have both separated files? |
@plutonheaven Very good point, I merged |
The function
parse_rinex_nav_file
existed twice, with slightly different output, likely to work around circular imports. This PR re-arranges some code somewhat so that there is only one.Also merged helpers.py into util.py, as those two have the same job (module with small helper/utility functions) and it's not clear why those functions are divided into two modules.