-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sunset time calculation with swe.rise_trans broken #13
Comments
Inspect the whole result:
Function has returned (-2), object is circumpolar By exchanging lon/lat you get:
|
Oh! I was beyond the arctic circle! |
http://www.astro.com/swisseph/swephprg.htm#_Toc471829085 Conforming to the docs, an exception/error is raised if returned result is (-1) (internal - calc or ephemeris error) In my opinion you could raise an exception on your side if you find returned result[0][0]==-2 And double-check your input variables |
OK, Thanks! |
is returning 0 on my computer, which cannot possibly be the sunset time. And thereby leading to this problem: jyotisham/jyotisha#13 .
Could you please take a look?
PS: I installed the latest code with:
The text was updated successfully, but these errors were encountered: