Skip to content

GSEtoGSM coordinate transformation, x component changes #22

@EvaKraemer

Description

@EvaKraemer

Hi again,

I have been using the function PyGeopack.Coords.GSEtoGSM to convert coordinates from the GSE to GSM coordinate system.

The GSE and GSM coordinate system share the same x-axis ((https://sscweb.gsfc.nasa.gov/users_guide/Appendix_C.shtml)) . However, when using GSEtoGSM the x-value of the input coordinate changes, which it shouldn't since its a rotation around the x-axis.

Here is a minimal example:

import PyGeopack as gp
gse = [-331.088196, 89.673592, 89.884628]
date = 20160107
ut = 7.0
gp.Coords.GSEtoGSM(gse[0], gse[1], gse[2], date, ut)

Output: (array([-333.24389722]), array([86.69694231]), array([84.68847704]))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions