Skip to content

Commit 707a76b

Browse files
authored
Add files via upload
1 parent e535dce commit 707a76b

2 files changed

Lines changed: 39 additions & 11 deletions

File tree

.zenodo.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"metadata": {
3+
"title": "High-Performance Bayesian earthquake location from seismic intensity",
4+
"description": "A JAX-accelerated Python framework for seismic source inversion and uncertainty quantification using JMA intensity data in Japan.",
5+
"creators": [
6+
{
7+
"name": "Hallo, Miroslav",
8+
"affiliation": "Kyoto University",
9+
"orcid": "0000-0001-5865-7767"
10+
}
11+
],
12+
"access_right": "open",
13+
"license": "gpl-3.0",
14+
"keywords": ["Bayesian Inference", "Uncertainty Quantification", "Parallelized", "Seismology", "Seismic Intensity", "Hypocenter Location", "Probability Density Function", "Seismic Hazard", "Vs30", "Site Effects", "Japan", "Python", "SQL", "SQLite"],
15+
"related_identifiers": [
16+
{
17+
"scheme": "doi",
18+
"identifier": "10.5281/zenodo.19379171",
19+
"relation": "isSupplementTo",
20+
"resource_type": "dataset"
21+
}
22+
],
23+
"language": "eng",
24+
"upload_type": "software"
25+
}
26+
}

README.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,34 +8,36 @@ the Japanese JMA instrumental seismic intensity (Shindo) scale. Following the
88
probabilistic inverse theory of Tarantola (2005), it fully accounts for uncertainties
99
in both the measured data (seismic intensity) and the theoretical model (ground motion
1010
prediction equation, GMPE). The system evaluates the posterior Probability Density
11-
Function (PDF) for the epicenter location and magnitude via an exhaustive 3D grid
12-
search, ensuring no local minima are missed. By leveraging JAX for massive parallelization,
11+
Function (PDF) for the epicenter location and magnitude via an exhaustive 3D grid search,
12+
ensuring no local minima are missed. By leveraging JAX for massive parallelization, modern
1313
it allows for near-instantaneous evaluation on both CPU and GPU, making it ideal for both
14-
modern real-time seismology and the processing of large-scale historical earthquake catalogs.
15-
16-
**Key Features:**
17-
* **HPC Ready:** Fully vectorized backend using JAX (XLA) with seamless support for GPU/TPU acceleration.
14+
real-time seismology and the processing of large-scale historical earthquake catalogs. Key Features:
15+
* **HPC Ready:** Fully vectorized backend using JAX (XLA) with seamless support for CPU/GPU/TPU acceleration.
1816
* **Bayesian Framework:** Complete 3D PDF evaluation accounting for both observational uncertainties and modeling errors.
1917
* **Scientific GMPE:** Implements the Morikawa & Fujiwara (2013) Ground Motion Prediction Equation for forward computation.
20-
* **Automatic Site Effects:** Integrated workflow for automated V<sub>S30</sub> retrieval from a high-resolution J-SHIS-derived SQL database for Japan (for sites without V<sub>S30</sub> measurements).
18+
* **Automatic Site Effects:** Integrated workflow for automated V<sub>S30</sub> retrieval from a high-resolution J-SHIS-derived SQL database for Japan (for sites in Japan without direct V<sub>S30</sub> measurements).
2119
* **Historical & Modern Data:** Support for both recent instrumental records and macroseismic (historical) observations.
2220
* **User-Friendly:** Simple ASCII input/output, PEP8 compliant, and structured for researchers and Python-beginners.
2321

2422
1 METHODOLOGY
2523
===================
2624

2725
The inversion follows the probabilistic inverse theory and total error budget
28-
accounting for both observational and theoretical uncertainties as described in:
26+
accounting for both observational and theoretical uncertainties as described in Tarantola (2005).
27+
The JMA intensity prediction is following Morikawa and Fujiwara (2013).
2928

3029
Tarantola, A. (2005, Chapter 7.1). Inverse Problem Theory and Methods
3130
for Model Parameter Estimation, Society for Industrial and Applied
3231
Mathematics, Philadelphia, USA.
3332

33+
Morikawa, N., Fujiwara, H. (2013). A New Ground Motion Prediction Equation
34+
for Japan Applicable up to M9 Mega-Earthquake, J. Disaster Res., 8(5), 878-888. [https://doi.org/10.20965/jdr.2013.p0878](https://doi.org/10.20965/jdr.2013.p0878)
35+
3436
2 DATABASE (SQLite)
3537
===================
3638

3739
If missing V<sub>S30</sub> values are detected, the system automatically interfaces with an
38-
optimized SQLite subset of the J-SHIS-derived database for Japan:
40+
optimized SQLite subset of the J-SHIS-derived database for Japan (Hallo, 2026):
3941

4042
Hallo, M. (2026). Research Dataset: Optimized Site Parameters (Vs30)
4143
for Seismic Hazard Analysis in Japan (derived from J-SHIS) [Data set].
@@ -48,7 +50,7 @@ Zenodo. [https://doi.org/10.5281/zenodo.19379171](https://doi.org/10.5281/zenodo
4850

4951
The computational engine is engineered for maximum throughput by bypassing standard Python execution loops in favor of **XLA (Accelerated Linear Algebra)**:
5052

51-
* **JIT Compilation:** Every critical pathfrom the Forward GMPE evaluation to the Likelihood summationis Just-In-Time (JIT) compiled. This transforms Python code into optimized machine code tailored for the specific hardware (CPU or GPU).
53+
* **JIT Compilation:** Every critical path, from the Forward GMPE evaluation to the Likelihood summation, is Just-In-Time (JIT) compiled. This transforms Python code into optimized machine code tailored for the specific hardware (CPU or GPU).
5254
* **Multi-Device Scaling:** Leveraging JAX allows the 3D grid-search to be offloaded to GPU/TPU without code changes. On multi-core CPUs, it utilizes all available threads via vectorized operations rather than standard multiprocessing.
5355
* **Vectorized Grid Search:** Instead of iterative loops, the framework uses nested vectorization (`vmap`). The 3D parameter space is treated as a high-dimensional tensor, allowing the hardware to evaluate thousands of potential epicenters and magnitudes in a single clock cycle.
5456
* **SQLite Spatial Indexing:** Automatic retrieval is powered by a high-performance SQLite backend. This allows for rapid spatial lookups within a processed database, ensuring that even datasets with missing site data are enriched with industry-standard values.
@@ -131,7 +133,7 @@ The computation process is monitored, and the tool informs the user in real-time
131133
[*] SUCCESS: All done
132134
```
133135

134-
Regarding the results, the figure below illustrates the output 3D posterior Probability Density Function (PDF) with orthogonal slices (Mw, N-S, E-W) passing through the Maximum Likelihood (ML) location.
136+
Regarding the results, the figure below illustrates the output 3D posterior Probability Density Function (PDF) with orthogonal slices (M<sub>w</sub>, N-S, E-W) passing through the Maximum Likelihood (ML) solution.
135137

136138
<picture>
137139
<source media="(prefers-color-scheme: dark)" srcset="img/int_dark.png">

0 commit comments

Comments
 (0)