Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

WMM2015 geomagnetic model with simple object-oriented Python interface

Project description

Actions Status

Python versions (PyPI) Downloads

WMM2015

WMM2015 World Magnetic Model...in simple, object-oriented Python. Tested on Linux, Mac and Windows. Most C compilers work, including GCC, PGI and Intel compilers. At this time Visual Studio is not supported since MSVC doesn't export function symbols without additional headers, which is typically done with something like SWIG.

image

Install

for the latest release from PyPi:

python -m pip install wmm2015

Optionally, to get the cutting-edge development version:

git clone https://github.com/space-physics/wmm2015

python -m pip install -e wmm2015

This Python wrapper of WMM2015 uses our build-on-run technique. The first time you use WMM2015, you will see messages from the Meson build system and your C compiler.

Usage

an example script

python RunWMM2015.py

or as a Python module:

import wmm2015

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

Reference

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.2
Filename, size File type Python version Upload date Hashes
Filename, size wmm2015-1.0.2.tar.gz (3.1 MB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page