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

Deprecated since version 1.0: The get_sun_L0 function is deprecated and may be removed in a future version. Use sunpy.coordinates.sun.L0 instead.

Return the L0 angle for the Sun at a specified time, which is the Carrington longitude of the Sun-disk center as seen from Earth.


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


Longitude – The Carrington longitude


This longitude is calculated using the values from Siedelmann et al. (2007), with care taken to use the longitude as seen from Earth (see that paper’s Appendix).


  • Siedelmann et al. (2007), “Report of the IAU/IAG Working Group on cartographic coordinates and rotational elements: 2006” (link)