Searching for Solar Orbiter data using Wavelength and Detector attributes#

This example demonstrates how to search and download Solar Orbiter data using sunpy.net.Fido. To do this, we can build a query based on several attributes. Here, we will build a search for METIS data from the UVD (Ultra Violet Detector) detector for a specific wavelength.

import astropy.units as u
import sunpy.net.attrs as a
from sunpy.net import Fido

Importing sunpy_soar registers the client with sunpy Fido

import sunpy_soar  # NOQA: F401 isort:skip

We shall start with constructing a search query with wavelength and detector.

instrument = a.Instrument("METIS")
time = a.Time("2023-02-01 01:00", "2023-02-01 05:00")
level = a.Level(2)
detector = a.Detector("UVD")
wavelength = a.Wavelength(121.6 * u.AA)

Now do the search.

Results from 1 Provider:

8 Results from the SOARClient:
QueryResponseTable length=8
InstrumentData productLevelStart timeEnd timeFilesizeSOOP NameDetectorWavelength
Mbyte
str5str14str2str23str23float64str4str3float64
METISmetis-uv-imageL22023-02-01 01:00:48.6902023-02-01 01:11:46.8660.85noneUVD121.6
METISmetis-uv-imageL22023-02-01 01:30:48.6802023-02-01 01:41:45.5400.85noneUVD121.6
METISmetis-uv-imageL22023-02-01 02:00:48.6712023-02-01 02:11:44.21312.64noneUVD121.6
METISmetis-uv-imageL22023-02-01 02:30:48.6612023-02-01 02:41:42.88712.64noneUVD121.6
METISmetis-uv-imageL22023-02-01 03:00:48.6522023-02-01 03:11:41.56012.64noneUVD121.6
METISmetis-uv-imageL22023-02-01 03:30:48.6432023-02-01 03:41:40.23312.64noneUVD121.6
METISmetis-uv-imageL22023-02-01 04:00:48.6332023-02-01 04:11:38.90712.64noneUVD121.6
METISmetis-uv-imageL22023-02-01 04:30:38.1632023-02-01 04:40:37.62512.64noneUVD121.6



To then download the data, you would then use Fido.fetch(result), which will download the data locally.

Total running time of the script: (0 minutes 3.687 seconds)

Gallery generated by Sphinx-Gallery