Skip to main content

Access HMI, AIA and MDI data with Python

Project description

Docs | Tutorial | Github | PyPI

https://zenodo.org/badge/58651845.svg

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drms-0.5.7.tar.gz (68.8 kB view details)

Uploaded Source

File details

Details for the file drms-0.5.7.tar.gz.

File metadata

  • Download URL: drms-0.5.7.tar.gz
  • Upload date:
  • Size: 68.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.4

File hashes

Hashes for drms-0.5.7.tar.gz
Algorithm Hash digest
SHA256 ab3ec6d072b1980f77dadf3b2cb0fe56c648eaf927ea381f606b4db66d4cbff2
MD5 05eeb1c70037f2af4b1be769e3d0a38e
BLAKE2b-256 5d50e993413236a7da966e01d854954f389a2ab3e35cb8c1753a11d671896bd0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page