I know the latitude and longitude of a city ($41^\circ 87'$ N, $87^\circ 62'$ W), the declination and right ascension of a star($16.51^\circ$, $68.98^\circ$) and the local time, date (27.12.2017, 1:20 AM). Could you please show me the exact calculations for hour angle, altitude?

I will use the formula $LST=100.46+0.98d+15UT$, where d is the number of days since 1.1.2000 at 00:00 and UT is the universal time.

At 1:20 AM, $d=6570.055$.

UT is $UT=7:20$ or in hours $UT=7.3$.

$LST=6648.0639$ or $LST=168.0639$


How is my calculation?

  • $\begingroup$ Someone should do an answer-your-own-question here to provide basic astronomy formulas, but, until then, try googling. There should be plenty of resources online. $\endgroup$ – user21 Dec 27 '17 at 13:25
  • $\begingroup$ Minor note: I think you mean 41.87N and 87.62W; if you're using minutes (the apostrophe), they would be between 0 and 59. Also stjarnhimlen.se/comp/tutorial.html is the closest thing I found to a list of formulas that might help you. $\endgroup$ – user21 Dec 28 '17 at 14:36
  • $\begingroup$ Thanks. I found this: stargazing.net/kepler/altaz.html Are the formulas right? $\endgroup$ – Alex S Dec 30 '17 at 0:08
  • $\begingroup$ Shouldn't $d$ be computed in UTC days, not local time days? $\endgroup$ – user21 Dec 30 '17 at 4:31
  • $\begingroup$ Your formula for LST is missing one important term: the longitude. $\endgroup$ – JohnHoltz Dec 30 '17 at 15:25

enter image description here

This should really be a comment, but... you can usually check your calculations using a program like Stellarium (screenshot above).

From the latitude/longitude and right ascension/declination you give, it appears you are viewing Aldebaran from Chicago, IL at 7:20am UTC on 2017-12-27 (since Chicago is on Central Time and not observing Daylight Saving Time, which is 6h behind UTC).

As you can see from the above, the hour angle is about 3h16m19s (or 49.16 degrees), the azimuth (which is what I think you actually wanted instead of hour angle) is about 254 degrees, and the altitude is about 41 degrees.

The process for converting right ascension and declination to azimuth and elevation isn't difficult, and I considered posting a general answer, but I wasn't sure what format to use. Most programming languages have an astronomy library (which will be more accurate), and there are plenty of sites that already walk through how we get the formula, not to mention my https://astronomy.stackexchange.com/a/14508/21 which gives sourced formulas.

  • $\begingroup$ Your linked answer is a really nice resource; definitely mention it! $\endgroup$ – uhoh Dec 31 '17 at 2:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.