Skip to content

Ground motion

quakecascade.groundmotion turns a fault rupture into shaking at every site: a Joyner-Boore distance from a planar rupture, then peak ground acceleration (PGA), peak ground velocity (PGV) and 5 %-damped spectral acceleration (Sa) from the ground-motion model of Akkar, Sandikkaya & Bommer (2014), referred to here as ASB2014.

Module Contents
groundmotion.asb2014 predict, table, period_index, parse_periods, check_metric, envelope_flags, envelope_report
groundmotion.distance point_distances (RJB, Repi, Rhypo), trace_distances, input coercion
groundmotion.rupture FaultGeometry, rupture_projection, rjb_km, wells_coppersmith_width_km, wells_coppersmith_magnitude_from_length
groundmotion.scenario scenario(...): one table per site with distances, percentiles and status

The model

ASB2014 is an empirical model for shallow crustal earthquakes in Europe and the Middle East. For the reference rock condition (\(V_{S30} = V_{ref} = 750\) m/s) the natural logarithm of the median intensity measure is

\[ \ln Y_{REF} = a_1 + a_2^{*}(M - c_1) + a_3 (8.5 - M)^2 + \left[a_4 + a_5 (M - c_1)\right] \ln\sqrt{R^2 + a_6^2} + a_8 F_N + a_9 F_R , \]

with \(a_2^{*} = a_2\) for \(M \le c_1\) and \(a_2^{*} = a_7\) for \(M > c_1\) (\(c_1 = 6.75\)), \(R\) the distance in km in the chosen metric, and \(F_N\), \(F_R\) the normal and reverse style-of-faulting indicators (strike-slip is the reference). The site term is nonlinear and is conditioned on the rock PGA at the same site, \(PGA_{REF} = \exp(\ln Y_{REF})\) at the PGA row:

\[ \ln S = \begin{cases} b_1 \ln\dfrac{V_{S30}}{V_{ref}} + b_2 \ln\dfrac{PGA_{REF} + c\,(V_{S30}/V_{ref})^{n}}{\left(PGA_{REF} + c\right)(V_{S30}/V_{ref})^{n}}, & V_{S30} \le V_{ref} \\[2ex] b_1 \ln\dfrac{\min(V_{S30}, V_{con})}{V_{ref}}, & V_{S30} > V_{ref} \end{cases} \]

so \(\ln Y = \ln Y_{REF} + \ln S\). A shift of \(\varepsilon\) total standard deviations gives \(Y_\varepsilon = \exp(\ln Y + \varepsilon\,\sigma_{total})\), with \(\sigma_{total} = \sqrt{\tau^2 + \phi^2}\) (between- and within-event terms; the package checks the identity on the published table to \(10^{-4}\)).

Three properties matter in use:

  1. Rock first, site second. The site term needs the rock PGA, so both are computed in one pass.
  2. The site term is not monotone in \(V_{S30}\) at short periods. At Mw 7 and 20 km, PGA peaks near 400 m/s and falls on both sides, because the nonlinear term suppresses short-period motion on soft soil; Sa(1.0 s) decreases monotonically over the same sweep. Both are tested.
  3. \(V_{S30}\) is capped at \(V_{con} = 1000\) m/s: 1000 and 1200 m/s give identical numbers, and predict returns vs30_capped so the cap is visible.

The model is tabulated at PGA, PGV and 62 spectral periods from 0.01 s to 4 s. Periods are never interpolated: parse_periods("0.33") is refused and names 0.32 s and 0.34 s.

Distance metrics

The paper publishes three coefficient sets: Joyner-Boore (RJB), epicentral (Repi) and hypocentral (Rhypo). There is no rupture-distance (Rrup) model. A point source supports all three (point_distances; RJB = Repi for a point, \(R_{hypo} = \sqrt{R_{epi}^2 + h^2}\)). An extended rupture supports RJB only (check_metric refuses Repi and Rhypo for a fault scenario), because a long rupture has no single epicentre.

