Skip to content

Commit

Permalink
BUG: Fixed missed IGRF13 call
Browse files Browse the repository at this point in the history
  • Loading branch information
rstoneback committed Jan 31, 2025
1 parent 2b68ddf commit e8f5546
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions OMMBV/trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def _stub_fcn():
# RTD doesn't support Fortran.
from OMMBV import igrf
from OMMBV import sources
ommbv_mag_fcn = igrf.igrf13syn
ommbv_mag_fcn = igrf.igrf14syn
ommbv_step_fcn = sources.igrf_step
except Exception:
ommbv_mag_fcn, ommbv_step_fcn = _stub_fcn, _stub_fcn
Expand Down Expand Up @@ -498,8 +498,8 @@ def magnetic_vector(x, y, z, dates, normalize=False, mag_fcn=ommbv_mag_fcn):
If True, return unit vector. (default=False)
mag_fcn : function
Function that returns magnetic field from a model.
The call signature must match that of `igrf.igrf13syn`.
(default=OMMBV.igrf.igrf13syn)
The call signature must match that of `igrf.igrf14syn`.
(default=OMMBV.igrf.igrf14syn)
Returns
-------
Expand Down

0 comments on commit e8f5546

Please sign in to comment.