Class WorldMagneticModel

java.lang.Object
com.irurueta.navigation.inertial.wmm.WorldMagneticModel

public class WorldMagneticModel extends Object
Contains data defining the World Magnetic Model (WWM).

The WWM defines the Earth's magnetic field in geodetic coordinates (latitude, longitude and height) respect the WGS84 spheroid from the coefficients of the current official Department of Defense (DOD) spherical harmonic world magnetic model (WMM-2010). The WWM series of models is updated every 5 years on January 1st of those years, which are divisible by 5 (i.e. 1980, 1985, 1990, etc.) by the Naval Oceanographic Office in cooperation with the British Geological Survey (BGS).

The model is based on geomagnetic survey measurements from aircraft, satellite and geomagnetic observatories.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) final double[][]
    The Gauss coefficients of main geomagnetic model (nt)
    (package private) final double[][]
    The Gauss coefficients of secular geomagnetic model (nt/yr).
    (package private) double
    The date in years, for the start of the valid time of the fit coefficients
    (package private) final double[]
    The sine of (m*spherical coord. latitude).
    (package private) final double[]
    The cosine of (m*spherical coord. longitude).
    (package private) final double[][]
    The sine of (m*spherical coord. longitude).
    static final double
    The lifespan of a WMM is 5 years.
    static final int
    The maximum number of degrees of the spherical harmonic model.
    (package private) static final int
    Number of coefficients.
    private static final int
    Squared number of coefficients.
    (package private) final double[]
    The Schmidt normalization factors.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • MAX_ORDER

      public static final int MAX_ORDER
      The maximum number of degrees of the spherical harmonic model.
      See Also:
    • LIFESPAN

      public static final double LIFESPAN
      The lifespan of a WMM is 5 years.
      See Also:
    • N

      static final int N
      Number of coefficients.
      See Also:
    • N2

      private static final int N2
      Squared number of coefficients.
      See Also:
    • c

      final double[][] c
      The Gauss coefficients of main geomagnetic model (nt)
    • cd

      final double[][] cd
      The Gauss coefficients of secular geomagnetic model (nt/yr).
    • epoch

      double epoch
      The date in years, for the start of the valid time of the fit coefficients
    • snorm

      final double[] snorm
      The Schmidt normalization factors.
    • k

      final double[][] k
      The sine of (m*spherical coord. longitude).
    • fn

      final double[] fn
      The cosine of (m*spherical coord. longitude).
    • fm

      final double[] fm
      The sine of (m*spherical coord. latitude).
  • Constructor Details

    • WorldMagneticModel

      public WorldMagneticModel()