1 Introduction

MEDUSA is an innovative research infrastructure for monitoring shallow water seafloor displacement in Campi Flegrei volcanic area that consists of four anchored spar buoys installed in the Gulf of Pozzuoli at 1.1 to 2.4 km from the coast and water depths less than 100 m (see Fig. 1). The buoys are equipped with geophysical and oceanographic instrumentation that transmit real time data to the INGV monitoring center in Naples.

Fig. 1
figure 1

Panel a: map of the Campi Flegrei area showing the locations of the onland cGPS stations and the four buoys (CFBA (A), CFBB (B), CFBC (C) and CFSB (CUMAS)) of the MEDUSA infrastructure in the Gulf of Pozzuoli. Panel b: scheme of a buoy showing the position of the GPS antenna

Among other instrumentation (see Iannaccone et al. 2010), cGPS receivers and digital compass sensors (Iannaccone et al. 2009, 2018) are installed on the top of four buoys of MEDUSA, namely CFBA (A), CFBB (B), CFBC (C) and CFSB (CUMAS). The cGPS stations supply continuous position measurements along the North–South (NS), East–West (EW) and vertical (Up) directions. The data collected from the cGPS stations on the four MEDUSA buoys are processed in kinematic mode with the open-source software RTKLIB ver. 2.4.2Footnote 1 to obtain positions every 30 s. The cGPS station LICO, located at a distance of about 10 km from the caldera center (red triangle in Fig. 1), is the reference station in the data processing (a full description of the kinematic cGPS processing is reported in De Martino et al. 2014).

The compass sensors (see Appendix A), measuring the attitude of the buoy, provide three angles, roll, pitch and yaw (heading) of the buoy reference system, according to the Tait–Bryan convention (Henderson 1977).

The measurements of both these instruments can be jointly used to recover the sea bottom deformation down to millimeter accuracy in presence of oscillations of the top of the buoy caused by marine and weather conditions (Xie et al. 2019).

MEDUSA pole buoys, once deployed, behave like inverse pendulums. Their equilibrium positions, when unperturbed, stand along the vertical from the sea bottom. The most relevant deviations from the vertical equilibrium position are caused by environmental forces. Nonetheless, undisturbed buoys, i.e., also in calm sea and absence of wind and currents, can be subject to very small vibration around their vertical position, due to mechanical resonances of the system.

The positions measured by the cGPS installed on the buoys result from a combination of the seafloor deformation and of the displacement of the pole from the equilibrium due to environmental forcing. The latter can be much larger than the seafloor deformation and should be properly taken into account in the analysis and possibly accurately removed in order to recover the horizontal seafloor displacements. The recovery of the vertical component has already been described in De Martino et al. (2014, 2020).

The Mogi model (Mogi 1958) simulates a small spherical expansion source embedded in a homogeneous, isotropic, Poisson-solid half-space (Masterlark 2007), assuming that the crust is a semi-elastic medium and the occurring deformation is due to a source of pressure in the form of a spherical magma shape located at a certain depth (Sarsito et al. 2019). Thus, adopting a source location, depth and pressure change, this representation predicts the extent and magnitude of the resulting surface deformation pattern. We assume the convention that negative angles on the coordinate plane are angles that go in a clockwise direction and define the horizontal deformation angle, \(\alpha \), caused by the seabed displacement in the caldera as the angle from the East direction.

A previous analysis of the horizontal time series acquired by MEDUSA buoys has been performed by De Martino et al. (2020) during the period from 1 July 2017 to 31 May 2020 using cGPS data only. Being the prototypical CUMAS station characterized by a very high noise level, it was not included in their horizontal component study. Regarding the B and C buoys, the authors found a good agreement with the predictions of the Mogi model which best fits the displacement measured at the 27 cGPS stations of the Campi Flegrei onland monitoring network and the MEDUSA buoys over that period. At the buoy A site, the same model predicts a horizontal seafloor deformation with a speed \(v_{M}\) = 3.32 cm/yr and an angle \(\alpha _{M} = -112.31^{\circ }\). From the analysis of the horizontal time series, the authors found instead a speed \(v_{A} = (5.19 \pm 0.27)\) cm/yr and an angle \(\alpha _{A} = (-91.32 \pm 0.89)^{\circ }\). Compared to the model, this measurement presents a significant disagreement, at a level of \(\simeq \) 6.9 \(\sigma \), for the horizontal speed and a large inconsistency, at a level of \(\simeq \) 23.7 \(\sigma \), for the deformation angle, implying a corresponding horizontal seafloor deformation velocity vector pretty incompatible with the prediction of the Mogi model with the adopted parameters, likely due to the position of this buoy relatively close to the navigation routes in the gulf.

To assess this discrepancy, we developed a new approach including in the analysis both available cGPS and compass data, and applied this method to the buoy A measurements. The angles provided by the compass sensor are used to analyze the cGPS positions correcting for the effect of the pole inclination and finally to derive with a linear best fit the sea bottom horizontal velocity vector at buoy A site. Indeed, if the effects of environmental forces, which are the main source of the deviations of the pole from the vertical equilibrium position, cannot be assumed as strictly periodic, their effective average contribution does not simply cancel out in the analysis of the time series over a suitable time interval. A proper correction for such deviations is instead necessary to avoid a wrong estimation of the seafloor deformation velocity based on the exploitation of cGPS buoy positions.

Having the CFBA and CFBC buoys the same configuration, we validated the proposed method applying it to the buoy C measurements, but for a limited time interval because of a problem occurred during data acquisition (see Appendix B).

Compared to previous works presented in Xie et al. (2019) and De Martino et al. (2020), the novelty of the methodological approach presented in this paper consists in the combination of four main aspects:

(i) The estimation of the uncertainties of the compass sensor output angles through a stacking method based on the analysis of the real data coming from the cGPS and the compass and its inclusion in the subsequent data analysis;

(ii) The correction of the cGPS data through compass data, ingesting the previous step in the analysis, to account for the pole inclination which, if not taken into account, can alter the horizontal seafloor deformation estimation;

(iii) The comparison between the results based on sets of data extracted for different maximum pole inclinations up to 3.5 \(^{\circ }\) and the convergence of the retrieved parameters for increasing pole inclinations;

(iv) The analysis of the impact of the main systematic effects on the estimated parameters.

The paper is organized as follows. In Sect. 2, we describe the theoretical method implemented to derive the horizontal seabed displacement and the associated error jointly accounting for cGPS and compass measurements. Section 3 presents the data selection and the analysis, including an original preprocessing aimed at the evaluation of the error to be associated with the compass data and the estimation of the impact of the main systematic effects. The main results are given in Sect. 4 and compared with the previous ones and with the adopted deformation model. In Sect. 5, we draw our conclusions and discuss potential developments. In Appendix A, we provide some technical details about the compass sensors and, in Appendix B, we present the results derived applying the same approach to the CFBC data to cross check the validity of the method.

2 Seafloor horizontal displacement

Let us consider a buoy connected to the seabed with a pole of length L. The instantaneous position of the top of the buoy depends on the orientation of the pole induced by environmental forcing and on possible seafloor motion (because of the Campi Flegrei caldera dynamics). The amount of the displacement of the buoy top from the vertical position at each sample is given by a set of three angles. In the plane defined by the N (South \(\rightarrow \) North) and E (West \(\rightarrow \) East) directions, the seabed horizontal displacement at each time series sample is given by the displacement measured by the cGPS and the one recovered from the compass data related to the inclination of the pole.

The shift due to the pole inclination vanishes when the buoy stands along the vertical position, characterized by zero values of two tilt (roll and pitch) angles. Differently, it can be evaluated on the basis of the rotation matrix defined by the compass data (Xie et al. 2019). Given the pole length, the rotation matrix allows the computation of the two components, \({d}_{E,N}^{C}\), to be subtracted from cGPS horizontal measurements, \(d_{E,N}^{G}\), to obtain the corrected seabed horizontal position, \(d_{E,N}\).

We choose the ground reference system, solidal with the Earth, consisting of a set of three right-handed axes along the East (E), North (N), Up (U) directions (ENU reference system). Defining the origin of the system in the junction of the pole with the buoy ballast laying on the seabed, when the buoy is unperturbed, the cGPS position is determined by the coordinates (0, 0, L). The buoy A, deployed at a depth of 40 m, has a 43 m pole connecting the float and subaerial part to the ballast placed at the seabed and the distance between the junction and the cGPS is 47.5 m, i.e., the L pole length. The orientation of the pole with respect to the ground reference frame can be defined by a set of three Tait–Bryan angles \( \phi ,\, \theta ,\,\psi \) that give the rotations around the \(E,\, N, \, U\) axis, respectively, according to the right-hand rule. Here \(\phi \) is the pitch angle, \(\theta \) the roll angle and \(\psi \) the heading angle. We set these angles to zero when the pole is in equilibrium, that is, if both its inclination with respect to the vertical direction and its rotation around its own axis, due to a possible twist, vanish.

We defined \(R(\psi ,\theta ,\phi )\) the rotation that transforms the fixed frame into the frame of the buoy in terms of a sequence of three consecutive rotations around each axis (R is the unitary matrix for \( \phi = \theta = \psi = 0\)). Since rotations do not commute, working in the ENU reference system, we firstly rotate about the E axis, then around the N axis and, finally, about the U axis:

$$\begin{aligned} R(\psi ,\theta ,\phi ) = R_{U} (\psi ) \cdot R_{N} (\theta ) \cdot R_{E} (\phi ) \,. \end{aligned}$$
(1)

The rotation matrix of an angle \(\phi \) about the E axis is given by

$$\begin{aligned} R_{E} (\phi ) = \begin{bmatrix} 1 &{} 0 &{} 0 \\ 0 &{} \cos \phi &{} -\sin \phi \\ 0 &{} \sin \phi &{} \cos \phi \end{bmatrix}, \end{aligned}$$
(2)

while the rotation of an angle \(\theta \) about the N axis is defined as

$$\begin{aligned} R_{N} (\theta ) = \begin{bmatrix} \cos \theta &{} 0 &{} \sin \theta \\ 0 &{} 1 &{} 0 \\ -\sin \theta &{} 0 &{} \cos \theta \end{bmatrix}, \end{aligned}$$
(3)

and, finally, the rotation of an angle \(\psi \) about the U axis is represented by

$$\begin{aligned} R_{U} (\psi ) = \begin{bmatrix} \cos \psi &{} -\sin \psi &{} 0 \\ \sin \psi &{} \cos \psi &{} 0 \\ 0 &{} 0 &{} 1 \end{bmatrix}. \end{aligned}$$
(4)
Fig. 2
figure 2

Sketch of the buoy. See also the text

Applying the rotation matrix to the rotated vector is possible to compute the two horizontal corrections to be subtracted to the cGPS components to theoretically “bring back” the buoy in vertical position

$$\begin{aligned} d_{E}^{C} = L \, [\cos \phi \,\sin \theta \, \cos \psi + \sin \phi \, \sin \psi ] \end{aligned}$$
(5)

for the E component and

$$\begin{aligned} d_{N}^{C} = L \, [\cos \phi \,\sin \theta \,\sin \psi - \sin \phi \,\cos \psi ] \end{aligned}$$
(6)

for the N component. \(d_{E}^{C}\) and \(d_{N}^{C}\) give the distance, \(D = L \, \sin \gamma \) \( = \sqrt{\left( {d_{E}^{C}}\right) ^2 + \left( {d_{N}^{C}}\right) ^2}\), of the cGPS from the vertical axis passing from the junction of the pole with the ballast, \(\gamma \) being the angle between the vertical axis and the pole direction, that is, the pole inclination; \(\sin ^2 \gamma = \cos ^2 \phi \, \sin ^2 \theta + \sin ^2 \phi \), with \(\gamma \simeq \sqrt{\phi ^2 + \theta ^2}\) for very small \(\phi \) and \(\theta \) (see Fig. 2).

