sunpy / drms

Access HMI, AIA and MDI data with Python from public JSOC DRMS servers
https://docs.sunpy.org/projects/drms/en/stable/
BSD 2-Clause "Simplified" License
22 stars 23 forks source link

Fix Examples they are not running on RTD #112

Closed nabobalis closed 10 months ago

nabobalis commented 11 months ago

Describe the bug

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/drms/checkouts/stable/examples/export_tar.py", line 30, in <module>
    email = [os.environ](https://docs.python.org/3/library/os.html#os.environ)["JSOC_EMAIL"]
            ~~~~~~~~~~^^^^^^^^^^^^^^
  File "<frozen os>", line 679, in __getitem__
KeyError: 'JSOC_EMAIL'