riogroup / SORA

MIT License
15 stars 12 forks source link

error on prediction #16

Closed FlaviaLu closed 4 years ago

FlaviaLu commented 4 years ago

When I run the prediction for a short time interval (3h) for 2002KX14 occultation in 2018, I got a TypeError: 'Longitude' object with a scalar value does not support indexing. The code runs well when I delete the mag_lim=18 and put a bigger interval of time to search for occultation (some days).

altairgomes commented 4 years ago

This happens when only one occultation is found. It is a bug very easy to solve.

altairgomes commented 4 years ago

This issue has been fixed and merged to the develop branch. It will be available in v0.1.1