Crates.io | geomag-wmm |
lib.rs | geomag-wmm |
version | 0.1.0 |
source | src |
created_at | 2024-09-28 15:23:34.967489 |
updated_at | 2024-09-28 15:23:34.967489 |
description | Calculate the Earth magnetic fields and their variation using WMM. |
homepage | |
repository | https://git.hostux.fr/ConstellationVFR/geomag-wmm |
max_upload_size | |
id | 1390178 |
size | 28,702 |
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.