Skip to content

Commit

Permalink
Actually fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
nabobalis committed Feb 5, 2025
1 parent a417721 commit 7a178f9
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions examples/using_sunkit_magex_pfss/overplotting_onto_aia.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"""
# sphinx_gallery_thumbnail_number = 4

import os

import matplotlib.pyplot as plt
import numpy as np
Expand All @@ -30,13 +29,7 @@
###############################################################################
# Load the corresponding AIA 193 map.

if not os.path.exists('aia_map.fits'):
import urllib.request
urllib.request.urlretrieve(
'http://jsoc1.stanford.edu/data/aia/synoptic/2020/09/01/H1300/AIA20200901_1300_0193.fits',
'aia_map.fits')

aia_map = sunpy.map.Map('aia_map.fits')
aia_map = sunpy.map.Map('http://jsoc.stanford.edu/data/aia/synoptic/2020/09/01/H1300/AIA20200901_1300_0193.fits')

###############################################################################
# The PFSS solution is calculated on a regular 3D grid in (phi, s, rho), where
Expand Down

0 comments on commit 7a178f9

Please sign in to comment.