Opposition and Conjunction showing opposite results for `moon`
See original GitHub issueOpposition and Conjunction using the code in the below link for moon
giving opposite results
[https://rhodesmill.org/skyfield/almanac.html#opposition-and-conjunction]
Below is the output for the year 2019
where the opposition
are shown as conjunction
and vice versa.
['2019-01-06T01:28:11Z', '2019-01-21T05:16:05Z', '2019-02-04T21:03:35Z', '2019-02-19T15:53:35Z', '2019-03-06T16:04:00Z', '2019-03-21T01:42:53Z', '2019-04-05T08:50:30Z', '2019-04-19T11:12:11Z', '2019-05-04T22:45:31Z', '2019-05-18T21:11:22Z', '2019-06-03T10:01:57Z', '2019-06-17T08:30:40Z', '2019-07-02T19:16:13Z', '2019-07-16T21:38:13Z', '2019-08-01T03:11:56Z', '2019-08-15T12:29:16Z', '2019-08-30T10:37:10Z', '2019-09-14T04:32:48Z', '2019-09-28T18:26:23Z', '2019-10-13T21:07:54Z', '2019-10-28T03:38:29Z', '2019-11-12T13:34:25Z', '2019-11-26T15:05:36Z', '2019-12-12T05:12:16Z', '2019-12-26T05:13:08Z'] [1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1] ['opposition', 'conjunction', 'opposition', 'conjunction', 'opposition', 'conjunction', 'opposition', 'conjunction', 'opposition', 'conjunction', 'opposition', 'conjunction', 'opposition', 'conjunction', 'opposition', 'conjunction', 'opposition', 'conjunction', 'opposition', 'conjunction', 'opposition', 'conjunction', 'opposition', 'conjunction', 'opposition']
Wherever it is showing opposition
the SUN
and MOON
were in conjunction
on those dates and vice versa. Is this a bug in skyfield
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top GitHub Comments
Thank you. Yes, your explanation looks apt. Thanks for your time
Yes, the Moon will still show the same thing as in your example, because the definition of the function is not changing — it still measures east-or-west-of-the-sun. But the documentation is now being clear what happens if you give it the Moon which, because it’s not a planet and doesn’t move across the sky like one, enters the east and west halves of the sky in the opposite order from how a planet does.