1 Introduction

Earthquake early warning systems (EEWSs) can monitor an area in real time and quickly detect an occurring earthquake. Within a few seconds of earthquake occurrence, EEWSs can rapidly predict the ground shaking and warn the target area prior to the arrival of the destructive wave. EEWSs have been established or are being tested in more and more countries and regions worldwide to reduce seismic risk (Allen & Melgar, 2019). On-site warning, the common concept used in existing EEWSs, detects the initial P-wave information at single stations and predicts the peak shaking at the same site, i.e., the Urgent Earthquake Detection and Alarms System (UrEDAS) used along the rail systems in Japan (Nakamura & Saita, 2007) and the τc-Pd method (Wu & Kanamori, 2005a, 2005b) tested in California (Böse et al., 2009) and Taiwan (Hsiao et al., 2009; Hsu et al., 2018; Wu et al., 2018). Regional EEWSs use early information concerning the seismic waves obtained from the seismic network located near the source area and predict the ground shaking after analyzing data from multiple stations, e.g., the Seismic Alert System of Mexico (Espinosa-Aranda et al., 2009), the operational warning system implemented by the Japan Meteorological Agency (Kamigaichi et al., 2009), the EEWS of Taiwan developed by the Central Weather Bureau using the national seismic network (Wu et al., 2013), the Virtual Seismologist methodology and ElarmS EEW methodology tested in California (Allen, Brown, et al., 2009, b; Cua et al., 2009), the probabilistic evolutionary approach (PRESTo) tested in southern Italy (Iannaccone et al., 2010), and the warning systems for Bucharest, Romania (Böse et al., 2007) and Istanbul, Turkey (Alcik et al., 2009).

As a result of the long-term mutual pushing forces of the Pacific and Indian plates, China experiences strong seismic activity. Since 2000, China has conducted systematic research on earthquake early warning technologies and has developed related technologies such as earthquake location, magnitude estimation, and intensity prediction. In November 2010, the China Earthquake Administration launched a national project for Seismic Intensity Rapid Reporting (SIRR) and EEWS. Currently, the preliminary design report for the project has been approved by the National Development and Reform Commission and the project has moved to the implementation stage. EEWSs were deployed in the Beijing capital region (Peng et al., 2011), Fujian region (Zhang et al., 2016), and other regions of China (Peng et al., 2020) for online performance testing. With the implementation of the SIRR and EEWS national project, the observation capabilities of the existing seismic network are gradually being strengthened.

Quickly providing robust estimations of earthquake magnitude is a critical issue for EEWSs. Previous studies have typically used information from the initial P wave to extract parameters related to the magnitude and have provided estimates based on established scaling relationships for the selected datasets. The absolute peak values of the displacement (Pd) and velocity (Pv) are commonly used amplitude parameters for magnitude estimation (Wu & Kanamori, 2005a, 2005b; Zollo et al., 2006). Period parameters, such as the characteristic τc (Kanamori, 2005) and predominant τpmax (Allen & Kanamori, 2003) period parameters use the frequency content of the P wave to make a rapid estimation of earthquake magnitude. In addition, Festa et al. (2008) proposed the integral of the velocity squared (IV2), which is a parameter directly related to the energy released in the first few seconds of an earthquake and can be applied to earthquake magnitude estimation.

These early warning parameters are often calculated in a fixed-length P-wave time window (2–4 s) for rapid magnitude estimation. For large earthquakes, the relevant complex rupture processes may not be completed in such a short time window, leading to underestimations of the magnitude (Colombelli et al., 2012; Lomax & Michelini, 2009). To overcome this well-known saturation problem, other studies have proposed the use of extended P-wave time windows. Chen et al. (2017) proposed a less-saturated approach to update the magnitude estimation by extending the time window and establishing a regression relation between the peak displacement and the magnitude at each time step (1- to 10-s time interval). However, extending the P-wave time window in a uniform way for all stations will induce S-wave contamination for the near-source stations, leading to overestimation of the magnitude in the early stage of an earthquake. Colombelli and Zollo (2015) focused on the time evolution of the logarithm of P-wave peak displacement (LPDT) for source characterization and found that magnitude can be estimated quite accurately when the LPDT curve reaches a plateau (Wang et al., 2021). The plateau of the LPDT curve can be simply regarded as capturing the peak value of the displacement within a pure P-wave time window.

In this study, we directly investigate the relationships between the early warning (amplitude-, frequency- and energy-based) parameters under the available P-wave time windows (APTW, defined as the window period starting from the trigger time of the P wave until the arrival of the S wave) and magnitude. We also explore a parameter combination method for magnitude estimation based on the characteristics of the established relationships. Based on the analysis of small to large earthquakes, we then discuss the behavior of the proposed approach and possible improvements for future applications.

2 Data

We used a strong-motion dataset of events recorded for the period 2007–2015 provided by the China Strong-Motion Network Centre, China Earthquake Administration. The catalog magnitudes of all the analyzed events in this dataset are given in surface magnitude (Ms), which is denoted as M in this study. For (1) aiming at earthquakes that may cause damage, (2) maximizing the use of near-source stations, and (3) reducing scattering caused by site or source effects by averaging the various stations (Peng et al., 2014), we chose the corresponding criteria: (1) M ≥ 4; (2) epicentral distances < 120 km; and (3) each earthquake having at least three records. Accordingly, we selected 87 earthquakes with 1265 three-component seismic records for this study. Figure 1 shows the epicenters of the selected events and the locations of the stations in China, of which two main seismic regions (the North–South Seismic Belt and the Xinjiang region) have been enlarged. Figure 2 shows the histogram distributions of the analyzed records as a function of magnitude and epicentral distance.

Fig. 1
figure 1

Distribution of the analyzed earthquakes (stars) and stations (triangles)

Fig. 2
figure 2

Distribution of the analyzed records as a function of epicentral distance and magnitude

To identify the onset of the P wave, we used the short-term/long-term average method for automatic picking (Allen, 1978, 1982) and then manually picked the P-wave arrival for corrections. The acceleration records were integrated once to velocity and twice to displacement. To remove the low-frequency drift caused by integration, we applied a high-pass Butterworth filter with a cut-off frequency of 0.075 Hz to the integrated displacement.

3 Method

To determine the length of the APTW, we chose four stations with a clear seismic phase randomly in every 20-km distance bin from the dataset and picked the S-wave arrival time of the selected records manually. We computed the interval between the arrivals of the P and S waves using the following relationship:

$$T_{{\text{s}}} - T_{{\text{p}}} = \, b \cdot R,$$
(1)

where Tp is the P-wave onset time, Ts is the arrival time of the S wave, R is the hypocentral distance in kilometers, and b = 0.13 s/km, as derived via linear regression after manually picking the S-wave arrival times of the selected records. Supplementary Fig. S1 shows the data distribution and the best-fit curve of Eq. (1). Considering its variability along the entire distance range, we set the length of the APTW to be 80% of (Ts − Tp) to minimize the possibility of introducing S waves.

The definitions of the analyzed parameters are illustrated in Fig. 3. In the following sections, we describe the specific processing steps for the computation for each parameter and the results for the relationships between magnitude and the parameters calculated in the APTWs.

Fig. 3
figure 3

Example showing the peak displacement (Pd), peak velocity (Pv), integral of the squared velocity (IV2), predominant period (τpmax), and characteristic period (τc). The dashed line represents the length of the available-P-wave time window (APTW)

3.1 Magnitude-Scaling Relationship

3.1.1 Peak displacement (P d)

Wu and Zhao (2006) found the empirical attenuation relationship among the peak displacement (Pd), the hypocentral distance (R) and the magnitude (M):

$${\text{log}}_{10} \left( {P_{{\text{d}}} } \right) = \, AM \, + \, B{\text{log}}_{10} \left( R \right) + C.$$
(2)

In this study, we measured Pd from the vertical component of each filtered displacement in the APTWs and obtained the best-fit relationship via least-squared regression:

$${\text{log}}_{10} \left( {P_{{\text{d}}} } \right) = \, 0.559(0.021)M - 0.897(0.081){\text{log}}_{10} \left( R \right) - 3.351(0.149){\text{ RMSE}} = 0.330.$$
(3)

The quantities in parentheses represent the 95% confidence intervals for the coefficient estimate; for instance, the 95% confidence interval for the A coefficient is [0.559 − 0.021, 0.559 + 0.021]. The root mean square error (RMSE) represents the deviation between the observed value and the predicted value. Following the approach of Zollo et al. (2006), we normalized the Pd value to 10 km (Pd10km) to derive the magnitude dependence of the P-wave amplitude. Linear fitting of the event-averaged Pd10km value and the magnitude yielded the best-fit regression:

$$\log_{10} \left( {P_{{\text{d}}}^{{{\text{10km}}}} } \right) = \, 0.583(0.040)M - 4.354(0.204){\text{ RMSE}} = 0.160.$$
(4)

To estimate magnitude with the observed Pd value, we recalibrated the relationship according to the equation (M = klog10(Pd10km) + b):

$$M = \, 1.56(0.106)\log_{10} \left( {P_{{\text{d}}}^{{{\text{10km}}}} } \right) + 7.25(0.157){\text{ RMSE}} = 0.262.$$
(5)

The logarithm of the Pd10km value calculated in the APTWs as a function of magnitude is shown in Fig. 4a. The event-averaged Pd10km values are concentrated on the fitted line with small deviations. Compared with the results found when using a fixed P-wave time window (PTW) of 3 s, as shown in Fig. 4b, the relationship derived from the APTWs has a smaller RMSE and a larger slope. More importantly, the measurements for the M 8 event, which are lower than the expected value, are greatly improved when applying the APTWs.

Fig. 4
figure 4

The magnitude relationship of the Pd10km calculated in a APTWs and b a fixed PTW of 3 s. Triangles with color scale and black circles stand for single Pd10km values for different lengths of PTW and event-averaged Pd10km value, respectively. The solid line represents the relation derived in this study

3.1.2 Peak velocity (P v)

The peak velocity (Pv) was measured from the vertical component of the velocity in the APTWs without applying any high-pass filters. Following a similar attenuation relationship to that of Eq. (2), we derived the best-fit relationship for Pv:

$$\log_{10} \left( {P_{{\text{v}}} } \right) = \, 0.397(0.021)M - 1.143(0.083)\log_{10} \left( R \right) - 0.997(0.152){\text{ RMSE}} = 0.337.$$
(6)

After normalizing the Pv measurements to 10 km (Pv10km), we obtained the best-fit relationship between the event-averaged Pv10km and the magnitude:

$$\log_{10} \left( {P_{{\text{v}}}^{{{\text{10km}}}} } \right) = \, 0.411(0.043)M - 2.193(0.221){\text{ RMSE}} = 0.174.$$
(7)

Similarly to Eq. (5), the magnitude estimate is given by

$$M = \, 1.973(0.206)\log_{10} \left( {P_{{\text{v}}}^{{{\text{10km}}}} } \right) + 5.29(0.084){\text{ RMSE}} = 0.381.$$
(8)

As Fig. 5a shows, the event-averaged Pv10km values calculated using the APTWs are proportional to the magnitude over the entire magnitude range. Compared with the results of using a fixed 3-s PTW, shown in Fig. 5b, the magnitude relationship using the APTWs shows a higher correlation with magnitude without showing any saturation effect for the largest M 8 event.

Fig. 5
figure 5

The magnitude relationship of the Pv10km calculated in a APTWs and b a fixed PTW of 3 s. Triangles with color scale and black circles stand for single Pv10km values for different lengths of PTW and event-averaged Pv10km value, respectively. The solid line represents the relation derived in this study

3.1.3 Integral of the velocity squared (IV2)

Festa et al. (2008) proposed the integral of the squared velocity (IV2), which is related to the energy released by earthquakes, for estimating the earthquake magnitude in real time:

$${\text{IV2}} = \, \int\limits_{t}^{t + \Delta t} {v^{2} (t){\text{d}}t} ,$$
(9)

where t is the first P-wave arrival and v is the modulus of the velocity squared evaluated using the three velocity components. Following the same processing steps as in Festa et al. (2008), we applied a band-pass filter with a frequency band of 0.05–10 Hz for the integrated velocity, the difference being that, here, the time length of the signal (Δt) is set to the APTW. By calculating the IV2 value and normalizing it to 10 km (IV210km), we obtained the best-fit attenuation relationship of IV2 and the relationship of the magnitude dependence of IV210km:

