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
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.pycontains 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.pyincludes 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.pyincludes methods to convert XML ElementTree objects into NumPy arrays.sdo_image_parameter_api/util/validators.pyincludes 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.
Metadata
Release files for sdo-image-parameter-api 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sdo_image_parameter_api-0.1.0.tar.gz | 9.5 kB | Without provenance | Details for sdo_image_parameter_api-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sdo_image_parameter_api-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for sdo_image_parameter_api-0.1.0-py3-none-any.whl |
Total release size: 19.2 kB
Release files / sdo_image_parameter_api-0.1.0.tar.gz
| Download URL | sdo_image_parameter_api-0.1.0.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c339ef2b71bc2a9199ccbf9ea1738c890d2724b5e429c693cc4d3a15e6b75661
|
|
BLAKE2b-256 checksum How to use checksums |
4f7710de049a9bb6cf3fc45fac802189c4096aa355aa2bbe091d7490ab54d1ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Release files / sdo_image_parameter_api-0.1.0-py3-none-any.whl
| Download URL | sdo_image_parameter_api-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d2b87208af8b9edf24d2ebfe9cf2a219e63c81b1d58f415a8567023ef13558e4
|
|
BLAKE2b-256 checksum How to use checksums |
d94f155e0504823128e9067493cdb39fe6ff817e8372986c59eecffd04b7942e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Security for sdo-image-parameter-api 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.