The propagation error on the correction of the E component is

$$\begin{aligned} \sigma (d_{E}^{C})= & {} \, \Bigl [ \Delta L^{2} \Bigl ( \sin \phi \, \sin \psi + \cos \phi \, \sin \theta \,\cos \psi \Bigr )^{2}\nonumber \\{} & {} + L^{2} \Delta \phi ^{2} \Bigl ( \cos \phi \,\sin \psi - \sin \phi \,\sin \theta \,\cos \psi \Bigr )^{2} \nonumber \\{} & {} + L^{2} \Delta \theta ^{2} \Bigl ( \cos \phi \, \cos \theta \,\cos \psi \Bigr )^{2} \nonumber \\{} & {} + L^{2} \Delta \psi ^{2} \Bigl ( \sin \phi \,\cos \psi - \cos \phi \,\sin \theta \,\sin \psi \Bigr )^{2} \Bigr ]^{1/2} \, ,\nonumber \\ \end{aligned}$$
(7)

and, analogously, that on the correction of the N component is

$$\begin{aligned} \sigma (d_{N}^{C})= & {} \, \Bigl [ \Delta L^{2} \Bigl ( \sin \phi \,\cos \psi - \cos \phi \, \sin \theta \, \sin \psi \Bigr )^{2} \nonumber \\{} & {} + L^{2} \Delta \phi ^{2} \Bigl (\cos \phi \, \cos \psi + \sin \phi \, \sin \theta \, \sin \psi \Bigr )^{2} \nonumber \\{} & {} + L^{2} \Delta \theta ^{2} \Bigl (\cos \phi \, \cos \theta \,\sin \psi \Bigr )^{2} \nonumber \\{} & {} + L^{2} \Delta \psi ^{2} \Bigl ( \sin \phi \, \sin \psi \!+\! \cos \phi \,\sin \theta \,\cos \psi \Bigr )^{2}\Bigr ]^{1/2} \, .\nonumber \\ \end{aligned}$$
(8)

In Eqs. (7) and (8), \(\Delta L\), \(\Delta \phi = \Delta \phi _{C}\), \(\Delta \theta = \Delta \theta _{C}\) and \(\Delta \psi = \Delta \psi _{C}\) are the rms errors on L, \(\phi \), \(\theta \) and \(\psi \) (or, equivalently, on \(\phi _{C}\), \(\theta _{C}\) and \(\psi _{C}\)).

The relationships between \(\phi \), \(\theta \) and \(\psi \) and the output angles provided by the compass, \(\phi _{C}\), \(\theta _{C}\) and \(\psi _{C}\), are related to the conventions about the signs of compass outputs. For the compass installed on the buoy A, \(\phi = -\phi _{C}\) and \(\theta = \theta _{C}\). Since \(\psi \) is defined according to the right-hand rule, whereas \(\psi _{C}\), as conventional, increases from North to East, they increase in the opposite sense. The relationship between \(\psi \) and \(\psi _{C}\) should also account for: (i) an offset between the zero point of the compass and the pole because of the arbitrary azimuthal orientation of the compass; (ii) the geomagnetic correction, \(\psi _{M}(t)\), which is calculated using the World Magnetic ModelFootnote 2 once given the coordinates of the buoy and the period of interest, and turns to be \(\psi _{M}(t) \simeq -3.4^{\circ }\); \(\mathrm{iii)}\) the magnetic field induced by the iron buoy pole which affects the measures of \(\psi _{C}\), typically of some degrees, calling for an accurate calibration of the response curve to properly perform the corresponding correction. Indeed, the mean of \(\psi _{C}\) is very far from zero. In principle, while the correction term from \(\textrm{i})\) should be a constant, the ones from \(\mathrm{ii)}\) and \(\mathrm{iii)}\) depend on the detailed distributions of t and \(\psi _{C}\), respectively, for the set of samples specifically considered, but the impact of the variations in these distributions among various considered sets of samples in the period of interest is expected be weak. In the absence of information about (i) and (iii), we can at least remove from the data a suitable estimate of the mean value of \(\psi _{C}\) to effectively correct for the three effects. The relationship between \(\psi \) and \(\psi _{C}\) is then \(\psi = - (\psi _{C} - \psi _{0})\), where \(\psi _{0}\) is a suitable estimate of the mean value of \(\psi _{C}\), as discussed in the next sections.

In general, when assuming the buoy in vertical position, \(\phi =\theta =0\), the horizontal corrections \(d_{E}^{C}\) and \(d_{N}^{C}\) vanish (see Eqs. 5 and 6), but various contributions to the associated errors never cancel out and depend on the specific sample (see Eqs. 7 and 8). For very small \(\phi \), \(\theta \) and \(\psi \), \(d_{E}^{C} \simeq L \, \theta \) and \(d_{N}^{C} \simeq -L \, \phi \), and their errors are dominated by the terms \(L \, \Delta \theta \) and \(L \, \Delta \phi \), respectively.

3 Data selection and algorithm

We considered the data available for the period from 1 July 2017 up to 31 May 2020. To derive the horizontal displacement of the seafloor, a dedicated routine has been implemented which includes selection criteria and data cleaning to reject the most affected measurements because of bad weather condition and instabilities in the communication system, and the subsequent analysis.

Initially, NaN values due to communication errors between the geodetic cGPS sensors and the ground station have been removed from the records. Since the cGPS data are sampled every 30 s while the compass data are recorded each 10 s, we extracted the only compass data having the same timestamp of the cGPS measurements. Successively, the temporally synchronized data were stored in a single matrix collecting the time, the E and N cGPS values and the three angles from the compass. Furthermore, we applied a cleaning routine to discard eventual spikes entering the data by excluding the samples for which at least one of the above variables differs from the average by more than 10 times the corresponding standard deviation, thus avoiding highly contaminated data.

