get_sun_orientation

sunpy.coordinates.get_sun_orientation(location, time='now')[source] [edit on github]

Return the orientation angle for the Sun from a specified Earth location and time. The orientation angle is the angle between local zenith and solar north, measured eastward from local zenith.

Parameters:
  • location (EarthLocation) – Observer location on Earth
  • time (various) – Time to use as Time or in a parse_time-compatible format
Returns:

out (Angle) – The orientation of the Sun