$$\log_{10} \left( {{\text{IV2}}} \right) = \, 0.874(0.044)M - 1.340(0.171)\log_{10} \left( R \right) - 4.212(0.314){\text{ RMSE}} = 0.695,$$
(10)
$$\log_{10} \left( {{\text{IV2}}^{{{\text{10km}}}} } \right) = \, 0.926(0.086)M - 5.768(0.440){\text{ RMSE}} = 0.346.$$
(11)

The magnitude estimate is given by

$$M = 0.913(0.085)\log_{10} \left( {{\text{IV2}}^{{{\text{10km}}}} } \right) \, + 6.051(0.116){\text{ RMSE}} = 0.344.$$
(12)

A comparison between the magnitude relationships for IV210km measured using the APTWs and those measured using a fixed 3-s PTW is shown in Fig. 6. Some near-source stations with the fixed 3-s PTW, which may be affected by contamination from S waves, produced large IV210km values, whereas the scattering in the distribution of IV210km measurements was reduced when applying the APTWs. A higher correlation coefficient and a smaller RMSE can be found in the relationship derived after applying the APTWs. Moreover, almost all the event-averaged values (IV210km) calculated using the APTWs are distributed around the best-fit line, and a smaller saturation effect can be found for the M 8 event.

Fig. 6
figure 6

The magnitude relationship of the IV210km calculated in a APTWs and b a fixed PTW of 3 s. Triangles with color scale and black circles stand for single IV210km values for different lengths of PTW and event-averaged IV210km value, respectively. The solid line represents the relation derived in this study

3.1.4 Predominant period τ p max

Allen and Kanamori (2003) defined τpmax as the maximum value of the τp(t) data in a given duration following P-wave onset. The τp(t) function was given by Nakamura (1988):

$$\tau_{i}^{p} = \, 2\pi \sqrt {X_{i} /D_{i} } ,$$
(13)
$$X_{i} = \, \alpha X_{i - 1} + x_{i}^{2} ,$$
(14)
$$D_{i} = \, \alpha D_{i - 1} + ({\text{d}}x/{\text{d}}t)_{i}^{2} ,$$
(15)

where \(x_{i}\) is the vertical component of the velocity at time i and \(\alpha\) is a 1 s smoothing constant that is set to 0.95 for a rate of 200 samples per second. We applied a 0.075-Hz high-pass filter to the velocity and computed τpmax in the period from 0.25 s after the P-wave arrival to the end of the APTW (Nazeri et al., 2017).

Figure 7a shows the distribution of τpmax calculated in the APTW as a function of magnitude. Even though the scatter of the individual τpmax values is rather large, the averaged log (τpmax) values of the events are linearly proportional to the magnitude, except for the M 8 event, which has an obviously lower value than expected. The best-fit relationship between the magnitude and the event-averaged τpmax value was then derived via a least-square analysis:

$$\log_{10} \left( {\tau_{{{\text{pmax}}}} } \right) = \, 0.239(0.04)M - 1.532(0.206){\text{ RMSE}} = 0.162.$$
(16)
Fig. 7
figure 7

The magnitude relationship of the τpmax calculated in a APTWs and b a fixed PTW of 3 s. Triangles with color scale and black circles stand for single τpmax values for different lengths of PTW and event-averaged τpmax value, respectively. The solid line represents the relation derived in this study

The magnitude estimate is given by

$$M = 2.607(0.437)\log_{10} \left( {\tau_{{{\text{pmax}}}} } \right) \, + 5.903(0.180){\text{ RMSE}} = 0.536.$$
(17)

Examining the distribution of τpmax calculated using a fixed 3-s PTW, as shown in Fig. 7b, we find that the derived relationships for PTW = 3 s have a similar trend to the results derived using the APTWs, indicating that the τpmax relationship is not significantly affected by the length of the PTW.

3.1.5 Characteristic period τ c

Kanamori (2005) proposed an averaged period parameter, τc, to represent the frequency information of the seismic wave; this parameter has been proven to be proportional to the event magnitude. The period parameter τc was computed using the following equation:

$$\tau_{{\text{c}}} = \frac{2\pi }{{\sqrt r }},$$
(18)
$$r = \frac{{\int_{0}^{{\tau_{0} }} {\dot{u}^{2} (t){\text{d}}t} }}{{\int_{0}^{{\tau_{0} }} {u^{2} (t){\text{d}}t} }},$$
(19)

