wmm2020_extract: IGRF and NCEI World/Enhanced Magnetic Model Interface

Description Usage Arguments Format Value References Examples

View source: R/magnetic-models.R

Description

IGRF and NCEI World/Enhanced Magnetic Model Interface

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

Arguments

lon, lat

Vectors of coordinates.

year

A decimal year (e.g., 2020.2120). The World Magnetic Model is valid between 2020.0 and 2025.0; the Enhanced Magnetic Model is valid between 2000.0 and 2022.0.

height

Height above the WGS84 ellipsoid in kilometers. Use mm_ellipsoidal_height() to convert geoid elevations (EGM9615) to ellipsoidal values.

date

An R date object or value that can be coerced to one.

Format

An object of class integer of length 1038961.

Value

A data frame with columns - decl: Magnetic variation in degrees - incl: Inclination of the magnetic field in degrees - decl_err, incl_err: Error associated with declination and inclination, respectively.

References

NCEI World Magnetic Model https://www.ngdc.noaa.gov/geomag/WMM/DoDWMM.shtml.

NCEI Enhanced Magnetic Model https://www.ngdc.noaa.gov/geomag/EMM/index.html.

IGRF-13 https://www.ngdc.noaa.gov/IAGA/vmod/home.html.

NCEI Geomagnetic Modeling Team and British Geological Survey. 2019. World Magnetic Model 2020. NOAA National Centers for Environmental Information. doi: 10.25921/11v3-da71, 2020, accessed 2021-02-23.

Chulliat, A., W. Brown, P. Alken, C. Beggan, M. Nair, G. Cox, A. Woods, S. Macmillan, B. Meyer and M. Paniccia, The US/UK World Magnetic Model for 2020-2025: Technical Report, National Centers for Environmental Information, NOAA, doi: 10.25923/ytk1-yx35, 2020.

Examples

1
2
3
wmm2020_extract(-64, 45, mm_decimal_year("2021-01-01"))
emm2017_extract(-64, 45, mm_decimal_year("2021-01-01"))
igrf13_extract(-64, 45, mm_decimal_year("2021-01-01"))

paleolimbot/headings documentation built on April 14, 2021, 8:33 a.m.