Creating a Heliographic Map¶
In this example we use the
reproject generate an image in heliographic coordinates from an AIA image.
You will need reproject v0.6 or higher installed.
We will start with using SunPy’s sample data for this example.
<matplotlib.image.AxesImage object at 0x7fac797d4040>
Reproject works by transforming an input image (with a
a output image, specified by a different WCS object. Therefore we need to
WCS object describing the output we desire.
To do this we use the
sunpy.map.make_fitswcs_header which assists us in
constructing this World Coordinate System (WCS) object.
Here we create a WCS based on a heliographic
Stonyhurst reference coordinate and with the CAR (plate carree) projection.
With the new header, re-project the data into the new coordinate system.
Here we are using the fastest but least accurate method of reprojection,
reproject.reproject_interp, a more accurate but slower method is
Plot the result.
Total running time of the script: ( 0 minutes 2.388 seconds)