where u(t) and \(\dot{u}\)(t) are the vertical displacement and velocity, respectively, and τ0 is the duration from the P-wave onset of each record. Here, τ0 is set to the APTW, and the integrated velocity and displacement are both filtered using a high-pass filter with a cut-off frequency of 0.075 Hz to eliminate the effects of the low-frequency drift introduced by the integration.

Because the τc parameter is sensitive to the signal-to-noise ratio of the data, previous studies have usually set a criterion to remove low signal-to-noise ratio data (Zollo et al., 2010; Ziv, 2014). Following the idea of Zollo et al. (2010), we selected data with Pv > 0.05 cm/s for the calculation of τc and established the magnitude-scaling relationship for the event-averaged τc value using the APTW:

$$\log_{10} \left( {\tau_{{\text{c}}} } \right) = \, 0.265(0.041)M - 1.461(0.212){\text{ RMSE}} = 0.160.$$
(20)

The magnitude is estimated such that:

$$M = \, 2.593(0.398)\log_{10} \left( {\tau_{{\text{c}}} } \right) + 5.400(0.120){\text{ RMSE}} = 0.502.$$
(21)

The distribution of the τc measurements and the derived relationships are shown in Fig. 8. The event-averaged τc values scale with the magnitude for M < 7; however, the M 8 event has a smaller event-averaged τc than expected. The τc value calculated with the APTWs has a higher correlation with the magnitude, and the derived magnitude with the APTWs produced a higher slope than the relationship of using a fixed 3-s PTW.

Fig. 8
figure 8

The magnitude relationship of the τc calculated in a APTWs and b a fixed PTW of 3 s. Triangles with color scale and black circles stand for single τc values for different lengths of PTW and event-averaged τc value, respectively. The solid line represents the relation derived in this study

3.2 Parameter Combination for Magnitude Estimation

On the basis of the magnitude-scaling relationships described above, here we summarize the characteristics of early warning parameters using APTWs for magnitude estimation. The amplitude parameters (Pd and Pv) have a higher correlation with the earthquake magnitude after applying the APTWs. The magnitude prediction equation of Pd (Eq. (5)) has the smallest RMSE (0.262 magnitude units) of all the parameters. Even though Pv shows a larger magnitude estimation error (0.381 magnitude units, Eq. 8) than Pd, Pv has the advantage of accurately estimating large earthquakes without any underestimation. Using APTWs, the energy-based parameter IV210km was significantly improved (the coefficient of determination increased from 0.645 to 0.845); however, the M 8 event was still underestimated. As for the period-based parameters (τpmax and τc), their magnitude-scaling relationships show larger scatter than those of the other parameters, and the correlation between the period-based parameters and the magnitude was less affected by the PTW.

Therefore, considering the underestimation of IV210km for large earthquakes and the scatter of the single period-based parameters, we explored a real-time approach that integrates the use of Pd (the highest correlation with magnitude) and Pv (good performance in predicting large events) using APTWs to estimate the magnitude; that is, once the earthquake occurs, the method begins to calculate the Pd10km and Pv10km values of all the available stations whose time window length has reached the APTW and averages the magnitude estimates based on Eqs. (5) and (8) to obtain a real-time prediction curve of earthquake magnitude as follows:

$$M_{(t)} = \, \frac{{{\text{Mean}}\left( {M_{{P{\text{d10km}}(t)}} } \right) + {\text{Mean}}\left( {M_{{P{\text{v10km}}(t)}} } \right)}}{2},$$
(22)

where MPd10km(t) and MPv10km(t) are the magnitude estimates of all the available stations using the APTWs with Pd10km and Pv10km, respectively.

4 Offline Applications

Because the length of the APTW is related to the hypocentral distance of the triggered station, the time windows of near-source stations (e.g., hypocentral distance < 30 km) may be shorter than 3 s, and the far stations may require additional time to reach the APTW. Therefore, to evaluate whether our method underestimates small to moderate earthquakes (M ≤ 7) in the early stage and whether it takes more time to achieve good results for large earthquakes, we applied our method to all the earthquakes in the dataset to show the performance in terms of the stability of the magnitude estimation of small to moderate earthquakes and the improvement and timeliness with respect to estimating the magnitude of large earthquakes.

