ortk95 / planetmapper

PlanetMapper: An open source Python package for visualising, navigating and mapping Solar System observations
https://planetmapper.readthedocs.io
MIT License
11 stars 1 forks source link

Adding consistent NaN propagation #268

Closed ortk95 closed 1 year ago

ortk95 commented 1 year ago

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

See CONTRIBUTING.md for more details.