Description Usage Arguments Value
Calculate the magnetic field for a given location and time using the fitted spherical harmonic model from the 2020 World Magnetic Model.
| 1 2 | .CalculateMagneticField(lon, latGD, latGC, radius, time,
  wmmVersion = "derived")
 | 
| lon | GPS longitude | 
| latGD | GPS latitude, geodetic | 
| latGC | GPS latitude, geocentric | 
| radius | Radius of curvature of prime vertical at given geodetic latitude | 
| time | Annualized date time. E.g., 2015-02-01 = (2015 + 32/365) = 2015.088 | 
| wmmVersion | String representing WMM version to use. Must be consistent with  | 
Expected magnetic field from WMM2020, m_wmm(lambda_t, phi_t, h_t, t). list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.