The code allows to perform the analysis in different conditions by introducing a set of cutoff thresholds to be applied to the data. First, we selected data with U positions in a desired interval and with E and N components inside a circular or rectangular area, which are \(z_{cut}\) for the U component and \(h_{cut}\) for the horizontal directions. Here, we assumed \(z_{cut}\) = \(\pm 30\) cm and a circular selection defined by a radius \(h_{cut}\) = 2 m. We verified that setting the \(h_{cut}\) at 4 m gives substantially the same number of data. The vertical limit, much larger than the measured displacement, further removes data potentially affected by bad weather and tidal conditions. Then, we defined a compass cutoff variable, \(c_{cut}\), equal for the pitch and roll angles to select square boxes. The \(c_{cut}\) parameter was increased of \(0.1^{\circ }\) step at each run, starting from the vertical position, which, as already mentioned, corresponds to null pitch and roll angles (\(\phi = \theta = 0^{\circ }\)), up to inclinations identified by \( \mid \phi \mid \, = \, \mid \theta \mid \, = 3.5\,^{\circ } \), for a total of 36 runs.

In general, starting from 2,289,352 data, 65,641 of them (\(\sim \) 2.87 %) are excluded from the analysis because of missing values, spikes and cGPS cutoff. The data analysis assuming the buoy in vertical position does not require any correction to cGPS data (see Eqs. 5 and 6), but significantly reduces the fraction of the considered samples (see Table 1): only a fraction of \(\sim 0.59\%\) of the remaining \(\sim 2.2 \times 10^{6}\) samples satisfies this condition.

Figure 3 represents the data number for each run and the percentage increase, \(\Delta I_{\%}\), between two consecutive runs such as, if i and \(i+1\) are two successive runs, \(\Delta I_{\%, i+1} = (N_{d, i+1}- N_{d, i}) / N_{d, i} \cdot 100\) where \(N_{d}\) is the data number. As shown in the plot, extending the values of the inclination of the buoy initially results into a relevant increase of the data accounted in the analysis, but the relative increase in the data number decreases for increasing cutoffs.

Table 1 Number and percentage of data analyzed at some selected run as function of the maximum value of \(\mid \phi \mid \) and \(\mid \theta \mid \)
Fig. 3
figure 3

Number of data for each run (solid blue line and asterisks) and percentage increase with respect to the previous run (dashed red line and asterisks)

Regarding the vertical component, Eq. (1) gives a correction

$$\begin{aligned} d_{U}^{C} = L \, (1 - \cos \phi \,\cos \theta ) \simeq \frac{L}{2} (\phi ^{2} + \theta ^{2}) \simeq \frac{L}{2} \gamma ^{2} \end{aligned}$$
(9)

to be added to the measured cGPS Up component to consider the pole inclination. We applied a linear fit to the measured vertical shift as function of time accounting or not for the above correction. We verified that including the correction does not change significantly the retrieved best fit velocity, as in principle expected, because the correction depends only at the second order of the pole inclination angle \(\gamma \), differently from the case of the horizontal components where it appears at the first order. In principle, the maximum correction value from Eq. (9) could achieve \(\sim 17\) cm for \(\phi = \theta = 3.5^{\circ }\), but we expect that the overall impact on the vertical velocity estimation is strongly suppressed in the fit. Numerically, we find in fact a velocity \(\sim 0.7\%\) smaller than the one derived without correction, a difference that amounts to only 1/3 of the \(1\, \sigma \) error quoted in De Martino et al. (2020). We find results in excellent agreement with the ones reported in De Martino et al. (2020); thus, we will focus only on horizontal displacements.

3.1 Error evaluation from data

The errors on the recovered horizontal corrections, given by Eqs. (5) and (6), were estimated using the propagation formulas in Eqs. (7) and (8). According to the design drawings and the mechanical construction of the entire pole, a suitable estimation of the rms error on the pole length is \(\Delta L = 2\) cm. The rms errors \(\Delta \phi \), \(\Delta \theta \) and \(\Delta \psi \) in dynamic conditions are expected to be larger than the nominal resolutions of \(0.1^{\circ }\) and \(0.8^{\circ }\) (see Appendix A), representing a suitable estimate of the rms errors of the measurement when taken in static conditions, and need to be quoted from the data, as outlined below.

Fig. 4
figure 4

Surface representation of the rms uncertainty for the compass output pitch (top panel), roll (middle panel) and heading (bottom panel) angle. In all plots, we show the stacked rms values (in red) and the corresponding fitted surface (in blue) as function of the displacements x and y. The two surfaces are almost superimposed since the fit is extremely accurate

We considered data within one week in order to have a time interval small enough to assume that the seabed displacement is negligible, on one side, and large enough to enclose a sufficient number of data for a suitable statistical evaluation, on the other. In this range, we first identified those data having null pitch and roll and computed their averaged values for the E and N components. These averages are then subtracted to all the corresponding data of each chunk to obtain the corresponding displacements, x and y, respectively. We then divided the horizontal plane in a fixed grid of \(11 \times 11\) points with a step size corresponding to the projection of the 0.1\(^{\circ }\) resolution step of roll and pitch angles, that is \(\Delta _{E,N} = L \, \sin (0.1\,^{\circ }) \simeq 8.29\) cm, evaluated the rms of the three compass angles within each week and finally stacked the results of different weeks. Each of the three resulting surfaces can be well fitted by a sixth order 2D polynomial (see Fig. 4) which provides a good estimate of the errors to be associated with \(\phi , \, \theta \) and \(\psi \). The fitted polynomial function is:

$$\begin{aligned} f(x, y) = \sum k_{j,i} \cdot x^{i} \cdot y^{j} \,, \end{aligned}$$
(10)