Every distance kernel takes units_per_km with no default: a distance off by a factor of 1000 still returns a number and is wrong everywhere, so the caller states the unit. The rupture and scenario functions work in metres of a projected CRS and check it with quakecascade.crs.require_metric when a CRS is given (or carried by a GeoSeries).

Rupture geometry and RJB

The Joyner-Boore distance (Joyner & Boore, 1981) is the shortest horizontal distance from a site to the surface projection of the rupture. A FaultGeometry holds the plane: dip \(\delta\), dip azimuth \(\alpha\) (clockwise from grid north), top and bottom depth \(z_{top}\), \(z_{bot}\), and a mandatory non-empty source naming where the numbers come from. There are no default dips.

Each trace segment \((\mathbf a, \mathbf b)\) is translated down-dip by \(d_{near} = z_{top}/\tan\delta\) and \(d_{far} = z_{bot}/\tan\delta\) along \(\mathbf u = (\sin\alpha, \cos\alpha)\); the parallelogram between the two copies is the projection of that piece of the plane, and rupture_projection returns the union over segments. RJB is the distance to that polygon, so it is zero on the hanging wall above the rupture. For a vertical plane (\(\delta = 90°\)), or when no geometry is given, RJB is the horizontal distance to the trace; for a dipping fault this overstates RJB on the hanging-wall side, and the scenario metadata says which method was used.

Wells & Coppersmith (1994) scaling

When a fault database gives the dip but not the bottom depth, the down-dip width can be taken from the rupture-width regression of Wells & Coppersmith (1994, Table 2A):

\[ \log_{10} RW = a + b\,M, \qquad z_{bot} = z_{top} + RW \sin\delta , \]

(FaultGeometry.from_wells_coppersmith). Magnitude from surface rupture length uses \(M = a + b \log_{10} SRL\) from the same table. Outside the magnitude (width) or length (SRL) range of the regression data both functions raise unless strict=False.

Regression Mechanism a b s Data range
RW–M strike-slip SS −0.76 0.27 0.14 M 4.8–8.1
RW–M reverse RS −1.61 0.41 0.15 M 4.8–7.6
RW–M normal NS −1.14 0.35 0.12 M 5.2–7.3
RW–M all ALL −1.01 0.32 0.15 M 4.8–8.1
M–SRL strike-slip SS 5.16 1.12 0.28 SRL 1.3–432 km
M–SRL reverse RS 5.00 1.22 0.28 SRL 3.3–85 km
M–SRL normal NS 4.86 1.32 0.34 SRL 2.5–41 km
M–SRL all ALL 5.08 1.16 0.28 SRL 1.3–432 km

Scenario table

scenario(site_xy_m, vs30, trace_xy_m, magnitude, mechanism, geometry=None, epsilons=(-1.2816, 0, 1.2816), periods=()) returns one row per site:

Column Unit Meaning
vs30_m_s m/s Vs30 used
rjb_km km Joyner-Boore distance
gm_status – computed, no_vs30, no_location or outside_envelope
gm_envelope_flags – ;-joined codes: mag_below, mag_above, dist_above, vs30_below, vs30_above
vs30_capped – Vs30 above the 1000 m/s site cap (null when not computed)
pga_g_p10, pga_g_p50, pga_g_p90 g PGA at each epsilon
pgv_cms_p10, pgv_cms_p50, pgv_cms_p90 cm/s PGV at each epsilon
sa_<T>s_g_<pXX> g Sa at each requested period, e.g. sa_0p3s_g_p50

The suffix is the percentile \(100\,\Phi(\varepsilon)\); the default epsilons \(\pm\Phi^{-1}(0.9) = \pm1.2816\) give p10 and p90. These are per-site marginal quantiles of the model's total aleatory variability, not one spatially consistent event; correlated sampling belongs to quakecascade.montecarlo. A site without Vs30 gets NaN and no_vs30, never a filled value. A site outside the envelope keeps its numbers, labelled outside_envelope. Run metadata (model, DOI, distance method, PGA sigmas, envelope sentences, status counts) is in frame.attrs["groundmotion"].

Parameters and sources

