The drms Python package can be used to access HMI, AIA and MDI data which are stored in a DRMS database system.

DRMS stands for Data Record Management System and is a system that was developed by the Joint Science Operation Center (JSOC), headquartered at Stanford University, to handle the data produced by the AIA and HMI instruments aboard the Solar Dynamics Observatory spacecraft.

By default the drms library uses the HTTP/JSON interface provided by JSOC and has similar functionality to the JSOC Lookdata website. It can be used to query metadata, submit data export requests and download data files.

This module also works well for local NetDRMS sites, as long as the site runs a web server providing the needed CGI programs show_series and jsoc_info (for the data export functionality, additional CGIs, like jsoc_fetch, are needed).


The drms module supports Python 3.7 or newer. It requires the following Python packages:

  • numpy

  • pandas


If you are using miniforge (which is conda but using the conda-forge channel):

conda install drms

Otherwise the drms Python package can be installed from PyPI using:

pip install drms


If you do not use a Python distribution, like miniforge, and did not create an isolated Python environment using Virtualenv, you might need to add --user to the pip command:

pip install --user drms


Kolja Glogowski has received funding from the European Research Council under the European Union’s Seventh Framework Programme (FP/2007-2013) / ERC Grant Agreement no. 307117.