NOAAIndicesLightCurve

class sunpy.lightcurve.NOAAIndicesLightCurve(data, meta=None)[source] [edit on github]

Bases: sunpy.lightcurve.LightCurve

NOAA Solar Cycle monthly indices. Solar activity is measured by a number of different values. The NOAA Solar Weather Prediction Center (SWPC) publishes the following indices. All of these indices are also provided as a 13-month running smoothed value.

  1. The SWO sunspot number is issued by the NOAA Space Weather Prediction Center (SWPC)
  2. The RI sunspot number is the official International Sunspot Number and is issued by the Solar Influence Data Analysis Center (SDIC) in Brussels, Belgium.
  3. The ratio between the SWO and RI indices.
  4. Radio flux at 10.7 cm is produced by Penticon/Ottawa <https://www.ngdc.noaa.gov/stp/solar/flux.html> and the units are in sfu.
  5. The Ap Geomagnetic Index is produced by the United States Air Force (USAF).

Examples

>>> from sunpy import lightcurve as lc
>>> noaa = lc.NOAAIndicesLightCurve.create()  # doctest: +REMOTE_DATA
>>> noaa.peek()  # doctest: +SKIP

References

Attributes Summary

default_url_noaa_indices

Methods Summary

peek([type]) Plots NOAA Indices as a function of time.

Attributes Documentation

default_url_noaa_indices = 'ftp://ftp.swpc.noaa.gov/pub/weekly/RecentIndices.txt'

Methods Documentation

peek(type='sunspot SWO', **plot_args)[source] [edit on github]

Plots NOAA Indices as a function of time. An example is shown below.

..plot:

from sunpy import lightcurve as lc
from sunpy.data.sample import NOAAINDICES_TIMESERIES
noaa = lc.NOAAIndicesLightCurve.create(NOAAINDICES_TIMESERIES)
noaa.peek()
Parameters:
  • type (str) – The type of plot required.
  • **plot_args (dict) – Any additional plot arguments that should be used when plotting.