Skip to main content

Evaluate the CHAOS geomagnetic field model.

Project description

Overview

ChaosMagPy is a simple Python package for evaluating the CHAOS-7 geomagnetic field model. To quickly get started, download a complete working example including the latest model under the “Forward code” section.

Release: 0.5
Version of CHAOS: CHAOS-7.5 (0705)

Documentation

The documentation of the current release is available on Read the Docs.

pypi Documentation Status doi license

References

To reference ChaosMagPy in publications, please cite the package itself

https://doi.org/10.5281/zenodo.3352398

and some of the following:

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

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

License

MIT License

Copyright (c) 2020 Clemens Kloss

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Installation

ChaosMagPy relies on the following:

  • python>=3.6

  • numpy

  • scipy

  • pandas

  • cython

  • h5py

  • cartopy>=0.17

  • matplotlib>=3

  • cdflib

  • hdf5storage

Specific installation steps using the conda/pip package managers are as follows:

  1. Install packages with conda:

    >>> conda install python numpy scipy pandas cython cartopy matplotlib h5py
    
  2. Install packages with pip:

    >>> pip install cdflib hdf5storage
    
  3. Finally install ChaosMagPy either with pip from PyPI:

    >>> pip install chaosmagpy
    

    or, if you have downloaded the package files to the current working directory, with:

    >>> pip install chaosmagpy-x.x-py3-none-any.whl
    

    or, alternatively

    >>> pip install chaosmagpy-x.x.tar.gz
    

    replacing x.x with the correct version.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chaosmagpy-0.5.tar.gz (2.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chaosmagpy-0.5-py3-none-any.whl (2.4 MB view details)

Uploaded Python 3

File details

Details for the file chaosmagpy-0.5.tar.gz.

File metadata

  • Download URL: chaosmagpy-0.5.tar.gz
  • Upload date:
  • Size: 2.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.22.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.2

File hashes

Hashes for chaosmagpy-0.5.tar.gz
Algorithm Hash digest
SHA256 9dac48f5552a2c4c8dfca27a75e392c3c3cac4a68cc3e2c86671ca3935abc4f8
MD5 d384ce41271e5c7e1997b820602bef55
BLAKE2b-256 00ebb22b4283d0d5fca53b3ddf0721e1fcd31ea1c2fdab913267abcfdc78a7da

See more details on using hashes here.

File details

Details for the file chaosmagpy-0.5-py3-none-any.whl.

File metadata

  • Download URL: chaosmagpy-0.5-py3-none-any.whl
  • Upload date:
  • Size: 2.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.22.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.2

File hashes

Hashes for chaosmagpy-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 488b396adc3c7459a07f200c3160115ab0764e9ba379c8668a91f7fecfec5403
MD5 00fc4c606da1520e198e6e4ecb0e7842
BLAKE2b-256 4cc47d02271ef382bb5ee5691efa6f32b1d7ee06bd53516d4ab5b799f68b4c1a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page