Implements the world magnetic model in Rust.
Find a file
2024-09-28 17:21:14 +02:00
src escapes the units in doc so that they're not interpreted as links 2024-09-28 16:59:25 +02:00
.gitignore working model 2024-09-28 16:55:51 +02:00
Cargo.lock working model 2024-09-28 16:55:51 +02:00
Cargo.toml added license, readme and modified package metadata 2024-09-28 17:21:14 +02:00
LICENSE.txt added license, readme and modified package metadata 2024-09-28 17:21:14 +02:00
README.md added license, readme and modified package metadata 2024-09-28 17:21:14 +02:00
WMM.2020.COF working model 2024-09-28 16:55:51 +02:00

geomag-wmm

WMM library used to calculate the magnetic declination.

You must download the WMM.COF file corresponding to the model you want to use, for instance, 2020-2025.

The code passes the 12 cases presented in the WMM description, Section 1.11 Table 6.

There is no guarantee that it is correct. It does not calculate the grid variation (yet) and does not warn the user if they calculate in a low precision area.