MagCoordPy
A python package for working with magnetic coordinate transformations. The documentation is available at https://magcoordpy.readthedocs.io/en/latest/.
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 (giorgiosavastano@gmail.com)
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). https://doi.org/10.1007/s11214-016-0275-y
Metadata
Release files for magcoordpy 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| magcoordpy-0.2.4.tar.gz | 17.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| magcoordpy-0.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.1 kB
Release files / magcoordpy-0.2.4.tar.gz
| Download URL | magcoordpy-0.2.4.tar.gz |
|---|---|
| Size | 17.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f57b2c363eac3c19aa285f25e154a10f507c3f358d4642491f85dd84dafa1eb
|
|
BLAKE2b-256 checksum How to use checksums |
577be0435fa02ad31d8ff5b3c690df4fa233036cea0cb5455c1d9b5d8e0ad0cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.0 CPython/3.10.2 Linux/5.15.0-1024-azure
|
Release files / magcoordpy-0.2.4-py3-none-any.whl
| Download URL | magcoordpy-0.2.4-py3-none-any.whl |
|---|---|
| Size | 17.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
baf6446f24896196d1faa04f70689494fcfd79e0a289c698effe62b465f777f7
|
|
BLAKE2b-256 checksum How to use checksums |
c88fcdcecced789cc30ee39dfa779519d66077b01670d86e886f7fccf347aba3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.0 CPython/3.10.2 Linux/5.15.0-1024-azure
|