neicmap is one of three Python packages containing code modules extracted from the PAGER (http://earthquake.usgs.gov/earthquakes/pager/) software. This package contains functions for spatial calculations (direction, distance) and country code mapping.
This package depends on:
- numpy, the fundamental package for scientific computing with Python. http://www.numpy.org/
- matplotlib, a Python 2D plotting library which produces publication quality figures. <a href="http://matplotlib.org/index.html
- scipy, a Python library which provides many user-friendly and efficient numerical routines such as routines for numerical integration and optimization. <a href="http://www.scipy.org/scipylib/index.html
The best way to install numpy,matplotlib,and scipy is to use one of the Python distributions described here:
http://www.scipy.org/install.html
Anaconda and Enthought distributions have been successfully tested with neicmap.
Most of those distributions should include pip, a command line tool for installing and managing Python packages. You will use pip to install the other dependencies and libcomcat itself.
You may need to open a new terminal window to ensure that the newly installed versions of python and pip are in your path.
To install neicmap:
pip install git+git://github.com/usgs/neicmap.git
To uninstall:
pip uninstall neicmap
To update:
pip install -U git+git://github.com/usgs/neicmap.git