dot-CalculateMagneticField: Calculate Expected Magnetic Field from WMM2020

Description Usage Arguments Value

Description

Calculate the magnetic field for a given location and time using the fitted spherical harmonic model from the 2020 World Magnetic Model.

Usage

1
2
.CalculateMagneticField(lon, latGD, latGC, radius, time,
  wmmVersion = "derived")

Arguments

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 time and one of the following: 'derived', 'WMM2005', 'WMM2010', 'WMM2015', 'WMM2015v2', 'WMM2020'. Default 'derived' value will infer the latest WMM version consistent with time.

Value

Expected magnetic field from WMM2020, m_wmm(lambda_t, phi_t, h_t, t). list


wmm documentation built on Sept. 6, 2021, 9:10 a.m.