SunPy data

The SunPy data module contains ways to access sample data and small test files for running the SunPy test suite.

sunpy.data Package

Functions

download_sample_data([overwrite])

Download all sample data at once.

Variables

manager

This class provides a remote data manager for managing remote files.

cache

Cache provides a way to download and cache files.

sunpy.data.sample Module

The following files are available in this module:
  • AIA_193_CUTOUT02_IMAGE

  • EIT_195_IMAGE

  • LYRA_LEVEL3_TIMESERIES

  • GBM_TIMESERIES

  • GOES_XRS_TIMESERIES

  • AIA_171_ROLL_IMAGE

  • AIA_1600_IMAGE

  • RHESSI_IMAGE

  • AIA_193_CUTOUT04_IMAGE

  • NORH_TIMESERIES

  • HMI_LOS_IMAGE

  • AIA_193_CUTOUT05_IMAGE

  • AIA_131_IMAGE

  • AIA_094_IMAGE

  • AIA_193_IMAGE

  • AIA_193_CUTOUT03_IMAGE

  • SWAP_LEVEL1_IMAGE

  • AIA_171_IMAGE

  • AIA_193_CUTOUT01_IMAGE

  • RHESSI_TIMESERIES

  • CALLISTO_SPECTRUM

  • AIA_211_IMAGE

  • AIA_335_IMAGE

  • EVE_TIMESERIES

sunpy.data.test Package

This package contains all of SunPy’s test data.

Functions

get_test_filepath(filename, **kwargs)

Return the full path to a test file in the data/test directory.

test_data_filenames()

Return a list of all test files in data/test directory.

sunpy.data.data_manager Package

Classes

Cache(downloader, storage, cache_dir[, expiry])

Cache provides a way to download and cache files.

DataManager(cache)

This class provides a remote data manager for managing remote files.

ParfiveDownloader

Concrete implementation of DownloaderBase using parfive.

SqliteStorage(path)

This provides a sqlite backend for storage.

Class Inheritance Diagram

Inheritance diagram of sunpy.data.data_manager.cache.Cache, sunpy.data.data_manager.manager.DataManager, sunpy.data.data_manager.downloader.ParfiveDownloader, sunpy.data.data_manager.storage.SqliteStorage