Once a station is triggered, the estimation of the magnitude is provided only when the length of the time window has reached the APTW. The time required for each station is the sum of the P-wave propagation time and the required length of the APTW. With more stations joining the computation, the magnitude estimation is constantly updated by averaging the estimated values of all the available stations. For comparison, the results of using Pd with a fixed 3-s PTW (referred to as the Pd3s method) are also shown.

4.1 Stability When Estimating Small to Moderate Earthquakes

Figure 9 shows how the estimated real-time magnitude error changes with increasing numbers of triggered stations when our method is applied to the events (M ≤ 7). At the initial stage of the earthquakes (1–2 triggered stations), the magnitude estimation errors for the APTW and Pd3s methods both have large deviations; then the errors of both show a tendency to gradually approach zero as the number of triggered stations continues to increase. To clearly display the performance of the methods in the early stage, a distribution histogram of the magnitude estimation errors when applying the two methods and when only the first three stations are triggered is shown in Fig. 9b. As shown in the figure, 38% of the magnitude estimation errors are within ± 0.5 and 73% are within ± 1 for the Pd3s method, while 63% of the magnitude estimation errors are within ± 0.5 and 91% are within ± 1 when applying the APTW method. The APTW method can be shown to not cause instabilities in the magnitude estimation associated with the use of a shorter time window. However, the accuracy is significantly improved relative to the Pd3s method (increasing from 38 to 63%) within the ± 0.5 range of the magnitude estimation error after applying the APTW method. In addition, the estimation error of the APTW method is mostly distributed around + 0.25, while the real-time magnitude estimation result of the Pd3s method is distributed around + 0.5. This indicates that the fixed 3-s time window for near-source stations may include S waves, leading to a certain degree of magnitude overestimation; conversely the APTW method avoids introducing S waves and reduces the magnitude overestimation caused by near-source stations.

Fig. 9
figure 9

a The magnitude estimated error changes with the increasing triggered stations. The red dashed line and solid gray line represent the results obtained by APTW method and Pd3s method, respectively. b The distribution histogram of the magnitude estimation errors by applying two methods when the first 3 stations are triggered. The gray area and the light red area represent the estimation result of Pd3s method and APTW method, respectively

The timeliness of the release of early warning information is often affected by the station spacing and the trigger times of the near-source stations. Therefore, we also plotted time [s] from the event origin time versus the magnitude estimation errors (Fig. 10). The change in the standard deviation of the absolute value of the magnitude estimation error and the average absolute value of the magnitude estimation error in the time interval 5–20 s after the earthquake occurred are shown in Fig. 10b, c, respectively. Because the APTW method requires a shorter time window in the near field (R < 30 km), it can obtain a magnitude estimate faster than the Pd3s method. Figure 10c shows that the average error of the magnitude estimation for the Pd3s method is 1.20 magnitude units 5 s after the occurrence of an earthquake (for comparison, the average error of the magnitude estimation for the APTW method is 0.61 magnitude units). The APTW method obviously has higher accuracy compared with the Pd3s method at the early stage of an earthquake. As time increases, the average magnitude estimation error when applying both methods gradually and steadily decreases, with the two methods having nearly the same error approximately 10 s after the earthquake occurrence.

Fig. 10
figure 10

Plots of time (s) from the event origin time (OT) vs. a The magnitude estimated error, b the standard deviation of the magnitude estimated error, c the mean value of the magnitude estimated error. The red dashed line and solid gray line represent the results obtained by APTW method and Pd3s method, respectively

Figure 11 shows real-time estimation results when applying both methods to the April 20, 2013, Ms 7.0 Lushan earthquake. Both methods provide a magnitude estimate close to the catalog magnitude (dashed line) 9 s after the earthquake occurred and maintain a stable estimate with the addition of subsequent stations. The two methods differ in performance: the Pd3s method overestimates the magnitude (by 0.53 magnitude units) when the closest two stations are triggered, whereas the APTW method provides a first magnitude estimate (6.8) close to the catalog magnitude, 0.5 s earlier than the first result of the Pd3s method.

Fig. 11
figure 11

Plots of time (s) from the event origin time vs. the magnitude estimated results of the 2013/04/20 Ms 7.0 Lushan earthquake obtained by a APTW method and b the Pd3s method. The light green circles and red triangles represent the results obtained by single Pd and Pv, respectively. The black circles and triangles represent the magnitude estimates using Pd and Pv by averaging all the available stations, respectively. The dashed line represents the catalog magnitude

