<div dir="ltr"><div>Dear, <br></div><div><br></div><div>I am writing this email because I deal with a very peculiar problem (at least, peculiar for me!).</div><div>I want to transform my coordinates from heliographic_stonyhurst to heliographic_carrington in python 3, as follows:</div><div><br></div><div>import astropy.units as u<br>from astropy.coordinates import SkyCoord<br>from sunpy.coordinates import frames<br><br>c = SkyCoord(0*u.arcsec, 0*u.arcsec, obstime='2016-6-4T12:00:00', frame=frames.HeliographicStonyhurst )<br>d = c.transform_to(frames.HeliographicCarrington)</div><div><br></div><div>But I get the error: <br></div><div><pre><span style="color:rgb(255,0,0)"><span class="gmail-ansi-red-fg">ConvertError</span>: This transformation cannot be performed because the HeliographicCarrington frame has observer=None.</span><br><br></pre><pre><span style="font-family:arial,sans-serif">The observer should not be "None" since I define the "obstime" parameter above. Could you please explain me why this happens and how it should be fixed? <br></span></pre><pre><span style="font-family:arial,sans-serif">BTW, it runs fine with Python 2 if i change "obstime" to "dateobs". <br></span></pre><pre><span style="font-family:arial,sans-serif">Thank you in advance,<br></span></pre><pre><span style="font-family:arial,sans-serif">Evangelia</span><br></pre></div><div><br></div><div><br></div></div>