Access HMI, AIA and MDI data with Python
The drms module provides an easy-to-use interface for accessing HMI, AIA and MDI data with Python. It uses the publicly accessible JSOC DRMS server by default, but can also be used with local NetDRMS sites. More information, including a detailed tutorial, is available in the Documentation.
The drms module supports Python 2.7 and Python 3.4 or newer. It requires the following Python packages:
- NumPy, version 1.9.0 or newer
- Pandas, version 0.15.0 or newer
- Six, version 1.8.0 or newer
The module might also work with earlier versions, but it has not been tested with any versions older than the ones listed above.
conda config --append channels conda-forge conda install drms
Otherwise the drms Python package can be installed from PyPI using
pip install drms
pip install --user drms
In order to run any unit tests, pytest needs to be installed.
Basic tests for the currently installed drms package can be run using:
python -m drms.tests
To perform online tests against the JSOC servers, use the --run-jsoc flag:
python -m drms.tests --run-jsoc
To also include additional email verification and JSOC export tests, you need to specify a registered email address, e.g.:
python -m drms.tests --run-jsoc --email firstname.lastname@example.org
This is a SunPy-affiliated package. For more information or to ask questions about drms or SunPy, check out:
If you would like to get involved, start by joining the SunPy mailing list and check out the Developers Guide section of the SunPy docs. Stop by our chat room #sunpy:matrix.org if you have any questions. Help is always welcome so let us know what you like to work on, or check out the issues page for the list of known outstanding items.
For more information on contributing to SunPy, please read our Newcomers’ guide.
Code of Conduct
When you are interacting with the SunPy community you are asked to follow our Code of Conduct.
The main author of this project has received funding from the European Research Council under the European Union’s Seventh Framework Programme (FP/2007-2013) / ERC Grant Agreement no. 307117.
Parts of this file were adopted from the SunPy README file, Copyright (c) 2013-2019 The SunPy developers.
See AUTHORS.txt for a list of contributors.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size drms-0.5.7.tar.gz (68.8 kB)||File type Source||Python version None||Upload date||Hashes View|