I tried this code, but I get a SyntaxError:
if measured_dec =< 0.523966303045:
print "WARNING! Object may be below Horizon!"
What is wrong?
Your less than or equals operator is the wrong way around, change it to this:
if measured_dec <= 0.523966303045:
print "WARNING! Object may be below Horizon!"
The less-than-or-equal operator goes the other direction. It should be <= not =<
if measured_dec <= 0.523966303045:
print "WARNING! Object may be below Horizon!"
It may be because of "=<"
Try using:
if measured_dec <= 0.523966303045:
print "WARNING! Object may be below Horizon!"