WMM2015
WMM2015 World Magnetic Model...in simple, object-oriented Python. WMM2020 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 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 build system and 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
- WMM2015 inclination map
- WMM2015 declination map
Metadata
Release files for wmm2015 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 | |
|---|---|---|---|
| wmm2015-1.1.1.tar.gz | 3.1 MB | Details |
Release files / wmm2015-1.1.1.tar.gz
| Download URL | wmm2015-1.1.1.tar.gz |
|---|---|
| Size | 3.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
034a4a23f52fbf75d46c37a4a82dffb51821093132d47986051c7a5c8e04dec4
|
|
BLAKE2b-256 checksum How to use checksums |
974841c8f5ec4239d65792224081a1e0626041724206b3a11cfff70c4d89a7ae
|
| 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
|