Introduction#

The Solar Dynamics Observatory (SDO) [Pesnell et al., 2012] is a NASA satellite which has been continuously observing the Sun since 2010.

This library uses the sunpy package to download SDO images and the aiapy package to align and prepare the images to be ready for scientific analysis.

While this package uses Sunpy to download the data, it does not represent SDO images as instances of sunpy.map.Map it represents images using named_arrays.FunctionArray.

Installation#

This package is published to PyPI and can be installed using pip.

pip install solar-dynamics-observatory

API Reference#

sdo

Download and analyze SDO observations.

Examples#

Download and display an AIA image

Important

Your email must be registered with JSOC and be saved to the JSOC_EMAIL environment variable to use these examples.

import matplotlib.pyplot as plt
import astropy.units as u
import astropy.visualization
import named_arrays as na
import sdo

# Download some images from JSOC and load into memory
images = sdo.aia.open("2019-09-30T00:00")

# Select one of the images to plot
index = {images.axis_time: 0, images.axis_wavelength: 0}

# Plot the image
with astropy.visualization.quantity_support():
    fig, ax = plt.subplots()
    na.plt.pcolormesh(
        images.inputs.position[index],
        C=images.outputs.value[index],
        vmin=0,
        vmax=images.outputs.value.percentile(99.9),
        ax=ax,
    )
    ax.set_aspect("equal")
INFO: 2 URLs found for download. Full request totaling 14MB [sunpy.net.jsoc.jsoc]
_images/index_0_9.png

Bibliography#

[1]

W. Dean Pesnell, B. J. Thompson, and P. C. Chamberlin. The Solar Dynamics Observatory (SDO). \solphys , 275(1-2):3–15, January 2012. doi:10.1007/s11207-011-9841-3.


Indices and tables#