SWOT Spatial Scales in the Western Mediterranean Sea Derived from Pseudo-Observations and an Ad Hoc Filtering

The aim of this study is to assess the capacity of the Surface Water Ocean Topography (SWOT) satellite to resolve fine scale oceanic surface features in the western Mediterranean. Using as input the Sea Surface Height (SSH) fields from a high-resolution Ocean General Circulation Model (OGCM), the SWOT Simulator for Ocean Science generates SWOT-like outputs along a swath and the nadir following the orbit ground tracks. Given the characteristic temporal and spatial scales of fine scale features in the region, we examine temporal and spatial resolution of the SWOT outputs by comparing them with the original model data which are interpolated onto the SWOT grid. To further assess the satellite’s performance, we derive the absolute geostrophic velocity and relative vorticity. We find that instrument noise and geophysical error mask the whole signal of the pseudo-SWOT derived dynamical variables. We therefore address the impact of removal of satellite noise from the pseudo-SWOT data using a Laplacian diffusion filter, and then focus on the spatial scales that are resolved within a swath after this filtering. To investigate sensitivity to different filtering parameters, we calculate spatial spectra and root mean square errors. Our numerical experiments show that noise patterns dominate the spectral content of the pseudo-SWOT fields at wavelengths below 60 km. Application of the Laplacian diffusion filter allows recovery of the spectral signature within a swath down to the 40–60 km wavelength range. Consequently, with the help of this filter, we are able to improve the observation of fine scale oceanic features in pseudo-SWOT data, and in the estimation of associated derived variables such as velocity and vorticity.


Introduction
The Surface Water and Ocean Topography (SWOT) satellite mission is a joint mission by the National Aeronautics and Space Administration (NASA) and the Centre National d'Études Spatiales (CNES), with contributions from the UK and Canadian Space Agencies [1].Presently, the satellite's launch is planned for 2021 [2].It will provide water elevation maps for oceanographic and hydrological purposes [3,4].The novelty of this satellite is that it carries a wide-swath altimeter with unprecedented horizontal resolution and global coverage.On the other hand, the associated irregular temporal sampling will constitute a challenge for the exploitation of the data.SWOT will have a 21-day repeat cycle and the revisit time will vary from approximately 10 days at the equator to two days at the poles [5,6].This implies temporal variability in spatial coverage as the number of observations per repeat cycle will increase with latitude.Moreover, there will also be a temporal variability within a cycle.During each cycle, there are periods of time with a higher temporal sampling.This is due to a longer revisit time so that SWOT also fulfills its hydrological objectives by providing coverage of the bulk of the global land surface [7].In satellite measurements, there is always a compromise between spatial and temporal resolution.As SWOT aims for global coverage, i.e., high spatial resolution, we lose in temporal resolution (SWOT's repeat cycle will be longer than, for example, the 10-day repeat cycle of the Jason altimeter satellites [8]).
One of the primary oceanographic objectives of the SWOT mission is to characterize the ocean meso-and submesoscale circulation [9] determined from ocean surface topography at spatial resolutions of 15 km (spatial resolution is defined to be perturbation wavelength in the oceanographic context).The resolution capacity of current along-track one-dimensional altimeter data, depending on the altimeter, has been found to be between 40 and 50 km at western boundary currents and between 70 and 110 km at the eastern basins [10].Two-dimensional gridded products based on the altimetric constellation allow for mapping wavelengths down to 200 km [11].The SWOT mission is expected to allow to capture wavelengths down to 15 km on its two-dimensional swaths [12], therefore increasing substantially the resolution capacity of present-day altimeter data.The possibility of characterizing the submesoscale is a major breakthrough.While the mesoscale has historically received a lot of attention [13], the submesoscale has previously been out of reach.Theoretical calculations and advanced modeling suggest that submesoscale processes are key to understanding ocean fluxes [14][15][16].A pertinent example is the occurrence of mid-ocean plankton blooms [17].
In the Mediterranean Sea, intense mesoscale and submesoscale variability interact across sub-basin and basin scales [18][19][20].This variability has an indirect impact on the Atlantic Ocean circulation due to exchange through the Strait of Gibraltar and, subsequently, influence on the great ocean conveyor belt [21][22][23].Three scales of motion are therefore overlaid, making an amalgam of intricate processes that require high resolution and can help assess the potential impact that SWOT will have on the study of processes occurring at different scales.
Understanding small scale variability in the Mediterranean Sea is important as it is a region with intrinsically smaller spatial scales than those found in other parts of the world ocean at similar latitudes.Ref. [24] showed that the grid resolution necessary to resolve the first baroclinic deformation radius in the Mediterranean is around 1/16 o , whilst in the Atlantic Ocean at the same latitude it is only 1/6 o .This implies that smaller structures need to be resolved in the Mediterranean Sea compared to the mid-latitudes of the Atlantic Ocean.This is further demonstrated by [25] who show that lower values of the first baroclinic Rossby radius of deformation are present in the western Mediterranean Sea.These values are approximately between 2 and 16 km, in comparison with a 20-30 km range found at mid-latitudes of the Atlantic Ocean [26].The Mediterranean values are actually closer to the values found in the Arctic Ocean [27].
The western Mediterranean Sea is one of the areas of the global ocean that will be sampled during the SWOT fast-sampling phase [28].This phase covers the first 60-90 days after launch, during which the satellite will provide daily high resolution Sea Surface Height (SSH) measurements over a limited repeated orbit for purposes of calibration/validation of the SWOT sensor/instrument.
The goal of this study is to assess the capacity of SWOT to resolve the fine scales in the western Mediterranean.Our first objective is to generate pseudo-SWOT data from numerical model outputs in this region in order to understand its temporal and spatial sampling pattern in this area.We then apply a noise-reduction processing technique to pseudo-SWOT data to find out the spatial scales that SWOT may ultimately be able to resolve.Given SWOT's irregular time sampling and consequent variable spatial coverage, in this paper, we focus on the spatial scales resolved within a swath.

The SWOT Simulator
With a view to characterizing the potential of SWOT-derived SSH data, we consider a simulation-based framework using the SWOT Simulator for Ocean Science (version 1).This simulator accounts for both SWOT space-time sampling patterns and noise processes.Using as input the SSH fields from an Oceanic General Circulation Model (OGCM), the SWOT simulator generates SWOT-like outputs along a ground swath and the nadir following the orbit ground tracks [29].Hereinafter, we refer to these outputs as SSH outputs.Note that these simulated fields correspond to Absolute Dynamic Topography (ADT) values in altimetric terminology.
A flowchart of the simulator workflow is provided in Figure 1.Two features should be pointed out.Grid files, generated in the first step of the flowchart, account for the planned orbit of the satellite and the specified domain.Instrument noise and geophysical errors are added during the last step of the flowchart, following recent technical characteristics established by the SWOT project team [29].Instrument noise is composed of Ka-band Radar Interferometer (KaRIN) noise, roll, phase, baseline dilation and timing errors (see [30]).In this version of the simulator, the only geophysical error is associated with the wet troposphere.Therefore, it is important to keep in mind that additional noise patterns, such as sea state bias [29] or the effects of internal waves [2] are not accounted for in the generated pseudo-SWOT data.For more details on the instrument noise and geophysical errors added by the SWOT simulator, see Appendix B.

Input Data: The Western Mediterranean OPerational (WMOP) Model
A high resolution OGCM of the western Mediterranean region provides input data for the SWOT simulator.We used the WMOP model [31] developed at SOCIB (Balearic Islands Coastal Observing and Forecasting System).More specifically, we consider a 7-year free run simulation of the model spanning the period 2009 -2015, with spatial coverage from the Strait of Gibraltar to the Sardinia Channel (Figure 2).WMOP is a regional configuration of the Regional Oceanic Model System (ROMS) model [32] with a spatial resolution of approximately 2 km.WMOP is forced with high resolution atmospheric forcing (HIRLAM model from the Spanish Meteorological Agency AEMET), with temporal resolution of 3 h and spatial resolution of 5 km.These features make WMOP a suitable choice to evaluate the potential of SWOT-derived SSH data to resolve mesoscale processes in the western Mediterranean Sea.The presence of fine scale features of a few kilometers is illustrated in Figure 2. In Figure 2, we show snapshots of model relative vorticity (normalized by f) for days corresponding to pass 15 (Figure 2, left) and pass 168 (Figure 2, right) of cycle 2 of the SWOT orbit (see Figure 3).Zonal (u g ) and meridional (v g ) (with respect to the SWOT grid) surface geostrophic velocity components are calculated as: where g is the gravitational acceleration, f the Coriolis parameter and η the sea level elevation.The absolute geostrophic velocity (V g ) is obtained with: Geostrophic relative vorticity, ζ, is calculated from the zonal and meridional velocities:

Noise Filtering
As illustrated in Section 3, noise greatly affects the computation of the velocities derived from the pseudo-SWOT data.We therefore investigate filtering procedures for noise removal.The geometry of the SWOT data prevents us from using classical Fourier and convolution-based low-pass filters [33].Fourier-based filters impose circularity constraints, which cannot be fulfilled; the masks associated with convolution-based filters should be significantly smaller than the width of the SWOT swath, which greatly limits low-pass filtering capabilities.We then considered a Partial Derivative Equation (PDE)-based formulation, such that the low-pass filtering results from an iterated Laplacian diffusion: As the Green's function for the heat equation is a Gaussian kernel, the implementation of this PDE-based diffusion is equivalent to a Gaussian convolution and results in an isotropic filtering, that is to say that the filtering acts equally in all directions [34].Using a four-neighbourhood discretization of the Laplacian operator, we can deal with missing data (e.g., nadir) or land (e.g., island) pixels.The Laplacian operator comes to compute a local mean over the four neighbours of a given pixel.Withdrawing land pixels and missing data from the computation of this local mean, we can iterate the Laplacian diffusion to reach the expected filtering level for all pixels.Each iteration of the Laplacian diffusion can be regarded as a low-pass filtering with a high cut-off frequency.The selection of the number of iterations of the Laplacian diffusion then allows us to reach lower cut-off frequencies.By contrast, the direct application of two-dimensional low-pass filters for cut-off frequencies in the range [30 km, 60 km] would result in filter supports in the range [60 km, 120 km], meaning that no filtering output could be computed for any pixel closer than 30 km (rest.60 km) from the swath boundaries or a missing data or land pixel.Overall, the filtering level is set by the number of iterations of the Laplacian diffusion and the parameter lambda.This is shown in the following equation, which shows the implementation that we use: With this being an iterative method, in contrast to a traditional Gaussian filter, we can apply cut-off wavelengths greater than the width of a half-swath.In Appendix A, we apply the filter to white noise to show how different combinations of the filter's parameters (lambda and number of iterations) are associated with different cut-off wavelengths (λ c s).

Filter Evaluation
To evaluate the performance of the filter and its different parameterizations, the following variables are calculated: • The radial power spectral density: This variable was calculated to obtain the SWOT spatial spectra.
The radially averaged power spectral density (power spectrum) of an image (in our case, the SWOT swath data) is computed.• The Root Mean Squared Error (RMSE): The RMSE was calculated for the SSH, velocity and vorticity variables as follows: where N is the number of points.Data is taken to be SSH model (or its derived variables, i.e., velocity and vorticity) without filtering.An estimate is taken to be the simulated noisy SSH obs fields (or its derived variables) without filtering, and filtered with different λ c s. RMSE values are therefore calculated for different estimates.

Spatial and Temporal Sampling
Pseudo-SWOT data were generated for the full WMOP time period (1 January 2009 to 11 September 2015).This was done for the Science orbit and corresponds to a total of 123 cycles.In a complete cycle, 292 passes are available over the globe, 12 of them crossing our study region (Figure 3).Data were ingested and processed by the SWOT simulator at an across and along track resolution of 2 km.As mentioned in Section 1, one of the specificities of future SWOT data will be their irregular temporal sampling.To better illustrate this, the passes of cycle 2 are plotted in Figure 3.During each cycle, there are periods of time with a higher temporal sampling.This is due to a longer revisit time so that SWOT also fulfills its hydrological objectives as described in Section 1.For instance, the temporal sampling during cycle 2 is as follows: from day 21.3 to 23.9 during which five passes are made; and from day 31.3 to 33.8 during which six passes are made.Then, from day 23.9 to 31.3 and from day 33.8 to 41.2, there are no measurements.Consequently, during each day within a cycle in this study region, there can be two, one or no passes at all.Even with this irregular sampling and without any processing of the data, the final SSH obs map (subplot of day 41.2) allows us to observe some features such as, for example, the signal of the Algerian Current following the north African coastline and several cyclonic and anticyclonic mesoscale eddies.

Pre-Filtering Analysis of Simulator Outputs
In this study, we focus on the analysis of spatial scales of individual passes.Due to the irregular time sampling of the SWOT data, future studies will be devoted to temporal interpolation of passes.Moreover, prior swath filtering is necessary to determine the quality of the dynamical variables that can be derived from SWOT data, and how it can be improved before combining different swaths for temporal interpolation.As an illustration, we focus on the treatment of two 2 o × 2 o boxes.Box 1 is within pass 15 and was chosen close to the north African coast as it is a region where anticyclonic eddies are shed from the Algerian Current [25,35].For example, in the snapshot shown in Figure 4, part of an anticyclonic eddy is present on the eastern part of the domain.Box 2 is within pass 168, and this subdomain south of the Balearic island of Menorca was chosen because it contains smaller structures than in box 1 (see Figure 2).In Figure 5, filament-like structures and smaller eddies can be observed, especially at the northern part of the domain.The effect of the filter is assessed for SSH and its derived dynamical variables: absolute geostrophic velocity and relative vorticity.These were calculated as explained in Section 2.3.1.
As observed in the first and middle columns (model and model interpolated onto SWOT grid data, respectively) of Figures 4 and 5, SSH and its derived variables reveal fine scale features, but the noise level masks the signal of these features when derived variables are obtained from pseudo-SWOT SSH.We can also see how the effect of the noise is lower in regions with high SSH gradients.If we compare the velocity derived from pseudo-SWOT data of box 1 and 2, for box 1, the region with high values can still be appreciated as they reach 0.9 m/s, but not for box 2 as they only reach 0.4 m/s.
To have information on the spatial scales resolved and the effect of the noise, spatial Fourier power spectra for each filter were calculated as described in Section 2.3.2.The spectra were calculated for each individual cycle, and then averaged over the 122 cycles in which both passes 15 and 168 are available (cycle 123 stops at pass 132).Figure 6 compares the spectra of model data interpolated onto the SWOT grid and the pseudo-SWOT data.The SWOT noise starts to dominate at wavelengths lower than 60 km.In the top panel of Figure 6, the red and blue curves separate at around 60 km for both boxes.If we look at the zoom inset, we see that for pass 15 the lines separate at slightly higher wavelengths than for pass 168.Nevertheless, there does not seem to be a significant difference between the mean spectra of both passes.Note also how the power spectral energy level of SSH obs at wavelengths lower than 20 km stabilizes around 3.7 × 10 −9 for both passes, whilst the energy level of SSH model reduces until it reaches the grid scale.If we look at the signal to noise ratio (SNR), we find that below 50 km wavelength the energy of the noise is significant with respect to that of the signal (SNR values below 15 dB at wavelengths smaller than 47.6 km, i.e., the energy of the noise accounts for more than 15% of the energy of the signal for these scales).Such low SNR values make particularly challenging the denoising issue for scales below 50 km [36].Consequently, we expect that the best filter parametrization will be one corresponding to λ c between 47.6 and 60 km.

SWOT Data Filtering
The Laplacian diffusion filter was applied to remove the noise and, thus, reduce the difference between the spectrum obtained from SWOT estimates with and without noise (Figure 6).Given the results obtained from the non-filtered data spectra, λ c is first chosen to be 60 km.We then choose smaller λ c s (50, 40, 30 and 15 km) to see how much lower we can go with this filter.We go down to 15 km, which is the expected wavelength at which SWOT will measure SSH.For comparison, we also choose λ c = 200 km, which is the wavelength resolved by present-day altimeter constellation fields [11].We lastly choose λ c = 100 km as an intermediate value between 60 and 200 km.
In Figures 7 and 8, we show the effect of the filter on SSH at different values of λ c s.For Figure 7, the effect of the filter is mainly seen in the pseudo-SWOT data, especially in the northern part where smaller structures are present.In Figure 8, as there are more, smaller structures, we can see more differences between the filtered outputs with respect to the model interpolated and pseudo-SWOT data.These differences are not only in the shape of the structures that are present, but also in their intensity.On the top row of Figures 7 and 8, the original model is also included to show that differences do also arise from the interpolation onto the SWOT grid.In Figure 7, especially for the 200 km λ c , we can observe that the original structure present is significantly altered.This emphasizes the importance for development of interpolation techniques to fill the gap between the two swaths with the help of the nadir altimeter data.In Figures 7 and 8, the SSH images for the different filters look very similar, but the differences are amplified when the first derivatives (Figures 9 and 10) and second derivatives (Figures 11 and 12) are calculated.
After applying the Laplacian diffusion filter, we can now retrieve the structures present in the pseudo-SWOT SSH in the absolute geostrophic velocity plots (Figures 9 and 10).With a 15 km λ c filter, the effect of the noise can be still clearly observed, especially for box 2 where smaller structures are present.As a result, although the main structures are recovered after filtering, their shapes are not accurately retrieved.Even if spurious structures remain, with a 30 km λ c there is a large improvement with respect to the 15 km λ c .This improvement seems greater for box 1 than box 2, as the noise seems to have a greater effect within box 2 than box 1.For a 40 km λ c , in box 1, we can no longer qualitatively see any remaining noise, but we can see some in box 2. For λ c s greater than or equal to 50 km, the effect of the noise is no longer observed in either box 1 (Figure 9) or box 2 (Figure 10).On the other hand, we observe a large decrease of the magnitude of the velocities from the 15 to the 200 km λ c .With this filtering method, the intensity of the structures present, and thus the signal, decreases with the increase of λ c .
In the relative vorticity plots, the loss of signal with the increase of λ c is even more evident.With no filtering, the relative vorticity of box 1 ranges from −1.82f to 1.66f for SSH model and from −15.22f to 18.16f for SSH obs (Figure 4).With a 200 km λ c , this reduces to −0.23f to 0.14f for both SSH model and SSH obs (Figure 11).For box 2, with no filtering, the relative vorticity ranges from −0.71f to 1.50f for SSH model and from −17.39f to 17.71f for SSH obs (Figure 5).For 200 km, it reduces to−0.07f to 0.10f for SSH model and from −0.09f to 0.06f for SSH obs (Figure 12).There is approximately two orders of magnitude difference between the vorticity calculated from the original data, and that filtered at λ c = 200 km.For box 1, the velocity appears to contain no further noise with λ c = 40 km, but this filtering is not sufficient to properly reconstruct the relative vorticity.With a 50 km λ c , some noise is still present, and with 60 km λ c , there appears to be no remaining noise.For box 2, the velocity appears to have no further noise with a 50 km λ c , and, similarly to box 1, we use a 60 km λ c to qualitatively remove remaining noise in the relative vorticity plots.The relative vorticity fields present unrealistic small-scale structures at larger λ c s values than SSH and velocity.This is expected as the noise effects increase as higher order derivatives are reached.Nevertheless, the larger structures present in the images are recovered from the non-filtered image with a 60 km λ c filter for both box 1 and 2.Not as much signal is lost with a 60 as with a 200 km λ c , but some is still lost.For the mesoscale, given the relative vorticity and structures observed in Figures 11 and 12, this does not seem to have a large impact.However, there may be an impact when wanting to observe finer scales as we retrieve normalized relative vorticity much lower than 1.
Spectra were computed for λ c s of 30, 60 and 200 km to visualize these effects.The corresponding SNR is also calculated in two different ways by using two references.One is by dividing the filtered model-interpolated data by the filtered pseudo-SWOT data, and the other by dividing the non-filtered model-interpolated data by the filtered pseudo-SWOT data.This is shown in Figures 13 and 14.As a consequence of the application of the filter, the separation of the spectral curves of SSH model (model-interp.) and SSH obs (pseudo-SWOT) is reduced.As seen in Figure 6, with no filter, the model-interp.(blue) and pseudo-SWOT (red) curves separate at a wavelength around 60 km.With a 30 km λ c , the noise level is still high, as observed in Figures 7-12, but the power spectra difference at wavelengths smaller than 60 km between the pseudo-SWOT filtered (yellow) and the model-interp.
(blue) curves is much smaller than it is between the model-interp (blue) and pseudo-SWOT (red) curves (top left panel of Figures 13 and 14).Moreover, the pseudo-SWOT filtered and the model-interp.curves separate at smaller wavelengths.If we look at the dashed line of the top right panel of Figures 13 and 14, we can more accurately determine this wavelength separation value by looking at where the dashed curve starts decreasing.This corresponds to 30 and 40 km wavelengths for box 1 and 2, respectively.Between wavelengths of 60 and 30 km (40 for box 2), the SNR (dashed line) is greater than 1, indicating some over-filtering/smoothing, but this value is very low (1.064 for box 1 and 1.088 for box 2).The pattern of the SNR of the filtered model-interp.over the filtered pseudo-SWOT data (solid line of top right panel of Figures 13 and 14) is similar to that of Figure 6.The noise gains importance as the wavelengths reduce from 60 km, but the SNR values of the 30 km λ c are lower than the non-filtered ones.On the other hand, this indicates that, given that the filtered model-interp.and pseudo-SWOT spectra are still quite different, a larger λ c is necessary.In both the left and right panels of the 30 km λ c of Figures 13 and 14, anomalous patterns are observed below the 10 km wavelength.Not only are these spatial scales very small, but, if we look at the spectra values, they are about 10 −12 m 2 /km or lower.We consider these values to be too low for discussion.
With a 60 km λ c , the noise is further reduced, but we lose more signal too.If we look at the continuous line of the right panel of Figures 13 and 14, we see that it remains approximately constant at 1.For box 1, it reaches a minimum SNR of 0.715 and for box 2 of 0.697.Looking at the dashed line, the SNR becomes larger than 1 at wavelengths lower than 80 km for both boxes.This means that, although we eliminate all the noise, we are also eliminating part of the signal that was initially present.At wavelengths greater than 10 km, the power spectra of the filtered pseudo-SWOT reach a maximum difference nearly two orders of magnitude smaller than the original model-interp.spectra.
Lastly, with a 200 km λ c filtering, the model-interp.and pseudo-SWOT spectra curves are identical, and the SNR (solid line) is approximately 1 (Figures 13 and 14, bottom row): however, as observed in Figures 7-12, we lose a lot of signal.In the 20-80 km wavelength range, we can see how the SNR curves (dashed line) rapidly increase and the values are greater with a 200 km λ c than with a 60 km λ c .At wavelengths lower than 80 km, on average, there is about one order of magnitude difference between the filtered spectra and the original SSH model .It is also interesting to note that the purple and yellow curves separate from the red and blue at 80 km instead of 60, showing that this cut-off exceeds that necessary to remove the noise.This also emphasizes how with SWOT a major advancement could be made as lower cut-off wavelengths will be possible, and thus the observation of smaller scale structures than with contemporary satellites.On the one hand, this result is expected thanks to the 2D swath instead of only 1D nadir data, but, on the other hand, it is important to remember that these are simulated from expected errors and that not all errors are implemented (see Appendix B).
To further quantify the differences observed between the different λ c s in Figures 7-12, the RMSE between the interpolated model and pseudo-SWOT data shown in these Figures were calculated as described in Section 2.3.3.
In Figure 15, it is interesting to focus on the minimum points of the RMSE curves.Looking at the λ c corresponding to the different minimum points, for both boxes, the minimum of the curve for SSH and the absolute geostrophic velocity (Vg) is found for a 30 km (29) λ c .It is slightly higher, 40 km (41), for relative vorticity.This directly relates to the amplification of fine scale structures, and thus the effect of the noise, in the computation of second-order derivatives.It is also in accordance with what is found in the SNR in Figure 6, which shows that we cannot recover the signal at wavelengths lower than 40-50 km.With the qualitative (Figures 7-12) and the spectra (Figures 13 and 14) plots, we saw that, for box 2, as the signal is lower than in box 1, the effect of the noise is greater, and larger λ c s are necessary.The RMSE plots show us another point of view.As the signal is not as intense in box 2 as in box 1, the over-smoothing (signal lost) due to the Laplacian diffusion filter is lower, and thus we observe lower RMSE values in Figure 15.Moreover, the improvement of the RMSE values is greater for box 2 than box 1.For SSH, the RMSE reduces by 0.05 and 0.07 m from the no filter (0 λ c ) to the minimum RMSE, for box 1 and box 2, respectively.For Vg, the RMSE reduces by 0.42 and 0.455 m/s, and for ζ/f by 3.2 and 3.35.For SSH, we could say that with a 40 km λ c it is sufficient, but if we do not want to see the effect of the noise in vorticity, we need a greater λ c of 60 km.Therefore, together with what is observed in Figures 4-15, we consider that, with this filtering technique applied to this region, SWOT will be able to resolve wavelengths down to a 40-60 km wavelength range.This is the λ c range where we found that there is a compromise between filtering out the noise of SSH and its derived variables (Vg and ζ/f), and over-smoothing the original image as little as possible.It is important to note that λ c depends on the signal-to-noise ratio between SSH signals and instrument noise at fine scales.As such, it can be expected to change from region to region (and from season to season) depending on the energy levels at fine scales and on the noise level.

Discussion
We find that, by applying our filtering technique to pseudo-SWOT data in the western Mediterranean region, we cannot reach the 15 km wavelength argued for by [12].We are however able to recover the signal within a swath down to wavelengths of 40-60 km.This wavelength range is close to the one found by [10] at the western boundary currents and nearly half the wavelength values found at the eastern basins by 1D altimeter data.In addition, with the characteristic of SWOT providing 2D SSH data, this will imply a large improvement on the 200 km wavelength resolved by present-day gridded altimetric fields [11].The SWOT resolved wavelengths found will make it possible to detect structures of 20-30 km in diameter (following [37]) and therefore opens the possibility for observation of fine scales that are unobservable by contemporary altimetric products.This filter is a useful tool for studies comparing the capacities of pseudo-SWOT data with the present altimetric satellite constellation data.As this filter is particularly effective in removing the spatially uncorrelated KaRIn noise, it may allow the application of already developed techniques that more effectively remove other correlated errors [38].
We find that the presence of structures of different scales and regimes governing-for example, the mesoscale (Ro.order(0.1))or submesoscale (Ro.order(1)) affects our results on the efficiency of the Laplacian diffusion filter.This filter is therefore sensitive to the presence of different patterns, depending on the region.To reach even smaller scales, it is important to use filtering techniques that conserve and/or retrieve the gradients and, thus, the intensity of the signal present in the observed field.Nonetheless, this sensitivity of the Laplacian diffusion filter could also be due to the effects of noise, depending on the structure in question and its intensity.We also note that the differences between box 1 and 2 found in, for example, the qualitative plots (Figures 7-12) and the minimum RMSE values were not very large; this is not surprising when considering how close in time the two snapshots are.
With this improvement of individual swaths, gridded and possibly daily SWOT SSH maps could be obtained through different interpolation and/or reconstruction techniques.Current gridded altimetric products are obtained using optimal interpolation (OI) [39].OI may not be the best interpolation method.OI exploits a covariance model of the field to be interpolated.The specification of this covariance model typically relies on a trade-off between the space-time size of the missing data areas and the space-time scales of interest.A covariance model with a large correlation length may lead to an over-smoothing of fine-scale structures, whereas shorter correlation lengths result in filling large missing areas with the background field.From a computational point of view, OI requires a matrix inversion, whose complexity evolves as the cube of the number of observation points.The image-like structure of SWOT data may then be highly computationally-demanding when considering large correlation lengths to fill in large missing areas.Multi-scale OI may be an alternative.However, we expect dynamical interpolation and other data assimilation methods [40][41][42] to be more adapted both in terms of computational complexity and in their ability to embed relevant dynamic priors to reconstruct horizontal scales down to a few tens of kilometres from SWOT data.On the other hand, SWOT data will greatly improve the present-day OI altimetric products [5].In addition, SWOT gridded data could be improved in the 40-60 km wavelength range by combining it with the data of a higher temporal resolution.Dynamic interpolation is an example of a technique that has been investigated by [40] that could help to obtain gridded, daily SSH maps from SWOT.When they apply this method to the Gulf Stream region, they recover the SSH field down to 80 km wavelength.Data-driven schemes recently introduced by [41,42] are also of interest to better reconstruct horizontal scales below 100 km.Overall, for such approaches, it is important to recover the lowest wavelengths possible as spatial resolution loss is likely when producing the gridded maps.Moreover, this spatial resolution loss might be even higher when addressing gridded maps of derived variables.Therefore, the cut-off wavelength should be adjusted to the variables that are to be studied.
Another reconstruction technique that has been investigated in the context of SWOT is a 3D multivariate reconstruction of ocean state.Ref. [43] do this by combining information from SSH and high resolution image structure observations.Once this is achieved, study of the capacity of SWOT to detect fine scale structures could be improved by, for example, better characterizing eddies.As the dataset would be of a higher spatial and temporal resolution than the L2 product, it would then be possible to apply eddy-tracking algorithms like the py-eddy tracker [44] or the code developed by [45], which have already been implemented in this region to characterize the western Mediterranean eddy field.A comparison could then be made with the eddies characterized in data from the WMOP model, in the presently available altimetric data and in pseudo-SWOT data.
In future work, the effect of the inter-and intra-annual (or seasonal) variability in the region on the results obtained could be studied too.Although mean spectra were obtained, we focused on two dates in winter.Refs.[46,47] found that there is a strong winter-summer difference in the upper ocean dynamics due to the change of stratification, with the mixed layer depth being deeper in winter.
For example, the reconstruction of mesoscale structures in the upper ocean from pseudo-SWOT data in the Kuroshio Extension region has been studied.They found that the simulated and reconstructed vorticity correlation coefficients varied both inter-and intra-annually [48].
The implementation of filtering techniques that take into account the first and second order SSH derivatives has been started.With this, we hope that in future studies we will be able to recover even smaller wavelengths and to conserve the intensity of the signal after having applied the filter.
New versions of the SWOT simulator will allow the simulation of pseudo-SWOT data during the fast-sampling phase.This makes it possible to start preparing for the calibration/validation phase including the comparison with high resolution in situ data collected during future intensive multi-platform experiments in the western Mediterranean Sea.On the other hand, the only source of geophysical error implemented in the SWOT simulator is still just that related to the wet troposphere.New releases of the SWOT simulator may include the effects of sea state and internal tides [49].Internal tides and waves are important sources of geophysical errors because, at wavelengths shorter than 50 km, they can affect SWOT data [2].Therefore, in future work, it would also be interesting to compare our results with an updated version of the SWOT simulator and other OGCMs, especially those that include tides.

Conclusions
We have generated simulated pseudo-SWOT data for the western Mediterranean Sea using a SWOT simulator and outputs from an ocean numerical model.To evaluate the output SWOT data, we derived absolute geostrophic velocities and relative vorticities from the pseudo-SWOT SSH data.We find that, due to the satellite's instrumental noise and geophysical errors, the features observed in the pseudo-SWOT SSH are lost in the derived dynamical variables.Looking at the spatial spectra, we find that noise dominates the signal at wavelengths smaller than 60 km.We applied a Laplacian diffusion filtering technique to attempt to remove the noise and hence observe finer scales.We estimated the appropriate cut-off wavelength for each parametrization.To filter out the noise, we applied a series of ascending cut-off wavelengths: 15, 30, 40, 50, 60, 100 and 200 km.We find that in this study region, using this technique, we cannot resolve the expected 15 km wavelength.On the other hand, we are able to recover the signal within a swath down to a 40-60 km wavelength range.This is still an improvement in comparison to wavelengths resolved by present-day 1D altimeters, especially at eastern basins.Robust swath-filtering is an important first step towards meeting our goals for reconstruction techniques that will enable us to combine SWOT and altimetric data in order to produce gridded SSH maps of significantly higher resolution than contemporary products.New versions of the SWOT simulator code include improved representation of instrumental and geophysical errors, and also give us the option to obtain pseudo-data for the SWOT fast-sampling phase.New pseudo-SWOT data will allow us to better refine the results of this study and to examine a wider range of scenarios.
In Table A1, we show the different λ c obtained for a set of lambdas and number of iterations and in Figure A2 a plot of the values shown in Table A1 is presented.As can be observed in Table A1, in most cases, several combinations of lambdas and iterations can give the same cut-off wavelength.We decided to choose the combination corresponding to the smallest lambda, as the smaller the lambda, the smaller the over-smoothing.For more details on instrument and geophysical errors, see [30,50].

Figure 1 .
Figure 1.Flowchart of the SWOT simulator procedure.

Figure 3 .
Figure 3. SSH obs (m) obtained for cycle 2.Time increasing from left to right, top to bottom.Days from the beginning of the simulation are shown at the top left corner and the corresponding pass number at the bottom right corner.Outline of the active pass is shown in black.The red boxes show box 1 (pass 15) and box 2 (pass 168).

Figure 4 .
Figure 4. From top to bottom: SSH (m), geostrophic velocity (m/s) and relative vorticity (ζ) normalized by f, on 23 January 2009 corresponding to pass 15 of cycle 2 (box 1).The first, middle and last columns show the data obtained directly from the model (WMOP), from the model interpolated onto the SWOT grid (SSH model ), and with added noise (SSH obs ), respectively.

Figure 5 .
Figure 5. From top to bottom: SSH (m), geostrophic velocity (m/s) and relative vorticity (ζ) normalized by f, on 3 February 2009 corresponding to pass 168 of cycle 2 (box 2).The first, middle and last columns show the data obtained directly from the model (WMOP), from the model interpolated onto the SWOT grid (SSH model ), and with added noise (SSH obs ), respectively.

Figure 6 .
Figure 6.(Top) Spectra of the data before filtering, from cycle 1 to 122, corresponding to box 1 (pass 15), (left), and to box 2 (pass 168), (right).Error bars denote 95% confidence intervals.(Bottom) Corresponding Signal to Noise Ratio (SNR), with a horizontal black line indicating where the noise is more than 15% of the signal, and the vertical line the corresponding wavelength.

Figure 11 .
Figure 11.Relative vorticity normalized by f on 23 January 2009 corresponding to pass 15 of cycle 2.

Figure 12 .
Figure 12.Relative vorticity normalized by f on 3 February 2009 corresponding to pass 168 of cycle 2.

Figure 13 .
Figure 13.Box 1 region (pass 15) mean of cycles 1 to 122.(Left) Spectra of SSH model (blue) and SSH obs (red) before filtering and after applying the different cut-off wavelengths shown in the different rows (30, 60 and 200 km) in purple and orange, respectively.Error bars denote 95% confidence intervals.(Right) SNR of SSH model and SSH obs , both filtered (solid line) and of SSH model non-filtered and filtered SSH obs (dashed line).

Figure 14 .
Figure 14.Box 2 region (pass 168) mean of cycles 1 to 122.(Left) Spectra of SSH model (blue) and SSH obs (red) before filtering and after applying the different cut-off wavelengths shown in the different rows (30, 60 and 200 km) in purple and orange, respectively.Error bars denote 95% confidence intervals.(Right) SNR of SSH model and SSH obs , both filtered (solid line) and of SSH model non-filtered and filtered SSH obs (dashed line).

Figure 15 .
Figure 15.RMSEs of the different variables against the filter's cut-off wavelengths applied to SSH, for pass 15 (top) and pass 168 (bottom) of cycle 2. Insets show zoom of marked region for better observation of the curves' minimum points.

Figure A2 .
Figure A2.Laplacian diffusion cut-off wavelengths (km) for different combinations of the number of iterations and lambdas.

Figure A3 .
Figure A3.The different instrument noise types (m) for passes 15 pass 168 over cycle 2 are shown.

Figure A4 .
Figure A4.The different instrument noise types (m) for passes 15 and 168 over cycle 30 are shown.

Figure A5 .
Figure A5.The different geophysical errors (m) for passes 15 and 168 over cycle 2 are shown.

Figure A6 .
Figure A6.The different geophysical errors (m) for passes 15 and 168 over cycle 30 are shown.

Table A1 .
Cut-off wavelengths (λ c ) values and their corresponding lambda and number of iterations (iter) combinations.The cut-off wavelengths shown in Figures 7-12 are in bold.