Evaluates the CHAOS geomagnetic field model and other models of Earth's magnetic field.
Project description
Overview
ChaosMagPy is a simple Python package for evaluating the CHAOS geomagnetic field model and other models of Earth’s magnetic field. The latest CHAOS model is available at http://www.spacecenter.dk/files/magnetic-models/CHAOS-8/.
Documentation
The documentation of the current release is available on Read the Docs (https://chaosmagpy.readthedocs.io/en/)
Citation
To reference ChaosMagPy in publications, please cite the package itself
https://doi.org/10.5281/zenodo.3352398
and, for CHAOS-7, the relevant journal publication:
Finlay, C.C., Kloss, C., Olsen, N., Hammer, M. Toeffner-Clausen, L., Grayver, A and Kuvshinov, A. (2020), The CHAOS-7 geomagnetic field model and observed changes in the South Atlantic Anomaly, Earth Planets and Space 72, doi:10.1186/s40623-020-01252-9
or, for the earlier CHAOS models, some of the following:
Finlay, C.C., Olsen, N., Kotsiaros, S., Gillet, N. and Toeffner-Clausen, L. (2016), Recent geomagnetic secular variation from Swarm and ground observatories as estimated in the CHAOS-6 geomagnetic field model Earth Planets Space, Vol 68, 112. doi: 10.1186/s40623-016-0486-1
Olsen, N., Luehr, H., Finlay, C.C., Sabaka, T. J., Michaelis, I., Rauberg, J. and Toeffner-Clausen, L. (2014), The CHAOS-4 geomagnetic field model, Geophys. J. Int., Vol 197, 815-827, doi: 10.1093/gji/ggu033.
Olsen, N., Luehr, H., Sabaka, T.J., Mandea, M. ,Rother, M., Toeffner-Clausen, L. and Choi, S. (2006), CHAOS — a model of Earth’s magnetic field derived from CHAMP, Ørsted, and SAC-C magnetic satellite data, Geophys. J. Int., vol. 166 67-75
Installation
ChaosMagPy relies on the following (some are optional):
python>=3.6
numpy (>=2 if python>=3.12)
scipy
pandas
cython
h5py
hdf5storage (>=0.2 if python>=3.12)
pyshp>=2.3.1
apexpy>=2.1.0 (optional, used for evaluating the ionospheric E-layer field)
matplotlib>=3.6 (optional, used for plotting)
lxml (optional, used for downloading latest RC-index file)
Specific installation steps for all dependencies, including optional packages, using the conda/pip package managers are as follows:
Install packages with conda:
>>> conda install python numpy scipy pandas cython pyshp h5py matplotlib lxml
Install remaining packages with pip:
>>> pip install hdf5storage apexpy
Finally, install ChaosMagPy with pip:
>>> pip install chaosmagpy
Alternatively, if you have downloaded the distribution archives from the Python Package Index (PyPI) at https://pypi.org/project/chaosmagpy/#files, install ChaosMagPy using the built or source distributions:
>>> pip install chaosmagpy-x.x-py3-none-any.whl
or
>>> pip install chaosmagpy-x.x.tar.gz
replacing x.x with the relevant version.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chaosmagpy-0.15.tar.gz.
File metadata
- Download URL: chaosmagpy-0.15.tar.gz
- Upload date:
- Size: 2.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce7bb5baed15927e554e8de409c5b38f551e59625663e5d4b790724746112a33
|
|
| MD5 |
c1711c2e441b63ddf0fa45ccaec1ee92
|
|
| BLAKE2b-256 |
b38a353a5a89df6fd8315fb2694baee81fb7bb5affe7e0dc8f20ef538354baf2
|
File details
Details for the file chaosmagpy-0.15-py3-none-any.whl.
File metadata
- Download URL: chaosmagpy-0.15-py3-none-any.whl
- Upload date:
- Size: 2.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c3778134388fb2a09bb93700ab938d3612e86c94d96cafc3d4355771f8378fa
|
|
| MD5 |
9e514c97fa53a635a8cac14cb34513c8
|
|
| BLAKE2b-256 |
f4feff832abbdb11168655a79ecf0a3821386ba569d3e21afcae482b55aca3e5
|