Parameter Value Unit Source
\(a_1, a_3, a_4, a_8, a_9, b_1, b_2, \tau, \phi, \sigma\) per period and metric – Akkar et al. (2014), tables as supplied to pyGMM, 2016-03-17
\(a_2, a_5, a_6, a_7\) 0.0029, 0.2529, 7.5, −0.5096 – Akkar et al. (2014)
\(c_1\) 6.75 Mw Akkar et al. (2014)
\(c, n\) 2.5, 3.2 – Akkar et al. (2014)
\(V_{ref}\), \(V_{con}\) 750, 1000 m/s Akkar et al. (2014)
Applicability M 4–8, R ≤ 200 km, Vs30 150–1200 m/s – Akkar et al. (2014)
Shallow-crustal flag 30 km reporting convention only (the model has no depth term); raises depth_above
Wells & Coppersmith coefficients table above – Wells & Coppersmith (1994), Table 2A
Dip, dip azimuth, depths caller deg, km required, with a cited source
Magnitude, mechanism caller Mw, – required

Applicability and caveats

  • ASB2014 was fitted to shallow crustal events in Europe and the Middle East (the RESORCE database). Use it elsewhere only where it is part of an accepted regional logic tree.
  • Outside the published envelope the values are extrapolations; they are kept and flagged, not dropped.
  • RJB without a dip geometry is the distance to the trace and is exact only for vertical faults.
  • The planar projection assumes a constant dip along strike. dip_deg is the true dip: the whole trace is translated perpendicular to its mean strike, on the side of the dip azimuth, so the pieces join without gaps at bends. A segment far from the mean strike gets a correspondingly narrower projection, and a dip azimuth more than 45° from the mean-strike normal raises, because the two inputs then contradict each other.
  • A Vs30 that is missing, zero or negative gives no_vs30.
  • p10/p90 describe aleatory variability at one site at a time; summing them over a city does not give a city-level 10th/90th percentile.

Example

import numpy as np
from quakecascade import groundmotion as gm

trace = np.array([[0.0, 0.0], [30_000.0, 0.0]])            # metres, projected CRS
rupture = gm.FaultGeometry.from_wells_coppersmith(
    dip_deg=60.0, dip_azimuth_deg=0.0, magnitude=6.8, mechanism="NS",
    source="hypothetical example fault, dip 60 deg to the north")
sites = np.array([[15_000.0, 5_000.0], [15_000.0, -10_000.0], [15_000.0, 40_000.0]])
vs30 = np.array([300.0, np.nan, 760.0])

frame = gm.scenario(sites, vs30, trace, magnitude=6.8, mechanism="NS", geometry=rupture)
print(frame[["rjb_km", "gm_status", "pga_g_p10", "pga_g_p50", "pga_g_p90", "pgv_cms_p50"]])
print(frame.attrs["groundmotion"]["distance_method"])

The first site sits above the rupture (RJB = 0); the second has no Vs30 and carries no_vs30 with NaN motion.

References

  • Akkar, S., Sandikkaya, M. A., & Bommer, J. J. (2014). Empirical ground-motion models for point- and extended-source crustal earthquake scenarios in Europe and the Middle East. Bulletin of Earthquake Engineering, 12(1), 359–387. https://doi.org/10.1007/s10518-013-9461-4
  • Joyner, W. B., & Boore, D. M. (1981). Peak horizontal acceleration and velocity from strong-motion records including records from the 1979 Imperial Valley, California, earthquake. Bulletin of the Seismological Society of America, 71(6), 2011–2038. https://doi.org/10.1785/BSSA0710062011
  • Wells, D. L., & Coppersmith, K. J. (1994). New empirical relationships among magnitude, rupture length, rupture width, rupture area, and surface displacement. Bulletin of the Seismological Society of America, 84(4), 974–1002. https://doi.org/10.1785/BSSA0840040974
  • Kottke, A. R. pyGMM: ground motion models implemented in Python (MIT licence). https://github.com/arkottke/pygmm — source of the coefficient table and of the independent reference values used in the tests.