with i and j from 0 to 6, \(k_{j,i}\) being the set of coefficients of a 2D-polynomial function that, for us, corresponds to the pitch, roll and heading rms stacking evaluations as functions of x and y. In Fig. 4, we compare the reconstructed surface rms (in red) and the generated fit (in blue) for the three angles. As emerges from the plots, the pitch and roll rms values vary in a small range along the horizontal plane. The behavior of the heading rms surface, varying from \(\simeq \)\(^{\circ }\) up to \(\simeq \)\(^{\circ }\), is very different from the other two and it exhibits a stronger variation on the horizontal plane. Their resulting averaged rms values are \(\Delta \phi = (0.800 \pm 0.168)^{\circ }\), \(\Delta \theta = (0.902 \pm 0.208)^{\circ }\) and \(\Delta \psi = (4.95 \pm 1.04)^{\circ }\) at 1 \(\sigma \) error. The polynomial fits represented by Eq. (10) well characterize the rms shapes, at least for the 96% of the data, with the module of the relative deviation from the retrieved surface value which is \(\lesssim \) 3.5% for the pitch angle and \(\lesssim \) 3% for the roll and heading angles. Increasing the degree of the 2D polynomial function does not appreciably improve the quality of the surface representation. For the remaining fraction of data, less than 4%, where the excursion x and y from the center of the grid is far from the region of validity of Eq. (10), we set \(\Delta \phi \), \(\Delta \theta \) and \(\Delta \psi \) to their corresponding averaged rms plus (or minus) 3 \(\sigma \) if the polynomial fit predicts larger (or smaller) values.

To verify the robustness of this error estimates with respect to the size of the data chunk, we finally checked that the above results do not significantly change if we consider a time interval of one month instead of a week.

3.2 Parameter estimation

As anticipated in Sect. 2, we first subtracted a suitable estimate of the compass output heading angle when the buoy is in equilibrium: we removed the weighted average when the buoy is in vertical position, which gives a value of \(\psi _{0} = 37.895^{\circ }\).

We performed a \(\chi ^{2}\) analysis based on the comparison of the expected displacement along the two directions, \(d_{E,N}^{fit}\), and the observed quantities possibly corrected as described above.

Table 2 Raw data best-fit estimation of the velocity components along the horizontal directions, the speed, the deformation angle, their statistical errors and the global reduced \(\chi ^{2}\) summed over the two components for selected dataset identified by the inclination of the buoy (first column)

Assuming a linear fit, the model is described by two variables for each of the two components of the horizontal shift \(d_{E,N}^{fit} = (A_{E,N} + B_{E,N} \,t)\) as function of time. We performed a fit for each considered cutoff in \(\phi \) and \(\theta \) characterizing the maximum inclination of the buoy. The minimum of the \(\chi ^{2}\) can be determined minimizing with a least square approach over the two fitting parameters (Bevington and Robinson 2003). For each run, we evaluated the \(\chi ^{2}_{E,N}\) along each E and N direction

$$\begin{aligned} \chi ^{2}_{E} = \sum _{i} \frac{[(A_{E} + B_{E} t_{i}) - d_{E,i}]^{2}}{\sigma ^{2} (d_{E,i}^C) + \sigma ^{2}_{G}} \,, \end{aligned}$$
(11)

and

$$\begin{aligned} \chi ^{2}_{N} = \sum _{i} \frac{[(A_{N} + B_{N} t_{i}) - d_{N,i}]^{2}}{\sigma ^{2} (d_{N,i}^C) + \sigma ^{2}_{G}} \,. \end{aligned}$$
(12)

where \(i=1,\, N_{d}\) and \(\sigma _{G} = 3\) cm is a suitable estimate of the rms error of the cGPs E and N measurements. In these equations, \(d_{E,N} = d_{E,N}^{G} - {d}_{E,N}^{C}\) to perform the correction for the pole inclination (see also Eqs. 5, 6, 7 and 8). For the analysis of the raw data, i.e., neglecting the correction for the pole inclination and using only the cGPs data, we obviously set instead \(d_{E,N} = d_{E,N}^{G}\) and \(\sigma ^{2} (d_{E,N}^C) = 0\).

The corresponding reduced \(\chi ^{2}\) are \(\chi ^{2}_{E,red} = \chi ^{2}_{E}/n\) and \(\chi ^{2}_{N,red} = \chi ^{2}_{N}/n\) where \(n = N_{d}-2\) is the total number of data (see Table 1) minus the number of fitted parameters.

4 Results

In this section, we describe the best fit results on the seafloor displacement derived individually for each adopted cutoff. The horizontal deformation angle is given by the arctangent of the ratio between the displacement along the N direction and the one along the E direction or, analogously, their corresponding velocities, \(\alpha = \text {atan} (d_{N}/d_{E}) = \text {atan} (v_{N}/v_{E})\).

The error on the speed, \(\sigma (v)\), can been derived with the standard propagation from the uncertainty in the two velocity components

$$\begin{aligned} \sigma ( v) = \left[ \frac{ v_{N}^{2} \sigma ^{2}(v_{N}) + v_{E}^{2} \sigma ^{2}(v_{E})}{v_{N}^{2} + v_{E}^{2}} \right] ^{1/2} \,, \end{aligned}$$
(13)

where the error on the velocity components, \(\sigma (v_{E,N})\), has been estimated as a weighted mean squared error based on the errors at each time used in the fit procedure evaluated as described in Sects. 2 and 3.1. Similarly, the error on the angle, \(\sigma (\alpha )\), has been derived through the standard propagation formula which, starting from the definition of \(\alpha \), leads to:

$$\begin{aligned} \sigma (\alpha ) = \frac{1}{1+ \left( \frac{v_{N}}{v_{E}} \right) ^{2}} \left[ \left( \frac{\sigma (v_{N})}{v_{E}} \right) ^{2} + \left( \frac{v_{N}}{v^{2}_{E}} \sigma (v_{E}) \right) ^{2} \right] ^{1/2}. \nonumber \\ \end{aligned}$$
(14)