4.2 Improvement in and Timeliness of Estimation of Large Earthquakes

To demonstrate the performance of the APTW method when predicting large earthquakes, the time evolutions of the magnitude estimations obtained by applying the APTW and Pd3s methods to the May 12, 2008, Ms 8.0 Wenchuan earthquake are given in Fig. 12. As shown in Fig. 12b, the Pd3s method obtained the first estimated magnitude of 6.8 approximately 7.3 s after the earthquake occurred. With just the first three stations triggered (11.1 s after earthquake occurrence), the magnitude estimate stabilized at 6.4; however, because of the addition of distant stations and the insufficient time window, the magnitude estimate gradually decreased. At 20 s after the Wenchuan earthquake, the estimated magnitude given by the Pd3s method finally stabilized at 5.9 (2.1 magnitude units lower than the catalog magnitude).

Fig. 12
figure 12

Plots of time (s) from the event origin time vs. the magnitude estimated results of the 2008/05/12 Ms 8.0 Wenchuan earthquake obtained by a APTW method and b the Pd3s method. The light green circles and red triangles represent the results obtained by single Pd and Pv, respectively. The black circles and triangles represent the magnitude estimates using Pd and Pv by averaging all the available stations, respectively. The dashed line represents the catalog magnitude

In contrast, the APTW method provided the first estimated magnitude of 6.8 just 2.5 s after the first P wave was triggered (6.8 s after earthquake occurrence). This magnitude estimate remained unchanged until the first three stations were triggered. Incorporating the information from more distant stations, the magnitude underestimation gradually improved and the final estimated magnitude value stabilized at 7.4 at 22 s after the Wenchuan earthquake.

5 Discussion

Empirical relationships of early warning parameters have typically been established in a fixed PTW for magnitude estimation in EEWSs. In this study, we investigated the performance of serval early warning parameters related to the amplitude, frequency, and energy of seismic P waves in terms of the impact of the time window on the magnitude estimation based on a Chinese strong-motion dataset covering the period 2007–2015. The good performance of the APTW method was demonstrated throughout our study. In this section, we consider several issues concerning the feasibility of future applications and possible improvements for EEWSs in other areas.

We discussed the rationality of applying the APTW to establish magnitude-scaling relationships. The APTWs were defined as the time intervals from the P-wave onset to the S-wave arrival; thus, the parameters were calculated over different PTWs based on the hypocentral distances of the triggered stations. As a result of filtering and propagation effects, the P-wave peaks of the displacements of far stations may arrive later; therefore, a longer time window is needed to enable the far stations to better capture the P-wave peaks. Furthermore, using the established relationships, we showed that parameter values with different time windows are randomly distributed in the same earthquake, which indicates that averaging the parameters calculated from different time windows for each earthquake to establish the magnitude-scaling relationships is reasonable.

The amplitude-based parameters (Pd10km and Pv10km) are more suitable for applications of the APTW method. The magnitude prediction equations of these parameters have RMSE values of 0.262 and 0.381 magnitude units, respectively. The relationship of the Pd parameter in the APTWs shows a consistently increasing trend without any saturation effect for M up to 7, and the underestimation of the Ms 8.0 Wenchuan earthquake was improved compared with the results found when applying the Pd3s method. Unlike the Pd parameter, the averaged Pv10km values scale with magnitude without saturation for all events. This difference may stem from the different processing steps for the integrated velocity and displacement. Because the integrated velocity waveform rarely shows severe baseline drift, it is not necessary to apply a high-pass filter for the velocity; accordingly, more low-frequency components of large events are retained. Similarly, the energy-based parameter IV2 calculated from the 0.05–10 Hz band-pass-filtered velocity also results in underestimation of the Ms 8.0 Wenchuan earthquake. Although applying APTW improves the correlation between IV2 and magnitude, the process includes more phases (reflected, converted) at larger distances than the direct P wave, producing potentially inconsistent estimations of the energy released during an earthquake. Unlike the amplitude parameters, the frequency-based parameters (τpmax and τc) are less affected by the PTW and are more sensitive to the processing procedures (e.g., high-pass filtering) and data quality.

