Closed barentsen closed 3 years ago
I determined the cause of this bug to be as follows:
step="7D"
was too coarse, which in turn caused the interpolation performed by TessEphem.predict_sky
to be inaccurate.SkyCoord
to raise the ValueError
seen in the exception message above.Graphical illustration of the ephemeris of 2004 QX2, including its close encounter:
I've addressed this in cb2af02873b8efda79dca83ca31fef16c5598ce9 by setting the default interpolation step to 12H.
This is an incomplete fix because there are likely extremely fast-moving objects for which this resolution is insufficient as well.
A better fix would be to properly detect and address periods affected by extreme motion. I opened issue #3 to address this.
@jessie-dotson pointed me to the following failure for "2004 QX2", which occurs when
interpolation_step="7D"
but not wheninterpolation_step="12H"
.