solar_cycle_number

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

Return the solar cycle number.

Parameters:t ([ int, float, time_string, datetime ], optional) – Time, which can be either time_string, int, or datetime object. Parsed using parse_time. Defaults to the current time.