In Table 2, we report, for some selected cutoffs (first column), the best-fit raw horizontal velocity components with their errors along with the speed, the deformation angle and their corresponding errors calculated, instead, from Eqs. (13) and (14) and the reduced \(\chi ^{2}\) summed over the two components. As emerges from the table, the speed is mainly contributed by the N component, as expected from the Mogi model (see Sect. 1), but the resulting speed values always significantly exceed the model prediction. The velocity components, particularly for the East one and, correspondingly, the deformation angle are not consistent among different cutoffs, their differences significantly exceeding their errors. The reduced \(\chi ^{2}\) are always much larger than unity. Clearly, both the high values of the reduced \(\chi ^{2}\) and the inconsistency with the model call for a suitable correction accounting for the pole inclination.

In Table 3, we report the same set of quantities recovered from the best fit but after the correction. As before, the statistical errors quoted accounting for a more limited data sample are correspondingly larger, as expected.

Table 3 The same as in Table 2 but derived applying the correction method to account for the pole inclination

It is interesting to compare the results found for the different cutoffs. In the absence of relevant instrumental systematic effects, our technique should provide well compatible results independently of the inclination of the buoy. On the other hand, systematic effects are found to be relevant and cannot be ignored, as discussed in Sect. 4.1.

Increasing the allowed maximum pole inclination and consequently the number of data used in the analysis, we found a good convergence of the results and a better agreement with the Mogi model.

Table 4 Raw and corrected speed and deformation angle derived replacing the propagation error with the rms of the residuals

In Table 4, we also report the results for the speed, the deformation angle and the corresponding errors using the raw and corrected data with an alternative error treatment. Here, we replace the error propagation analysis described in the previous sections (to quote the error of each data sample) with the rms of the residuals in the data with respect to the corresponding values estimated from the predictions of the best fit. In this approach, the \(\chi ^{2}_{red}\) for both directions is unity by construction; thus, we omit it in the table.

We note that the errors quoted in the second and third column of Table 4 are larger than the ones in the corresponding columns of Table 2 by about one order of magnitude and a factor around 7 for the speed and the deformation angle, respectively. Indeed, the error estimation used to derive the results in Table 2 neglects by construction the effect on the residuals introduced by the pole inclination. Of course, the best-fit values are the same, being based in both cases on the assumption of a constant sample error.

On the contrary, when data are corrected for the effect of pole inclination (fourth and fifth columns of Table 4 and corresponding columns in Table 3), the errors are comparable, especially allowing for relatively larger inclinations (cutoff \(\ge 2\, ^{\circ }\)), mutually corroborating the error estimation used in the two types of approaches. Of course, the results in Table 4 are based on the assumption of a constant sample error, whereas the error propagation analysis used in Table 3 allows to consider a sample dependent error (other than to perform a nontrivial \(\chi ^{2}\) analysis). It is then not surprising that, in the presence of systematic effects, the two methods provide results that, although similar, may differ in the details: indeed, neglecting systematic effects, the best-fit values derived for the investigated quantities agree only at several \(\sigma \) level. On the other hand, as evident from the analysis reported below (see Sect. 4.1), they are clearly well compatible once systematic errors, other than statistical ones, are taken into account.

In Fig. 5, we show the data for the case relative to the maximum inclination of the buoy before (top row) and after (bottom row) the correction for the two components separately and their corresponding fitting curves. As emerges from the figure, due to the increasing of the overall uncertainty introduced by the compass data, the correction increases the spread of the data that, on the other hand, become more regularly distributed (see Fig. 6) around the best fit curve, alleviating possible bias due to the pole inclination.

Fig. 5
figure 5

Top row: E and N raw components and their relative fit. Bottom row: the same but for the corrected components. The time here is expressed in days starting from the considered initial date. Data selected with the maximum cutoff accounted in the analysis (\(\mid \phi \mid = \mid \theta \mid = 3.5^{\circ }\)). See also the text

4.1 Systematic effects

In this section, we discuss the impact of the most relevant potential systematic effects.

We first consider the choice of the heading angle characterizing the pole at equilibrium (see Sects. 2 and 3.2). When the pole is in the vertical position, the heading angle has a weighted average of \((37.895 \pm 0.038)^{\circ }\) while the corresponding average is \((37.443 \pm 7.024)^{\circ }\) (rms uncertainties). Differently, considering the whole dataset with the cutoff at \(3.5^{\circ }\), we found a weighted average of \((35.889 \pm 0.003)^{\circ }\) and an average of \((35.504 \pm 7.883)^{\circ }\). Thus, globally considering these spreads and differences, we exploit a conservative (minimal) potential offset of the heading measurements, \(\delta \psi \), of \(10^{\circ }\) (2\(^{\circ }\)), and at each cutoff we assumed a range of \(\pm 10^{\circ }\) (\(\pm 2^{\circ }\)) to estimate the impact of a possible instrumental misalignment with the true North in the assumed nominal pole reference system configuration at equilibrium.

Fig. 6
figure 6

E vs N data scattering before (light blue) and after (red) correction: the shape of the distribution is closer to an ellipse after the correction

Then, we evaluated the impact of a systematic error possibly introduced by a wrong assumption of the pole length of an amount \(\delta L\). As a rule of thumb, since we considered a maximum inclination of \( 3.5^{\circ }\), the corresponding error on the corrections \(d_{E,N}^{C}\) is of the order of \((\theta \,\delta L) \sim 1.22\) cm for \(\delta L \sim 20\) cm, a somewhat generous upper limit of the error that could come from the assembly of the various components of the pole. On the other hand, the effective magnitude of the resulting error is expected to be significantly dumped by averaging over a large number of samples.

Finally, we consider the possible effect of a little inaccuracy in the calibration setup of the compass nominal horizontal plane, estimated under static conditions with the instrumental resolution of \(\delta \phi = \delta \theta = 0.1^{\circ }\). We then evaluate the systematic errors introduced for different combinations of offsets \(\delta \phi \) and \(\delta \theta \) between \(-0.1^{\circ }\) and \(0.1^{\circ }\).

