Skip to main content

SunPy Fido client for the REGARDS archive at MEDOC.

Project description

sunpy-regards

SunPy/Fido plugin for searching and downloading solar data from the
REGARDS archive (MEDOC – Solar tenant).

Adds a new regards provider to sunpy.net.Fido.


🚀 Quick start

Install

pip install sunpy-regards

Configure

Create a .env file (or export environment variables):

REGARDS_BASE_URL=https://regards.osups.universite-paris-saclay.fr
REGARDS_TENANT=Solar
REGARDS_USERNAME=your_username
REGARDS_PASSWORD=your_password

🛰️ Supported datasets (current public list)

Datasets are defined in REGARDS and may evolve over time. Current public datasets include:

  • SDO / AIAGAIA-DEM data (label: GAIA-DEM)
  • SOHO / CELIASSOHO data (label: SOHO)
  • Solar Orbiter / PHISolar Orbiter data (label: Solar-Orbiter)
  • STEREO / SECCHISTEREO data (label: STEREO)
  • TRACE / TRACETRACE data (label: TRACE)

Tip: you can use these values in r.Dataset(...) and r.Observatory(...).


Use with SunPy/Fido

from sunpy.net import Fido
import sunpy.net.attrs as a
from sunpy.net.attrs import regards as r

results = Fido.search(
    a.Time("2023-03-17", "2023-03-19"),
    r.Observatory("SDO"),
    a.Instrument("AIA"),
    r.Dataset("GAIA-DEM data"),
)

Fido.fetch(results, path="./downloads/{file}")

ℹ️ Notes

  • Python ≥ 3.11, SunPy ≥ 7
  • REGARDS credentials are required for full functionality
  • Dataset discovery is dynamic when credentials are available
  • Project status: Alpha

🔗 Links

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_regards-1.0.0.tar.gz (24.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sunpy_regards-1.0.0-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file sunpy_regards-1.0.0.tar.gz.

File metadata

  • Download URL: sunpy_regards-1.0.0.tar.gz
  • Upload date:
  • Size: 24.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for sunpy_regards-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4765cb7274e6ac30765ce6cb1efc93515680828d1f95e0b3cc9134b1cc38f643
MD5 9ac30f9446b40b0d6b00d1d75fad48b0
BLAKE2b-256 8c77644f6ceb3726684b0736e84cc760c3a44b3bd29269873270772657ca7bfb

See more details on using hashes here.

File details

Details for the file sunpy_regards-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: sunpy_regards-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for sunpy_regards-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c509df836177b98fd98eada70cd94cd17652e02b6016a4de104dd686f0c42af7
MD5 f2f95982f115b6542bf24f19b2bf0355
BLAKE2b-256 8e69d8da348b31ee469d264ede2bf318901eabd567c8c064f26ad837b6d93ae0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page