NOAAIndicesTimeSeries

class sunpy.timeseries.NOAAIndicesTimeSeries(data, meta=None, units=None, **kwargs)[source] [edit on github]

Bases: sunpy.timeseries.GenericTimeSeries

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.

  • The SWO sunspot number is issued by the NOAA Space Weather Prediction Center (SWPC)
  • The RI sunspot number is the official International Sunspot Number and is issued by the Solar Influence Data Analysis Center (SDIC) in Brussels, Belgium.
  • The ratio between the SWO and RI indices.
  • Radio flux at 10.7 cm is produced by Penticon/Ottawa and the units are in sfu.
  • The Ap Geomagnetic Index is produced by the United States Air Force (USAF).

Examples

>>> import sunpy.timeseries
>>> import sunpy.data.sample
>>> noaa = sunpy.timeseries.TimeSeries(sunpy.data.sample.NOAAINDICES_TIMESERIES, source='NOAAIndices')
>>> noaa.peek()   

References

Methods Summary

is_datasource_for(**kwargs) Determines if header corresponds to an NOAA indices timeseries
peek([type]) Plots NOAA Indices as a function of time.

Methods Documentation

classmethod is_datasource_for(**kwargs)[source] [edit on github]

Determines if header corresponds to an NOAA indices timeseries

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

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

(Source code, png, hires.png, pdf)

../_images/sunpy-timeseries-NOAAIndicesTimeSeries-1.png
Parameters:
  • type (str) – The type of plot required.
  • **plot_args (dict) – Any additional plot arguments that should be used when plotting.
Returns:

fig (Figure) – A plot figure.