carrington_rotation_number

sunpy.sun.sun.carrington_rotation_number(t='now') [edit on github]

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

Return the Carrington rotation number. Each whole rotation number marks when the Sun’s prime meridian coincides with the central meridian as seen from Earth, with the first rotation starting on 1853 November 9.

Parameters

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