Skip to main content

WMM2015 geomagnetic model with simple object-oriented Python interface

Project description

Actions Status

Python versions (PyPI) Downloads


WMM2015 World Magnetic simple, object-oriented Python. Tested on Linux, Mac and Windows. Any modern C compiler we tried worked, including GCC, PGI and Intel compilers. However, at this time Visual Studio is not supported since MSVC doesn't export function symbols without additional headers (or something like SWIG).



To get the cutting-edge development version, git clone and then:

python -m pip install -e .

Otherwise, for the latest release from PyPi:

python -m pip install wmm2015


an example script


as a Python module:

import wmm2015

mag = wmm2015.wmm(glat, glon, alt_km, yeardec)


Project details

Download files

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

Files for wmm2015, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size wmm2015-1.0.0.tar.gz (3.1 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page