#field #reference #international #pure #index #geomagnetic

igrf

International Geomagnetic Reference Field (IGRF) implementation in pure Rust

2 unstable releases

0.2.0 Sep 10, 2021
0.1.0 Jan 24, 2021

#13 in #international

39 downloads per month

MIT license

26KB
711 lines

International Geomagnetic Reference Field (IGRF)

International Geomagnetic Reference Field (IGRF) implementation in pure Rust. This is a port of https://www.ngdc.noaa.gov/IAGA/vmod/igrf.html (and https://github.com/nsdecicco/libgeomag).

Status: Not well tested, needs another improvement pass to get rid off possible index out of bounds panics.

Dependencies

~1–1.5MB
~31K SLoC