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

Problems with Asteroid #19

Open
spicerynow opened this issue Feb 17, 2023 · 0 comments
Open

Problems with Asteroid #19

spicerynow opened this issue Feb 17, 2023 · 0 comments

Comments

@spicerynow
Copy link

spicerynow commented Feb 17, 2023

Hi, it seems to me that the tropical position of an asteroid is always 0.

Example code:

let date = try? Date("2023-02-17T16:52:00Z", strategy: .iso8601)
let bodyCoordinate = Coordinate<Asteroid>(body: .chiron , date: date!)

// Position of Chiron at 17-Feb-2023, 16:52 [UT/GMT]
// According to Astro.com, it should be 13 ♈︎ 18'10"
// Int(bodyCoordinate.tropical.degree) returns 0, expecting 13
// Int(bodyCoordinate.tropical.minute) returns 0, expecting 18
// bodyCoordinate.tropical.value = 0
// same results for pholus, ceres
// sidereal returns some values

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

1 participant