Skip to main content

A sunpy FIDO plugin for accessing data in the Solar Orbiter Archive (SOAR).

Project description

CI status Code coverage

A sunpy Fido plugin for accessing data in the Solar Orbiter Archive (SOAR). See the documentation for installation instructions and for some examples.

Installation

sunpy-soar requires python >= 3.9 and sunpy >= 5.0. Currently it can only be installed from PyPI using:

pip install sunpy-soar

or conda using

conda install -c conda-forge sunpy-soar

Example usage

The code below gives an example of how to search and download Solar Orbiter data using sunpy.net.Fido:

# Importing sunpy_soar registers the client with sunpy
import sunpy_soar
from sunpy.net import Fido
import sunpy.net.attrs as a

# Create search attributes
instrument = a.Instrument('EUI')
time = a.Time('2021-02-01', '2021-02-02')
level = a.Level(1)
product = a.soar.Product('EUI-FSI174-IMAGE')

# Do search
result = Fido.search(instrument & time & level & product)
print(result)

# Download files
files = Fido.fetch(result)
print(files)

Available search attributes

The easiest way to access search attributes is using import sunpy.net.attrs as a. When constructing a search for SOAR a.Time must be provided. Other search attributes can be used too - sunpy-soar recognises the following:

  • a.Instrument

  • a.Level - one of L0, L1, L2, L3, LL01, LL02, LL03

  • a.soar.Product

The third near argument to a.Time is not currently supported - you will have to manually filter the results if you want to find the one closest to a given time.

sunpy-soar and the VSO

sunpy-soar queries the official repository of Solar Orbiter data, the SOAR. The Virtual Solar Observatory (VSO) as of writing (September 2022) mirrors a subset of the Solar Orbiter archive alongside many other solar physics data sources. The VSO allows data from multiple missions/observatories to be easily queried in one go, but users should be aware that the VSO is not the official repository for Solar Orbiter data and does not currently (as of September 2022) provide a comprehensive listing of all available Solar Orbiter data.

Getting Help

For more information or to ask questions about sunpy-soar or any other SunPy library, check out:

Contributing

If you would like to get involved, start by joining the SunPy Chat and check out our Newcomers’ guide. This will walk you through getting set up for contributing.

Code of Conduct

When you are interacting with the SunPy community you are asked to follow our Code of Conduct.

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

sunpy-soar-1.10.tar.gz (24.6 kB view details)

Uploaded Source

Built Distribution

sunpy_soar-1.10-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file sunpy-soar-1.10.tar.gz.

File metadata

  • Download URL: sunpy-soar-1.10.tar.gz
  • Upload date:
  • Size: 24.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for sunpy-soar-1.10.tar.gz
Algorithm Hash digest
SHA256 86c95bbcef3cc486238b2362fe1819a02c1c2459d72287296c10086b406e675d
MD5 254c7b5a751f903c783f01228d42fb37
BLAKE2b-256 60da1cede99b4fbcc30f55b30a4abdd5bef25d47399dbf3c4a58ee1657c9aa48

See more details on using hashes here.

File details

Details for the file sunpy_soar-1.10-py3-none-any.whl.

File metadata

  • Download URL: sunpy_soar-1.10-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for sunpy_soar-1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 66e596d1090ba1912b87e8338607baad5919a8ea1e2a61b0d0f1dde902ced749
MD5 2f200a161431640a16c9970cf522dea6
BLAKE2b-256 9a8b4564db0b922ed0afbca505afce4f42883018771da49c2cad646a17378e72

See more details on using hashes here.

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