mag.dec: Estimates magnetic declination (difference between true and magnetic
north) based on IGRF 12th gen model
Description
This function estimates the magnetic declination at a given location
and moment in time, using the 12th generation International
Geomagnetic Reference Field (IGRF) model. This function is a wrapper
for function magneticField of package oce.
Usage
mag.dec(loc, date)
Arguments
loc
Location, can be either a skyscapeR.horizon object or, alternatively,
a latitude.
date
Date for which to calculate magnetic declination in the format: 'YYYY/MM/DD'