---------------------------------------------------------------------------
AlwaysUpError Traceback (most recent call last)
<ipython-input-9-819fe633e240> in <module>()
----> 1 do_something(altitudes_1)
<ipython-input-8-37860838e4c6> in do_something(altitudes)
18 def do_something(altitudes):
19 if (altitudes > horizon).all():
---> 20 raise AlwaysUpError("Target always above ``horizon``={}".format(horizon))
21
22 if (altitudes < horizon).all():
AlwaysUpError: Target always above ``horizon``=0.0 deg