https://github.com/giorgiosavastano/magcoordpy
A python package for working with magnetic coordinate transformations. The documentation is available at https://magcoordpy.readthedocs.io/en/latest/.
https://github.com/giorgiosavastano/magcoordpy
coordinate-systems coordinate-transformation coordinates geomagnetic magnetic magnetic-field python satellite-data
Last synced: 6 months ago
JSON representation
A python package for working with magnetic coordinate transformations. The documentation is available at https://magcoordpy.readthedocs.io/en/latest/.
- Host: GitHub
- URL: https://github.com/giorgiosavastano/magcoordpy
- Owner: giorgiosavastano
- License: mit
- Created: 2022-03-06T17:11:32.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-10T22:04:52.000Z (almost 3 years ago)
- Last Synced: 2025-03-13T12:39:03.245Z (7 months ago)
- Topics: coordinate-systems, coordinate-transformation, coordinates, geomagnetic, magnetic, magnetic-field, python, satellite-data
- Language: Python
- Homepage:
- Size: 113 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MagCoordPy



A python package for working with magnetic coordinate transformations.
The documentation is available at .Installation
------------pip install magcoordpy
Example usage
-------------from magcoordpy import coord_transforms
long_geo = np.arange(-180, 190, 10)
lati_geo = np.zeros(len(long_array))
alti_geo = np.zeros(len(long_array))
lat_cd, lon_cd, r_cd = coord_transforms.geodetic2cd(lati_geo, long_geo, alti_geo, year=2021.0)It includes the following functions (not exhaustive list):
* geodetic2cd --> transformation from geodetic to centered dipole
* cd2geodetic --> transformation from centered dipole to geodetic## Authors
- Giorgio Savastano ()
Please use github issues to make bug reports and request new functionality. Contributions are always welcome.
## References
Laundal, K.M., Richmond, A.D. Magnetic Coordinate Systems. Space Sci Rev 206, 27–59 (2017).