Regression coming from the Rust side where a panic exception was added resulting in failures when coordinates have a NaN (which is allowed in astropy).
We now fill the invalid values (nan and infinites) with a 0*u.deg before sending to Rust side and then apply a mask to remove these incoherent results from the output.
(duplicate of previous PR because of push force issues)
Regression coming from the Rust side where a panic exception was added resulting in failures when coordinates have a NaN (which is allowed in astropy).
We now fill the invalid values (nan and infinites) with a 0*u.deg before sending to Rust side and then apply a mask to remove these incoherent results from the output.
(duplicate of previous PR because of push force issues)