Skip to content

horizontal.inverse function missing a sign correction? #148

@FinduschkaLi

Description

@FinduschkaLi

It seems the horizontal.inverse function should have something like:
if (Math.sin(az) > 0) {
ha = -ha;
}
after ha = Math.acos(ha);
I was trying to plot a circle around the zenith for a certain observer's location, which gave me only a half circle without this modification.

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