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 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>