sunpy.coordinates.ephemeris.get_sun_P(time='now') [edit on github]

Deprecated since version 1.0: This is scheduled for removal in 2.1.

Return the position (P) angle for the Sun at a specified time, which is the angle between geocentric north and solar north as seen from Earth, measured eastward from geocentric north. The range of P is +/-26.3 degrees.


time (tuple, str, pandas.Timestamp, pandas.Series, pandas.DatetimeIndex, datetime.datetime,, numpy.datetime64, numpy.ndarray, astropy.time.Time) – Time to use in a parse_time-compatible format


out (Angle) – The position angle