wiedergold / MagneticModel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Magnetic Model

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 module
  • wmm - World Magnetic Model 2015 - re-packed to be compiled as a shared library (dependency of the eoxmagmod package.)
  • qdipole - Quasi-Dipole apex coordinates evaluation - Fortran code compiled as a shared library (dependency of the eoxmagmod package.)

Installation from Sources

WMM

$ cd wmm/ 
$ ./configure --prefix=/usr/ --libdir='${exec_prefix}/lib64'
$ make build
$ sudo make install

QDIPOLE

$ cd qdipole/ 
$ ./configure --prefix=/usr/ --libdir='${exec_prefix}/lib64'
$ make build
$ sudo make install

EOxMagMod

Requires WMM and QDIPOLE libraries to be installed.

$ cd eoxmagmod/
$ python ./setup.py build
$ sudo python ./setup.py install

Installation from compiled binary packages

Packages for CensOS 6 and 7 are available from EOX yum RPM repository here.

About


Languages

Language:C 96.7%Language:Fortran 2.3%Language:Python 0.6%Language:C++ 0.4%Language:Makefile 0.1%Language:M4 0.0%