Update methods to ensure that they return NaN when provided with NaNs as arguments. For example, body.lonlat2radec(nan, nan) now returns (nan, nan), when it previously returned (0, 0) (due to internal spiceypy NaN handling behaviour).
Pull request checklist
[x] Add a clear description of the change
[x] Add any new tests needed
[ ] Run spell check on new text visible to user (documentation, GUI etc.)
[ ] Check any changes to requirements.txt are reflected in setup.py
[ ] Check code passes CI checks (run run_ci.sh or check GitHub Actions)
Update methods to ensure that they return NaN when provided with NaNs as arguments. For example,
body.lonlat2radec(nan, nan)
now returns(nan, nan)
, when it previously returned(0, 0)
(due to internal spiceypy NaN handling behaviour).Pull request checklist
requirements.txt
are reflected insetup.py
run_ci.sh
or check GitHub Actions)See CONTRIBUTING.md for more details.