Hi all,
I am having some trouble with the Heliocentric Earth Ecliptic coordinates in sunpy. All other missions I have found so far, Solar Orbiter and PROBA2/SWAP among them, seem to give these coordinates in the FITS header (HEEX/Y/Z keywords) in meters. When I use the HeliocentricEarthEcliptic class in sunpy, all I can get from it seems to be (lon, lat, distance) in (degrees, degrees, m or AU). Example code would be (with sc_locx/y/z being ECI coordinates):
gcrs_coord = GCRS(CartesianRepresentation(x=sc_locx, y=sc_locy, z=sc_locz, unit=u.m), obstime=obstime)
hee_coord = gcrs_coord.transform_to(HeliocentricEarthEcliptic(obstime=obstime))
I have tried using representation_type='cartesian'
, but to no avail. I guess I have two questions:
- Is there a way to get the results from the above transformation in meters with HeliocentricEarthEcliptic?
- When I take the HEEX/Y/Z values in meters from a FITS header, from PROBA2/SWAP for example, how do I import these into HeliocentricEarthEcliptic? It only seems to accept (degrees, degrees, m or AU).
Thanks for your help!
-Chris