elnjensen / Tapir

Tools for planning astronomical observations (transit visibility, airmass plots, finding charts)
GNU General Public License v3.0
8 stars 3 forks source link

Code crashes in some cases when ingress and egress elev. limits differ #3

Open elnjensen opened 4 years ago

elnjensen commented 4 years ago

Not sure when/why this happens, but in some cases, get_observability will report an error when it tries to calculate the start or end of target visibility, and the elevation limits are set to different numbers for ingress and egress.

Example:

 Error with elevation calculation in sub observable_time. Elevation is -43.9623351563258 at time . (HA 8.40291733134464, start time 2020-03-21T19:29:59 Inc 1 search start 2020-03-21T19:29:59  
Baseline 0.