You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comprehensive updates to how zooming is handled in all Waveform plots to support ‘sticky’ zoom levels
Additional toggle included to allow zooming an entire group of Waveform plots to match an index plot’s zoom
Additional updates to uncertainty quantification metrics based on continuing iteration with the user community
Include a coda start offset parameter in the frequency band table to allow measurement offsets for entire frequency bands; 'CS' picks
Implementation of user adjustable start times for coda measurements on an individual waveform basis; 'UCS' picks, overrides 'CS' values, if present
Include reference features in several plots to allow comparison against known terms and measurements.
Basic tutorial and notes for new users and basic API documentation for developers now included in the help menu
Changed the way coda start is calculated to make it a two-step where we find the max vel, then fit the model, then back-prop the expected velocity into the coda start time field.
Fix for zoom issues when you go straight to measurement/site and box select without displaying any single waveform first.
Bump to TLS 1.3 since support has been backported to Java 8
Changed the map screenshot button to put the icons back onto png
Moving picks on waveforms with site measurements will re-measure the measurement and replot it in site automatically.
Dynamically update synthetic when you move UCS pick.
New top axis option for the Moment vs Energy plot + other updates related.
Fixed log_x axis resizing not being taken into acount for the station correction sd plot.
New REST endpoint to directly generate a synthetic coda envelope based on the loaded calibration.
Fixed a bug where if you had ref/val events loaded not in data set the site tab could blow up a bit.
Updates to default table values to increase the default window lengths when no tables are loaded, based on user feedback.
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.).
3
+
**Additional documentation is available at the project [GitHub pages site](https://software.llnl.gov/coda-calibration-tool/).**
4
+
5
+
---
6
+
7
+
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.).
4
8
<br/>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.
5
9
6
-
> ***<sub>note</sub>*** <br/>
7
-
> The `Coda Calibration Tool` currently only does calibration; it requires data to be pre-processed for loading using other tools.
10
+
> **_<sub>note</sub>_** <br/>
11
+
> The `Coda Calibration Tool` currently only does calibration; it requires data to be pre-processed for loading using other tools.
<sub>Data courtesy of [Northern California Earthquake Data Center](http://ncedc.org/)</sub>
15
20
16
-
***
21
+
---
22
+
17
23
## [Structure](#structure)
18
24
19
-
CCT is split into three basic components.
25
+
CCT is split into three basic components.
20
26
21
27
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.
22
28
@@ -26,48 +32,55 @@ And a wrapper project (Standalone) that combines both into a single runnable JAR
26
32
27
33
CCT is based on [Spring 5.0](https://spring.io/); primarily Boot and Data. By default, it uses a [H2](http://www.h2database.com/html/main.html) in-memory database for storing loaded Waveforms and the resulting calibration artifacts.
28
34
29
-
***
35
+
---
36
+
30
37
## [Building](#building)
31
-
CCT uses [Apache Maven](https://maven.apache.org/) for building and dependency management.
38
+
39
+
CCT uses [Apache Maven](https://maven.apache.org/) for building and dependency management.
32
40
33
41
From the top level `coda-calibration` directory you can build the entire project using the parent pom by running:
42
+
34
43
```shell
35
-
mvn clean package
44
+
mvn clean install
36
45
```
37
46
38
-
We don't presently deploy versioned artifacts into a public repository like the [Maven Central Repository](https://maven.apache.org/repository/index.html) but we may do so in the future.
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.
61
72
62
73
You can use these as-is or use your own by changing these properties using any of the [Spring external configuration](https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html) mechanisms:
63
74
64
-
* On the client:
75
+
- On the client:
76
+
65
77
```text
66
78
webclient.trustStoreName
67
79
webclient.trustStorePass
68
80
```
69
81
70
-
* On the REST service:
82
+
- On the REST service:
83
+
71
84
```text
72
85
server.ssl.key-alias
73
86
server.ssl.key-password
@@ -78,14 +91,15 @@ server.ssl.key-store-type
78
91
79
92
This additional step is recommended for deployments where the REST service is bound to a non-loopback adapter.
80
93
81
-
***
94
+
---
95
+
82
96
## [Data Formats](#data)
83
97
84
98
As of 1.0, CCT is capable of loading four basic file types
85
99
86
100
1. Stacked coda envelopes
87
101
88
-
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](http://ds.iris.edu/ds/nodes/dmc/software/downloads/sac/) files and, as a result, requires the file names to follow a specific format to capture the frequency band information.
102
+
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](http://ds.iris.edu/ds/nodes/dmc/software/downloads/sac/) files and, as a result, requires the file names to follow a specific format to capture the frequency band information.
@@ -100,7 +114,8 @@ As of 1.0, CCT is capable of loading four basic file types
100
114
EVID MW [APPARENT_STRESS_IN_MPA|0.0]
101
115
(e.g. 999999 5.1 0.0)
102
116
```
103
-
> ***<sub>note</sub>*** <br/>
117
+
118
+
> **_<sub>note</sub>_** <br/>
104
119
> 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.
105
120
106
121
3. Coda model parameters
@@ -110,40 +125,46 @@ As of 1.0, CCT is capable of loading four basic file types
110
125
111
126
4. Phase and frequency model parameters for distance amplitude correction curves
112
127
113
-
> ***<sub>note</sub>*** <br/>
128
+
> **_<sub>note</sub>_** <br/>
114
129
>
115
-
> While CCT supports loading MDAC2 model descriptor files, it presently only uses it for predicted source spectra.
116
-
> 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.
130
+
> While CCT supports loading MDAC2 model descriptor files, it presently only uses it for predicted source spectra.
131
+
> 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.
117
132
> See the [additional reading](#references) for more information.
118
133
119
-
***
134
+
---
135
+
120
136
## [Contributing](#contributing)
121
137
122
-
Contributing to CCT is easy: just send us a [pull request](https://help.github.com/articles/using-pull-requests/).
138
+
Contributing to CCT is easy: just send us a [pull request](https://help.github.com/articles/using-pull-requests/).
123
139
124
-
When you send your request, make ``develop`` the destination branch.
140
+
When you send your request, make `develop` the destination branch.
125
141
126
-
The ``develop`` branch contains the latest contributions, and ``master`` always points to the latest stable.
142
+
The `develop` branch contains the latest contributions, and `master` always points to the latest stable.
127
143
128
144
Issues, suggestions, discussion, documentation, general code cleanup, and automated tests are also all valuable ways to contribute and are more than welcome!
129
145
130
-
***
146
+
Any contributions are assumed to also be licensed for release as Apache V2.
147
+
148
+
---
149
+
131
150
## [Additional Reading](#references)
132
151
133
152
[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.](http://bssa.geoscienceworld.org/content/93/1/224)
134
153
135
-
***
154
+
---
155
+
136
156
## [Versioning](#versioning)
137
157
138
-
We use [Semantic Versioning](http://semver.org/) for versioning. For the versions available, see the tags on this repository.
158
+
We use [Semantic Versioning](http://semver.org/) for versioning. For the versions available, see the tags on this repository.
159
+
160
+
---
139
161
140
-
***
141
162
## [License](#license)
142
163
143
164
The `Coda Calibration Tool` is provided under the [Apache License](LICENSE.txt).
144
165
145
166
```text
146
-
Copyright 2017 Lawrence Livermore National Laboratory
167
+
Copyright 2022 Lawrence Livermore National Laboratory
147
168
148
169
Licensed under the Apache License, Version 2.0 (the "License");
149
170
you may not use this file except in compliance with the License.
@@ -158,12 +179,13 @@ The `Coda Calibration Tool` is provided under the [Apache License](LICENSE.txt).
158
179
limitations under the License.
159
180
```
160
181
161
-
***
182
+
---
162
183
163
184
## [Disclaimer](#disclaimer)
185
+
164
186
```text
165
-
This work was performed under the auspices of the U.S. Department of Energy
187
+
This work was performed under the auspices of the U.S. Department of Energy
166
188
by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344.
0 commit comments