WMM2020
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.
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
- WMM2020 inclination map
- WMM2020 declination map
Metadata
Release files for wmm2020 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wmm2020-1.1.1.tar.gz | 3.1 MB | Without provenance | Details for wmm2020-1.1.1.tar.gz |
Release files / wmm2020-1.1.1.tar.gz
| Download URL | wmm2020-1.1.1.tar.gz |
|---|---|
| Size | 3.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f4590051c04bdc6a27d0d2c3b973adde0a2df494e3cf1658822c6b577d60605
|
|
BLAKE2b-256 checksum How to use checksums |
f5069fdbab12a99773b80b80e7c38432204aa755dd0aea913b741f5198ed89d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.25.1 setuptools/47.3.1.post20200622 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5
|
Security for wmm2020 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.