# rtDD documentation

This documentation covers the rtDD software, version 2.0.2, which consists of the scrtdd module and a few other scripts and resources documented within. Full release information can be found here.

scrtdd is a SeisComP extension module, developed at the Swiss Seismological Service. It implements Double-Difference event relocation for both real-time, event-by-event processing and classic offline mode, where an entire earthquake catalog is relocated.

## Installation from binaries

Compiled versions of this module can be found at https://data.gempa.de/packages/Public/. The installation files are compressed tar archives containing the binary distribution of this module. These can be extracted into your SeisComP installation folder and used immediately.

## Installation from source code

The development page for the rtDD project is located at https://github.com/swiss-seismological-service/scrtdd. This page provides instructions on how to compile the software from source.

### About

- Introduction
- Multi-Event Relocation
  - Summary
  - Getting Started
    - Event Catalog: List of Origin IDs
    - Event Catalog: Plain CSV Files
    - Event Catalog: XML/SCML File
  - Relocation Process
    - Clustering
    - Double-Difference System
  - Solving for both Absolute and Relative Locations
    - Inclusion of Absolute Travel-Time Residuals
  - Evaluating the Results
    - Visual Evaluation
    - Quantitative Evaluation
    - Verifying DD System Residuals and Absolute RMS
    - Verifying Relative Locations with Cross-Correlation
    - Verifying Absolute Locations
- Real-Time Single-Event Relocation
  - Summary
  - Getting Started
  - Configuring a Reference Catalog
  - Testing
    - Relocate an Origin ID without sending messages
    - Relocate an Origin ID and save to an XML file
    - Relocate an XML file and save the result to an XML file
  - Avoiding Relocation Loops
  - Relocation Process
- Cross-Correlation
  - Waveform Data
    - RecordStream Configuration for Single-Event (Real-Time)
    - RecordStream Configuration for Multi-Event
    - Waveform Data Caching
  - Reusing Cross-Correlation Results
  - Waveform Inspection
- A continuously updated multi-event relocated catalog
- Custom Velocity Models
  - NLLGrid
  - LOCSAT
- scrtdd
  - Configuration
  - Command Line
    - Generic
    - Verbosity
    - Messaging
    - Database
    - Records
    - Mode
    - ModeOptions
    - Catalog