MGPro
MGPro is a Python Interactive command line toolbox for processing geomagnetic and gravity data
Installation
Install MGPro via Pypi
We recommend this way for general user.
pip install mgpro
Install MGPro via source codes
- Download source codes from github
git clone https://github.com/geophy/MGPro.git
- Install in command line
cd /path/to/MGPro
python setup.py install
What does MGPro contain?
MGPro client
Just enter mgpro
in command line to run MGPro client. The MGPro interface is shown as follows:
$ mgpro
MGPro>?
Documented commands (type help <topic>):
========================================
continuation gradient help quit read write
Undocumented commands:
======================
dt2za
MGPro>
MGPro include functions as follows. Please enter help cmd
for more details:
- read (r): read a raw data file with 3 columns (x, y, value)
- continuation (c): Calculate continuation and derivative for the data read
- gradient (g): Calculare horizontal gradient or the module
- write (w): Write any result to a txt file