We compute the errors estimated as the difference between the best fit values obtained assuming the offsets described above, for both negative and positive values of the systematic effect, and the best fit values neglecting the systematics. We evaluated also the half difference of the best fit values obtained for the negative and positive values of the systematic effect. For simplicity and since these three estimations are similar, we conservatively report in Table 5 the maximum of them. In the conservative case, the impact of a possible heading offset dominates over the other types of systematic uncertainties, but for small cutoffs. Differently, for the minimal case, the impact of the uncertainty on the pole length is always subdominant, while the other two systematics give comparable impacts.

Table 5 Estimate of the errors due to each of the systematic effects discussed in the text for the speed and the deformation angle as specified by the subscript
Fig. 7
figure 7

Summary of our results applying the correction accounting for pole inclination. Various error bars refer to statistical error alone or to its combination with the systematics for both the conservative and minimal heading offset. For comparison, we also show the results based on the raw data, the one of De Martino et al. (2020) and the model prediction. See also the text

In the error estimates, considering together these three types of systematic effects other than the statistical errors quoted above, for the maximum allowed pole inclination our method gives a speed \(v= (3.521 \pm 0.039 \,({stat}) \pm 0.352\, (syst))\) cm/yr and a deformation angle \(\alpha = (-115.159 \pm 0.670\, (stat) \pm 7.630\, (syst))^{\circ }\), where the main systematic errors are added linearly and the conservative heading offset case is considered. In the minimal heading offset case, we derive systematic errors of 0.114 cm/yr and 2.150 \(^{\circ }\) for the speed and the angle.

Figure 7 summarizes our results for the velocity and the deformation angle. Globally, passing from the results without the correction for the pole inclination to the corrected ones, the horizontal seafloor deformation speed and angle are significantly closer to the prediction of the Mogi model.

Including the systematics, the speeds and angles retrieved for the various cutoffs are in agreement with each other at \(\sim 3\, \sigma \) and \(\sim 2\, \sigma \) level, respectively. Accumulating a relatively large fraction of data, i.e., from a cutoff \(\gtrsim \,0.7^{\circ }\), the compatibility further improves.

It is interesting to note that the values of \(\chi ^{2}_{E+N,red}\) in Table 3 increase with the cutoff. For each cutoff, we evaluated the effective square of the pole inclination, \(R^{2}_{\textrm{eff}} \simeq \langle (\theta ^{2} + \phi ^{2}) \rangle \), averaged over the corresponding samples. As shown in Fig. 8, while the \(\chi ^{2}_{E+N,red} (R^{2}_{\textrm{eff}})\) function is well characterized by a third degree polynomial, it exhibits an almost linear dependence for sufficiently large values of \(R^{2}_{\textrm{eff}}\). This linear behavior has a simple explanation considering that the pitch and roll measurements are taken by an accelerometer working mainly in dynamical conditions.

For instance, if roll and pitch measurements are acquired when the buoy turns into its equilibrium position, the compass accelerometer records a further horizontal acceleration proportional to the amount of deflection from the vertical, which results from the difference between the (buoyancy) force applied to the center of buoyancy and the gravitational force applied in the center of mass of the buoy. Hence, including samples with not negligible pitch and roll angle values, a systematic effect arises, which is not taken into account in our method: the amplitude of this effect is proportional to the inclination angle, \(\gamma \) (see Fig. 2). In principle, it could be possible to verify if a given data sample is acquired under dynamic or static conditions through a comparison among contiguous data and to apply a proper correction, but this is beyond the scope of this work. So, assuming that the measurement error, \(\varepsilon \), on these angles comes from two contributions, one static and one dynamic, \(\varepsilon _{s}\) and \(\varepsilon _{d}\), neglecting their correlation and other effects, and calling \(\varepsilon _{q}\) the one used in the \(\chi ^{2} \) analysis, we have that \(\chi ^{2}_{E+N,red} \propto \sum _{i} (\varepsilon _{s,i}^{2} + \varepsilon _{d,i}^{2})/\varepsilon _{q,i}^{2}\). For an accelerometer, it is reasonable to assume that \(\varepsilon _{d}\) is proportional to the acceleration, a, of the buoy, \(\varepsilon _{d} \propto a \propto \gamma \) with \(\gamma \simeq (\phi ^{2} + \theta ^{2})^{1/2} \ll 1\). On average, this leads to a simple approximate relation like \(\chi ^{2}_{E+N,red} (R^{2}_{\textrm{eff}}) \sim k + m \, R^{2}_{\textrm{eff}}\), where k and m are two constants, which is indeed the dependence shown in Fig. 8: a linear fit to \(\chi ^{2}_{E+N,red} (R^{2}_{\textrm{eff}})\) well describes our data, the module of the relative difference between the fit and the curve retrieved from data being always less than \(\simeq 2.4\%\) for \(R^{2}_{\textrm{eff}} \gtrsim 0.54\), and typically much smaller.

Fig. 8
figure 8

Dependence of \(\chi ^{2}_{E+N,red}\) on \(R^{2}_{\textrm{eff}}\). Red dash-dotted line and asterisks refer to the real data; blue dashed line refers to the corresponding third-order polynomial fitting; green solid line refers to a linear fit for \(R^{2}_{\textrm{eff}} \gtrsim 0.54\). See also the text

For a comparison with the results presented in De Martino et al. (2020), we considered as combined error parameter, \(\sigma _{c}\), the sum in quadrature of the errors of the two analyses that for the speed is \(\sigma _{c}(v) = ( \sigma ^{2}(v_{A}) + \sigma ^{2}(v) )^{1/2} = 0.27\) cm/yr and, analogously, for the angle is \(\sigma _{c}(\alpha ) = ( \sigma ^{2}(\alpha _{A}) + \sigma ^{2}(\alpha ))^{1/2} = 1.11^{\circ }\), if we consider only the statistical error of our method: the compatibility is only at a level of \(\simeq \) 6.2 \(\sigma _{c}\) and of \(\simeq \) 21.5 \(\sigma _{c}\) for the speed and the deformation angle, respectively. Adding linearly the conservative systematical and statistical errors of our method, the compatibility turns to be at a level of \(\simeq \) 3.6 \(\sigma _{c}\) and of \(\simeq \) 2.9 \(\sigma _{c}\) for the speed and the deformation angle, respectively.

Compared to the previous work, our analysis solves the discrepancy with the adopted Mogi model. The consistency turns to be at \(\simeq \) 5.2 \(\sigma \) (stat only) or \(\simeq \) 0.5 \(\sigma \) (stat and syst added linearly) level for the horizontal speedFootnote 3 and, remarkably, at \(\simeq \) 4.3 \(\sigma \) (stat only) or \(\simeq \) 0.3 \(\sigma \) (stat and syst added linearly) level for the deformation angle. Considering the error induced by the minimal heading offset, we find, instead, a compatibility with the model at \(\simeq \) 1.3 \(\sigma \) for the speed and \(\simeq \) 1 \(\sigma \) for the angle.

We can conclude that the new implemented method well reconstructs the investigated quantities, significantly improving the results obtained with data selection only without applying any correction to the data to account for the pole inclination. As clearly shown in Fig. 7, our analysis gives a good agreement with the horizontal seafloor deformation velocity predicted by the reference Mogi model.

5 Conclusion and discussion

We devised a new approach to characterize the horizontal seafloor displacement by jointly taking into account the data from cGPS and compass instruments mounted on top of two of the four buoys in the Gulf of Pozzuoli. In this study, we assumed the Mogi model, which is based on hydrostatic pressure change for a spherical pressure point source in an elastic half-space, with parameters derived from cGPS Campi Flegrei onland monitoring network and MEDUSA buoys measurements as the reference model to which compare our results. We focused our analysis to the buoy A data since, in a previous work, the corresponding recovered parameters were well far from the assumed reference model, while buoys B and C gave compatible results. Nevertheless, having the buoy A the same configuration of the buoy C, we also verified the validity of the method for this buoy but in a limited time interval, where compass data are likely not corrupted. The method investigates 36 different maximum inclinations of the buoys, up to maximum pitch and roll angles of \(3.5^\circ \), and derives the speed and the deformation angle of the horizontal displacement for the corresponding data samples.

Fig. 9
figure 9

Map of CFBA and CFBC cGPS stations (red and green circle) operating in the Campi Flegrei area. The arrows indicate the horizontal velocities found in this study (blue), derived from the Mogi model (orange) and the result from De Martino et al. (2020) (black). For CFBC buoy we also display (red) the result found applying the method of De Martino et al. (2020) to the limited period considered in Appendix B

Being unknown the exact orientation of the compass with respect to a fixed reference frame and the influence of the magnetic field induced by the iron buoy pole on the heading angle measurements, we characterized the equilibrium configuration of the pole reference system considering the condition of vanishing inclination and the weighted average, \(\psi _{0}\), of the heading angle output, taken in this condition, as a quantity to be subtracted from the corresponding data samples. After a proper selection of the data and the estimation of the errors to be associated with the compass angles directly based on the real measurements through a stacking procedure, we implemented a \(\chi ^{2}\) analysis to retrieve the parameters of interest for the considered configurations. The reduced \(\chi ^{2}\) are around unity and the results found for the different configurations are internally compatible within the errors when including systematic effects. The resulting speed and deformation angle clearly converge for increasing maximum allowed cutoffs of the tilt angles. We evaluated the impact of the main sources of systematic effects: for very small cutoffs it is smaller than the (obviously relatively large) statistical uncertainty, whereas at cutoffs half a degree higher it dominates over the statistical error.

Figure 9 represents the sea bottom displacement at buoy A and C locations in the map of the Pozzuoli caldera. The three arrows show our results (blue) in comparison with the Mogi model (orange) and with De Martino et al. (2020) (black). The method developed in this work gives horizontal seafloor deformation velocity vectors in good agreement with the predictions of the adopted Mogi model. For the buoy A, the module of the vectorial difference between the velocity retrieved from the data and the velocity of the adopted Mogi model changes from \( \mid \vec {v}_A - \vec {v}_M \mid \,= (2.449 \pm 0.241)\) cm/yr in the case of De Martino et al. (2020) to \(\mid \vec {v} - \vec {v}_M \mid \, = (0.320 \pm \, 0.041 \,(stat) \,\textrm{or} \,\pm 0.240 \,(stat+syst))\) cm/yr assuming a conservative heading offset (for simplicity, we propagate here the systematic error on the velocity module fixing the angle \(\alpha \) to its best fit), then decreasing by a factor \(f \simeq 7.65 \pm 1.23 \,(stat) \,\textrm{or} \,\pm 5.78 \,(stat+syst)\). Instead, assuming a minimal heading offset, we obtain combined errors of 0.094 cm/yr and 2.37 for \(\mid \vec {v} - \vec {v}_M \mid \) and f.

The internal consistency, the convergence and the improved agreement with the reference model found in our results support the validity of the analysis, in spite of the instrumental uncertainties affecting the data. Indeed, we underlined that these results have been achieved despite the compass installed on the buoy was not designed for this purpose, but just for monitoring the buoy status. The developed method applied to the MEDUSA buoys allows the assessment with geodetic accuracy of the seafloor, up to about one hundred meters deep, enabling the extension of a cGPS monitoring network to the whole continental shelf. The achieved accuracy allows also the kinematic description of the seafloor deformation of a given area by making use of a suitable number of buoys.

We believe that a revised experimental setup and calibration strategy of the acquiring system, specifically designed for studying the horizontal seabed displacement, would allow to further improve the reconstruction of the key parameters, reducing, in particular, the uncertainty due to the systematic effects. A list of potential improvements includes: (i) the increasing of the sampling rate and the synchronization of the two instruments; (ii) a better calibration of the heading angle provided by the compass in real conditions or the use of a set of gyroscopes for a more precise measurement of the three Tait–Bryan angles; (iii) the installation of current meters and thermometers along the buoy pole; (iv) the development of a more complete model to process the data, able to take into account the effect of the wind and marine current forcing and the mechanical response of the buoy structure, to optimize the scientific result achievable with the above improvements.