Skip to content

Problems with Asteroid #19

@spicerynow

Description

@spicerynow

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions