1 Introduction

Numerical approaches for the forecast of sea drifters frequently deal with uncertainties of the sea object parameterization due to changing atmospheric surface wind (Kirwan et al. 1975; Allen and Plourde 1999). In addition, the lack of high-resolution ocean and atmospheric data (OĎonnell et al. 2005; Davidson et al. 2009) often leads to low-quality prediction. Advances in high-resolution operational forecast (Pinardi et al. 2003; Oddo et al. 2006; Tonani et al. 2008) for the Mediterranean Sea provided a framework for a more accurate prediction of drifters forecast in this area. Also, the inclusion of assimilation data schemes (Dobricic et al. 2004; Dobricic and Pinardi 2008) improved the prediction of time-dependent currents and wind in comparison to earlier models.

A large databank of windage characteristics of sea objects was collected over the years (Allen 2005; Allen et al. 2010) that uncovered a linear relationship between drift velocity and applied surface wind for different categories of sea drifters. These field observations were used for the trajectory prediction in the stochastic approach (Hackett et al. 2006; Breivik and Allen 2008; Breivik et al. 2012). The stochastic Leeway model (Breivik and Allen 2008) produced final positions of sea objects based on their windage characteristics (Allen and Plourde 1999) and predicted search areas in terms of probability densities. However, the model was not capable to classify the sea floaters according to their temporal and spatial behavior. While backtracking procedure could provide such classification, it is computationally expensive and could not be used in real applications.

As an alternative to the above methods, here we used a faster computational approach for characterization of drifters in a large ensemble. It is based on a density clustering algorithm (Ester et al. 1996). It was designed to improve qualitative information about the stochastic outcome of the Leeway simulations (Breivik and Allen 2008; Breivik et al. 2012) and to increase the quality of prediction. The method of spatial clustering provides better localization of the areas of higher probability density and finds possible particles–outliers. Also, the procedure allows sorting out drifter-like particles according to their temporal behavior.

The aim of this study was to validate the computational approach using existing documented data from the past search and rescue operation in the Mediterranean sea. In order to illustrate the application of the clustering algorithm, we used the Elba accident based on documented data from Italian Coast Guards. The Elba accident happened near to the Elba coast and in the Tyrrhenian Sea. During the accident, a person on an inflatable raft was lost at the coast of the Elba Island at 42 43.6 ′ N, 10 9.5 ′ E on 21.06.2009 at 1:30 UTC and after 34 h, he was found alive in open sea southwards from the Pianosa Island at the position 42 22.9 ′ N, 9 53.3 ′ E, at the moment of rescue (22.06.2009 at 11:30 UTC), the boat was partially deflated. We used the modeling framework based on the explicit parameterization of an object drift by wind (Daniel et al. 2002; Hackett et al. 2006; Breivik and Allen 2008).

In the study, qualitative comparison between the behavior of reconstructed trajectories of sea objects and known information about the observed trajectory in the Elba accident was done using stochastic simulation of a large ensemble of identical drifter-like particles. In separate simulations, different categories of particles were tested to study the effect of wind on drifting direction and spatial distribution of probability densities. Application of the stochastic Leeway model (Breivik and Allen 2008) for tracking of small-size surface drifters was studied using geophysical forcing from the high-resolution Mediterranean Forecasting System (MFS) (Pinardi et al. 2003; Dobricic et al. 2004) and atmospheric wind from the European Centre for Medium-Range Weather Forecasts (ECMWF).

2 Model

The Leeway drift is defined as a drift of floating object with respect to ambient current under the influence of wind and waves (Chaplin 1960; Anderson et al. 1998; Breivik et al. 2012). According to the definition, the leeway velocity is a difference between the drift velocity of a sea object and Eulerian current velocity:

$$ \mathbf{L}=\frac{\text{d}\mathbf{r}}{\text{d}t}-\mathbf{V}_{E}, $$
(1)

where L is Leeway velocity, dr/dt is the drift velocity, and V E is the Eulerian current.

In the present implementation, we used the stochastic model based on the Eulerian leeway model (Breivik and Allen 2008; Röhrs et al. 2012). In particular, the equations of motion for a drifting object is derived from the force balance equation (Breivik and Allen 2008):

$$ (m-m^{\prime})\frac{\text{d}^{2}\mathbf{r}}{\text{d}t^{2}}=\mathbf{F}_{wave}+\mathbf{F}_{wind}+\mathbf{F}_{ocean}, $$
(2)

where m and m are mass of object and an additive mass, F wind , F wave , and F ocean are wind, wave, and water drags correspondingly. The expressions for wind and water drags of a small object are written as follows:

$$\begin{array}{@{}rcl@{}} \mathbf{F}_{wind}&=& C_{a} \rho_{a} A_{a} \|\mathbf{W}_{10}\| \mathbf{W}_{10}, \end{array} $$
(3)
$$\begin{array}{@{}rcl@{}} \mathbf{F}_{ocean}&=& C_{o} \rho_{o} A_{o}\left|\mathbf{V}_{L}-\frac{\text{d}\mathbf{r}}{\text{d}t}\right|\left[\mathbf{V}_{L}-\frac{\text{d}\mathbf{r}}{\text{d}t}\right], \end{array} $$
(4)

where V L is the Lagrangian velocity of an object, W 10 is 10 m atmospheric wind, C a, o , ρ a, o , and A a, o are drag coefficients, densities, and effective cross-sectional areas exposed to air and water correspondingly.

According to field observations, ships and small-size floaters reach terminal velocity rapidly (Sørgård and Vada 1998). Hence, an infinite acceleration and constant velocity at every time step can be assumed in Eq. 2 (Hodgins and Hodgins 1998). In the present modeling paradigm, a sea dominated by weak waves is considered. Also the damping and excitation by waves is neglected due to a small object size (Sørgård and Vada 1998; Breivik and Allen 2008). Based on these assumptions, Eq. 2 is simplified as follows (Anderson et al. 1998):

$$ 0=\mathbf{F}_{wind}+\mathbf{F}_{ocean}, $$
(5)

Using the expressions for the wind and ocean forces from Eqs. 34, the equation of motion Eq. 2 can be written in the Eulerian leeway form (Breivik and Allen 2008):

$$ \text{d}\mathbf{r}=(\mathbf{L}+\mathbf{V}_{E})\text{d}t , $$
(6)

where \(\mathbf {L}=\sqrt {C_{a} \rho _{a} A_{a}/C_{o} \rho _{o} A_{o}}\mathbf {W}_{10}\). Here, the relation V L V E (Röhrs et al. 2012) is used provided the wave effects could be neglected.

Since in our situation the drag coefficients were not known, the Leeway drift was parameterized using empirically derived relationship between the wind and Leeway velocity. First, the Leeway velocity was decomposed into downwind Leeway (DWL) L d and crosswind Leeway (CWL) L c projections: \(\mathbf {L}=L_{d} \hat {w}_{d}+L_{c} \hat {w}_{c}\), where \(\hat {w}_{d}\) and \(\hat {w}_{c}\) are unit vectors parallel and perpendicular to wind direction correspondingly. Second, the following linear fit for the DWL and CWL derived from empirical relationship was used (Anderson et al. 1998; Allen and Plourde 1999; Breivik and Allen 2008):

$$ L_{d,c}=a_{d,c} W_{10} +b_{d,c}, $$
(7)

where a d , b d and a c , b c are the linear regression coefficients for L d and L c components, respectively, and \(W_{10}=\sqrt {{w^{2}_{x}}+{w^{2}_{y}}}\). The regression coefficients a d, c , b d, c were obtained by adding noise terms to linear regression coefficient from experimental observations (Allen and Plourde 1999):

$$\begin{array}{@{}rcl@{}} a_{d,c}&=&\alpha_{d,c}+\zeta_{d,c}/20, \end{array} $$
(8)
$$\begin{array}{@{}rcl@{}} b_{d,c}&=&\beta_{d,c}+\zeta_{d,c}/2, \end{array} $$
(9)

where α d, c , β d, c are regression slope and offset terms obtained from empirical data (Allen and Plourde 1999), The noise terms ζ d, c were derived from a normal distribution with the experimental value of variance σ d, c obtained from the field data (Allen and Plourde 1999). Finally, we calculated the Cartesian coordinates of L and substituted the values into Eq. 6.

To include the variabilities of the wind and Eulerian current velocities, the Gaussian perturbations were added at every integration step t n and for the kth particle:

$$\begin{array}{@{}rcl@{}} v_{x,y}(t_{n},k)&=&v_{x,y}^{curr}+\xi_{x,y}^{curr}, \end{array} $$
(10)
$$\begin{array}{@{}rcl@{}} w_{x,y}(t_{n},k)&=&w_{x,y}^{wind}+\xi_{x,y}^{wind}, \end{array} $$
(11)

where \(\xi ^{curr}_{x, y}\) and \(\xi ^{wind}_{x,y}\) are the uncertainties derived from normal distributions N(0, σ curr ) and N(0, σ wind ) correspondingly.

Also, because of existing uncertainty of initial orientation of a sea object with respect to wind, an initial ensemble of particles was generated with random (left or right) initial orientation with respect to wind (Breivik and Allen 2008). The change of orientation was introduced via the alternation of sign of L c with the probability 4 % per integration step (Allen 2005).

Due to a finite size of geographical domain, the particles could reach the boundary of the domain or approach coastal shoreline. In the former case, they were marked as off-grid and removed from further consideration. Stranded particles were identified according to a high-resolution coastline (Wessel and Smith 1996). In real situations, an uncertainty about the place and time of an accident might be present due to luck of information. To account for the uncertainties in the position of an accident, initial positions were assigned from a normal distribution centered around an expected location of an accident. Particularly, the particles were released continuously in a spatial area bounded by initial distance r 0 = 0.5σ r around the last known position (LKP), where σ r is the variance of drifters initial positions. The LKP refers to the possible location of an accident and is provided in terms of longitude and latitude for every particle.

We used the ECMWF fields with the horizontal and temporal resolutions of 0.25×0.25 and 6 h, respectively. For the surface current, we used daily averages from the MFS model (horizontal resolution 0.0625×0.0625) that is based on the ECMWF six-hourly fields and the data assimilation scheme (Pinardi et al. 2003; Dobricic et al. 2004; Dobricic and Pinardi 2008). Additionally, to provide a horizontal interpolation of the ocean currents and winds near to a shoreline, a sea-over-land interpolation procedure was implemented. The values for standard deviation (std) of wind σ wind = 2.8 m s −1 and current σ curr = 0.1 m s −1 in Eqs. 1011 were estimated using averages over the corresponding geographical domain for the period of integration. The particle trajectories were obtained using Eq. 6 with the integration step dt = 1.5 min.

3 Methods

In the implementation of the clustering algorithm, the final positions of particle trajectories were used for evaluation of a spatial separation between them. The mean separation distance D mean was evaluated across all pairs of ensemble members using formula:

$$ D_{mean}=\frac{1}{N_{dr}}\sum\limits_{\underset{i\ne j}{i,j=1,}}^{N_{dr}}d_{ij}, $$
(12)

and d ij is an inter–particles distance evaluated from the Haversine formula:

$$ d_{ij}=2 R_{\oplus}\arcsin\left[ (f(\phi_{1},\phi_{2})+\cos \phi_{i} \cos\phi_{j} f(\lambda_{i},\lambda_{j}))^{1/2}\right], $$
(13)

where R is the Earth radius, N dr is ensemble size, and λ i , ϕ i are longitudes and latitudes of the ith particle and f(x 1, x 2)= sin2[(x 1x 2)/2]. Also an upper bound D max was assigned to exclude large mean separation distance that exceeds the size of a given geographical domain. Indeed, in the case D mean >D max , no clusters were searched due to large inter-particle distance.

For the ith drifter, a new cluster was formed by the inclusion of the kth neighbor provided that the condition d ik <D mean was satisfied. In addition, the minimal number of particles N min forming one cluster was assigned that allowed exclusion of the search areas of lower density (in the simulations N min = 20). The procedure was finalized after sorting all possible pairs of particles.

The clustering algorithm is schematically illustrated in Fig. 1. Only the first group of particles is classified as one cluster. Although the second group includes two neighbors which are at the distance less than D mean they do not form one cluster due to insufficient number of particles per cluster N k <10. The third group contains isolated particle that has no neighbors at a distance less than D mean therefore it does not belong to any cluster.

Fig. 1
figure 1

Schematic representation of clustering algorithm. Three groups of particles are shown: (1) the ith and kth particles with separation distance d ik <D mean and their neighbors form one cluster, (2) no cluster is formed, (3) isolated particle. The minimum number of particles per cluster N min = 10

In order to identify the search areas with higher density of particles, we classified a probability of containment ρ cl [ %] of particles per cluster: ρ cl = N k /N dr ×100 %, where N k is a number of particles inside the kth cluster. The mean cluster geographical position (center of mass of the cluster) at every time step is defined from the mean latitude \(\bar {\phi }={\sum }_{i}{\phi _{i}}/N_{dr}\) and mean longitude \(\bar {\lambda }={\sum }_{i}{\lambda _{i}}/N_{dr}\) across all cluster members i = 1,…N dr .

Since the exact parameterization of the object was not known, the simulations of drifter-like particles were performed using the categories similar to a person on an inflatable boat (see Table 1). The ensemble of N dr = 3000 particles was released in a circle with radius r 0 = 15 km around the LKP (42 43.6 ′ N, 10 9.5 ′ E). The time of the release of particles, radius r 0 and LKP were the same in all the experiments.

Table 1 Leeway coefficients for the categories: (1) life raft, shallow ballast (2) life raft, deep ballast, (3) surfboard with person, (4) sportsboat, (5) sport-fisher boat

4 Results

The wind situation and mean surface current (Figs. 2 and 3) for 2 days of study period indicated an overall southwestern wind influence for the day 21.06.2009 (Fig. 2a) and the westward surface current contribution (Fig. 3a) to initial southwestern displacement of particles with respect to the release area (Figs. 4567, and 8). On the second day the decrease of mean surface current (Fig. 3b) and change of the wind direction (Fig. 2b) favored a slight shift of drift of trajectories to the southeast (Figs. 4567, and 8).

Fig. 2
figure 2

Mean daily wind direction and magnitude from the ECMWF for days: a 21.06.2009 and b 22.06.2009. The wind data are from the ECMWF

Fig. 3
figure 3

Daily surface currents (direction and magnitude) for days: a 21.06.2009 and b 22.06.2009. The surface current is from the MFS

Fig. 4
figure 4

Results of Leeway simulations for life raft with a shallow ballast: a final positions of particles, LKP (42 43.6\(\prime \) N, 10 9.5\(\prime \) E), rescue position (position where the person was found)(42 22.9\(\prime \) N, 9 53.3\(\prime \) E) (black dots), final positions (red dots) in open sea and (blue triangles) stranded on coast, initial area of release (red convex polygon), final area of search (black convex polygon), center of mass of cluster (cross); b spatial concentration (%) of particles. A single cluster 1 with all drifters included is distinguished

Fig. 5
figure 5

Results of Leeway simulations for life raft with a deep ballast: a final positions of particles with initial release and final search areas, b spatial concentration (%) of particles. Two clusters are found: (1) stranded particles ρ cl = 7.62 % and (2) open sea particles ρ cl = 92.1 %

Fig. 6
figure 6

Results of Leeway simulations for surfboard with person: a final positions of particles with initial release and final search areas, b spatial concentration (%) of particles. A single cluster is formed

Fig. 7
figure 7

Results of Leeway simulations for sport-fisher boat: a final positions of particles with initial release and final search areas, b spatial concentration (%) of particles. Three clusters are found: (1) stranded particles on the Pianosa coast ρ cl = 19.8 %, (2) stranded particles near to the LKP ρ cl = 6.1%, and (3) open sea particles ρ cl = 73.1 %.

Fig. 8
figure 8

Results of Leeway simulations for sports boat: a final positions of particles with initial release and final search areas, b spatial concentration (%) of particles. Three clusters are found: (1) open sea particles ρ cl = 72.8 %, (2) stranded particles ρ cl = 19.6 % and (3) stranded near to the LKP ρ cl = 7.2 %

The results of cluster analysis show the release area of particles around the LKP, the search areas and final positions obtained from particle trajectories (Fig. 4a). Thus, the final serach areas include the last time stamp from the particle trajectory for every particle. The initial area includes not only particles near to the LKP but also some coastal particles with zero initial velocities that remained beached or traveled short distances from the position of release. The spatial density map (Fig. 4b) indicates a higher percentage of particles near to the coastal area.

In the first experiment for the life raft with a shallow ballast (Fig. 4a), the search area included the found position, but the particles positions were distributed over a large area and, thus, their average density (Fig. 4b) around the found position was low. A significant percentage of particles was stranded on the Pianosa Island while the particles with low initial velocities were beached near to the LKP. In the next two experiments performed for two categories (i) raft with a deep ballast (Fig. 5) and (ii) person on a surfboat (Figs. 6), an overall southwestern drift from the LKP was observed. Two clusters were found for (i) with larger cluster formed by open sea particles (ρ cl = 92.1 %) (see Table 2). In the last two experiments (Figs. 7 and 8) performed for draft-limited vessels (sport-fisher boat and sportsboat), the southwards direction of drift was more pronounced. The simulated trajectories more closely reproduced the target trajectory and found position than the trajectories in the previous experiments. Moreover, the search areas (Figs. 7 and 8) included the position of rescue with the largest clusters formed around it: for sportsboat cl. 1 with 72.8 % particles and for sport-fisher boat cl. 3 with 73.1 % particles (Table 2).

Table 2 Listed are the mean cluster position (latitude and longitude), number of clusters N cl and probability of containment ρ cl (%) for every cluster and experiment

5 Discussion and conclusions

We observed high sensitivity of trajectories to the choice of wind category: the trajectories of particles with higher DWL and lower CWL more closely reproduced the target trajectory in terms of its drift direction. The draft-limited floaters with higher DWL were more influenced by the wind-induced forcing during test experiments. In contrast, the particles modeling floaters with a deep draft were less affected by wind and drifted westwards from the Elba location. The clustering procedure helped identifying high density search areas that closely matched the final target position.

In the experiments, all particles were released simultaneously. Generally, uncertainty in time also could be included (Breivik and Allen 2008). According to numerical procedure, the final search area depends on the initialization area of the particles: higher r 0 LKP leads to increased variability in the trajectories of drift and, therefore, to the larger search area. In our experiments, sufficiently large radius around LKP (r 0 = 15 km) was used to detect all possible directions of drift as well as existing clusters.

In contrast to previous numerical procedures (Breivik and Allen 2008), the approach developed here enabled determination of spatially isolated search areas and classification of the particles according to distinct trajectory behavior. The sorting of trajectories is especially important for the geophysical flows with inherent hyperbolic points that are strain dominated. In particular, the Lagrangian particles released in the closed vicinity of the hyperbolic point would diverge rapidly. Thus, the probability of a successful search could be substantially reduced due to large search areas. However, this limitation could be successfully avoided by application of clustering method that reduces the final search domains and classifies distinct directions of drift.

Our modeling paradigm could be used for the development of reliable computer-assisted approach for the search and rescue operational systems. Our approach was used to assist recent sea emergencies: (i) the accident near the Lampedusa Island (3.10.2013–8.10.2013), and (ii) the sea operations on the elevation of the Costa Concordia cruise ship (16.09.2013–19.09.2013) at the east of Giglio Island, the Tyrrhenian Sea. In the former case, we helped to reconstruct the accident and to identify possible locations of lost people during the emergency response by the Italian Coast Guards. In the latter case, the method provided the forecast of drift as well as potential positions of ship wreckage pieces.

At present, the method described here is used in the first prototype of the search and rescue operational system in the Mediterranean region http://www.ocean-sar.com/en/discover-sar.