A python interface for global geomagnetic field models

pymagglobal serves the purpose of replacing some Fortran scripts, which are used in the geomagnetism community to evaluate global field models. It can be applied to all cubic-spline based geomagnetic field models stored in the same file format as gufm1 or the CALSxk model series.

Note

We will release pymagglobal 2.0.0 soon. This will change the interface of all functions to work on coefficient arrays instead of Model instances. We will further move the GUI to a separate package and remove the command line interface. If you miss the CLI, please contact maximilian.schanner@gfz.de.

Installation

Note

pymagglobal depends on cartopy. You have to install it, before running the install command. This should also help if you receive ImportError: NumPy 1.10+ is required to install cartopy.

pymagglobal is distributed via the PyPI registry of the corresponding repository. It can be installed using

$ pip3 install pymagglobal --extra-index-url https://public:5mz_iyigu-WE3HySBH1J@git.gfz-potsdam.de/api/v4/projects/1055/packages/pypi/simple

Additional information can be found in the installation section.

License

GNU General Public License, Version 3, 29 June 2007

Copyright (C) 2020 Helmholtz Centre Potsdam GFZ, German Research Centre for Geosciences, Potsdam, Germany

pymagglobal is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

pymagglobal is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.