Skip to main content

WMM2020 geomagnetic model with simple object-oriented Python interface

Project description

WMM2020

Actions Status Language grade: Python Python versions (PyPI) Downloads

WMM2020 World Magnetic Model...in simple, object-oriented Python. WMM2015 is also available. Tested on Linux, Mac and Windows. Most C compilers work. 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 wmm2020

Optionally, to get the cutting-edge development version:

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

python -m pip install -e wmm2020

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

Usage

an example script

python RunWMM2020.py

or as a Python module:

import wmm2020

mag = wmm2020.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.

Source Distribution

wmm2020_cext-1.1.2.tar.gz (3.1 MB view details)

Uploaded Source

Built Distributions

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

wmm2020_cext-1.1.2-cp39-cp39-win_amd64.whl (6.4 MB view details)

Uploaded CPython 3.9Windows x86-64

wmm2020_cext-1.1.2-cp39-cp39-win32.whl (6.4 MB view details)

Uploaded CPython 3.9Windows x86

wmm2020_cext-1.1.2-cp38-cp38-win_amd64.whl (6.4 MB view details)

Uploaded CPython 3.8Windows x86-64

wmm2020_cext-1.1.2-cp38-cp38-win32.whl (6.4 MB view details)

Uploaded CPython 3.8Windows x86

wmm2020_cext-1.1.2-cp37-cp37m-win_amd64.whl (6.4 MB view details)

Uploaded CPython 3.7mWindows x86-64

wmm2020_cext-1.1.2-cp37-cp37m-win32.whl (6.4 MB view details)

Uploaded CPython 3.7mWindows x86

File details

Details for the file wmm2020_cext-1.1.2.tar.gz.

File metadata

  • Download URL: wmm2020_cext-1.1.2.tar.gz
  • Upload date:
  • Size: 3.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0

File hashes

Hashes for wmm2020_cext-1.1.2.tar.gz
Algorithm Hash digest
SHA256 d6eec4c3d7157ac388773373162e9587bec061166b9d2c4183900d978a3b6bbb
MD5 c0b2536200b78804eecdcdf4a053bca1
BLAKE2b-256 f0c13207832969dd0e6a9b6cf35bc8952594bb9d699a9ee77ed1d7667810a3c6

See more details on using hashes here.

File details

Details for the file wmm2020_cext-1.1.2-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: wmm2020_cext-1.1.2-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 6.4 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0

File hashes

Hashes for wmm2020_cext-1.1.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 52ac090e9858b55ba5e7af5d93e96804430443cc24abcd3abe7e6953a5b34ab5
MD5 1258f8b34a8183f5a4cb13e0fdf3c8e2
BLAKE2b-256 a34a84d88ac2685c143750a5dec94d9facbb2ad64476c1f8287f520f5816c129

See more details on using hashes here.

File details

Details for the file wmm2020_cext-1.1.2-cp39-cp39-win32.whl.

File metadata

  • Download URL: wmm2020_cext-1.1.2-cp39-cp39-win32.whl
  • Upload date:
  • Size: 6.4 MB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0

File hashes

Hashes for wmm2020_cext-1.1.2-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 6ac2157e102a8f4b3146411ebc2e5263e97228439b6492d799a4e19a343ebfdd
MD5 6839ba2c68d52367b01e22ab42db621a
BLAKE2b-256 65735f6a1c3bb64ee6222b8a35fb129c8764347585555857958b1f84e5e90047

See more details on using hashes here.

File details

Details for the file wmm2020_cext-1.1.2-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: wmm2020_cext-1.1.2-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 6.4 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0

File hashes

Hashes for wmm2020_cext-1.1.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 5f7748c8aa5564738f376fff38b77640c91c229e6bb801faf4b5d91872f918d8
MD5 50f92e1a68ed327d50826a48ab4e959a
BLAKE2b-256 84e7c90de86d12e0dfa8803744f6e922263bd3551fbfaec7dd5252f428c6bed1

See more details on using hashes here.

File details

Details for the file wmm2020_cext-1.1.2-cp38-cp38-win32.whl.

File metadata

  • Download URL: wmm2020_cext-1.1.2-cp38-cp38-win32.whl
  • Upload date:
  • Size: 6.4 MB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0

File hashes

Hashes for wmm2020_cext-1.1.2-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 53c06fecb97c0c77526edde68cff8d8a83c75c64b613762ec6840eecf1deb92b
MD5 817e2b86d2398cc5aef5378be82f5c37
BLAKE2b-256 4414a40a9141d9dab1f1d0fc3ee84eba2f1cfeae5b5d3bf60e6501ac6e455376

See more details on using hashes here.

File details

Details for the file wmm2020_cext-1.1.2-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: wmm2020_cext-1.1.2-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 6.4 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0

File hashes

Hashes for wmm2020_cext-1.1.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 6ce010e03f1d433774bbb161391530fae79c5c2edcd6433194b7fc9c133214a3
MD5 55d6cdd15329d248dcee451c4e865bf1
BLAKE2b-256 fa54f9a9a244f32ce9e5dca6226dd59a38e479fc6fa1320c2ae78dd1e5a48e96

See more details on using hashes here.

File details

Details for the file wmm2020_cext-1.1.2-cp37-cp37m-win32.whl.

File metadata

  • Download URL: wmm2020_cext-1.1.2-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 6.4 MB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0

File hashes

Hashes for wmm2020_cext-1.1.2-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 5339d796a7bfc8e9fa4826901ca80f35dfc1c48260ee2c27e5d35912bd49d9da
MD5 5bc8b17861c254f41c31fc8d6062b029
BLAKE2b-256 2e4b1fa12c613125f9ec502a6142bf68f4225163d43ebaaf0c04de27f00390c6

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