This repository contains various utilities related to Earth magnetic field modelling and spherical harmonics.
The repository contains following directories:
eoxmagmod
- Collection models of the Earth magnetic field - python modulewmm
- World Magnetic Model 2015 - re-packed to be compiled as a shared library (dependency of theeoxmagmod
package.)qdipole
- Quasi-Dipole apex coordinates evaluation - Fortran code compiled as a shared library (dependency of theeoxmagmod
package.)
$ cd wmm/
$ ./configure --prefix=/usr/ --libdir='${exec_prefix}/lib64'
$ make build
$ sudo make install
$ cd qdipole/
$ ./configure --prefix=/usr/ --libdir='${exec_prefix}/lib64'
$ make build
$ sudo make install
Requires WMM and QDIPOLE libraries to be installed.
$ cd eoxmagmod/
$ python ./setup.py build
$ sudo python ./setup.py install
Packages for CensOS 6 and 7 are available from EOX yum RPM repository here.