Skip to main content

A toolkit for accessing solar image data

Project description

SDO_Image_Parameter_API Logo

SDO Image Parameter Python API

A Toolkit for Accessing Solar Image Data

This project was created to facilitate accessing the Image Parameter Web API available at http://dmlab.cs.gsu.edu/dmlabapi/ using a Python package.

Developer: Ruqayyah Muse (ruqayyahmuse@gmail.com)

Advisor: Dr. Azim Ahmadzadeh (aahmadzadeh1@gsu.edu)


Requirements

  • Python >= 3.8
  • For a list of all required packages, see requirements.txt.

Try it Online

Binder


Install it from PyPI

You can install this package using pip: pip install sdo-image-parameter-api


File Structure:

  • sdo_image_parameter_api/image_methods.py contains all the methods used for retrieving image information. Includes the four accessor methods described in the next section, as well as the 8 private methods that make the calls to the Web API.
  • sdo_image_parameter_api/constants.py includes all the defined constants for Format, InfoType, Wave, Size, Param, as well as the URLs to retrieve information with the Web API.
  • sdo_image_parameter_api/util/converters.py includes methods to convert XML ElementTree objects into NumPy arrays.
  • sdo_image_parameter_api/util/validators.py includes methods to format and validate given time parameters, as well as validate all other inputted arguments.

Method Options

There are four methods that return different types of image information.

  • The get_img_jpeg() method can be used to return an AIA JPEG image, or a JPEG Parameter image.
  • The get_img_param() method can be used to return image parameters of one image of the sun in XML or JSON format.
  • The get_img_param_range() method can be used to return image parameters of a range of images of the sun in XML or JSON format.
  • The get_img_header() method can be used to return image header information in XML or JSON format.

The required parameters for each method and how to run them for each type of output is explained in more detail in the Notebook (src/demo.ipynb)


Acknowledgements

Thank you to Dr. Azim Ahmadzadeh for his guidance during the building of this project.

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

sdo_image_parameter_api-0.0.7.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

sdo_image_parameter_api-0.0.7-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file sdo_image_parameter_api-0.0.7.tar.gz.

File metadata

File hashes

Hashes for sdo_image_parameter_api-0.0.7.tar.gz
Algorithm Hash digest
SHA256 4151488e774ecf455c02a7214ec066989a7637573e5217b5108bb82e474acc46
MD5 e0eac19e7b8176a2a3cfcafc2a00df7d
BLAKE2b-256 c429fc588330ef7fbd9ab9ec01ae202f6f0e0a55f698db91e804b55d522bbb3b

See more details on using hashes here.

Provenance

File details

Details for the file sdo_image_parameter_api-0.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for sdo_image_parameter_api-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 6172b8472c335f1a9fe9fcad8ac76fd70e26018bcaef726627c606135fefcb5f
MD5 fde8c5ebb1120de2189b9adf15b27e25
BLAKE2b-256 a2c056bd0dd5dbb350c45c1911bf9e3102b411ad18cad5a2677f308d452afd15

See more details on using hashes here.

Provenance

Supported by

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