Access HMI, AIA and MDI data with Python
Project description
Docs | Tutorial | Github | PyPI
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.
Requirements
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.
Installation
If you are using Anaconda, it is recommended to use the conda-forge package:
conda config --append channels conda-forge conda install drms
Otherwise the drms Python package can be installed from PyPI using
pip install drms
Note: If you do not use a Python distribution, like Anaconda, and did not create an isolated Python environment using Virtualenv, you might need to add --user to the pip command:
pip install --user drms
Running Tests
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 name@example.com
Getting Help
This is a SunPy-affiliated package. For more information or to ask questions about drms or SunPy, check out:
Contributing
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.
Acknowledgements
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.