scxxlmag v1.0RC1 - README |
---|
|
|
|
Functionality |
The scxxlmag is a SeisComP3 module developed by Javier Quinteros and Joachim Saul in the context of the NERA project. Its main purpose is to be able to calculate the mBc magnitude for large earthquakes in real-time. The present revision of the software includes the following functionality:
- Receive information about an event from a SeisComP3 server.
- Request all the waveforms needed to perform the calculation.
- Calculate the rupture duration while the information is being received.
- Calculate the magnitude while the information is being received.
- Send updates of the (preliminary) magnitude value and rupture duration at regular intervals
- Generate graphs showing the temporal evolution of the magnitude and rupture duration for a particular event
The latest version of scxxlmag can be downloaded from a GitHub respository under the official repository of SeisComP3.
- Python >= 2.6 (2.7 would be better)
- SeisComP3 release Seattle or newer (e.g. Jakarta)
- seispy tools from Joachim Saul (https://github.com/jsaul) is needed and should be in the Python path.
The SeisComP3 variables should be already in the session environment. You can load the necessary variables by executing:
user@hostname ~/scxxlmag $ ~/seiscomp3/bin/seiscomp print env
and then copy-paste the output of the previous command in the console. For instance,:
user@hostname ~/scxxlmag $ export SEISCOMP_ROOT=/home/user/seiscomp3
user@hostname ~/scxxlmag $ export PATH=/home/user/seiscomp3/bin:$PATH
user@hostname ~/scxxlmag $ export LD_LIBRARY_PATH=/home/user/seiscomp3/lib:LD_LIBRARY_PATH
user@hostname ~/scxxlmag $ export PYTHONPATH=/home/user/seiscomp3/lib/python:$PYTHONPATH
user@hostname ~/scxxlmag $ export MANPATH=/home/user/seiscomp3/share/man:$MANPATH
user@hostname ~/scxxlmag $ export LC_ALL=C
The application can be run by executing:
user@hostname ~/scxxlmag $ ./scxxlmag-compute.py
A file called scxxlmag.sh
is provided as an example of how the application can be called with some of the most common options.
- Javier Quinteros <javier@gfz-potsdam.de>
- Joachim Saul <saul@gfz-potsdam.de>
Footnotes