Open Bernmeister opened 7 months ago
Reason that the narrow dates fail is that there is only one rising inbetween.
Real reason is that KeplerOrbit._at()
, more precisely propagate()
in keplerlip.py, sqeezes the second dimension from its results' shape when fed with a time shaped (1,).
Instead of position an velocity with expected shapes of (3,1) they have a shape of (3,)
Using a date range of 24 hours to find risings (presumably too find settings ) for comets and minor planets throws a
ValueError
. See the example below. To test, comment/uncomment thet0
/t1
pairs.The "fix" was simple: increase the date range to 48 hours.