We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 012f324 commit 6fa2a7dCopy full SHA for 6fa2a7d
1 file changed
examples/changing_resolution_via_reproject.py
@@ -20,8 +20,8 @@
20
# We start by creating an NDCube from sample solar data provided by SunPy.
21
# Here we use an AIA 171 image, but the same approach can be applied to other datasets, including those with non celestial axes.
22
23
-image_data = fits.getdata(AIA_171_IMAGE)
24
-image_header = fits.getheader(AIA_171_IMAGE)
+image_data = fits.getdata(AIA_171_IMAGE, ext=1)
+image_header = fits.getheader(AIA_171_IMAGE, ext=1)
25
cube = NDCube(image_data, WCS(image_header))
26
27
###########################################################################
0 commit comments