A sunpy plugin for accessing data in the Solar Orbiter Archive (SOAR).
Project description
A sunpy plugin for accessing data in the Solar Orbiter Archive (SOAR).
Installation
pip install 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
from sunpy.net.attrs import Instrument, Level, Time
from sunpy_soar.attrs import Identifier
# Create search attributes
instrument = Instrument('EUI')
time = Time('2021-02-01', '2021-02-02')
level = Level(1)
identifier = Identifier('EUI-FSI174-IMAGE')
# Do search
result = Fido.search(instrument & time & level & identifier)
print(result)
# Download files
files = Fido.fetch(result)
print(files)
Available search attributes
When constructing a search, sunpy.net.attrs.Time must be provided. Other search attributes can be used too; sunpy-soar recognises the following:
sunpy.net.attrs.Instrument
sunpy.net.attrs.Level
sunpy_soar.attrs.Identifier
Project details
Release history Release notifications | RSS feed
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.0.tar.gz
(6.8 kB
view hashes)