doing:
SkyCoord(UnitSphericalRepresentation(1*u.deg, 1*u.deg))
passes a distance=1*u.one to the frame constructor, where as it should not pass distance at all to the frame so it constructs UnitSphericalRepresentation.
distance=1*u.one
UnitSphericalRepresentation
This causes a lot of problems in sunpy since this commit.
sssshhhhhh :p
Wait a minute, you wrote that commit... :wink:
An alternative discussed with @adrn at pyastro18 is to change what "unit" means so that SunPy could default to RSun rather than 1*u.one.
1*u.one
Most helpful comment
sssshhhhhh :p