sed-eew-seiscomp-contributions

Libraries and modules for Earthquake Early Warning (EEW) contributed by the Swiss Seismological Service (SED) at ETH Zurich, base for the ETHZ-SED SeisComP EEW system (so-called ESE).

https://github.com/sed-eew/sed-eew-seiscomp-contributions

Science Score: 75.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
    Organization sed-eew has institutional domain (seismo.ethz.ch)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.9%) to scientific vocabulary

Keywords

earthquakes magnitude real-time rupture-model seismology
Last synced: 7 months ago · JSON representation ·

Repository

Libraries and modules for Earthquake Early Warning (EEW) contributed by the Swiss Seismological Service (SED) at ETH Zurich, base for the ETHZ-SED SeisComP EEW system (so-called ESE).

Basic Info
Statistics
  • Stars: 9
  • Watchers: 12
  • Forks: 6
  • Open Issues: 15
  • Releases: 0
Topics
earthquakes magnitude real-time rupture-model seismology
Created over 7 years ago · Last pushed 8 months ago
Metadata Files
Readme Changelog License Citation

README.md

DOI Docker Documentation Status

Description

The SED-EEW-SeisComP-contributions package contains SeisComP-based software developed by the ETHZ-SED seismic network team that has not been integrated into the main SeisComP distribution. Software includes the modules

  • scfinder which matches emerging patterns of strong motion from the seismic network with most likely seismic sources to predict location and size of finite faults, and from this, infers event magnitude and expected ground motion patterns.
  • sceewenv which produces ground motion envelope values for EEW modules such as scfinder and scvsmag.

Requirements

To run the SED-EEW-SeisComP-contributions you need

Additionally, if you also intend to run the scfinder module, you need:

Please see the SeisComP README and FinDer README for additional dependencies.

Installation

For installation, the SED-EEW-SeisComP-contributions sources have to be added as a SeisComP submodule and compiled together with SeisComP.

Using the latest SeisComP version

Following SeisComP's README to compile the SED-EEW-SeisComP-contributions modules with the latest version of SeisComP, checkout all required repositories and add SED-EEW-SeisComP-contributions:

```bash

This is experimental

TAG=master

But that is more safe:

TAG=5.4.0 git clone --branch $TAG https://github.com/SeisComP/seiscomp seiscomp git clone --branch $TAG https://github.com/SeisComP/common seiscomp/src/base/common git clone --branch $TAG https://github.com/SeisComP/main seiscomp/src/base/main

You might add more repo...

git clone --branch $TAG https://github.com/swiss-seismological-service/sed-SeisComP-contributions seiscomp/src/base/sed-contrib git clone --branch latest https://github.com/SED-EEW/SED-EEW-SeisComP-contributions seiscomp/src/extras/sed-addons ```

If you have already performed the previous steps and just want to update to latest version, run

bash cd seiscomp git pull cd src/extras/sed-addons git pull

Using SeisComP3

If you have not installed SeisComP3 before, checkout the SeisComP3 source code using

bash git clone --branch release/jakarta https://github.com/SeisComP3/seiscomp3 seiscomp3 git clone --branch v3 https://github.com/SED-EEW/SED-EEW-SeisComP-contributions seiscomp3/src/sed-addons

If you have already performed the previous steps and just want to update to latest version, run

bash cd seiscomp3 git pull cd src/sed-addons git pull git checkout jakarta

Adding scfinder

If you intend to use the scfinder SeisComP module you need to indicate where FinDer was installed by setting the FinDer_INCLUDE_DIR and FinDer_LIBRARY environment variables. By default these should be

  - `FinDer_INCLUDE_DIR           /usr/local/include/finder`
  - `FinDer_LIBRARY               /usr/local/lib/libFinder.a`

If you are using bash you can add these to your ~/.bashrc using

bash echo 'export FinDer_INCLUDE_DIR=/usr/local/include/finder' >> ~/.bashrc echo 'export FinDer_LIBRARY=/usr/local/lib/libFinder.a' >> ~/.bashrc echo 'export GMT_INCLUDE_DIR=/usr/local/include/gmt' >> ~/.bashrc

Compilation

