3.5 Python

Python is currently only used with two program in SEISAN, MOPAD (making moment tensor plots) and SPECTRO (making spectrograms) so if any of these program are to be used, Python must be installed. Most Linux systems will have Python installed, else follow standard instructions on Python home page and install. SEISAN currently uses version 2.7 of Python. Make sure you include Python in the path. For running MOPAD, two extra libraries are needed. In Windows they are install like this:

pip install numpy

pip install matplotlib

For SPECTROGRAM, more libraries and Obspy are needed. On Windows this is done as follows:

pip install scipy

pip install lxml sqlalchemy

pip install pyreadline ipython

pip install flake8 nose mock

pip install obspy

In windows, Python files must be recognized as a Python programs so environmental variable PATHTEXT must have .PY if not already there.

On Linux, follow instruction on ObsPy home page https://github.com/obspy/ob1Gspy/wiki



Peter Voss : Tue Jun 8 13:38:42 UTC 2021