install.md 640 B
Installation
-
Install Python and dependencies (obspy and pycurl)
Using Anaconda is recommended ( https://conda.io/miniconda.html ).
conda env create -f geomagenv.yml source activate geomagenv
or
conda create --name=geomagenv --channel conda-forge python=3 obspy pycurl source activate geomagenv
-
Install geomagio
pip install git+https://github.com/usgs/geomag-algorithms.git
-
Use geomagio
- Use the main script,
geomag.py -h
- In python scripts,
import geomagio
- Interactively with Jupyter notebooks ( http://jupyter.org/install.html )
- Use the main script,