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
If you read the nav data using georinex and pass it to keplerian.py, the set comparison doesn't work because sv is a dataframe, not a string. I checked the test suit and it seems that it's using a dict instead of a xarray object, so that's why it passes.
Code works as expected if we run:
sed -i -e 's/sv["sv"] in {"R", "S"}/sv["sv"] in ("R", "S")/g' /usr/local/lib/python3.10/dist-packages/georinex/keplerian.py
Please revert commit c3644ad on src/georinex/keplerian.py>
- if "sv" in sv and sv["sv"] in ("R", "S"):
+ if "sv" in sv and sv["sv"] in {"R", "S"}:
The text was updated successfully, but these errors were encountered:
If you read the nav data using georinex and pass it to keplerian.py, the set comparison doesn't work because sv is a dataframe, not a string. I checked the test suit and it seems that it's using a dict instead of a xarray object, so that's why it passes.
Code works as expected if we run:
sed -i -e 's/sv["sv"] in {"R", "S"}/sv["sv"] in ("R", "S")/g' /usr/local/lib/python3.10/dist-packages/georinex/keplerian.py
Please revert commit c3644ad on src/georinex/keplerian.py>
- if "sv" in sv and sv["sv"] in ("R", "S"):
+ if "sv" in sv and sv["sv"] in {"R", "S"}:
The text was updated successfully, but these errors were encountered: