Abstract
DIVAnd (DataInterpolating Variational Analysis, in ndimensions) is a tool to interpolate observations on a regular grid using the variational inverse method. We have extended DIVAnd to include additional dynamic constraints relevant to surface currents, including imposing a zero normal velocity at the coastline, imposing a low horizontal divergence of the surface currents, temporal coherence and simplified dynamics based on the Coriolis force, and the possibility of including a surface pressure gradient. The impact of these constraints is evaluated by crossvalidation using the HF (highfrequency) radar surface current observations in the Ibiza Channel from the Balearic Islands Coastal Ocean Observing and Forecasting System (SOCIB). A small fraction of the radial current observations are set aside to validate the velocity reconstruction. The remaining radial currents from the two radar sites are combined to derive total surface currents using DIVAnd and then compared to the crossvalidation dataset and to drifter observations. The benefit of the dynamic constraints is shown relative to a variational interpolation without these dynamical constraints. The best results were obtained using the Coriolis force and the surface pressure gradient as a constraint which are able to improve the reconstruction from the Openboundary Modal Analysis, a quite commonly used method to interpolate HF radar observations, once multiple time instances are considered together.
Introduction
Highfrequency (HF) radars allow one to derive twodimensional maps of ocean surface currents over a wide coastal area by measuring the Doppler shift of electromagnetic waves undergoing Braggscattering (Crombie 1955; Wait 1966; Stewart and Joy 1974; Barrick 1978) of surface gravity waves whose wavelength is exactly onehalf the radar wavelength. They constitute an essential component of coastal observatories (Roarty et al. 2016; Roarty et al. 2019), with a rapidly expanding network in Europe with 105 sites already deployed or in a planning stage (Rubio et al. 2017; Roarty et al. 2019). A single HF radar site (composed typically by a collocated or combined transmitting and receiving antenna) measures the component of surface current directed radially toward or away from the antenna. In areas where the coverage of two or more HF radar sites overlaps, one can deduce vector currents by using one of the most commonly adopted combination algorithms, such as the unweighted least squares fitting (UWLS) method (Lipa and Barrick 1983; Gurgel 1994; Graber et al. 1997).
The traditional approach consists in interpolating the radial currents on a common grid and inverting a linear system (possibly overconstrained if there are more than two HF radar sites) to compute the zonal and meridional velocity components from the radial currents. These horizontal current vectors are often referred to as total currents. However, spurious total vector currents are obtained along the baseline between two radars where the measurements of radial velocities are nearly aligned and the total currents thus suffer from geometric dilution of precision, as described in Chapman and Graber (1997), and along the edges of the HF radar footprint area.
The spatial coverage of a radial current field is not constant and can exhibit gaps mainly due to interferences due to, e.g., power lines, nearby antennas, metal fences, lack of Bragg scattering ocean waves, low salinity environments, radio interferences, and ionospheric and lightning effects (Mantovani et al. 2020). As a consequence, the combined total current fields also have gaps which can prevent several applications which typically require full fields such as search and rescue (O’Donnell et al. 2005; Ullman et al.Ullman et al. 2006), oil spill tracking (Abascal et al. 2009), and ecological applications (Emery et al. 2006; Helbig and Pepin 2002; Zelenke et al. 2009).
Various techniques have been proposed in the scientific literature to deduce total currents from radial ones and/or to compute interpolated fields without gaps. A commonly used method is the OpenBoundary Modal Analysis which was firstly implemented by Lekien et al. (2004) and further optimized by Kaplan and Lekien (2007). This method decomposes the flow field into irrotational and nondivergent modes (as well as boundary modes) that describe all possible current patterns inside a twodimensional domain. This set of linearly independent current modes allows the reconstruction of a full field without gaps and to reduce noise with a small spatial scale.
Kim et al. (2007) showed how optimal interpolation can be used to fill the gaps in HF radar data. The error covariance can be either an analytical covariance model or the sampling covariance from the HF radar. A sampling covariance can have spurious negative eigenvalues but in regions with sufficient data the background variance can be adjusted to avoid this problem. The weighted and unweighted least squares fitting of radial currents can also be seen as a special case of optimal interpolation (Kim et al. 2008).
Alternatively, Yaremchuk and Sentchev (2009) used a variational method with a constrain on divergence and curl of the flow field. In a followup paper, Yaremchuk and Sentchev (2011) extended the variational approach by using also empirical orthogonal functions showing the advantages over local linear interpolations of the variational method and OpenBoundary Modal Analysis (OMA; Kaplan and Lekien 2007), related to their ability to reconstruct the velocity field within the gaps in data coverage, near the coastlines, and in the areas covered only by one radar site.
The penalized least squares regression method based on a threedimensional discrete cosine transform method (Fredj et al. 2016) uses both time and space variability to predict the missing data. Missing data are thus interpolated by using not only data nearby in space, but also data from previous and subsequent time instances.
As shown by HernándezCarrasco et al. (2018), selforganizing maps (SOMs, Kohonen 1997), extracting common flow patterns, can also be used to reconstruct missing data in HF radar data. The authors also compared the SOM method to DINEOF—Data Interpolating Empirical Orthogonal Functions—initially applied to geophysical datasets as sea surface temperature, ocean color, and surface salinity (Beckers and Rixen 2003; AlveraAzcárate et al. 2005; AlveraAzcárate et al. 2016), by previously extending its application to obtain total surface currents. It has been shown that the DINEOF technique presents the lowest errors in the Eulerian comparison of the velocity field and performs better than the OpenBoundary Modal Analysis and similar to SOMs in the context of Lagrangian tracking (HernándezCarrasco et al. 2018).
Most of these techniques are based on statistical consideration in order to fill missing data gaps and reduce the noise in the current measurements. The present manuscript aims to extend these statistical approaches by using dynamical constraints. This approach heavily uses ideas from 4DVar assimilation but without requiring the setup of a full ocean model. The objective of the present manuscript is to quantify the potential improvements of using dynamical constraints in the context of variational interpolation.
The DIVAnd method (Barth et al. 2014) is an extension of DIVA (Data Interpolating Variational Analysis, Brasseur and Haus 1991; Troupin et al. 2012; Beckers et al. 2014) for more than 2 dimensions. In this work, DIVAnd is first applied to radial current measurements using various dynamical constraints in Section 2. The data used to test this method is presented in Section 3. Results and the validation with drifter data are discussed in Section 4. The findings are presented in the conclusion in Section 5.
Method
The DIVA method aims to derive a continuous field from a series of measurements at discrete locations. It is commonly used to derive a gridded climatology from in situ observations (Tyberghein et al. 2012; Lauvset et al. 2016; Troupin et al. 2010). The variational inverse method minimizes a cost function which ensures that the field is relatively close to the observations but with constraints on its regularity using its gradients and Laplacian (Brasseur and Haus 1991). The method does not perform a pure interpolation, since the analyzed field should not necessarily pass through all observations because observations are affected by errors and might not be fully representative (Janjić et al. 2018). These requirements are formalized via a cost function:
where φ is a scalar ocean field defined and d_{j} are the N_{d} measurements of the field φ at the locations x_{j} for a given time instance and their weights μ_{j}. φ_{b} is a background estimate of the field. The background estimate is a first guess of the field to interpolate. For example, if φ represents salinity, the background estimate can be salinity averaged over space and time. For currents, the background estimate that will be used is zero. The experiments in the following were also conducted using the mean current over the domain but this did not change the results in a significant way.
The spatial (and temporal) coherence is introduced in Eq. 1 by defining a particular norm penalizing abrupt spatial (and temporal) variations over the domain Ω:
where the symbol : stands for double summation and the coefficients α control the relative importance of each contribution (Laplacian, gradient, and field value) in the norm.
The variational inverse method naturally decouples basins based on topography: an observation on one side of an island, isthmus, or any type of physical boundary can not spread directly to the other side (Troupin et al. 2012). When analyzing tracers, ocean currents can also be taken into account by adding to the cost function an additional term penalizing the advection. The aim here is however to derive the current field from HF radar observations. In a second step, such a current field can be used for the analysis of tracers requiring for instance that the isolines of a tracer align with the currents field.
In this manuscript, we extend the formalism of DIVA applied to ocean currents in the context of HF radar measurements. A single HF radar site provides a radial velocity measurement map. Total vector currents can be only derived in the overlapping region where radial velocities measured from at least two radars are available. In order to maximize the amount of provided data and to minimize additional smoothing and interpolation, the adopted approach is to directly use radial currents in the analysis procedure.
A suitable defined observation operator links the (unknown) analyzed vector field to the radial velocities of the different radar sites. The cost function includes therefore the following data term:
where \(\mathbf {u} = \left (u,v\right )\) is the velocity vector, p_{i} is the normalized vector pointing toward the corresponding HF radar site of the ith radial observation u_{r}_{i} (Yaremchuk and Sentchev 2009), N is the number of available radar sites, and \({\epsilon ^{2}_{i}}\) represents the noise of the measurements. The same norm defined in Eq. 2 is also used for both components of the velocity field.
In fact, without imposing any spatial (and temporal) coherence and using only the data constraint, the minimization of the cost function would be equivalent to the least squares method (Lipa and Barrick 1983; Gurgel 1994), which is commonly used to combine several radial current estimates into total current vectors (Appendix Appendix). The effect of the spatial coherence is illustrated in panel (a) of Fig. 1 where the red vector represents a hypothetical measurement (in the xdirection) and the black vectors depict the analyzed field. In this figure, the gray area represents the coastline. The DIVA method, as any method related to optimal interpolation, naturally allows extrapolation of the measurements. Such plots are useful because they visually represent the underlying background error covariance matrix (e.g., Keppenne et al.2008; Barth et al. 2014). The final analysis is in fact a linear combination of these functions represented in Fig. 1a–c.
Coastline effect
It is quite common for numerical ocean models to represent the coastline as an impermeable, coastal wall as the horizontal movements for the waterfront are generally much smaller than the model resolution (Haidvogel and Beckmann 1999). The velocity component perpendicular to the coastline is thus set to zero:
where n is the vector normal to the coastline ∂Ω. At the open ocean boundaries, this constraint is not activated, allowing therefore a flow through the domain.
Internally, the presented method uses the staggered Arakawa C grid (Arakawa and Lamb 1977) where current components are defined as the interface of a grid cell. If a given cell interface is between a land and an ocean grid cell, then the boundary condition requires that the normal current is zero. The same boundary condition is also applied in the OMA method (Kaplan and Lekien 2007).
There are different ways to include a constraint in the context of variational analysis, and it is common to distinguish between strong constraints and weak constraints (e.g., Ngodock et al. 2017). A solution to the minimization problem has to satisfy exactly a strong constraint while for a weak constraint, residuals related to this constraint are added to the cost function. The residuals are typically divided by a scaling parameter, and as this scaling parameter tends toward zero, the weak constraint tends to a strong constraint. Here, the constraint on the normal velocity at the coastline is added as a weak constraint to the cost function.
Effectively, this constraint can be included as additional measurements. The parameter \(\epsilon ^{2}_{\text {bc}}\) controls how strongly this constraint is enforced. One could also include it as a strong constraint (i.e., the normal velocity has to be exactly zero at the coastline), but the implementation was simplified by using a weak constraint and choosing a very small value of \(\epsilon ^{2}_{\text {bc}}\), which is practically equivalent to a strong constraint. The optimization of this parameter is discussed in Section 4. The effect of the boundary condition constraint is quite clear from Fig. 1b as it prevents the current from flowing into the coastline.
Horizontal divergence
In a stratified ocean, it takes a considerable amount of energy to move water vertically and therefore in most cases the vertical velocity is relatively small compared to the horizontal components (even when taking the different horizontal and vertical length scales into account). If we integrate the continuity equation over the surface layer and ignore the vertical velocity, we obtain an additional dynamical constraint on the horizontal velocity:
where h is the average depth of the surface mixed layer or the total water depth where total water depth is shallower and the average depth of the surface layer. As before, this constraint is included in the cost function as a weak constraint with the following form:
The parameter \(\epsilon ^{2}_{\text {div}}\) controls to which degree a horizontal divergence is allowed. A similar data constraint was also used by Yaremchuk and Sentchev (2009) to reduce nonphysical flow structures visible in the radial currents. This is the first constraint introduced so far which significantly couples both velocity components. In the presence of a coastline, this constraint is responsible for deflecting the currents, as shown in Fig. 1c.
It is important to point out that we do not assume that the interpolated field is divergence free but we introduce an additional parameter allowing us to control and reduce the divergence of the interpolated field. The strength of this constraint will be determined objectively later by crossvalidation. If this constraint would indeed degrade the result then the corresponding epsilon parameter would have quite a large value and the RMS error relative to the crossvalidation data would not change.
3D analysis with time dimension
HF radar sites are able to monitor the surface ocean at a relatively high temporal frequency. It can therefore be desirable not to analyze every time instance separately but several time instances jointly. The correlation between two successive time instances of the radial current fields is 0.93 and for the two considered HF radar sites (FORM and GALF respectively, which will be introduced later). When the time dimension is included in the estimation vector x, the previously introduced concepts remain the same, except that the ∇ operator has now also a time component and that the regularization operator now must also have a 3rdorder derivative as explained in Barth et al. (2014). By increasing the size of the estimation vector, one also significantly increases the CPU time and memory requirements. With future parallelization of the algorithm in mind, we limit the time dimension to 3 time instances (including the data the hour before and after). For every analysis, only the central time is kept in the final result. The temporal correlation length is a free parameter that has to be determined.
Coriolis force
By including the time dimension and imposing a coherence in time, one ensures that the velocity at a given time is similar to the velocity at a previous and next time instance. In the Mediterranean Sea (e.g., Vandenbulcke et al. 2017), inertial oscillations can sometimes be quite energetic being usually of comparable magnitude to the mean slope current (Salat et al. 1992; Tintoré et al. 1995). The inertial oscillations have also been observed near the coast (Millot and Crépon 1981). Moreover, the power spectra of normalized zonal and meridional components from the HF radar data of the Ibiza Channel present dominant peaks at the diurnal, inertial (approximately 19 h), and semidiurnal bands as described in Lana et al. (2016). We therefore consider first the special case where inertial oscillations are dominant, and later in this section we will address other cases. The velocity at a given time instance should rather be similar to the velocity 1 h before and 1 h after, when suitably rotated according to the Coriolis parameter f:
These equations can be easily integrated in time relating the velocity at time instance t and t + Δt:
where we introduce the matrix M_{C} representing the rotation of the current vector between two successive time instances. It is clear that the Coriolis force is just one force among many, so that this constraint should not be imposed as a strong constraint but rather as a weak constraint:
The strength of this constraint is controlled by the factor \(\epsilon ^{2}_{\text {Coriolis}}\) whose optimal value will be determined later.
Coriolis force and surface pressure gradient
The mean flow is not subjected to inertial oscillations. To improve the previous constraint, two options were considered. One could compute time averages and apply the previous constraint simply on the anomalies relative to this time average. Another approach could be to extend the simplified momentum (8) by a surface pressure gradient term:
where η represents the surface elevation and g the acceleration due to gravity. These equations thus allow for a geostrophically balanced mean current. However, it is important to note that this constraint does not mean that the HF radar currents analysis is necessarily geostrophically balanced as it is introduced as a weak constraint to account for neglected forces in the momentum equation and as it allows for a nonstationary field. The cost function is extended to also include the parameter η:
where the vector field z is defined as:
The operator M_{pgrad} (operating on a vector field and producing a vector field of the same size) is derived by discretizing the Eqs. 12 and 13 and deriving its adjoint.
Knowing the surface elevation is not required (a priori) to apply this method. It is a free parameter (as the gridded currents) determined by minimizing the cost function using the radial current observations and the considered dynamical constraints (relating the gradient of the surface elevation and the velocity). The method could in theory be extended by also including surface elevation observations which could be tested in followup studies. Such observations are required because we have surface current observations and know how the surface currents are related to the surface elevation.
When the Coriolis force with and without the pressure gradient is used as a constraint, the temporal consistency is enforced via the momentum equation and there is no longer a temporal derivative involved in the regularization penalty in Eq. 2. Therefore, only in the 3D analysis case, there is an explicit temporal correlation parameter involved.
Data
The EMODnet Bathymetry (EMODnet Bathymetry Consortium 2016) is used to delimit the coastline for the present HF radar data analysis. The original resolution of this digital topography is 1/480 degree (1/8 min) and it is subsampled by a factor of 16 both in longitude and latitude. The bathymetry used in the analysis has thus a resolution of 1/30 degree (approximately 2.9 km by 3.7 km in the considered region) covering the area from 0.3^{∘} W to 1.45^{∘} W and from 38.3^{∘} N to 39.4^{∘} N. From this bathymetry, a binary mask is derived to distinguish sea and land points. The Coriolis parameter f is assumed to be constant and computed based on the average latitude equal to a mean latitude of 38.78^{∘} N and the acceleration due to gravity is set to 9.81 m/s^{2};.
Based on the SeaDataNet climatology (Simoncelli et al. 2018) extracted at the center of the domain, the surface mixed layer h is assumed to have a depth of 50 m or the total water depth in areas shallower than 50 m.
Surface currents datasets from HF radar and surface lagrangian drifters provided from the Balearic Islands Coastal Observing and forecasting System (SOCIB, Spain, http://www.socib.es, Tintoré et al. 2013) have been used in this study. SOCIB operates a complex network of observing platforms for longterm monitoring of physical and biogeochemical processes in the Western Mediterranean Sea (Tintoré et al. 2019). The HF radar system of the Ibiza Channel (Lana et al. 2015; Lana et al. 2016) consists of two CODAR SeaSonde radial stations located in Ibiza Island (Puig des Galfí) at 38.952^{∘} N, 1.218^{∘} E (GALF), and on Formentera Island (Cap Barbaria) at 38.665^{∘} N; 1.389^{∘} E (FORM) (Fig. 2). The antennas emit at a central frequency of 13.5 MHz with a bandwidth of 90 kHz, 512point FFT (Doppler Bins), 2Hz sweep rate. The radial velocities are processed from the 15min Doppler spectra averaging with 10min output rate. At the specified operating frequency, measurement depth is approximately 0.9 m (Stewart and Joy 1974). The hourly radial velocities are obtained by applying a centered 75min running average and cover a wide coastal area out to a range approaching 85 km. At least two radial observations were required at each range and bearing in the final radial map. The system has been working operationally since June 2012 and for this study the selected period goes from 1 to 31 October 2014 (Tintoré et al. 2020). The number of available radials for that period is shown in Fig. 3.
We use the CODAR SeaSonde statistics to filter out outliers in the HF radar dataset (CODAR 2016). SeaSonde processing software provides spatial and temporal standard deviations (referred to as spatial and temporal quality in the SeaSonde data files) related to the spatial and temporal averaging of the shorttime radials (typically produced every 10 min) as well as the maximum and minimum velocities for the averaging.
The retained radial data had to satisfy the following conditions:

Spatial and temporal quality smaller than 7 cm/s

Difference between maximum and minimum velocities (computed over the averaging period) less than 20 cm/s

Current speed less than 80 cm/s, as it is the established velocity threshold for radial velocities in the Ibiza Channel
To assess the accuracy of the reconstruction, crossvalidation is used (e.g., Stone 1974; Brankart and Brasseur 1996; AlveraAzcárate et al. 2015). While in some studies crossvalidation data points are individual scalar data points completely chosen at random (Beckers and Rixen 2003), it is considered preferable that the method is tested on gaps with a more realistic spatial extent (e.g., AlveraAzcárate et al. 2009; Beckers et al. 2006). This is achieved by marking some data points as missing from the 30 current maps with the best coverage (for each of the two HF radar stations). We use the coverage maps for the 30 current maps with the least coverage to mark some data points as crossvalidation data in the 30 currents maps with the best coverage. If m_{1} is the binary mask (indicating presence or absence of the data) corresponding to the radial currents with the best coverage and m_{− 1} the binary mask of the radial currents with the lowest coverage, then all measurements where m_{− 1} is masked are considered as crossvalidation data and not used in the subsequent analysis. This procedure is repeated for the dataset with the second best coverage m_{2} and the second worst coverage m_{− 2} up the 30th best/worst coverage map.
In total, there are 639,670 radial measurements, from which 27,136 have been marked for validation, representing 4.2% of the total data coverage. The remaining dataset (95.8%) is used to compute the analyzed vector currents. The obtained analyzed vector currents are then interpolated onto the location of the independent validation dataset to assess the accuracy of the analysis. This general procedure is called crossvalidation. While in some studies, the crossvalidation data points are chosen at random, here for all experiments, exactly the same crossvalidation data points were used to facilitate the comparison of the results.
Results
Various experiments have been carried out to test the influence of the different constraints individually described in Section 2. These numerical experiments are summarized in Table 1.
In the 2D case, every time snapshot is reconstructed using only data from the same time instance. The only parameters for this case are the horizontal correlation length and the 𝜖^{2} parameter.
The cost function depends on the gridded velocity field (and on the surface elevation for the last case), but also on a series of parameters involved in the considered dynamical constraints. For a fixed value of these analysis parameters, the cost function is quadratic and we use an efficient solver for this case (sparse matrix inversion or conjugate gradient method) to obtain the analyzed field.
At a higher level, the analysis parameters (𝜖 and correlation length for the 2D case and additional parameters used in other experiments) are optimized using the adaptive differential evolution method (Storn and Price 1997) implemented in the Julia BlackBoxOptim package (Feldt 2019) by minimizing the RMS error computed from crossvalidation.
The smallest crossvalidation error was obtained using a horizontal correlation length of 2889 m and a 𝜖^{2} parameter controlling the strength of the data constraint in the cost function equal to 0.032. The 2D case is used as the control case for computing the relative improvement for the more complex methods presented in the following. Skill score S for case C is defined in terms of the mean square error RMS^{2} (Murphy 1988):
A zero skill score means that the reconstruction is as “good/bad” as the control case (here the 2D case) and a skill score of 1 means that the reconstruction matches perfectly the validation dataset, which is of course not possible in practice since also the validation dataset is affected by noise.
Figures 4 (2D control analysis) and 5 (3D analysis including Coriolis force and surface pressure gradient) show two example reconstructions for 3 October 2014, 3:00 UTC. The left panels of these figures represent the derived total currents and the center and right panels are the radial velocities, measured by the HF radar sites located in Formentera (i.e., FORM) and Ibiza (i.e., GALF), respectively. Dots are the measured HF radar radial velocities plotted on top of the reprojected analyzed currents for the same snapshot. Where the analyzed radial currents and dots have a similar (resp. different) color, the corresponding residual is small (resp. large). Such plots give an indication of the degree of the observed information retained in the analysis and allow one to detect if the analysis under or overfits the observations.
In both Figs. 4 and 5, there are some differences between the radial velocities and the reprojected analysis currents near the edge of the coverage. It is indeed expected that the error of the radial current measurements increases far away from the corresponding HF radar site. Visually, both analysis methods give quite similar results; it is therefore necessary to evaluate the error statistics relative to the crossvalidation dataset to quantify the impact of the dynamical constraints.
Table 2 shows the RMS error relative to the validation dataset and the corresponding skill score of the different experiments. The RMS errors in this table are based on the reprojected radial currents and the radial current withheld for crossvalidation. As for the reference, the standard deviation of the radial currents (two stations combined) is 0.12 m/s. The first constraint considered is the boundary condition, but it did not produce any noticeable effect on the validation metric. This can be explained by the fact that the boundary conditions, per definition, only act on the coastline and thus the effect is indeed expected to be small on the validated data which is mainly located offshore. The divergence constraint did not have an impact (compared to the 2D control case) for this case. However, a more significant improvement was obtained by including the time dimension and solving the 3D variational problem. For the best results, with a skill score of 0.441, the surface pressure gradient needed to be considered explicitly as well. All parameters were optimized as before using the adaptive differential evolution method (Storn and Price 1997) and the optimal values are shown in Table 2.
In order to test the robustness of the minimization procedure, we repeated four times the optimization for the most complete case (3D_Coriolis_pgrad) with the parameters strength of the data constraints, strength of the dynamical constraints, and the normalization factor γ. We computed the standard deviation normalized by its mean value for the different minimization experiments for the optimal parameter values and the optimal RMS value. The optimal RMS error was virtually identical (with a relative deviation of less than 0.004%). The relative standard deviation of the data constraints was 4% and the relative standard deviation of the strength of the dynamical constraints and the normalization factor γ were 14% and 20% respectively.
From the reconstructed surface currents, the mean current and their temporal variability are also derived (Fig. 6). The latter is represented as ellipses whose size is related to the standard deviation and the orientation to the correlation between the zonal and meridional currents. The standard deviation is scaled down by a factor of 5 to enhance visibility. The variability is actually quite large compared to the mean current in this region. The vectors outside the area covered by both antennas are of course much less reliable. The analysis reveals a quite strong current just in front of Puig des Galfi (GALF).
Drifter validation
Besides the validation with a subset of HF radar data, the reconstructed surface current field is also compared to velocity derived from 13 satellitetracked surface drifters of three different types (i.e., MetOcean CODE, MD03i, ODI) deployed by SOCIB in the Ibiza Channel in September 2014 (Tintoré et al. 2014) as described in Lana et al. (2016). The configuration of the floats was designed to ensure that both measurements, HF radar and drifters, remain intercomparable, being both representative of the upper 1m surface current. The float configuration was designed to ensure that the measurements are representative of the upper 1m surface current, hence ensuring that they are compatible with the HF radar measurements.

ODI, from Albatros Marine Technologies, has a spherical shape with small diameter (0.2 m) and low weight (3 kg), with less than 50% of its body emerging. A drogue of 5 kg was attached at 0.5 m below the sea surface.

MetOcean CODE is a robust solution to acquire coastal and estuarine water currents within a meter of the water surface, minimizing wind drag effects (Davis 1985). The MetOcean CODE drifters had their drogue between 30 and 100 cm and low wind exposure.

MD03i is a cylindershaped drifter, which has a diameter of 0.1 m and a length of 0.32 m, where only approx. 0.08 m is above the water surface when deployed. To enhance the drag, a drogue was attached 0.5 m below the sea surface with a 0.5 m length and diameter. Due to the very small sail area above the water surface, the drifter’s path represents the current in the upper meter of the water column.
Only those drifter positions flagged as “good,” following the SOCIB’s quality procedures (Lana et al. 2015; Ruiz et al. 2018), within the HF radar coverage for total surface currents and for the analyzed period (October 2014) are retained for the drifter validation, as shown in Fig. 7. The velocity is derived from the drifter position using the difference between two successive GPS positions. As the HF radar data also represents a time averaged current measurement, the velocity is filtered by a lowpass filter with a cutoff frequency corresponding to 1 h (which corresponds to the temporal resolution of the HF radar data). The filter is modeled after a 1D diffusion. RMS values are computed per drifter. In order to obtain an overall estimate of the accuracy, we compute the RMS value using all drifter data combined for each of the reconstructions.
The combined RMS errors between the analysis currents (u_{i},v_{i}) and the drifter currents (u_{obs}_{i},v_{obs}_{i}) are defined as following:
where the RMS error for each component is defined as:
It should be noted that different approaches are possible to compute the combined RMS velocity error. For instance, one might divide by 2N instead of N (counting the zonal and meridional components individually).
Table 3 shows the RMS errors of the two best experiments from the previous crossvalidation tests and corresponding skill scores using again the 2D analysis as a control experiment. For the experiment using multiple time instances, so far only 3 time instances (i.e., 3 h) were considered. In a separate set of experiments, the effect of including more time instances was tested. The 3D reconstruction case had the smallest RMS error using 7 h in total and in the case 3D_Coriolis_pgrad the optimal number of time instances was 13. Beyond 13 time instances, the RMS error was no longer reduced.
The improvements of the dynamical constraints are not as large as the improvements obtained using the crossvalidation HF radar data. The best results were obtained, as before, for the case 3D_Coriolis_pgrad. For the 2D control experiment, the RMS error and skill score are also computed per drifter (Table 4). The number of hourly data points ranging from 103 to 2302 is also included. The SOCIB drifter with the name md03i004_scb is quite representative in terms of skill score for the overall improvement relative to the drifters and the zonal u and meridional v components are shown in Fig. 8. Significant inertial oscillations are quite apparent from this time series (and also from the trajectory plots in Fig. 7). The overall match between the drifter currents and the HF radar currents is quite good. Some spurious variability in the 2D analysis at short time scales is visible from the analysis. The temporal coherence is improved by including the time dimension and the discussed dynamical constraints. If a posteriori smoothing of the results were sufficient, then one would have expected that the 3D experiment would be of similar accuracy which is clearly not the case as shown in Table 3.
The computation time for the most complete case (using 13 hours of data for a single reconstruction) is 26 h to reconstruct 744 current maps on 6 CPUs (Intel Xeon CPU E52660). On average, a single current map is reconstructed in 2 min of CPU time.
The improvements resulting from the inclusion of the dynamical constraints are less important when comparing the results to the drifter data. There are some inherent differences between HF radar currents and currents from drifters such as different integration depth, errors due to geometric dilution of precision, and different time and spatial resolutions. The difference between the interpolated HF radar data and the drifter velocity is due to (i) inherent differences between radar and drifter currents and (ii) interpolation error. By testing different interpolation schemes, we can only reduce the contribution of the second error term. In principle, one can also try to reduce the random and nonsystematic part of the inherent differences but not systematic error.
In particular, the longest drifter time series md03i004_scb has an RMS error of 0.0592 m/s and 0.0688 m/s (for the u and v component respectively) when comparing the HF radar currents (without interpolation) to drifter currents as computed by Lana et al. (2016). This time series (using only HF radar where they are present) is 173 h long. The best method gives an RMS error of the interpolation currents of 0.0624 m/s and 0.0592 m/s (for the u and v components respectively). The interpolated time series with matching drifter data is 233 h long. It is natural to expect that the interpolated time series would have a larger RMS error than the original (gappy) data. However, we were able to show that the interpolated time series has a similar RMS error than the original data.
We also compared our method to the results from the OpenBoundary Modal Analysis (OMA) which is a quite commonly used method to interpolate HF radar observations (Kaplan and Lekien 2007) and which it is part of the HFR Progs package (https://github.com/rowg/hfrprogs/tree/master/matlab/OMA). The OMA is based on a set of linearly independent velocity modes (189 in the case of the Ibiza Channel HF radar) that are calculated before they are fitted to the radial data. OMA considers the kinematic constraints imposed on the velocity field by the coast since OMA modes are calculated taking into account the coastline by setting a zero normal flow.
Depending on the constraints of the methodology, it can be limited in representing localized smallscale features as well as flow structures near open boundaries. Also, difficulties may arise when dealing with gappy data, especially when the horizontal gap size is larger than the minimal resolved length scale (Kaplan and Lekien 2007) or when only data from one antenna are available. In the case of large gaps, unphysically fitted currents can be obtained if the size of the gap is larger than the smallest spatial scale (6 km in our case) of the modes, since the mode amplitudes are not sufficiently constrained by the data (Kaplan and Lekien 2007).
The RMS error relative to drifter observations for the OMA method has been computed (RMS_{u} = 0.0570 m/s, RMS_{v} = 0.0756 m/s for all drifters combined). The method 3D_Coriolis_pgrad (RMS_{u} = 0.0536m/s, RMS_{V} = 0.0680 m/s) compares favorably to the OMA method once multiple time instances are considered together. When using data from different time instances, it is necessary to specify how they are related. This is done in the present manuscript using the momentum equation (including the Coriolis force and the surface pressure gradient). If for instance the Coriolis force would not be taken into account, the amplitude of the inertial oscillations would be significantly smoothed out.
Conclusions
The DIVA framework is extended to handle surface currents and able to deal with observations when only one component of the velocity vector is measured. In order to check the importance of dynamical constraints in gridding a velocity field, a 2D analysis is used as the control experiments for different test cases. Including boundary conditions and the constraints on small divergence did not improve the accuracy of the constructions. However, the skill score was improved when taking for every time instance the previous and the following radial maps into account (i.e., a 3D analysis). By including in the cost function a momentum balance with the Coriolis force and surface pressure gradient, we can successively improve the skill score of the analysis. The best analysis procedure was obtained when considering the Coriolis force and the surface pressure gradient. Dynamical information appears to be quite beneficial when analyzing surface currents.
The main conclusion is also supported when comparing the results to drifter data. The skill scores relative to the control experiment are not as significant as relative to the HF radar crossvalidation data. However, the best analysis was again obtained by considering the Coriolis force, the surface pressure gradient, and including the time dimension in the analysis. The comparison of drifter showed that the presented method compares favorably to the reconstruction from the OMA method.
It should be noted that if the area is well covered by observations and gaps are relatively small and infrequent, then many interpolation methods are likely to provide similar results. But if large gaps exist in space and/or time, using an interpolation algorithm able to leverage a priori information about the field to interpolate (like dynamical constraints and data at different time instances as shown here) can be beneficial and can avoid excessive smoothing when interpolating over large gaps.
The source code of the analysis is available under the terms of the GPL license at the address https://github.com/gherulg/DIVAnd_HFRadar.jl.
References
Abascal AJ, Castanedo S, Medina R, Losada IJ, AlvarezFanjul E (2009) Application of HF radar currents to oil spill modelling. Mar Pollut Bull 58(2):238–248. https://doi.org/10.1016/j.marpolbul.2008.09.020
AlveraAzcárate A, Barth A, Rixen M, Beckers JM (2005) Reconstruction of incomplete oceanographic data sets using Empirical Orthogonal Functions. Application to the Adriatic Sea Surface Temperature. Ocean Model 9:325–346. https://doi.org/10.1016/j.ocemod.2004.08.001. http://hdl.handle.net/2268/4296
AlveraAzcárate A, Barth A, Sirjacobs D, Beckers JM (2009) Enhancing temporal correlations in EOF expansions for the reconstruction of missing data using DINEOF. Ocean Sci 5:475–485. https://doi.org/10.5194/os54752009. http://www.oceansci.net/5/475/2009/
AlveraAzcárate A, Vanhellemont Q, Ruddick K, Barth A, Beckers JM (2015) Analysis of high frequency geostationary ocean colour data using DINEOF. Estuar Coast Shelf Sci 159:28–36. https://doi.org/10.1016/j.ecss.2015.03.026
AlveraAzcárate A, Barth A, Parard G, Beckers JM (2016) https://doi.org/10.1016/j.rse.2016.02.044, special Issue: ESA’s Soil Moisture and Ocean Salinity Mission  Achievements and Applications. Remote Sens Environ 180:137–145
Arakawa A, Lamb V (1977) Computational design of the basic dynamical process of the UCLA general circulation model. Methods in Computational Physics. Academic Press, Cambridge, pp 173–265
Barrick D (1978) HF radio oceanography–a review. Boundary–Layer Meteorol 13:23–43
Barth A, Beckers JM, Troupin C, AlveraAzcárate A, Vandenbulcke L (2014) divand1.0: ndimensional variational data analysis for ocean observations. Geosci Model Dev 7(1):225–241. https://doi.org/10.5194/gmd72252014. http://www.geoscimodeldev.net/7/225/2014/
Beckers JM, Rixen M (2003) EOF calculation and data filling from incomplete oceanographic datasets. J Atmos Ocean Technol 20:1839–1856. https://doi.org/10.1175/15200426(2003)020<1839:ECADFF>2.0.CO;2
Beckers JM, Barth A, AlveraAzcárate A (2006) DINEOF reconstruction of clouded images including error maps. Application to the Sea Surface Temperature around Corsican Island. Ocean Sci 2:183–199. https://doi.org/10.5194/os21832006
Beckers JM, Barth A, Troupin C, AlveraAzcárate A (2014) Approximate and efficient methods to assess error fields in spatial gridding with data interpolating variational analysis (DIVA). J Atmos Ocean Technol 31:515–530. https://doi.org/10.1175/JTECHD1300130.1. http://hdl.handle.net/2268/161069
Brankart JM, Brasseur P (1996) Optimal analysis of in situ data in the Western Mediterranean using statistics and crossvalidation. J Atmos Ocean Technol 13(2):477–491. https://doi.org/10.1175/15200426(1996)013<0477:OAOISD>2.0.CO;2
Brasseur P, Haus J (1991) Application of a 3–D variational inverse model to the analysis of ecohydrodynamic data in the Northern Bering and Southern Chuckchi seas. J Mar Syst 1:383–401. https://doi.org/10.1016/09247963(91)90006G
Chapman RD, Graber HC (1997) Validation of HF radar measurements. Oceanography 10:76–79. https://doi.org/10.5670/oceanog.1997.28
CODAR (2016) LLUV File Format. CODAR. http://support.codar.com/Technicians_Information_Page_for_SeaSondes/Manuals_Documentation_Release_8/File_Formats/File_LLUV.pdf, accessed: 15 April
Crombie DD (1955) Doppler spectrum of sea echo at 13.65 Mc./s. Nature 176:681–682. https://doi.org/10.1038/175681a0
Davis RE (1985) Drifter observations of coastal surface currents during code: The method and descriptive view. J Geophys Res Oceans 90(C3):4741–4755. https://doi.org/10.1029/JC090iC03p04741, https://agupubs.onlinelibrary.wiley.com/doi/pdf/10.1029/JC090iC03p04741
Emery BM, Washburn L, Love MS, Nishimoto MM, Ohlmann JC (2006) Do oil and gas platforms reduce the recruitment of bocaccio (Sebastes paucispinis) to natural habitat? An analysis based on trajectories derived from highfrequency radar. Fish Bull 104(3):391–400
EMODnet Bathymetry Consortium (2016) EMODnet Digital Bathymetry (DTM 2016). https://doi.org/10.12770/c7b53704999d4721b1a304ec60c87238
Feldt R (2019) Robertfeldt/BlackBoxOptim,.jl. https://github.com/robertfeldt/BlackBoxOptim.jl, version 0.5.0
Fredj E, Roarty H, Kohut J, Smith M, Glenn S (2016) Gap filling of the coastal ocean surface currents from HFR data: application to the midatlantic bight HFR network. J Atmos Oceanic Tech 33 (6):1097–1111. https://doi.org/10.1175/JTECHD150056.1
Graber HC, Haus BK, Chapman RD, Shay LK (1997) HF radar comparisons with moored estimates of current speed and direction: Expected differences and implications. J Geophys Res Oceans 102 (C8):18,749–18,766. https://doi.org/10.1029/97JC01190
Gurgel KW (1994) Shipborne measurement of surface current fields by HF radar (extended version). L’Onde Electrique 74(5):54–59
Haidvogel D, Beckmann A (1999) Numerical ocean circulation modeling, Series on Environmental Science and Management, vol 2. Imperial College Press, London. https://doi.org/10.1142/9781860943935_0008
Helbig JA, Pepin P (2002) The effects of short space and time scale current variability on the predictability of passive ichthyoplankton distributions: an analysis based on HF radar observations. Fish Ocean 11:175–88. https://doi.org/10.1046/j.13652419.2002.00195.x
HernándezCarrasco I, Solabarrieta L, Rubio A, Esnaola G, Reyes E, Orfila A (2018) Impact of HF radar current gapfilling methodologies on the Lagrangian assessment of coastal dynamics. Ocean Sci 14(4):827–847,. https://doi.org/10.5194/os148272018. https://www.oceansci.net/14/827/2018/
Janjić T, Bormann N, Bocquet M, Carton JA, Cohn SE, Dance SL, Losa SN, Nichols NK, Potthast R, Waller JA, Weston P (2018) On the Representation Error in Data Assimilation. Q J Roy Meteorol Soc 144(713):1257–1278. https://doi.org/10.1002/qj.3130
Kaplan DM, Lekien F (2007) Spatial interpolation and filtering of surface current data based on openboundary modal analysis. J Geophys Res Oceans 112:C12. https://doi.org/10.1029/2006JC003984
Keppenne CL, Rienecker MM, Jacob JP, Kovach R (2008) Error covariance modeling in the GMAO ocean ensemble Kalman filter. Mon Weather Rev 136(8):2964–2982. https://doi.org/10.1175/2007MWR2243.1
Kim SY, Terrill E, Cornuelle B (2007) Objectively mapping HF radarderived surface current data using measured and idealized data covariance matrices. J Geophys Res Oceans 112:C06,021. https://doi.org/10.1029/2006JC003756
Kim SY, Terrill EJ, Cornuelle BD (2008) Mapping surface currents from HF radar radial velocity measurements using optimal interpolation. J Geophys Res Oceans 113:C10,023. https://doi.org/10.1029/2007JC004244
Kohonen T (1997) Selforganizing maps, 2nd edn. Springer, Heidelberg
Lana A, Fernandez V, Tintoré J (2015) SOCIB Continuous observations of Ibiza Channel using HF radar. Sea Technol 56(3):31–34
Lana A, Marmain J, Fernández V, Tintoré J, Orfila A (2016) Wind influence on surface current variability in the Ibiza Channel from HF radar. Ocean Dyn 66:483–497. https://doi.org/10.1007/s102360160929z
Lauvset SK, Key RM, Olsen A, van Heuven S, Velo A, Lin X, Schirnick C, Kozyr A, Tanhua T, Hoppema M, Jutterström S, Steinfeldt R, Jeansson E, Ishii M, Perez FF, Suzuki T, Watelet S (2016) A new global interior ocean mapped climatology: The 1^{∘} × 1^{∘} GLODAP version 2. Earth Syst Sci Data 8(2):325–340. https://doi.org/10.5194/essd83252016
Lekien F, Coulliette C, Bank R, Marsden J (2004) Openboundary modal analysis: Interpolation, extrapolation, and filtering. J Geophys Res Oceans C12(C12):004. https://doi.org/10.1029/2004JC002323
Lipa B, Barrick D (1983) Leastsquares methods for the extraction of surface currents from CODAR crossedloop data: Application at ARSLOE. IEEE J Ocean Eng 8(4):226–253. https://doi.org/10.1109/JOE.1983.1145578
Mantovani C, Corgnati L, Horstmann J, Rubio A, Reyes E, Quentin C, Cosoli S, Asensio JL, Mader J, Griffa A (2020) Best practices on high frequency radar deployment and operation for ocean current measurement. Front Mar Sci 7:210. https://doi.org/10.3389/fmars.2020.00210
Millot C, Crépon M (1981) Inertial oscillations on the continental shelf of the gulf of lionsobservations and theory. J Phys Oceanogr 11(5):639–657. https://doi.org/10.1175/15200485(1981)011<0639:IOOTCS>2.0.CO;2
Murphy AH (1988) Skill scores based on the mean square error and their relationships to the correlation coefficient. Monthly Weather Review 116:2417–2424. https://doi.org/10.1175/15200493(1988)116<2417:SSBOTM>2.0.CO;2
Ngodock H, Carrier M, Smith S, Souopgui I (2017) Weak and strong constraints variational data assimilation with the NCOM4DVAR in the Agulhas region using the Representer Method. Mon Weather Rev 145(5):1755–1764. https://doi.org/10.1175/MWRD160264.1
O’Donnell J, Ullman D, Spaulding ML, Howlett E, Fake T, Hall P, Isaji T, Edwards C, Anderson E, McClay T (2005) Integration of coastal ocean dynamics application radar (CODAR) and shortterm predictive system (STPS): Surface current estimates into the search and rescue optimal planning system (SAROPS). Tech. Rep. DTCG3900DR00008/HSCG3204J100052, U.S. Coast Guard. https://apps.dtic.mil/docs/citations/ADA444766
Roarty H, Hazard L, Fanjul E (2016) Growing network of radar systems monitors ocean surface currents. Eos 97. https://doi.org/10.1029/2016eo049243
Roarty H, Cook T, Hazard L, George D, Harlan J, Cosoli S, Wyatt L, Alvarez Fanjul E, Terrill E, Otero M, Largier J, Glenn S, Ebuchi N, Whitehouse B, Bartlett K, Mader J, Rubio A, Corgnati L, Mantovani C, Griffa A, Reyes E, Lorente P, FloresVidal X, SaavedraMatta KJ, Rogowski P, Prukpitikul S, Lee SH, Lai JW, Guerin CA, Sanchez J, Hansen B, Grilli S (2019) The global high frequency radar network. Front Marine Sci 6:164. https://doi.org/10.3389/fmars.2019.00164
Rubio A, Mader J, Corgnati L, Mantovani C, Griffa A, Novellino A, Quentin C, Wyatt L, SchulzStellenfleth J, Horstmann J, Lorente P, Zambianchi E, Hartnett M, Fernandes C, Zervakis V, Gorringe P, Melet A, Puillat I (2017) HF radar activity in european coastal seas: next steps toward a PanEuropean HF radar network. Front Marine Sci 4:8. https://doi.org/10.3389/fmars.2017.00008
Ruiz I, Muñoz C, Sebastian K, Lora S (2018) SOCIB QC procedures (Version 1.5). Tech rep. Balearic Islands Coastal Observing and Forecasting System, SOCIB. https://doi.org/10.25704/q4zstspv
Salat J, Tintoré J, Font J, Wang DP, Vieira M (1992) Nearinertial motion on the shelfslope front off northeast Spain. J Geophys Res 97(C5):7277–7281. https://doi.org/10.1029/92JC00588
Simoncelli S, Myroshnychenko V, Coatanoan C (2018) SeaDataCloud temperature and salinity historical data collection for the mediterranean sea (Version 1). Report, SeaDataCloud, https://doi.org/10.13155/57036. https://archimer.ifremer.fr/doc/00459/57036/
Stewart RH, Joy JW (1974) HF radio measurements of surface currents. In: Deep sea research and oceanographic abstracts, vol 21, pp 1039–1049, DOI https://doi.org/10.1016/00117471(74)900667
Stone M (1974) Crossvalidatory choice and assessment of statistical predictions. J Royal Stat Soc Ser B Methodol 36(2):111–133. https://doi.org/10.1111/j.25176161.1974.tb00994.xhttps://rss.onlinelibrary.wiley.com/doi/pdf/10.1111/j.25176161.1974.tb00994.x
Storn R, Price K (1997) Differential evolution – a simple and efficient heuristic for global optimization over continuous spaces. J Glob Optim 11(4):341–359. https://doi.org/10.1023/A:1008202821328
Tintoré J, Lana A, Marmain J, Fernández V, Orfila A (2014) SOCIB EXP RADAR Sep2014 (Version 1.0) [Drifter data set]. Tech rep. Balearic Islands Coastal Observing and Forecasting System, SOCIB
Tintoré J, Lana A, Marmain J, Fernández V, Casas B, Reyes E (2020) HF Radar Ibiza data (Version 1.0) [Data set]. Tech rep. Balearic islands coastal observing and forecasting system, SOCIB
Tintoré J, Wang DP, García E, Viúdez A (1995) Nearinertial motions in the coastal ocean. J Mar Syst 6:301–312. https://doi.org/10.1016/09247963(94)00030F
Tintoré J, Vizoso G, Casas B, Heslop E, Pascual A, Orfila A, Ruiz S, MartínezLedesma M, Torner M, Cusí S, Diedrich A, Balaguer P, GómezPujol L, Álvarez Ellacuria A, Gómara S, Sebastian K, Lora S, Beltrán J P, Renault L, Juzà M, Álvarez D, March D, Garau B, Castilla C, Cañellas T, Roque D, Lizarán I, Pitarch S, Carrasco MA, Lana A, Mason E, Escudier R, Conti D, Sayol JM, Barceló B, Alemany F, Reglero P, Massuti E, VélezBelchí P, Ruiz J, Oguz T, Gómez M, Álvarez E, Ansorena L, Manriquez M (2013) SOCIB: the balearic islands coastal ocean observing and forecasting system responding to science, technology and society needs. Mar Technol Soc J 47(1):101–117. https://doi.org/10.4031/MTSJ.47.1.10
Tintoré J, Pinardi N, Álvarez Fanjul E, Aguiar E, Álvarez Berastegui D, Bajo M, Balbin R, Bozzano R, Nardelli BB, Cardin V, Casas B, CharcosLlorens M, Chiggiato J, Clementi E, Coppini G, Coppola L, Cossarini G, Deidun A, Deudero S, D’Ortenzio F, Drago A, Drudi M, El Serafy G, Escudier R, Farcy P, Federico I, Fernández J G, Ferrarin C, Fossi C, Frangoulis C, Galgani F, Gana S, García Lafuente J, Sotillo MG, Garreau P, Gertman I, GómezPujol L, Grandi A, Hayes D, HernándezLasheras J, Herut B, Heslop E, Hilmi K, Juza M, Kallos G, Korres G, Lecci R, Lazzari P, Lorente P, Liubartseva S, Louanchi F, Malacic V, Mannarini G, March D, Marullo S, Mauri E, Meszaros L, Mourre B, Mortier L, MuñozMas C, Novellino A, Obaton D, Orfila A, Pascual A, Pensieri S, Pérez Gómez B, Pérez Rubio S, Perivoliotis L, Petihakis G, de la Villéon L P, Pistoia J, Poulain PM, Pouliquen S, Prieto L, Raimbault P, Reglero P, Reyes E, Rotllan P, Ruiz S, Ruiz J, Ruiz I, RuizOrejón L F, Salihoglu B, Salon S, Sammartino S, Sánchez Arcilla A, SánchezRomán A, Sannino G, Santoleri R, Sardá R, Schroeder K, Simoncelli S, Sofianos S, Sylaios G, Tanhua T, Teruzzi A, Testor P, Tezcan D, Torner M, Trotta F, Umgiesser G, von Schuckmann K, Verri G, Vilibic I, Yucel M, Zavatarelli M, Zodiatis G (2019) Challenges for sustained observing and forecasting systems in the mediterranean sea. Front Marine Sci 6:568. https://doi.org/10.3389/fmars.2019.00568
Troupin C, Machín F, Ouberdous M, Sirjacobs D, Barth A, Beckers JM (2010) Highresolution climatology of the northeast atlantic using datainterpolating variational analysis (Diva). J Geophys Res 115:C08,005. DOI:10.1029/2009JC005512. http://hdl.handle.net/2268/68400
Troupin C, Barth A, Sirjacobs D, Ouberdous M, Brankart JM, Brasseur P, Rixen M, AlveraAzcárate A, Belounis M, Capet A, Lenartz F, Toussaint ME, Beckers JM (2012) Generation of analysis and consistent error fields using the Data Interpolating Variational Analysis (DIVA). Ocean Model 52–53:90–101. https://doi.org/10.1016/j.ocemod.2012.05.002, http://hdl.handle.net/2268/125731
Tyberghein L, Verbruggen H, Pauly K, Troupin C, Mineur F, Clerck OD (2012) BioORACLE: A global environmental dataset for marine species distribution modelling. Glob Ecol Biogeogr 21(2):272–281. https://doi.org/10.1111/j.14668238.2011.00656.x
Ullman D, O’Donnell J, Edwards C, Fake T, Morschauser D, 2003 Use of Coastal Ocean Dynamics Application Radar (CODAR) Technology in U.S. Coast Guard Search and Rescue Planning. Tech. Rep. CGD0903, United States Coast Guard. http://codar.com/images/about/2003USCoastGuardreport.pdf
Ullman DS, O’Donnell J, Kohut J, Fake T, Allen A (2006) Trajectory prediction using HF radar surface currents: Monte Carlo simulations of prediction uncertainties. J Geophys Res 111:C12005. https://doi.org/10.1029/2006JC003715
Vandenbulcke L, Beckers JM, Barth A (2017) Correction of inertial oscillations by assimilation of HF radar data in a model of the Ligurian Sea. Ocean Dyn, 117–135
Wait JR (1966) Theory of HF ground wave backscatter from sea waves. J Geophys Res (18961977) 71(20):4839–4842. https://doi.org/10.1029/JZ071i020p04839
Yaremchuk M, Sentchev A (2009) Mapping radarderived sea surface currents with a variational method. Cont Shelf Res 29(14):1711–1722. c09009
Yaremchuk M, Sentchev A (2011) A combined EOF/variational approach for mapping radarderived sea surface currents. Cont Shelf Res 31(7–8):758–768. https://doi.org/10.1016/j.csr.2011.01.009
Zelenke B, Moline M, Jones BH, Ramp S, Crawford GB, Largier J, Terrill E, Garfield N, Paduan JD, Washburn L (2009) Evaluating connectivity between marine protected areas using CODAR highfrequency radar. In: OCEANS 2009, MTS/IEEE Biloxi  Marine Technology for Our Future: Global and Local Challenges, Biloxi, MS, USA
Acknowledgments
The first author wishes to thank the Balearic Island Coastal Observing and Forecasting System (SOCIB) for making data freely available from their HF radar system in the Ibiza Channel and from the surface Lagrangian drifters. EMODnet Bathymetry is also acknowledged for providing the highresolution bathymetry and the SeaDataCloud project for the temperature and salinity climatology.
Funding
The F.R.S.FNRS (Fonds de la Recherche Scientifique de Belgique) funded the position of Alexander Barth. Computational resources have been provided in part by the Consortium des Équipements de Calcul Intensif (CÉCI), funded by the F.R.S.FNRS under Grant No. 2.5020.11 and by the Walloon Region. Support from the SeaDataCloud project (grant agreement no. 730960) and the JERICOS3 project (grant agreement no. 871153) funded by European Union’s Horizon 2020 and the EMODnet Physics project, funded by the European Commission Directorate General for Maritime Affairs and Fisheries are also gratefully acknowledged.
Author information
Affiliations
Corresponding author
Additional information
Responsible Editor: Emil Vassilev Stanev
Appendix: 1: Relationship to the leastsquare solution
Appendix: 1: Relationship to the leastsquare solution
In this appendix, we show that the proposed method to derive total currents from radials leads to the same solution as the closedform solution presented in Graber et al. (1997) if the smoothness and dynamical constraints are ignored . As in Graber et al. (1997), we assume that we have two radial measurements at the same location from two HF radar sites. At this location, we note 𝜃_{1} (resp. 𝜃_{2}), the angle between the true North and the first (resp. second) HF radar site counted clockwise. The unit vector pointing to the ith radar site is thus \(\mathbf {p}_{i} = (\sin \limits (\theta _{i}), \cos \limits (\theta _{i}))\) (for i = 1, 2). In this manuscript, positive radial currents \(u_{r_{i}}\) represent water moving toward the HF radar sites as this is the convention adopted in the SeaSonde radial file format.
If the dynamical and smoothness constraints are ignored, then minimizing (3) is equivalent to minimize J_{u,v} for two HF radar sites:
where u and v are the total velocity components and \({\epsilon ^{2}_{i}}\) is the expected error variance of the radial measurement \(u_{r_{i}}\). By setting the derivative of this cost function relative to u and v to 0, one obtains the following system of equations:
By variable elimination, this system can be reduced to:
This system simply means that the reprojected total current should be simply equal to the radial currents. Note that the solution does no longer depend on \({\epsilon ^{2}_{i}}\) for this particular case.
Provided that 𝜃_{1} − 𝜃_{2}≠nπ (for all \(n \in \mathbb {Z}\)), the solution to these equations is given by:
This solution is identical to the equations 10 and 11 in Graber et al. (1997). If 𝜃_{1} − 𝜃_{2} = π, then the two HF radar sites are just in front of each other (relative to the measurement site) which correspond to the geometric dilution of precision as described in Chapman and Graber (1997).
Some authors (e.g., Lipa and Barrick 1983) determine the total current by minimizing the cost function expressedas current speed and current direction but it leads to the same solution as the cost function is expressed an equivalent way (compare (22) to equation 39 of Lipa and Barrick (1983)) as using current speed and current direction instead of zonal and meridional currents is simply a variable transformation.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Barth, A., Troupin, C., Reyes, E. et al. Variational interpolation of highfrequency radar surface currents using DIVAnd. Ocean Dynamics 71, 293–308 (2021). https://doi.org/10.1007/s1023602001432x
Received:
Accepted:
Published:
Issue Date:
Keywords
 HF radar
 Surface currents
 Dynamic constraints
 Datainterpolating variational analysis
 Ibiza Channel