Data (sunpy.data
)#
sunpy.data
contains ways to access sample data and small test files for
running the sunpy test suite.
sunpy.data Package#
Variables#
sunpy.data.sample Module#
This module provides the following sample data files. When a sample shortname
is accessed, the corresponding file is downloaded if needed. All files can be
downloaded by calling download_all()
.
Summary variables#
|
Dictionary of all sample shortnames and, if downloaded, corresponding
file locations on disk (otherwise, |
|
List of disk locations for sample data files that have been downloaded |
Sample shortnames#
Sample shortname |
Name of downloaded file |
---|---|
|
AIA20110607_063305_0094_lowres.fits |
|
AIA20110607_063301_0131_lowres.fits |
|
AIA20110607_063305_1600_lowres.fits |
|
aia_lev1_1600a_2012_06_06t04_07_29_12z_image_lev1_lowres.fits |
|
AIA20110607_063302_0171_lowres.fits |
|
aiacalibim5.fits |
|
AIA20110607_063307_0193_cutout.fits |
|
AIA20110607_063931_0193_cutout.fits |
|
AIA20110607_064555_0193_cutout.fits |
|
AIA20110607_065219_0193_cutout.fits |
|
AIA20110607_065843_0193_cutout.fits |
|
AIA20110607_063307_0193_lowres.fits |
|
AIA20120601_000007_0193_lowres.fits |
|
AIA20110607_063302_0211_lowres.fits |
|
AIA20110607_063334_0304_lowres.fits |
|
AIA20110607_063303_0335_lowres.fits |
|
aia_lev1_171a_2023_07_06t00_05_33_35z_image_lev1.fits |
|
BIR_20110607_062400_10.fit |
|
eit_l1_20110607_203753.fits |
|
20230706_000525_n4eua.fts |
|
20110607_EVE_L0CS_DIODES_1m.txt |
|
glg_cspec_n5_110607_v00.pha |
|
go1520110607.fits |
|
HMI20110607_063211_los_lowres.fits |
|
LOFAR_70MHZ_20190409_131136.fits |
|
lyra_20110607-000000_lev3_std.fits |
|
tca110607.fits |
|
hsi_image_20110607_063300.fits |
|
hsi_obssumm_20110607_025.fits |
|
20110607SRS.txt |
|
20120601_000530_n4eua.fits |
|
20120601_000530_n4eub.fits |
|
swap_lv1_20110607_063329.fits |
Functions#
|
Download all sample data at once that has not already been downloaded. |
sunpy.data.test Package#
This package contains all of SunPy’s test data.
Functions#
|
Return the full path to a test file in the |
Return a list of all test files in |
|
|
Generate a dummy |
|
Convert a FITS file containing an image and a header to a plaintext file containing only the string representation of the header. |
sunpy.data.data_manager Package#
Classes#
|
Cache provides a way to download and cache files. |
|
This class provides a remote data manager for managing remote files. |
Concrete implementation of |
|
|
This provides a sqlite backend for storage. |
Class Inheritance Diagram#
sunpy.data.data_manager.downloader Module#
Classes#
Base class for remote data manager downloaders. |
|
Error to be raised when a download fails. |
|
Concrete implementation of |
Class Inheritance Diagram#
sunpy.data.data_manager.storage Module#
Storage module contains the abstract implementation of storage
for sunpy.data.data_manager.Cache
and a concrete implementation
using sqlite.
Classes#
Base class for remote data manager storage providers. |
|
|
This provides a sqlite backend for storage. |
This provides a storage stored in memory. |