Closed tribeiro closed 9 years ago
@tribeiro,
I could fix this only by changing date = date or self.localtime()
by date = date or self.ut()
on the line after the one you mentioned on your first comment. Can you check if this works and update #110?
Fixed by #110
There is a strange problem with calculating the position of the sun in the site package.
https://github.com/astroufsc/chimera/blob/4c49c6741d59e35ebdcc2a465c51a633d5a819b6/src/chimera/core/site.py#L198
Apparently all is well and it is supposed to be working but, upon request, the position of the sun is wrong by far. I've been able to overcome the problem using the package own internal conversions.
Replacing the original function by this form
Fixes the issue.