.CalculateMagneticField {wmm}R Documentation

Calculate Expected Magnetic Field from WMM2020

Description

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

Usage

.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_{\lambda_t,\varphi_t,h_t,t}^{WMM}. list


[Package wmm version 1.1.1 Index]