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

radec2altaz/altaz2radec #89

Closed
LilithHafner opened this issue Dec 9, 2024 · 1 comment
Closed

radec2altaz/altaz2radec #89

LilithHafner opened this issue Dec 9, 2024 · 1 comment

Comments

@LilithHafner
Copy link
Contributor

LilithHafner commented Dec 9, 2024

I'm trying to get the position of the sun in the sky at a given time and location. Similar to this: https://discourse.julialang.org/t/calculate-positions-of-astronomical-objects-from-a-terrestrial-observatory/107772

sunpos returns right ascension and declanation and there exists hadec2altaz, but I don't want to manually convert from right ascension to hour angle.

I'd like to be able to call radec2altaz(sunpos(time)[1:2], lat, lon, time) and get an altitude and azimuth.

@LilithHafner
Copy link
Contributor Author

The function I'm looking for is eq2hor.

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