Hello! I am trying to convert some line-of-sight measurements to Heliographic (Carrington) coordinates, and display it in a similar way to how it is done in Grail, et al. 1996 (Rapid acceleration of the polar solar wind | Nature).
In Fig. 2 in the above paper, they have an X-ray emission Carrington map of the solar surface, with the line-of-sight path plotted on top, mapped back down to the surface of the Sun.
Currently, the solution that I have is, say we have a set of coordinates defined by an RA, a Delc., and a distance from the centre of the Earth, in a GCRS frame. The distances that are supplied are just a linear spacing from 0 to 2 AU in 20 increments. Below is an example of such a set of coordinates:
(ra, dec, distance) in (deg, deg, AU):
[(19.3, 11.4, 0.1), (19.3, 11.4, 0.2), (19.3, 11.4, 0.3),
(19.3, 11.4, 0.4), (19.3, 11.4, 0.5), (19.3, 11.4, 0.6),
(19.3, 11.4, 0.7), (19.3, 11.4, 0.8), (19.3, 11.4, 0.9),
(19.3, 11.4, 1. ), (19.3, 11.4, 1.1), (19.3, 11.4, 1.2),
(19.3, 11.4, 1.3), (19.3, 11.4, 1.4), (19.3, 11.4, 1.5),
(19.3, 11.4, 1.6), (19.3, 11.4, 1.7), (19.3, 11.4, 1.8),
(19.3, 11.4, 1.9), (19.3, 11.4, 2. )]
Using Astropy we are able to transform this into a Heliocentric Mean Ecliptic frame, leaving us with the following:
(lon, lat, distance) in (deg, deg, AU)
[(239.7810603 , 0.32515096, 0.93044418),
(243.88060586, 0.70662423, 0.85362793),
(248.76056114, 1.15575947, 0.78207093),
(254.57258668, 1.6792986 , 0.71734874),
(261.45303386, 2.27600686, 0.66147071),
(269.46843315, 2.92869061, 0.61684503),
(278.53436457, 3.59661993, 0.58604784),
(288.34345566, 4.21695063, 0.57131984),
(298.37679583, 4.72341964, 0.5738995 ),
(308.04237273, 5.07492997, 0.59356122),
(316.86577095, 5.27061941, 0.62870438),
(324.598759 , 5.34015259, 0.67692206),
(331.20270391, 5.3230799 , 0.73564785),
(336.7683473 , 5.25410949, 0.80257837),
(341.43974238, 5.15813434, 0.87583464),
(345.36731083, 5.05100295, 0.95396048),
(348.68629384, 4.94201515, 1.03585466),
(351.5101431 , 4.83624985, 1.12069137),
(353.93088445, 4.73623771, 1.20785075),
(356.02203633, 4.64303628, 1.29686457)]
With good results from Astropy, it seems simple enough to convert the original array to SunPy’s Heliographic Carrington, but it doesn’t seem to be working!
Would anyone know how to tackle such a problem using SunPy?