The values of the coefficient A in Eq. (2) are lower than those expected from scaling relationships (e.g., A = 1 for Pd and A = 1.5 for IV2). A similar phenomenon was found in other studies; for example, Wu and Zhao (2006) used data for 25 regional earthquakes from the Southern California Seismic Network catalog with M ≥ 4.0 to obtain the Pd relationship and obtained a coefficient of magnitude item of 0.63. Comparison of the distribution of Pd values from our dataset with the relationship of Wu and Zhao (2006) (Supplementary Fig. S2) showed that the relationship of Wu and Zhao (2006) is almost the same as our data distribution. Lancieri et al. (2011) used a dataset containing the Mw 7.8 Tocopilla, Chile, earthquake and its aftershocks to study the magnitude-scaling relationship and found that the coefficient of the magnitude differs for the strong motion and broadband instruments; in the magnitude range of 4–6, the value obtained using the strong-motion data was 0.69, while the value obtained using the broadband data was 1.06, closer to the expected value. The lower coefficients seen in our relationship are partly due to the low-frequency noise that dominates the displacement signal (obtained by a double integration of the recorded accelerations) and may also be due to the regional characteristics of the P-wave amplitudes.

The original purpose of the APTW was to minimize the underestimation for M > 6 events. The APTW method is more consistent with the characteristics of the rupture processes of earthquakes with different scales. Small events finish rupturing quickly, and for these events, the magnitude estimates are available within a short time following the first P-wave detection with no need to extend PTW. For large events, the expansion of the hypocentral distance allows a longer P-wave signal portion to be captured, providing robust magnitude estimates. Colombelli and Zollo (2015) investigated the time (TPL) when the LPDT curve reached the plateau (the time of convergence): the TPL can be regarded as the peak time of the source time function. They found that the TPL is approximately 0.5–1 s for events in the range M 4–5, 2–10 s for M 6–7, and approximately 20–25 s for larger earthquakes (M 8–8.5). Thus, to avoid possible underestimation of large events caused by insufficient PTW, the APTW method helps to capture the peak value of P waves within different time windows corresponding to different magnitudes to the greatest extent at each moment after the earthquake occurs.

The APTW method reduces the pull-down effect caused by the subsequent triggering of stations with shorter time windows. During the Mw 7.1 Ridgecrest earthquake that occurred in southern California in 2019, the ShakeAlert EEWS directly averaged the magnitude estimates of all triggering stations at a given moment, such that the magnitude estimates (M 4.1 and M 5.4) of the two stations that received only 0.26 s and 1.03 s of data directly participated in the average of the first four triggered stations, pulling down the average magnitude (5.5) in the initial report, which constituted a serious underestimation of the actual magnitude (Chung et al., 2020). This type of error is greatly reduced when applying the APTW method. As Fig. 11a shows, the far stations are added to the magnitude estimation only when the length of the data reaches the APTW; this ensures that the magnitude estimation is not affected by stations with less available data.

Even though applying the APTW method can reduce the degree of underestimation associated with large earthquakes, the algorithm starts with a biased estimate for near stations with shorter P-wave time windows, and these biases are not corrected when analyzing data at farther stations. Wang et al. (2020) focused on near-field stations and proposed judging whether an earthquake was large or small based on a pre-established threshold to adopt different magnitude estimation strategies. An appropriate approach to correct the initial bias could be to combine these two methods. For example, the two methods can run in parallel after an earthquake occurs. Then, once the threshold-based method determines that the ongoing earthquake is a large event, the magnitude estimation results can be set to the averaged value of the two approaches. The performance would then be improved by using the result of the threshold-based magnitude estimation method to correct the initial bias of the near-field stations for large events.

6 Conclusion

In this study, we proposed a method to establish several magnitude-scaling relationships (Pd, Pv, IV2, τpmax, and τc) by using the APTW and explored a real-time approach that integrates the use of Pd (the highest correlation with magnitude) and Pv (having a good performance in predicting large events) using APTWs to estimate the magnitude.

We used an offline simulation to demonstrate the feasibility of the APTW method. The results show that applying the APTW method can provide estimates earlier and that the estimated magnitude is more stable and gradually approaches the catalog magnitude in comparison with a fixed PTW approach. Furthermore, less time is needed to provide an earthquake magnitude estimate, such that a greater lead time is available for the public to take emergency measures. The proposed method provides a new approach to estimate the magnitude for an EEWS, and further testing of data from other regions will be used to further develop the method.