SeisComP uses cmake to to manage the build process. In the case of SeisComP (v4+) run

bash cd seiscomp make

and in case of SeisComP3, use

bash cd seiscomp3 make -f Makefile.cvs

Press c to start configuring the build and g to save the configuration. If you need to run the configuration in headless mode you can just run cmake directly

bash cd seiscomp mkdir build cd build cmake .. -DFinDer_INCLUDE_DIR=$FinDer_INCLUDE_DIR -DFinDer_LIBRARY=$FinDer_LIBRARY -DGMT_INCLUDE_DIR=$GMT_INCLUDE_DIR For other cmake option see the SeisComP README. To start the compilation run

bash cd build make

If your machine has multiple CPU cores available, you can speed up the compilation with make -j 4. If the build succeeds you can install the new executables with

bash sudo make install Note that this will overwrite your previous installation of SeisComP

Usage

To test the functionality of a particular module (e.g. scfinder) use the following command

bash seiscomp exec [scfinder] -u testuser --debug and stop it with CRT+c

Cheatsheet

  • For scfinder to include GMT: LD_LIBRARY_PATH=/usr/<gmt path>:$LD_LIBRARY_PATH (.profile)
  • For scfinder to include libgmt and libpostscriptlight: c++ ... -lgmt -lpostscriptlight (seiscomp' make)
  • For FinDer to include libgmt: g++ ... -lgmt (libfinder' make)

Owner

  • Name: EEW @ SED-ETHZ
  • Login: SED-EEW
  • Kind: organization
  • Location: Zurich

EEW group, Swiss Seismological Service (SED), ETH Zurich

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
title: "SED-EEW-SeisComP-contributions"
doi: 10.5281/zenodo.5948948
url: "https://github.com/SED-EEW/SED-EEW-SeisComP-contributions"
preferred-citation:
  type: article
  authors:
  - family-names: "Massin"
    given-names: "Frédérick"
    orcid: "https://orcid.org/0000-0002-7532-5139"
  - family-names: "Clinton"
    given-names: "John"
    orcid: "https://orcid.org/0000-0001-8626-2703"
  - family-names: "Böse"
    given-names: "Maren"
    orcid: "https://orcid.org/0000-0003-4639-719X"
  doi: "10.3389/feart.2021.707654"
  journal: "Frontiers in Earth Science"
  title: "Status of Earthquake Early Warning in Switzerland"
  volume: 9
  year: 2021

GitHub Events

Total
  • Issues event: 1
  • Watch event: 2
  • Issue comment event: 10
  • Push event: 18
  • Pull request event: 20
  • Pull request review comment event: 7
  • Pull request review event: 9
  • Fork event: 2
Last Year
  • Issues event: 1
  • Watch event: 2
  • Issue comment event: 10
  • Push event: 18
  • Pull request event: 20
  • Pull request review comment event: 7
  • Pull request review event: 9
  • Fork event: 2

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 0
  • Total pull requests: 10
  • Average time to close issues: N/A
  • Average time to close pull requests: 3 days
  • Total issue authors: 0
  • Total pull request authors: 3
  • Average comments per issue: 0
  • Average comments per pull request: 0.9
  • Merged pull requests: 8
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 10
  • Average time to close issues: N/A
  • Average time to close pull requests: 3 days
  • Issue authors: 0
  • Pull request authors: 3
  • Average comments per issue: 0
  • Average comments per pull request: 0.9
  • Merged pull requests: 8
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • akasa-denada (1)
Pull Request Authors
  • FMassin (11)
  • gempa-jabe (4)
  • Thom-P (3)
  • billyburgoa (3)
  • jenrandrews (2)
Top Labels
Issue Labels
Pull Request Labels
enhancement (2)

Dependencies

doc/requirements.txt pypi
  • sphinx *
  • sphinx_rtd_theme *
.github/workflows/docker-publish.yml actions
  • actions/checkout v2 composite
  • docker/build-push-action ad44023a93711e3deb337508980b4b5e9bcdc5dc composite
  • docker/login-action 28218f9b04b4f3f62068d7b6ce6ca5b26e35336c composite
  • docker/metadata-action 98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 composite
Dockerfile docker
  • amd64/debian buster-slim build