All Projects → LLNL → coda-calibration-tool

LLNL / coda-calibration-tool

Licence: Apache-2.0 license
Tool for calibrating body wave coda seismic models

Programming Languages

java
68154 projects - #9 most used programming language
javascript
184084 projects - #8 most used programming language
Jupyter Notebook
11667 projects
CSS
56736 projects
HTML
75241 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to coda-calibration-tool

Simpler
Simpler是一款轻量级的第三方微博应用,具有微博的基础功能,兼有外观优雅,运行流畅,内存占用低,省电省流量等特点。
Stars: ✭ 27 (+80%)
Mutual labels:  application
Port-Able-Suite
🌐 Manager for portable applications
Stars: ✭ 35 (+133.33%)
Mutual labels:  application
Flutter-Photography-Application
Flutter Photography Application Design and Animation - day 22
Stars: ✭ 73 (+386.67%)
Mutual labels:  application
worker
Worker for Vela (Target's official Pipeline Automation Framework)
Stars: ✭ 27 (+80%)
Mutual labels:  application
docus
Android application for scanning and managing documents.
Stars: ✭ 39 (+160%)
Mutual labels:  application
openplatform
OpenPlatform v4.0 is a beautiful and simple web OS platform for running, integrating and managing multiple 3rd party web applications.
Stars: ✭ 68 (+353.33%)
Mutual labels:  application
react-native-single-select
Customizable & Easy to Use Single Select Library for React Native
Stars: ✭ 74 (+393.33%)
Mutual labels:  application
server
Server/API for Vela (Target's official Pipeline Automation Framework)
Stars: ✭ 74 (+393.33%)
Mutual labels:  application
api.pokedextracker.com
API for pokedextracker.com
Stars: ✭ 38 (+153.33%)
Mutual labels:  application
musicont
React Native & Expo music player application UI
Stars: ✭ 72 (+380%)
Mutual labels:  application
SteamAchievementNotifier
Steam Achievement Notifier is an Electron application that shows a customisable notification when you unlock any Steam Achievement! It uses the Steam Web API to track achievement stats in real time, and displays an achievement summary within the notification.
Stars: ✭ 77 (+413.33%)
Mutual labels:  application
spring-boot-mongodb-react-java-crud
Spring Boot, MongoDB and React.js CRUD Java Web Application Example
Stars: ✭ 33 (+120%)
Mutual labels:  application
Allpass
Allpass是一款简洁的私密信息管理工具,包括密码管理与卡片信息管理,支持指纹解锁软件、csv导入导出、从Chrome中导入、从剪贴板中导入、文件夹与标签功能、收藏与备注功能、密码生成器、WebDAV同步等功能,采用Flutter构建
Stars: ✭ 82 (+446.67%)
Mutual labels:  application
rss-for-the-rest-of-us
A simple RSS reader built on Laravel. For the rest of us.
Stars: ✭ 16 (+6.67%)
Mutual labels:  application
webapp-wordlists
This repository contains wordlists for each versions of common web applications and content management systems (CMS). Each version contains a wordlist of all the files directories for this version.
Stars: ✭ 306 (+1940%)
Mutual labels:  application
App-Manager-Android
An app manager for Android written in Kotlin. View app related info, launch or uninstall apps.
Stars: ✭ 31 (+106.67%)
Mutual labels:  application
iam
企业级的 Go 语言实战项目:认证和授权系统
Stars: ✭ 1,900 (+12566.67%)
Mutual labels:  application
NodeExpressCRUD
Node, Express, Mongoose and MongoDB CRUD Web Application
Stars: ✭ 45 (+200%)
Mutual labels:  application
application
✨ Extra contrib to nette/application (@nette)
Stars: ✭ 23 (+53.33%)
Mutual labels:  application
Dropbox-Paper-Desktop
Unofficial Dropbox Paper app for OS X
Stars: ✭ 22 (+46.67%)
Mutual labels:  application

Livermore logo

The Coda Calibration Tool (CCT) is a Java based application for calibrating 1D shear wave coda measurement models to observed data using a much smaller set of reference MWs calculated from other means (waveform modeling, etc.).
These calibrated measurement models can then be used in other tools to generate coda MW measurements, source spectra, estimated stress, and other useful measurements against the rest of the events and any new data collected in the calibrated region.

note
The Coda Calibration Tool currently only does calibration; it requires data to be pre-processed for loading using other tools.


Demo

CCT

Data courtesy of Northern California Earthquake Data Center


Structure

CCT is split into three basic components.

A REST service that consumes Waveform objects containing stacked coda envelope segments and information about the station and event locations. This service does all the actual calculations to calibrate the model.

A JavaFX/HTML5/Swing GUI application that understands how to convert stack files (see Data) to Waveform objects, interact with the REST Calibration service, and display useful diagnostic plots with the resulting data.

And a wrapper project (Standalone) that combines both into a single runnable JAR file to allow end users to run the GUI and Service together the same way they would run any other desktop application.

CCT is based on Spring 5.0; primarily Boot and Data. By default, it uses a H2 in-memory database for storing loaded Waveforms and the resulting calibration artifacts.


Building

CCT uses Apache Maven for building and dependency management.

From the top level coda-calibration directory you can build the entire project using the parent pom by running:

mvn clean package

We don't presently deploy versioned artifacts into a public repository like the Maven Central Repository but we may do so in the future.


Running

As a single runnable JAR

java -jar coda-calibration/calibration-standalone/target/calibration-standalone-1.0.15-runnable.jar

GUI alone

java -jar coda-calibration/calibration-gui/target/calibration-gui-1.0.15-runnable.jar

Calibration REST service alone

java -jar coda-calibration/calibration-service/application/target/application-1.0.15-runnable.jar

A note about HTTPS

If you look at the REST service and the GUI client packages you might have noticed 'selfsigned.crt' and 'coda-truststore.jks' in the resources directory. CCT uses HTTPS by default and these are the default certificates we include for the handshake between the client and the GUI.

You can use these as-is or use your own by changing these properties using any of the Spring external configuration mechanisms:

  • On the client:
webclient.trustStoreName
webclient.trustStorePass
  • On the REST service:
server.ssl.key-alias
server.ssl.key-password
server.ssl.key-store
server.ssl.key-store-provider
server.ssl.key-store-type

This additional step is recommended for deployments where the REST service is bound to a non-loopback adapter.


Data Formats

As of 1.0, CCT is capable of loading four basic file types

  1. Stacked coda envelopes

    These stacked envelopes are filtered into the same frequency ranges as those defined in the coda model parameters (3). Presently, the CCT GUI only has converters for SAC files and, as a result, requires the file names to follow a specific format to capture the frequency band information.

    STATION_CHANNEL_EVENTID_LOWFREQ_HIGHFREQ_UNITS_.*.env
    (e.g. ANMO_STACK_999999_1.0_1.5_VEL_.env)
    
  2. Reference events

    A simple space delimited text file of format:

    EVID MW [APPARENT_STRESS_IN_MPA|0.0]
    (e.g. 999999 5.1 0.0)
    

    note
    The EVID here should match the one defined in either the KEVNM or NEVID (tested in that order) fields of the SAC files being loaded so the envelope waveforms can be associated correctly during calibration.

  3. Coda model parameters

    This defines the frequency bands and some corresponding frequency dependent parameters to be used during calibration. ​

  4. Phase and frequency model parameters for distance amplitude correction curves

    note

    While CCT supports loading MDAC2 model descriptor files, it presently only uses it for predicted source spectra. As a result, the two parameters of most interest for calibration purposes are Psi and Sigma. These correspond to apparent or actual stress drop of the spectra depending on their values. See the additional reading for more information.


Contributing

Contributing to CCT is easy: just send us a pull request.

When you send your request, make develop the destination branch.

The develop branch contains the latest contributions, and master always points to the latest stable.

Issues, suggestions, discussion, documentation, general code cleanup, and automated tests are also all valuable ways to contribute and are more than welcome!


Additional Reading

Mayeda, K.M., A. Hofstetter, J.L. O Boyle, W.R. Walter (2003). Stable and transportable regional magnitudes based on coda-derived moment-rate spectra, Bull. Seism. Soc. Am., 93, 224-239.


Versioning

We use Semantic Versioning for versioning. For the versions available, see the tags on this repository.


License

The Coda Calibration Tool is provided under the Apache License.

 Copyright 2017 Lawrence Livermore National Laboratory

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

Disclaimer

  This work was performed under the auspices of the U.S. Department of Energy 
  by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344.

LLNL-CODE-743439

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].