Skip to main content

solar-and-heliospheric-observatory

tests codecov Black Ruff typing Documentation Status PyPI version DOI

A Python library to download and analyze observations from the ESA/NASA Solar and Heliospheric Observatory (SOHO).

So far it supports the level-1 spectra of the Solar Ultraviolet Measurements of Emitted Radiation (SUMER) spectrograph, which it finds in ESA's catalogue of SOHO and downloads from the SOHO archive. The spectra are not represented as instances of ndcube.NDCube, but as instances of named_arrays.FunctionArray, which carry the time, sky position, and wavelength of every pixel.

Installation

This package is published on PyPI and can be installed using pip

pip install solar-and-heliospheric-observatory

It is imported as soho.

Example

Load the window of O V 629.7 Å, observed in the second order, of the quiet-Sun raster which SUMER observed on 1996 September 16

import astropy.units as u
import soho

obs = soho.sumer.open(
    time_start="1996-09-16T16:07",
    time_stop="1996-09-16T22:49",
    wavelength=629.73 * u.AA,
    order=2,
)

Citation

If you use solar-and-heliospheric-observatory in your research, please cite it. The citation metadata is kept in CITATION.cff, which the "Cite this repository" button on GitHub can export as BibTeX or APA.

Every release of solar-and-heliospheric-observatory is archived on Zenodo with its own DOI. The concept DOI, 10.5281/zenodo.24408671, always resolves to the latest version, and the Zenodo page lists the DOI of every version. Please include the version that you used, which is given by importlib.metadata.version("solar-and-heliospheric-observatory"). The BibTeX entry below uses the concept DOI. To cite a specific version instead, replace doi with the DOI of that version.

@software{solar-and-heliospheric-observatory,
  author = {Smart, Roy T.},
  title = {solar-and-heliospheric-observatory},
  version = {X.Y.Z},
  doi = {10.5281/zenodo.24408671},
  url = {https://github.com/sun-data/solar-and-heliospheric-observatory},
}

Please also acknowledge SUMER as the source of its data, and cite Wilhelm et al. (1995).

Metadata

Release files for solar-and-heliospheric-observatory 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for solar-and-heliospheric-observatory 0.2.0
File Size Uploaded Provenance Actions
solar_and_heliospheric_observatory-0.2.0.tar.gz 37.9 kB With provenance Details for solar_and_heliospheric_observatory-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for solar-and-heliospheric-observatory 0.2.0
File Interpreter ABI Platform Actions
solar_and_heliospheric_observatory-0.2.0-py3-none-any.whl Python 3 none any Details for solar_and_heliospheric_observatory-0.2.0-py3-none-any.whl

Total release size: 70.4 kB

Release files / solar_and_heliospheric_observatory-0.2.0.tar.gz

Download URL solar_and_heliospheric_observatory-0.2.0.tar.gz
Size 37.9 kB
Tags Source
SHA-256 checksum
How to use checksums
72a2e3214a17b77089ff5986a90edc2694f3b1ecc90124a0c37a2f442936e4a1
BLAKE2b-256 checksum
How to use checksums
6e25d9f5ec75157c2962c690ea80452a45d62f6f24b24fc9b8c962fd3c2860f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / solar_and_heliospheric_observatory-0.2.0-py3-none-any.whl

Download URL solar_and_heliospheric_observatory-0.2.0-py3-none-any.whl
Size 32.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ec9a608775e172ae75c49a62115d34d10c26e49d1d2fa7d4a52bf496060fae8
BLAKE2b-256 checksum
How to use checksums
323867620e0b9045812ffb979dc0c3fbfe0bdea1b8d27c41994c5afcf01c7143
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Security for solar-and-heliospheric-observatory 0.2.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for solar_and_heliospheric_observatory-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page