Sun elevation and moon phase

I need to know what the:

  1. sun elevation (and sunrise)
  2. moon phase
  3. moon elevation

is as a function of date, time, and coordinates.

I tried looking for an existing package in JuliaAstro, and it truly seems like all the pieces are there, but I couldn’t find anything that directly mentions any of this.

Does anyone know of a straight forward way to do this?



An example of putting everything together (for the Sun):


We learn something new here every day.

Linking a related scientific article on how to Build Your Own Analemma.

1 Like