Skip to content
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

How to calculate equitoral declanation for moon #238

Open
manujchandra opened this issue Jun 4, 2022 · 1 comment
Open

How to calculate equitoral declanation for moon #238

manujchandra opened this issue Jun 4, 2022 · 1 comment

Comments

@manujchandra
Copy link

Hi,

I have a book. Its written that on 26 Jan 2018 at 12:00 pm Geocentric the
declination of moon was 58.55 degrees.
right ascension was 15.06

But when I am computing I am getting 55 degree. Surely I am making a mistake:

import ephem
import numpy as np

moon = ephem.Moon()

NYC = ephem.Observer()
# https://www.latlong.net/place/new-york-city-ny-usa-1848.html
NYC.lat = '40.730610'
NYC.lon = '-73.935242'
NYC.elevation = 21.95
NYC.date = '2018/1/26 12:00'

moon.compute(NYC)

# Geocentric
np.degrees(moon.ra)
55.53394490697903

Similarly for 5 Feb 2019 it was 330.18 [-14.99] but I am getting 326

Please help me to match the values. Thanks.

@brandon-rhodes
Copy link
Owner

It will help if we can check whether the book is using a different frame of reference or timescale, so: what is the name and publication date of the book?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants