pub const MAX_HEIGHT_M: f64 = 850_000.0;
The highest height the WMM is specified for: 850 km above the WGS 84 ellipsoid (report, section 3, after MIL-PRF-89500B).