<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing with OASIS Tables v3.0 20080202//EN" "https://jats.nlm.nih.gov/nlm-dtd/publishing/3.0/journalpub-oasis3.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:oasis="http://docs.oasis-open.org/ns/oasis-exchange/table" xml:lang="en" dtd-version="3.0" article-type="research-article">
  <front>
    <journal-meta><journal-id journal-id-type="publisher">OS</journal-id><journal-title-group>
    <journal-title>Ocean Science</journal-title>
    <abbrev-journal-title abbrev-type="publisher">OS</abbrev-journal-title><abbrev-journal-title abbrev-type="nlm-ta">Ocean Sci.</abbrev-journal-title>
  </journal-title-group><issn pub-type="epub">1812-0792</issn><publisher>
    <publisher-name>Copernicus Publications</publisher-name>
    <publisher-loc>Göttingen, Germany</publisher-loc>
  </publisher></journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.5194/os-22-3207-2026</article-id><title-group><article-title>Efficient ensemble estimation using an MCMC sampler:  a reconstruction of the Mediterranean low-frequency  variability combining observed and simulated sea level</article-title><alt-title>Efficient ensemble estimation using an MCMC sampler</alt-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes" rid="aff1">
          <name><surname>Brankart</surname><given-names>Jean-Michel</given-names></name>
          <email>jean-michel.brankart@univ-grenoble-alpes.fr</email>
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Héron</surname><given-names>Damien</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1 aff2">
          <name><surname>Weiss</surname><given-names>Lisa</given-names></name>
          
        <ext-link>https://orcid.org/0000-0001-5229-5304</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Penduff</surname><given-names>Thierry</given-names></name>
          
        <ext-link>https://orcid.org/0000-0002-0407-8564</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Brasseur</surname><given-names>Pierre</given-names></name>
          
        </contrib>
        <aff id="aff1"><label>1</label><institution>Univ. Grenoble Alpes, CNRS, IRD, Grenoble INP, IGE, Grenoble, France</institution>
        </aff>
        <aff id="aff2"><label>2</label><institution>IRD, LEGOS, Toulouse, France</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">Jean-Michel Brankart (jean-michel.brankart@univ-grenoble-alpes.fr)</corresp></author-notes><pub-date><day>19</day><month>October</month><year>2026</year></pub-date>
      
      <volume>22</volume>
      <issue>5</issue>
      <fpage>3207</fpage><lpage>3224</lpage>
      <history>
        <date date-type="received"><day>4</day><month>June</month><year>2026</year></date>
           <date date-type="rev-request"><day>16</day><month>June</month><year>2026</year></date>
           <date date-type="accepted"><day>28</day><month>September</month><year>2026</year></date>
      </history>
      <permissions>
        <copyright-statement>Copyright: © 2026 Jean-Michel Brankart et al.</copyright-statement>
        <copyright-year>2026</copyright-year>
      <license license-type="open-access"><license-p>This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this licence, visit <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link></license-p></license></permissions><self-uri xlink:href="https://os.copernicus.org/articles/22/3207/2026/os-22-3207-2026.html">This article is available from https://os.copernicus.org/articles/22/3207/2026/os-22-3207-2026.html</self-uri><self-uri xlink:href="https://os.copernicus.org/articles/22/3207/2026/os-22-3207-2026.pdf">The full text article is available as a PDF file from https://os.copernicus.org/articles/22/3207/2026/os-22-3207-2026.pdf</self-uri>
      <abstract><title>Abstract</title>

      <p id="d2e124">The skill of climate projections depends on the ability of models to reproduce the long-term and low-frequency variability of the system. It is thus important that low-frequency model statistics can be checked against observations. In this paper, a method is proposed to estimate directly the low-frequency component of the ocean variability from native observations using statistics from a prior long-term simulation. It is designed to account for possible model biases and to provide an estimate of the correction required to fit observations. The result is obtained by an MCMC sampler (modified to include localization of the model covariance), which provides an ensemble description of the solution, so that uncertainties can be properly assessed using independent data. This algorithm is shown well suited to work with MPI and GPUs, and efficient enough to solve large-size problems (about 10<sup>8</sup> variables and 10<sup>7</sup> observations). The approach is illustrated by the reconstruction of the low-frequency variability of the Mediterranean sea level, using statistics from a 1/12° resolution ensemble model simulation. The resulting ensemble is assessed against independent observations (by cross-validation), showing good reliability (flat rank histogram). The method also produces a consistent estimate of the model bias and of the observation error variance (mainly representativity error), while the missing prior ensemble variance is shown to be less controlable by the observations, and thus rather computed as a diagnostic. Overall, this application shows the importance of reliable model statistics, and thus the importance of enhancing model simulations to represent all main sources of uncertainty.</p>
  </abstract>
    
<funding-group>
<award-group id="gs1">
<funding-source>Centre national d'études spatiales</funding-source>
<award-id>POSYDONIE</award-id>
</award-group>
<award-group id="gs2">
<funding-source>Agence Nationale de la Recherche</funding-source>
<award-id>ANR-22-POCE-0003</award-id>
</award-group>
</funding-group>
</article-meta>
  </front>
<body>
      

      
<sec id="Ch1.S1" sec-type="intro">
  <label>1</label><title>Introduction</title>
      <p id="d2e156">Climate projections depend on the ability of dynamical models to produce a reliable probabilistic description of the natural systems (mean behavior, uncertainty, extreme events, …), and on the ability of modellers to provide an appropriate probabilistic initial condition based on past data <xref ref-type="bibr" rid="bib1.bibx24 bib1.bibx28" id="paren.1"/>. These two requirements partly rely on the comparison between model simulations and observations in the context of the present climate, or more precisely within the climatic trend of the recent past. In this context, what is most important to check and analyze is the low-frequency (interannual) component of the model results.</p>
      <p id="d2e162">In the context of the MEDIATION project (a French ANR project dedicated to the improvement of climate projections in the Mediterranean Sea and in the North-Western European Seas), <xref ref-type="bibr" rid="bib1.bibx17" id="text.2"/> produced a 30-member ensemble simulation of the Mediterranean Sea (between 1979 and 2020), with the purpose of studying the long-term dynamical response of the model to small perturbations of the initial conditions. In the present study, this ensemble simulation will be used as reference model simulation, with a focus on the low-frequency component obtained for sea surface height. Our purpose is to make a direct comparison between this low-frequency component and the available observations (along-track altimetry), and to propose an ensemble estimate of this component only by combining model results and observations. This work is a contribution to the POSYDONIE project, whose objectives is to examine how uncertainties on projections can be better described by combining simulations and observations.</p>
      <p id="d2e168">To produce an ensemble estimate of the low-frequency combining the model simulations and the native observations, we will use Monte Carlo Markov Chains (MCMC) to sample the target probability distribution, which will be obtained by a Bayesian conditioning of the model probability distribution (described by the ensemble simulation) on the observations. The MCMC sampler that is used in this paper is based on the Metropolis/Hastings algorithm <xref ref-type="bibr" rid="bib1.bibx26" id="paren.3"><named-content content-type="pre">e.g.</named-content></xref>, using the specific variant described in <xref ref-type="bibr" rid="bib1.bibx6" id="text.4"/>, which includes the localization of the prior covariance <xref ref-type="bibr" rid="bib1.bibx19" id="paren.5"/>. The method has been shown efficient enough to deal with problems of large dimension, and has already been applied to the estimation of time-dependent oceanic fields <xref ref-type="bibr" rid="bib1.bibx25" id="paren.6"/>. In that paper, the objective was to obtain an ensemble estimate of the evolution of the ocean biogeochemical variables over one year (phytoplankton, zooplankton and a few ecological indicators) by conditioning an ensemble ocean simulation on ocean color satellite images. These observations were characterized by a very sparse time and space coverage, due to the presence of clouds masking the surface of the ocean.</p>
      <p id="d2e186">A first difficulty with this approach is that our model ensemble simulation of the Mediterranean Sea has systematic errors as compared to the real world. As a result, the prior probability distribution used by the MCMC sampler cannot be solely described by the ensemble model simulation. It must be enhanced by additional free parameters to account for possible model biases. These parameters will be estimated together with the low-frequency component of the signal, thus providing a comparison between simulation and observations as a byproduct of the estimation problem.</p>
      <p id="d2e190">A second difficulty is that the model ensemble simulation only provides a small sample (30 members) of the prior probability distribution. This means that only a simple statistical model can be used to describe the prior distribution, since no complex model can be inferred from a small sample. Actually, only the mean and covariance of the ensemble simulation will be involved in the construction of the prior distribution. Moreover, a localization algorithm will be applied to drop the small long-range correlations, which are unreliable because of the small sample <xref ref-type="bibr" rid="bib1.bibx19 bib1.bibx4" id="paren.7"><named-content content-type="pre">e.g.</named-content></xref>. The resulting prior distribution will nonetheless not be Gaussian, as a result of the additional free parameters mentioned above, but still simple, and with a shape (time and space dependencies) mainly driven by the prior ensemble.</p>
      <p id="d2e198">Identifying a more complex model for the low-frequency (for instance by machine learning) would have required compiling much more data than we have here. This might be possible by gathering data from many models, or by making stationarity assumptions about the statistical behavior of the low-frequency (allowing to compile data over time). However, it is not always obvious that building a complex statistical model from a large catalogue of compiled data would be more informative and reliable than a more simple model obtained from a small sample of coherent data that are more directly related to the problem at stake. Moreover, in this paper, our purpose is to be able to evaluate one particular model simulation and its ability to reproduce the low-frequency variability of the Mediterranean, to compare it to the observations (with a diagnostic of the bias) and then to determine its ability to provide an accurate estimation of the signal, together with a reliable ensemble description of uncertainties. In that context, our assumption is thus to rely on just one ensemble model simulation spanning the same period as the observations (using a realistic atmospheric forcing), with the perspective that it can be progressively improved, following future model enhancements.</p>
      <p id="d2e201">In accordance with this roadmap, the objective of this paper is to propose an ensemble method to solve efficiently this type of estimation problem, and to illustrate the approach by estimating the low-frequency variability of sea surface height in the Mediterranean Sea. Special care will be taken to demonstrate the technical feasibility and potentiality of the approach, to illustrate the importance of consistent and reliable prior data, and to assess the reliability and accuracy of the ensemble estimate (including uncertainties). The code that has been used in this study is openly available, as well as the ensemble data that are produced and analyzed.</p>
      <p id="d2e204">The paper is organized as follows. We first describe in Sect. <xref ref-type="sec" rid="Ch1.S2"/> all data that have been used (from observations and models). Then, we present the estimation problem in Sect. <xref ref-type="sec" rid="Ch1.S3"/> and the iterative Monte Carlo method that is applied to compute the solution. In Sect. <xref ref-type="sec" rid="Ch1.S4"/>, we describe the ensemble experiments and evaluate the results. And finally, in Sect. <xref ref-type="sec" rid="Ch1.S5"/>, we check the ability of the method to provide appropriate estimates of auxiliary statistical parameters (model bias, missing model variance, observation error variance). An Appendix is also included to provide a more technical description, including an analysis of the computational complexity and efficiency with MPI and GPUs.</p>
</sec>
<sec id="Ch1.S2">
  <label>2</label><title>Observations and model ensemble data</title>
      <p id="d2e223">The solution of the estimation problem is obtained by combining observed and simulated data. Model data are used to construct a prior statistical model to be constrained by the observations. In this section, we first present all data that are used in the rest of the paper.</p>

<table-wrap id="T1" specific-use="star"><label>Table 1</label><caption><p id="d2e229">List of altimetric datasets used in the estimation problem. The period is limited to what is actually used from each mission (between 1 January 1993 and 31 December 2018).</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="4">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="center"/>
     <oasis:colspec colnum="3" colname="col3" align="left"/>
     <oasis:colspec colnum="4" colname="col4" align="left"/>
     <oasis:thead>
       <oasis:row>
         <oasis:entry colname="col1">Acronym</oasis:entry>
         <oasis:entry colname="col2">Subset</oasis:entry>
         <oasis:entry colname="col3">Period</oasis:entry>
         <oasis:entry colname="col4">Full name</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3">(dd/mm/yyyy–dd/mm/yyyy)</oasis:entry>
         <oasis:entry colname="col4"/>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">tp</oasis:entry>
         <oasis:entry colname="col2">A</oasis:entry>
         <oasis:entry colname="col3">01/01/1993–24/04/2002</oasis:entry>
         <oasis:entry colname="col4">Topex/Poseidon</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">tpn</oasis:entry>
         <oasis:entry colname="col2">A</oasis:entry>
         <oasis:entry colname="col3">20/09/2002–08/10/2005</oasis:entry>
         <oasis:entry colname="col4">Topex/Poseidon Interleaved</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">e1</oasis:entry>
         <oasis:entry colname="col2">B</oasis:entry>
         <oasis:entry colname="col3">01/01/1993–20/12/1993</oasis:entry>
         <oasis:entry colname="col4">ERS-1</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">e1g</oasis:entry>
         <oasis:entry colname="col2">B</oasis:entry>
         <oasis:entry colname="col3">10/04/1994–21/03/1995</oasis:entry>
         <oasis:entry colname="col4">ERS-1 Geodetic Phase</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">e1</oasis:entry>
         <oasis:entry colname="col2">B</oasis:entry>
         <oasis:entry colname="col3">24/03/1995–15/05/1995</oasis:entry>
         <oasis:entry colname="col4">ERS-1</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">e2</oasis:entry>
         <oasis:entry colname="col2">B</oasis:entry>
         <oasis:entry colname="col3">15/05/1995–14/05/2002</oasis:entry>
         <oasis:entry colname="col4">ERS-2</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">g2</oasis:entry>
         <oasis:entry colname="col2">B</oasis:entry>
         <oasis:entry colname="col3">07/01/2000–07/09/2008</oasis:entry>
         <oasis:entry colname="col4">Geosat Follow On</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">j1</oasis:entry>
         <oasis:entry colname="col2">A</oasis:entry>
         <oasis:entry colname="col3">24/04/2002–19/10/2008</oasis:entry>
         <oasis:entry colname="col4">Jason-1</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">j1n</oasis:entry>
         <oasis:entry colname="col2">A</oasis:entry>
         <oasis:entry colname="col3">10/02/2009–03/03/2012</oasis:entry>
         <oasis:entry colname="col4">Jason-1 Interleaved</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">j1g</oasis:entry>
         <oasis:entry colname="col2">A</oasis:entry>
         <oasis:entry colname="col3">07/05/2012–21/06/2013</oasis:entry>
         <oasis:entry colname="col4">Jason-1 Geodetic Phase</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">en</oasis:entry>
         <oasis:entry colname="col2">B</oasis:entry>
         <oasis:entry colname="col3">17/05/2002–18/10/2010</oasis:entry>
         <oasis:entry colname="col4">Envisat</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">enn</oasis:entry>
         <oasis:entry colname="col2">B</oasis:entry>
         <oasis:entry colname="col3">26/10/2010–08/04/2012</oasis:entry>
         <oasis:entry colname="col4">Envisat Extension Phase</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">j2</oasis:entry>
         <oasis:entry colname="col2">A</oasis:entry>
         <oasis:entry colname="col3">19/10/2008–26/05/2016</oasis:entry>
         <oasis:entry colname="col4">OSTM/Jason-2</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">j2n</oasis:entry>
         <oasis:entry colname="col2">A</oasis:entry>
         <oasis:entry colname="col3">17/10/2016–03/04/2017</oasis:entry>
         <oasis:entry colname="col4">OSTM/Jason-2 Interleaved</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">j2g</oasis:entry>
         <oasis:entry colname="col2">A</oasis:entry>
         <oasis:entry colname="col3">11/07/2017–14/09/2017</oasis:entry>
         <oasis:entry colname="col4">OSTM/Jason-2 Long Repeat Orbit</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">c2</oasis:entry>
         <oasis:entry colname="col2">B</oasis:entry>
         <oasis:entry colname="col3">16/07/2010–31/12/2018</oasis:entry>
         <oasis:entry colname="col4">Cryosat-2</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">al</oasis:entry>
         <oasis:entry colname="col2">B</oasis:entry>
         <oasis:entry colname="col3">14/03/2013–31/03/2015</oasis:entry>
         <oasis:entry colname="col4">Altika</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">alg</oasis:entry>
         <oasis:entry colname="col2">B</oasis:entry>
         <oasis:entry colname="col3">31/03/2015–31/12/2018</oasis:entry>
         <oasis:entry colname="col4">Altika Drifting Phase</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">h2a</oasis:entry>
         <oasis:entry colname="col2">B</oasis:entry>
         <oasis:entry colname="col3">12/04/2014–15/03/2016</oasis:entry>
         <oasis:entry colname="col4">Haiyang-2A</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">h2ag</oasis:entry>
         <oasis:entry colname="col2">B</oasis:entry>
         <oasis:entry colname="col3">31/03/2016–31/12/2018</oasis:entry>
         <oasis:entry colname="col4">Haiyang-2A Geodetic Phase</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">j3</oasis:entry>
         <oasis:entry colname="col2">A</oasis:entry>
         <oasis:entry colname="col3">26/05/2016–31/12/2018</oasis:entry>
         <oasis:entry colname="col4">Jason-3</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">s3a</oasis:entry>
         <oasis:entry colname="col2">B</oasis:entry>
         <oasis:entry colname="col3">01/03/2016–31/12/2018</oasis:entry>
         <oasis:entry colname="col4">Sentinel-3A</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

<sec id="Ch1.S2.SS1">
  <label>2.1</label><title>Altimetric observations</title>
      <p id="d2e619">We use along-track altimetric data (L3 product) available between 1993 and 2018, as downloaded from the Copernicus Marine Environment Monitoring Service (CMEMS, product SEALEVEL_GLO_PHY_L3_MY_008_062). This embeds data from 12 satellite missions, organized in 21 data sets, as detailed in Table <xref ref-type="table" rid="T1"/>. For validation purpose, to keep independent observations that are not used in the estimation, we have divided this dataset in two subsets (A and B) as mentioned in the second column of the table.</p>
      <p id="d2e624">The variable that is used from these datasets is the absolute dynamic topography. It is computed as the sum of the mean dynamic topography (obtained from a combination of gravimetric satellite missions, and interpolated along-track data) and the sea level anomaly (obtained from the satellite missions listed in Table <xref ref-type="table" rid="T1"/>). In this product, corrections are applied to sea level anomaly to remove long wavelength errors (e.g. orbit errors), atmospheric errors and the ocean tide (internal and external).</p>
      <p id="d2e629">For comparison purpose, we will also use mapped altimetric data (L4 product) which correspond to CMEMS product SEALEVEL_GLO_PHY_L4_MY_008_047. The maps are daily and have been produced by objective analysis using the along-track altimetric data described in Table <xref ref-type="table" rid="T1"/>.</p>
</sec>
<sec id="Ch1.S2.SS2">
  <label>2.2</label><title>Ensemble model simulation</title>
      <p id="d2e643">As model data, we use the 30-member ensemble simulation of the Mediterranean described in <xref ref-type="bibr" rid="bib1.bibx17" id="text.8"/>. It is based on the NEMOMED12 configuration of the NEMO ocean model <xref ref-type="bibr" rid="bib1.bibx3" id="paren.9"/>, implemented over the Mediterranean basin at 1/12° resolution and over 75 vertical levels, and driven by specified forcing between 1979 and 2020. The surface forcing is provided by the new ALDERA3 dataset <xref ref-type="bibr" rid="bib1.bibx23" id="paren.10"/>, which consists in 3-hourly air-sea fluxes (wind stress, heat and freshwater fluxes), together with a Newtonian relaxation of sea surface temperature to maintain thermal stability (with a restoring coefficient equivalent to 40 W m<sup>−2</sup> K<sup>−1</sup>). River runoff is prescribed at the river mouths and along the coastline as a surface freshwater flux, using a 1980–2017 climatological seasonal cycle derived from the interannual dataset of <xref ref-type="bibr" rid="bib1.bibx21" id="text.11"/>. Boundary forcing in the Gulf of Cadiz is applied in each ensemble member within a buffer zone, where the model temperature, salinity and SSH fields are relaxed towards their monthly climatological counterparts extracted from the ORAS4 global ocean reanalysis <xref ref-type="bibr" rid="bib1.bibx2" id="paren.12"/>, with a relaxation time scale decreasing westwards. More details and references about the model configuration can be found in <xref ref-type="bibr" rid="bib1.bibx17" id="text.13"/>.</p>
      <p id="d2e689">The simulation starts with a 20-year one-member spin-up (1979–1998). The 30 ensemble members are then initialized by this spun-up state, and subsequently driven by the same surface and lateral fluxes throughout the 39-year integration period (from January 1979 to December 2020). Ensemble dispersion is generated by tiny perturbations of the initial condition <xref ref-type="bibr" rid="bib1.bibx17" id="paren.14"><named-content content-type="pre">as explained by</named-content></xref>, so that the spread of the ensemble results only from the intrinsic variability of the nonlinear system. From this ensemble simulation, we use the daily maps of sea surface height and we apply a low-pass Lanczos filter to extract the low-frequency component of the signal (with periods longer than about 2.5 years). The first and last 2 years of filtered time series are discarded to avoid filtering side effects.</p>
      <p id="d2e697">Then, we subsample the timeseries every month between 1993 and 2018, which corresponds to the observation period described above (chosen to be the largest intersection period between model and observations). The resulting low-frequency component of sea surface height is illustrated in Fig. <xref ref-type="fig" rid="F1"/> by the mean and standard deviation of the ensemble for January 1997 and January 2017. As observed in <xref ref-type="bibr" rid="bib1.bibx17" id="text.15"/>, the model simulation captures the main observed patterns of the Mediterranean circulation, and displays a large ensemble spread in the regions of intense mesoscale activity (Fig. <xref ref-type="fig" rid="F1"/>, bottom panels). However, in most other regions, the ensemble spread, resulting here from intrinsic variability alone, is insufficient to explain the misfit with observations. This ensemble was indeed not specifically produced for this paper, but was dedicated to the specific study of intrinsic variability by <xref ref-type="bibr" rid="bib1.bibx17" id="text.16"/>. Important sources of uncertainties (e.g. in the atmospheric forcing and in the boundary conditions) were not taken into account; this is why we could not rely on the prior variance, and why an adjustment of the ensemble statistics is even more important.</p>

      <fig id="F1" specific-use="star"><label>Figure 1</label><caption><p id="d2e713">Prior ensemble mean (top panels) and standard deviation (bottom panels) for the low-frequency (interannual) component of sea surface height on January 1997 (left panels) and on January 2017 (right panels).</p></caption>
          <graphic xlink:href="https://os.copernicus.org/articles/22/3207/2026/os-22-3207-2026-f01.png"/>

        </fig>

      <p id="d2e722">These ensemble data are nonetheless important to solve our estimation problem because they can be expected to contain useful information about the low-frequency variability of the sea, in particular through a non-stationary, non-homogeneous and anisotropic description of the correlation structure. Non-stationarity of the ensemble statistics comes as a result of the time-varying external forcing that is applied to the model.</p>
</sec>
</sec>
<sec id="Ch1.S3">
  <label>3</label><title>Ensemble observational update</title>
      <p id="d2e734">The purpose of this section is to describe the method that is applied to solve the estimation problem. We first formulate the problem in a Bayesian framework (Sect. <xref ref-type="sec" rid="Ch1.S3.SS1"/>). Then, we provide a description of the prior probability distribution (Sect. <xref ref-type="sec" rid="Ch1.S3.SS2"/>) and the observation constraint (Sect. <xref ref-type="sec" rid="Ch1.S3.SS3"/>). And finally, we present the iterative algorithm that is used to sample the posterior probability distribution (Sect. <xref ref-type="sec" rid="Ch1.S3.SS4"/>). In the following, the approach is described using a generic presentation. For our experiments, specific tuning and simplifications will be introduced as explained in Sect. <xref ref-type="sec" rid="Ch1.S4.SS1"/>.</p>
<sec id="Ch1.S3.SS1">
  <label>3.1</label><title>Inverse problem</title>
      <p id="d2e754">The vector of variables <inline-formula><mml:math id="M5" display="inline"><mml:mi mathvariant="bold-italic">x</mml:mi></mml:math></inline-formula> that we want to estimate is going to include several components or subvectors <inline-formula><mml:math id="M6" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, which are presented here successively. Our first objective is to reconstruct the low-frequency variability of the Mediterranean, as described here by the dynamic topography <inline-formula><mml:math id="M7" display="inline"><mml:mi>H</mml:mi></mml:math></inline-formula> only (even if other variables could in principle be included):

            <disp-formula id="Ch1.E1" content-type="numbered"><label>1</label><mml:math id="M8" display="block"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mo>[</mml:mo><mml:mi>H</mml:mi><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>]</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>

          The spatial resolution of these fields (grid where <inline-formula><mml:math id="M9" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M10" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M11" display="inline"><mml:mi>z</mml:mi></mml:math></inline-formula> are discretized) is the same as the model ensemble simulation (i.e. 1/12° on the horizontal), and the time resolution (for <inline-formula><mml:math id="M12" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula>) is set to 1 month, which is sufficient to resolve the low-frequency component of the signal. These fields contain interannual time scales, without the annual cycle, which is filtered out.</p>
      <p id="d2e847">In addition, since the estimation will use data from a prior ensemble model simulation, we must account for a possible bias in these data, which we also include in the vector of variables to estimate:

            <disp-formula id="Ch1.E2" content-type="numbered"><label>2</label><mml:math id="M13" display="block"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mo>[</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>H</mml:mi><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>T</mml:mi><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>,</mml:mo><mml:mi>z</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>S</mml:mi><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>,</mml:mo><mml:mi>z</mml:mi><mml:mo>)</mml:mo><mml:mo>]</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>

          This bias is here assumed constant in time. A more complex problem would be to allow for a slow variation of this bias over time, and a simplification would be to rely on available climatologies to compute the bias beforehand as the difference with the model climatology, which would exclude the bias <inline-formula><mml:math id="M14" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> from the estimation vector. The complexity of the estimation problem needs to be tuned according to what is expected tractable with the available observations and methods.</p>
      <p id="d2e936">Moreover, the estimation problem will require the covariance of the prior uncertainty and the covariance of the unresolved time scales (as the main contribution to the observation representativity error). Both can be obtained from the prior ensemble simulation, but again with possible biases (resulting for instance from an insufficient spread of the prior ensemble). This bias is introduced in the estimation vector, as two multiplicative factors applied to these two covariances:

            <disp-formula id="Ch1.E3" content-type="numbered"><label>3</label><mml:math id="M15" display="block"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mo>[</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mi mathvariant="italic">β</mml:mi><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo><mml:mo>]</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>

          These factors <inline-formula><mml:math id="M16" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M17" display="inline"><mml:mi mathvariant="italic">β</mml:mi></mml:math></inline-formula> are here assumed to be constant in time, but again more complex assumptions would be possible. The introduction of such amplification factors in the estimation vector is what is usually done in adaptive Kalman filters, as proposed for instance by <xref ref-type="bibr" rid="bib1.bibx13" id="text.17"/>, <xref ref-type="bibr" rid="bib1.bibx18" id="text.18"/>, <xref ref-type="bibr" rid="bib1.bibx20" id="text.19"/>, <xref ref-type="bibr" rid="bib1.bibx22" id="text.20"/> and applied by <xref ref-type="bibr" rid="bib1.bibx10" id="text.21"/> to a square-root Kalman filter. It must be noted here that it may be challenging to estimate these two factors simultaneously, since it is always the sum of the prior and observation uncertainties that is observed. The joint estimate is still possible in principle (as in adaptive Kalman filters) if they have distinct correlation structures, but it is always possible that information is missing to obtain accurate estimates.</p>
      <p id="d2e1015">The vector of variables to estimate <inline-formula><mml:math id="M18" display="inline"><mml:mi mathvariant="bold-italic">x</mml:mi></mml:math></inline-formula> is then built by aggregating the components (Eqs. <xref ref-type="disp-formula" rid="Ch1.E1"/>–<xref ref-type="disp-formula" rid="Ch1.E3"/>): <inline-formula><mml:math id="M19" display="inline"><mml:mrow><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>=</mml:mo><mml:mo>[</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub><mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula>. It is estimated using the Bayes theorem:

            <disp-formula id="Ch1.E4" content-type="numbered"><label>4</label><mml:math id="M20" display="block"><mml:mrow><mml:msup><mml:mi>p</mml:mi><mml:mi>a</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mi>p</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>|</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mi mathvariant="normal">o</mml:mi></mml:msup></mml:mrow></mml:mfenced><mml:mo>∝</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mi>b</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>)</mml:mo><mml:mi>p</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mi mathvariant="normal">o</mml:mi></mml:msup><mml:mo>|</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:math></disp-formula>

          where <inline-formula><mml:math id="M21" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mi mathvariant="normal">o</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> is the vector with all available observations, <inline-formula><mml:math id="M22" display="inline"><mml:mrow><mml:msup><mml:mi>p</mml:mi><mml:mi>b</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the prior probability distribution for <inline-formula><mml:math id="M23" display="inline"><mml:mi mathvariant="bold-italic">x</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M24" display="inline"><mml:mrow><mml:mi>p</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mo>|</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the conditional probability distribution for the observation vector <inline-formula><mml:math id="M25" display="inline"><mml:mi mathvariant="bold-italic">y</mml:mi></mml:math></inline-formula> given the state <inline-formula><mml:math id="M26" display="inline"><mml:mi mathvariant="bold-italic">x</mml:mi></mml:math></inline-formula> of the system (evaluated at <inline-formula><mml:math id="M27" display="inline"><mml:mrow><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mi mathvariant="normal">o</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> to give the likelihood function of <inline-formula><mml:math id="M28" display="inline"><mml:mi mathvariant="bold-italic">x</mml:mi></mml:math></inline-formula>), and <inline-formula><mml:math id="M29" display="inline"><mml:mrow><mml:msup><mml:mi>p</mml:mi><mml:mi>a</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the posterior probability distribution for <inline-formula><mml:math id="M30" display="inline"><mml:mi mathvariant="bold-italic">x</mml:mi></mml:math></inline-formula>, given the observations <inline-formula><mml:math id="M31" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mi mathvariant="normal">o</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula>. Our objective is to produce a sample of <inline-formula><mml:math id="M32" display="inline"><mml:mrow><mml:msup><mml:mi>p</mml:mi><mml:mi>a</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>.</p>
      <p id="d2e1265">The reason why we needed to include <inline-formula><mml:math id="M33" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M34" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> in the estimation vector <inline-formula><mml:math id="M35" display="inline"><mml:mi mathvariant="bold-italic">x</mml:mi></mml:math></inline-formula> is that the ensemble model simulation described in Sect. <xref ref-type="sec" rid="Ch1.S2.SS2"/> could not be assumed perfectly reliable. We know that there are substantial biases and that the spread is not always sufficient to be consistent with the observations. By including <inline-formula><mml:math id="M36" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M37" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, we provide more freedom in the prior statistics to fit the observations, and we expect to obtain a more reliable description of the posterior uncertainty, as described by <inline-formula><mml:math id="M38" display="inline"><mml:mrow><mml:msup><mml:mi>p</mml:mi><mml:mi>a</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>.</p>
</sec>
<sec id="Ch1.S3.SS2">
  <label>3.2</label><title>Prior probability distribution</title>
      <p id="d2e1347">The prior statistical model is meant to embed all assumptions that are made in this study. These are the assumptions that need to be checked and evaluated. Our central assumption is to use a long-term ensemble model simulation as a prior distribution for the low-frequency interannual signal. The expectation is that the model simulation embeds useful information about this signal, in particular through the use of a realistic interannual atmospheric forcing. The prior statistics are thus nonstationary, since they can change in time according to how the model responds to a changing atmosphere. There is also the perspective that they can improve in the future when the model is made more and more reliable.</p>
      <p id="d2e1350">The first consequence of this choice is that only a small-size ensemble is available (30 members), which means that we can only have a simple prior model (in our case, described by the mean and the covariance, with localization), since no complex model can be inferred from a small sample. The second consequence is that we have to cope with possible systematic errors in the model simulation (bias and insufficient spread), by including additional degrees of freedom in the estimation vector (<inline-formula><mml:math id="M39" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M40" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>).</p>
      <p id="d2e1375">In our model, the prior distribution for the components (Eqs. <xref ref-type="disp-formula" rid="Ch1.E2"/> and <xref ref-type="disp-formula" rid="Ch1.E3"/>) of <inline-formula><mml:math id="M41" display="inline"><mml:mi mathvariant="bold-italic">x</mml:mi></mml:math></inline-formula> (i.e. the bias and the spread adjustments) are assumed independent, while the distribution for <inline-formula><mml:math id="M42" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> (i.e. the main target of the inverse problem) depends on <inline-formula><mml:math id="M43" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M44" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>: <inline-formula><mml:math id="M45" display="inline"><mml:mrow><mml:msup><mml:mi>p</mml:mi><mml:mi>b</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mi>b</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>|</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub><mml:mo>)</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mi>b</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>)</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mi>b</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. We will see that this makes the resulting prior statistical model for <inline-formula><mml:math id="M46" display="inline"><mml:mi mathvariant="bold-italic">x</mml:mi></mml:math></inline-formula> non-Gaussian, because the statistics of <inline-formula><mml:math id="M47" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> depends on <inline-formula><mml:math id="M48" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M49" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, and because <inline-formula><mml:math id="M50" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> is itself assumed non-Gaussian.</p>
      <p id="d2e1551">For component 1, the conditional distribution (for given <inline-formula><mml:math id="M51" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M52" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>) is assumed Gaussian, with mean <inline-formula><mml:math id="M53" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi>b</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> and covariance <inline-formula><mml:math id="M54" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold">P</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi>b</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula>. <inline-formula><mml:math id="M55" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi>b</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M56" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold">P</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi>b</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> are specified by the mean <inline-formula><mml:math id="M57" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi>r</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> and the covariance <inline-formula><mml:math id="M58" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold">P</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi>r</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> of the low-frequency component of the reference ensemble simulation (described in Sect. <xref ref-type="sec" rid="Ch1.S2.SS2"/>), with a bias correction given by <inline-formula><mml:math id="M59" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and a spread correction given by the component <inline-formula><mml:math id="M60" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula> of <inline-formula><mml:math id="M61" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>:

            <disp-formula id="Ch1.E5" content-type="numbered"><label>5</label><mml:math id="M62" display="block"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi>b</mml:mi></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi>r</mml:mi></mml:msubsup><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi mathvariant="normal">and</mml:mi><mml:mspace width="0.25em" linebreak="nobreak"/><mml:msubsup><mml:mi mathvariant="bold">P</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi>b</mml:mi></mml:msubsup><mml:mo>=</mml:mo><mml:mi mathvariant="bold">D</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:msup><mml:mo>)</mml:mo><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup><mml:msubsup><mml:mi mathvariant="bold">P</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mi>r</mml:mi></mml:msubsup><mml:mi mathvariant="bold">D</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:msup><mml:mo>)</mml:mo><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></disp-formula>

          where <inline-formula><mml:math id="M63" display="inline"><mml:mrow><mml:mi mathvariant="bold">D</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is a diagonal matrix amplifying the variance of the reference ensemble simulation.</p>
      <p id="d2e1784">For component 2 (the bias estimate), the prior distribution is also assumed Gaussian, with zero mean and a covariance again obtained from the reference ensemble simulation:

            <disp-formula id="Ch1.E6" content-type="numbered"><label>6</label><mml:math id="M64" display="block"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">2</mml:mn><mml:mi>b</mml:mi></mml:msubsup><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi mathvariant="normal">and</mml:mi><mml:mspace linebreak="nobreak" width="0.25em"/><mml:msubsup><mml:mi mathvariant="bold">P</mml:mi><mml:mn mathvariant="normal">2</mml:mn><mml:mi>b</mml:mi></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mi mathvariant="bold">P</mml:mi><mml:mn mathvariant="normal">2</mml:mn><mml:mi>r</mml:mi></mml:msubsup></mml:mrow></mml:math></disp-formula>

          but this time, <inline-formula><mml:math id="M65" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold">P</mml:mi><mml:mn mathvariant="normal">2</mml:mn><mml:mi>r</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> does not only include the interannual time scales, but also the annual cycle, which contains structures that can be expected in the model bias. The resulting prior variance is thus quite large to let the bias adjust almost freely to the observations.</p>
      <p id="d2e1837">For component 3 (the spread correction estimate), we assume a lognormal distribution, which is obtained as the exponential of Gaussian variables, with zero mean (<inline-formula><mml:math id="M66" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">3</mml:mn><mml:mi>b</mml:mi></mml:msubsup><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>) and an analytically specified covariance <inline-formula><mml:math id="M67" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold">P</mml:mi><mml:mn mathvariant="normal">3</mml:mn><mml:mi>b</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula>. In <inline-formula><mml:math id="M68" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold">P</mml:mi><mml:mn mathvariant="normal">3</mml:mn><mml:mi>b</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula>, the variance is set to be quite large, to let the spread of the distributions be expanded or reduced almost freely to fit the observations, and the correlation structure is specified by a Gaussian function of the distance: <inline-formula><mml:math id="M69" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub><mml:mo>(</mml:mo><mml:mi>r</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mi>exp⁡</mml:mi><mml:mo>(</mml:mo><mml:mo>-</mml:mo><mml:msup><mml:mi>r</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>/</mml:mo><mml:msubsup><mml:mi>l</mml:mi><mml:mn mathvariant="normal">3</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:msubsup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, where <inline-formula><mml:math id="M70" display="inline"><mml:mrow><mml:msub><mml:mi>l</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">200</mml:mn></mml:mrow></mml:math></inline-formula> km. We need this length scale to be small enough to let <inline-formula><mml:math id="M71" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M72" display="inline"><mml:mi mathvariant="italic">β</mml:mi></mml:math></inline-formula> adjust to the observations, and large enough to avoid having too many degrees of freedom in the estimation vector (which would not be controllable by the observations).</p>
      <p id="d2e1955">In addition, since the covariance matrices of components 1 and 2 are provided by a small size ensemble (the 30 members of the ensemble simulation described in Sect. <xref ref-type="sec" rid="Ch1.S2.SS2"/>), they cannot be expected to represent adequately the correlation structure over the full Mediterranean basin and over the full time period (30 years). To cope with this difficulty, the classic approach <xref ref-type="bibr" rid="bib1.bibx19 bib1.bibx4" id="paren.22"/> is to localize the ensemble covariance by a Schur product with a correlation matrix <inline-formula><mml:math id="M73" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">Γ</mml:mi><mml:mi mathvariant="normal">loc</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>:

            <disp-formula id="Ch1.E7" content-type="numbered"><label>7</label><mml:math id="M74" display="block"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold">P</mml:mi><mml:mi>i</mml:mi><mml:mrow><mml:mi>b</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">loc</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mi mathvariant="bold">P</mml:mi><mml:mi>i</mml:mi><mml:mi>b</mml:mi></mml:msubsup><mml:mo>∘</mml:mo><mml:msub><mml:mi mathvariant="bold">Γ</mml:mi><mml:mi mathvariant="normal">loc</mml:mi></mml:msub></mml:mrow></mml:math></disp-formula>

          where the correlation structure in <inline-formula><mml:math id="M75" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">Γ</mml:mi><mml:mi mathvariant="normal">loc</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is here specified by a Gaussian function of the distance <inline-formula><mml:math id="M76" display="inline"><mml:mi>r</mml:mi></mml:math></inline-formula> and time difference <inline-formula><mml:math id="M77" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>:

            <disp-formula id="Ch1.E8" content-type="numbered"><label>8</label><mml:math id="M78" display="block"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mi mathvariant="normal">loc</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>r</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mi>exp⁡</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:mo>-</mml:mo><mml:msup><mml:mi>r</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>/</mml:mo><mml:msubsup><mml:mi>l</mml:mi><mml:mi mathvariant="normal">loc</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msubsup></mml:mrow></mml:mfenced><mml:mo>×</mml:mo><mml:mi>exp⁡</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:mo>-</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msup><mml:mi>t</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>/</mml:mo><mml:msubsup><mml:mi mathvariant="italic">τ</mml:mi><mml:mi mathvariant="normal">loc</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msubsup></mml:mrow></mml:mfenced></mml:mrow></mml:math></disp-formula>

          with <inline-formula><mml:math id="M79" display="inline"><mml:mrow><mml:msub><mml:mi>l</mml:mi><mml:mi mathvariant="normal">loc</mml:mi></mml:msub><mml:mo>≃</mml:mo><mml:mn mathvariant="normal">100</mml:mn></mml:mrow></mml:math></inline-formula> km and <inline-formula><mml:math id="M80" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">τ</mml:mi><mml:mi mathvariant="normal">loc</mml:mi></mml:msub><mml:mo>≃</mml:mo><mml:mn mathvariant="normal">6</mml:mn></mml:mrow></mml:math></inline-formula> months (tuned for our experiments). In this way, only the local ensemble correlation structure is used in the estimation problem, while the long-range ensemble correlations are dropped.</p>
</sec>
<sec id="Ch1.S3.SS3">
  <label>3.3</label><title>Observation constraint</title>
      <p id="d2e2145">Observation error is assumed Gaussian, with zero mean (unbiased observations) and covariance <inline-formula><mml:math id="M81" display="inline"><mml:mi mathvariant="bold">R</mml:mi></mml:math></inline-formula>. It is described by the probability distribution:

            <disp-formula id="Ch1.E9" content-type="numbered"><label>9</label><mml:math id="M82" display="block"><mml:mrow><mml:mi>p</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mo>|</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:msqrt><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mi mathvariant="italic">π</mml:mi><mml:msup><mml:mo>)</mml:mo><mml:mi>p</mml:mi></mml:msup><mml:mo>|</mml:mo><mml:mi mathvariant="bold">R</mml:mi><mml:mo>|</mml:mo></mml:mrow></mml:msqrt></mml:mfrac></mml:mstyle><mml:mi>exp⁡</mml:mi><mml:mfenced close="]" open="["><mml:mrow><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:msup><mml:mfenced close=")" open="("><mml:mrow><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="bold">H</mml:mi><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mfenced><mml:mi>T</mml:mi></mml:msup><mml:msup><mml:mi mathvariant="bold">R</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mfenced open="(" close=")"><mml:mrow><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="bold">H</mml:mi><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:math></disp-formula>

          where <inline-formula><mml:math id="M83" display="inline"><mml:mi mathvariant="bold">H</mml:mi></mml:math></inline-formula> is the observation operator, which is here only a linear interpolation from the component <inline-formula><mml:math id="M84" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> of the estimation vector (the only component that is directly observed) to obtain the observation equivalent (with dimension <inline-formula><mml:math id="M85" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula>). <inline-formula><mml:math id="M86" display="inline"><mml:mi mathvariant="bold">R</mml:mi></mml:math></inline-formula> is assumed diagonal and it is computed as the amplification of a reference error variance <inline-formula><mml:math id="M87" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">R</mml:mi><mml:mi mathvariant="normal">r</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> by the factor <inline-formula><mml:math id="M88" display="inline"><mml:mi mathvariant="italic">β</mml:mi></mml:math></inline-formula>:

            <disp-formula id="Ch1.E10" content-type="numbered"><label>10</label><mml:math id="M89" display="block"><mml:mrow><mml:mi mathvariant="bold">R</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mi mathvariant="bold">D</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup><mml:mo>(</mml:mo><mml:mi mathvariant="italic">β</mml:mi><mml:mo>)</mml:mo><mml:msup><mml:mi mathvariant="bold">R</mml:mi><mml:mi mathvariant="normal">r</mml:mi></mml:msup><mml:msup><mml:mi mathvariant="bold">D</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup><mml:mo>(</mml:mo><mml:mi mathvariant="italic">β</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></disp-formula>

          where <inline-formula><mml:math id="M90" display="inline"><mml:mrow><mml:mi mathvariant="bold">D</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="italic">β</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is a diagonal matrix amplifying the variance <inline-formula><mml:math id="M91" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">R</mml:mi><mml:mi mathvariant="normal">r</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> obtained from the reference ensemble simulation. It is here included in the estimation vector to adjust for a possible bias in the estimation of <inline-formula><mml:math id="M92" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">R</mml:mi><mml:mi mathvariant="normal">r</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula>.</p>
      <p id="d2e2384">The observation cost function is then:

            <disp-formula id="Ch1.E11" content-type="numbered"><label>11</label><mml:math id="M93" display="block"><mml:mtable class="split" rowspacing="0.2ex" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:msup><mml:mi>J</mml:mi><mml:mi mathvariant="normal">o</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mi>log⁡</mml:mi><mml:mi>p</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mi mathvariant="normal">o</mml:mi></mml:msup><mml:mo>|</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:msup><mml:mfenced open="(" close=")"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mi mathvariant="normal">o</mml:mi></mml:msup><mml:mo>-</mml:mo><mml:mi mathvariant="bold">H</mml:mi><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mfenced><mml:mi>T</mml:mi></mml:msup></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:msup><mml:mfenced close="]" open="["><mml:mrow><mml:msup><mml:mi mathvariant="bold">D</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup><mml:mo>(</mml:mo><mml:mi mathvariant="italic">β</mml:mi><mml:mo>)</mml:mo><mml:msup><mml:mi mathvariant="bold">R</mml:mi><mml:mi mathvariant="normal">r</mml:mi></mml:msup><mml:msup><mml:mi mathvariant="bold">D</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup><mml:mo>(</mml:mo><mml:mi mathvariant="italic">β</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mfenced><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mfenced close=")" open="("><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mi mathvariant="normal">o</mml:mi></mml:msup><mml:mo>-</mml:mo><mml:mi mathvariant="bold">H</mml:mi><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mi>p</mml:mi></mml:munderover><mml:mi>log⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:mi mathvariant="normal">Cst</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>

          where the last two terms result from the normalizing factor in Eq. (<xref ref-type="disp-formula" rid="Ch1.E9"/>), and <inline-formula><mml:math id="M94" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the value of <inline-formula><mml:math id="M95" display="inline"><mml:mi mathvariant="italic">β</mml:mi></mml:math></inline-formula> corresponding to each observation [by interpolation of <inline-formula><mml:math id="M96" display="inline"><mml:mrow><mml:mi mathvariant="italic">β</mml:mi><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>]. Since all matrices are diagonal, the computation of <inline-formula><mml:math id="M97" display="inline"><mml:mrow><mml:msup><mml:mi>J</mml:mi><mml:mi mathvariant="normal">o</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> can be written as a simple sum over all observations:

            <disp-formula id="Ch1.E12" content-type="numbered"><label>12</label><mml:math id="M98" display="block"><mml:mrow><mml:msup><mml:mi>J</mml:mi><mml:mi mathvariant="normal">o</mml:mi></mml:msup><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mi>p</mml:mi></mml:munderover><mml:mfenced open="[" close="]"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msup><mml:mfenced open="(" close=")"><mml:mrow><mml:msubsup><mml:mi>y</mml:mi><mml:mi>j</mml:mi><mml:mi mathvariant="normal">o</mml:mi></mml:msubsup><mml:mo>-</mml:mo><mml:msub><mml:mi>H</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:mfenced><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:msubsup><mml:mi>R</mml:mi><mml:mi>j</mml:mi><mml:mi>r</mml:mi></mml:msubsup></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:mi>log⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:math></disp-formula>

          which is straightforward to evaluate. The estimation of <inline-formula><mml:math id="M99" display="inline"><mml:mi mathvariant="italic">β</mml:mi></mml:math></inline-formula> thus results from a compromise between the two terms of Eq. (<xref ref-type="disp-formula" rid="Ch1.E11"/>), the first one decreasing with <inline-formula><mml:math id="M100" display="inline"><mml:mi mathvariant="italic">β</mml:mi></mml:math></inline-formula> and the second one increasing with <inline-formula><mml:math id="M101" display="inline"><mml:mi mathvariant="italic">β</mml:mi></mml:math></inline-formula>, and it is coupled to the estimation of the other components through <inline-formula><mml:math id="M102" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>.</p>
</sec>
<sec id="Ch1.S3.SS4">
  <label>3.4</label><title>Iterative Monte Carlo method</title>
      <p id="d2e2731">In the above problem, none of the distributions <inline-formula><mml:math id="M103" display="inline"><mml:mrow><mml:msup><mml:mi>p</mml:mi><mml:mi>b</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M104" display="inline"><mml:mrow><mml:mi>p</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mo>|</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> or <inline-formula><mml:math id="M105" display="inline"><mml:mrow><mml:msup><mml:mi>p</mml:mi><mml:mi>a</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> are Gaussian, or even approximately Gaussian, so that linear estimation methods are not directly applicable. In the following, we will show that Monte Carlo Markov Chains (MCMC) iterative sampling methods can be made efficient enough to solve this problem of large dimension.</p>
      <p id="d2e2786">The method is based on the Metropolis/Hastings algorithm <xref ref-type="bibr" rid="bib1.bibx26" id="paren.23"><named-content content-type="pre">see e.g.</named-content></xref>, which generates a sample of a target probability distribution [in our case, <inline-formula><mml:math id="M106" display="inline"><mml:mrow><mml:msup><mml:mi>p</mml:mi><mml:mi>a</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>] by constructing a stochastic process (a Markov chain) that is in equilibrium with this target distribution. In other words, this means that we construct a stochastic process whose “attractor” is characterized by the distribution <inline-formula><mml:math id="M107" display="inline"><mml:mrow><mml:msup><mml:mi>p</mml:mi><mml:mi>a</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> that we want to sample. In this algorithm, the next iterate of the Markov chain <inline-formula><mml:math id="M108" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mrow><mml:mi>K</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is computed from the current iterate <inline-formula><mml:math id="M109" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi>K</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> by sampling a perturbation of <inline-formula><mml:math id="M110" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi>K</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> from a simple proposal distribution (usually Gaussian) and then accepting or rejecting the perturbation according to the variation of the cost function. Perturbations decreasing the cost function are always accepted, while perturbations increasing the cost function are only sometimes accepted to ensure the equilibrium condition (see Appendix <xref ref-type="sec" rid="App1.Ch1.S1.SS1"/> for more details).</p>
      <p id="d2e2869">This algorithm is quite general and usually efficient enough as long as the number of dimensions is not too large (typically a few hundreds) because the cost of sampling a large-dimension proposal distribution, even if Gaussian, can be substantial. For instance, a classic choice for the proposal distribution would be to compute the proposal perturbation as a linear combination of EOFs (Empirical Orthogonal Functions), with random Gaussian coefficients, as done for instance in <xref ref-type="bibr" rid="bib1.bibx16" id="text.24"/> or <xref ref-type="bibr" rid="bib1.bibx14" id="text.25"/>. However, if the dimension of the state vector (<inline-formula><mml:math id="M111" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula>) is large and if there are many relevant directions of perturbations (<inline-formula><mml:math id="M112" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula>), the cost of this linear combination (<inline-formula><mml:math id="M113" display="inline"><mml:mrow><mml:mi>n</mml:mi><mml:mo>×</mml:mo><mml:mi>m</mml:mi></mml:mrow></mml:math></inline-formula> operations) becomes quickly prohibitive (up to <inline-formula><mml:math id="M114" display="inline"><mml:mrow><mml:msup><mml:mi>n</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> for a perturbation with full rank covariance).</p>
      <p id="d2e2916">More specifically, in our practical example, even if we have only 30 members to define the prior probability distribution (which would make an acceptable value of <inline-formula><mml:math id="M115" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula>), we need to localize the prior covariance according to Eq. (<xref ref-type="disp-formula" rid="Ch1.E7"/>). This makes the prior covariance a full-rank matrix, and thus demultiply the number of possible directions of perturbations. Prior uncertainty really occurs in a large dimension space, which needs to be explored. This is what makes the computation of the random perturbation by a linear combination prohibitively expensive and impracticable for our large-size problem.</p>
      <p id="d2e2929">To cope with this difficulty, we can actually take advantage of the localization of the ensemble covariance by Eq. (<xref ref-type="disp-formula" rid="Ch1.E7"/>) using the method proposed and illustrated in <xref ref-type="bibr" rid="bib1.bibx6" id="text.26"/> and applied in <xref ref-type="bibr" rid="bib1.bibx25" id="text.27"/> to ocean colour observations. In this method, the random perturbation of the state vector is not computed as a linear combination of basis vectors, but by a Schur product of several vectors randomly taken from a pre-computed set of vectors. This Schur product is designed in such a way that the covariance of the random perturbation is given by Eq. (<xref ref-type="disp-formula" rid="Ch1.E7"/>).</p>
      <p id="d2e2942">Suppose for example that we have generated a sample of vectors <inline-formula><mml:math id="M116" display="inline"><mml:mrow><mml:msubsup><mml:mover accent="true"><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mi>k</mml:mi><mml:mi mathvariant="normal">loc</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M117" display="inline"><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>, …, <inline-formula><mml:math id="M118" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula> with covariance <inline-formula><mml:math id="M119" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="bold">Γ</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">loc</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, where <inline-formula><mml:math id="M120" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="bold">Γ</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">loc</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is defined so that <inline-formula><mml:math id="M121" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">Γ</mml:mi><mml:mi mathvariant="normal">loc</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the 6th Schur-power of <inline-formula><mml:math id="M122" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="bold">Γ</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">loc</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. In practice, to be consistent with Eq. (<xref ref-type="disp-formula" rid="Ch1.E8"/>), this simply means that the correlation function corresponding to <inline-formula><mml:math id="M123" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="bold">Γ</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">loc</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> must be:

            <disp-formula id="Ch1.E13" content-type="numbered"><label>13</label><mml:math id="M124" display="block"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="italic">γ</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">loc</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>r</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mi>exp⁡</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:mo>-</mml:mo><mml:msup><mml:mi>r</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>/</mml:mo><mml:mn mathvariant="normal">6</mml:mn><mml:msubsup><mml:mi>l</mml:mi><mml:mi mathvariant="normal">loc</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msubsup></mml:mrow></mml:mfenced><mml:mo>×</mml:mo><mml:mi>exp⁡</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:mo>-</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msup><mml:mi>t</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>/</mml:mo><mml:mn mathvariant="normal">6</mml:mn><mml:msubsup><mml:mi mathvariant="italic">τ</mml:mi><mml:mi mathvariant="normal">loc</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msubsup></mml:mrow></mml:mfenced></mml:mrow></mml:math></disp-formula>

          i.e. with a correlation length scale and a correlation time scale that are multiplied by <inline-formula><mml:math id="M125" display="inline"><mml:msqrt><mml:mn mathvariant="normal">6</mml:mn></mml:msqrt></mml:math></inline-formula>.</p>
      <p id="d2e3128">Then, we use the general property that the covariance of Schur product is the Schur product of the covariance: if we take 6 different vectors from the <inline-formula><mml:math id="M126" display="inline"><mml:mrow><mml:msubsup><mml:mover accent="true"><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mi>k</mml:mi><mml:mi mathvariant="normal">loc</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula>, the covariance of their Schur product is the 6th Schur-power of <inline-formula><mml:math id="M127" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="bold">Γ</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">loc</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, and thus <inline-formula><mml:math id="M128" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">Γ</mml:mi><mml:mi mathvariant="normal">loc</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. If we further make the Schur product of this vector by a vector obtained from the prior ensemble (with covariance <inline-formula><mml:math id="M129" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold">P</mml:mi><mml:mi>i</mml:mi><mml:mi>b</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula>), we obtain a pseudo-random perturbation vector with the localized covariance of Eq. (<xref ref-type="disp-formula" rid="Ch1.E7"/>), at the cost of just 6 Schur products (i.e. <inline-formula><mml:math id="M130" display="inline"><mml:mrow><mml:mn mathvariant="normal">6</mml:mn><mml:mi>n</mml:mi></mml:mrow></mml:math></inline-formula> operations). This last Schur product can be viewed as the modulation of one member of the ensemble simulation (more precisely the anomaly with respect to the ensemble mean) by one large-scale pattern with covariance <inline-formula><mml:math id="M131" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">Γ</mml:mi><mml:mi mathvariant="normal">loc</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, as more extensively explained in <xref ref-type="bibr" rid="bib1.bibx6" id="text.28"/> for the MCMC sampler, or in <xref ref-type="bibr" rid="bib1.bibx5" id="text.29"/> in the framework of a localized ensemble Kalman filter.</p>
      <p id="d2e3215">The whole benefit comes from the fact that the sample <inline-formula><mml:math id="M132" display="inline"><mml:mrow><mml:msubsup><mml:mover accent="true"><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mi>k</mml:mi><mml:mi mathvariant="normal">loc</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M133" display="inline"><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>, …, <inline-formula><mml:math id="M134" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula>, with covariance <inline-formula><mml:math id="M135" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="bold">Γ</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">loc</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> needs to be computed only once. Then, the diversity of the possible directions of perturbations will only result from the combinatorial effect of the Schur products. For instance, with <inline-formula><mml:math id="M136" display="inline"><mml:mrow><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">30</mml:mn></mml:mrow></mml:math></inline-formula> and 6 Schur products, the number of different directions of perturbation is: <inline-formula><mml:math id="M137" display="inline"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">30</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">29</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">28</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">27</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">26</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">25</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">24</mml:mn><mml:mo>≃</mml:mo><mml:mn mathvariant="normal">1.026</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">10</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, which is sufficient to span all relevant degrees of freedom of our system. Actually, the effective number of degrees of freedom (<inline-formula><mml:math id="M138" display="inline"><mml:mi>d</mml:mi></mml:math></inline-formula>) depends on the ratio between the size of the domain (in space and time) and the localization scales, and it is very tiny as compared to <inline-formula><mml:math id="M139" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula>. The idea behind this large value of <inline-formula><mml:math id="M140" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula> is to produce a quasi-random sample of this target space of dimension <inline-formula><mml:math id="M141" display="inline"><mml:mi>d</mml:mi></mml:math></inline-formula>, and thus ideally among the largest possible number of directions of perturbation (which has here to be discrete because of the finite samples). See <xref ref-type="bibr" rid="bib1.bibx6" id="text.30"/> for more details. It must also be mentioned that the size of the localizing ensemble could also be larger than the size of the original ensemble, which would also increase <inline-formula><mml:math id="M142" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula>. We used here the same size for simplicity and to limit the memory requirements.</p>
      <p id="d2e3367">A full technical description of the algorithm used in this paper is provided in the Appendix, where a description of the computational complexity of the algorithm is also included. It is shown that the method can be very easily implemented to be efficient on GPUs, and that we were able to obtain a gain of about 100 as compared to CPUs in the computation of the solution of our problem.</p>
</sec>
</sec>
<sec id="Ch1.S4">
  <label>4</label><title>Illustration of the ensemble results</title>
      <p id="d2e3380">By applying the method described in the previous section using the observation and model data presented in Sect. <xref ref-type="sec" rid="Ch1.S2"/>, we obtain an ensemble estimate of the low-frequency variability of the Mediterranean, i.e. a sample of the posterior distribution <inline-formula><mml:math id="M143" display="inline"><mml:mrow><mml:msup><mml:mi>p</mml:mi><mml:mi>a</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. In this section, we provide a more precise description of the experiments that have been performed in terms of input data, specific settings and computational intensity (Sect. <xref ref-type="sec" rid="Ch1.S4.SS1"/>), we illustrate the results by a few statistics describing the solution (Sect. <xref ref-type="sec" rid="Ch1.S4.SS2"/>), we examine the importance of the model data to constrain the solution (Sect. <xref ref-type="sec" rid="Ch1.S4.SS3"/>), and we evaluate the reliability of the posterior ensemble (Sect. <xref ref-type="sec" rid="Ch1.S4.SS4"/>.)</p>
<sec id="Ch1.S4.SS1">
  <label>4.1</label><title>Description of the experiments</title>
      <p id="d2e3419">The first experiment (SSH) includes all available along-track altimetric observations. This experiment has been repeated twice (SSH-A and SSH-B) using the subsets of altimetric observations (A and B) described in Table <xref ref-type="table" rid="T1"/>. The characteristics of the experiments are given in Table <xref ref-type="table" rid="T2"/>.</p>

<table-wrap id="T2" specific-use="star"><label>Table 2</label><caption><p id="d2e3429">Characteristics of the experiments. Note that the total cost is to generate 100 ensemble members. One may not need so many members.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="4">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:colspec colnum="3" colname="col3" align="left"/>
     <oasis:colspec colnum="4" colname="col4" align="left"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Name of experiment</oasis:entry>
         <oasis:entry colname="col2">SSH</oasis:entry>
         <oasis:entry colname="col3">SSH-A</oasis:entry>
         <oasis:entry colname="col4">SSH-B</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">Longitude</oasis:entry>
         <oasis:entry colname="col2">10° W–36° E</oasis:entry>
         <oasis:entry colname="col3">10° W–36° E</oasis:entry>
         <oasis:entry colname="col4">10° W–36° E</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Latitude</oasis:entry>
         <oasis:entry colname="col2">30–46° N</oasis:entry>
         <oasis:entry colname="col3">30–46° N</oasis:entry>
         <oasis:entry colname="col4">30–46° N</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Resolution</oasis:entry>
         <oasis:entry colname="col2">1/12°</oasis:entry>
         <oasis:entry colname="col3">1/12°</oasis:entry>
         <oasis:entry colname="col4">1/12°</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Size of estimation vector</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M144" display="inline"><mml:mrow><mml:mn mathvariant="normal">64.3</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">6</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M145" display="inline"><mml:mrow><mml:mn mathvariant="normal">64.3</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">6</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M146" display="inline"><mml:mrow><mml:mn mathvariant="normal">64.3</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">6</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Size of observation vector</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M147" display="inline"><mml:mrow><mml:mn mathvariant="normal">8.66</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">6</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M148" display="inline"><mml:mrow><mml:mn mathvariant="normal">3.65</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">6</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M149" display="inline"><mml:mrow><mml:mn mathvariant="normal">5.01</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">6</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Size of posterior ensemble</oasis:entry>
         <oasis:entry colname="col2">100</oasis:entry>
         <oasis:entry colname="col3">100</oasis:entry>
         <oasis:entry colname="col4">100</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Number of MCMC iterations</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M150" display="inline"><mml:mrow><mml:mn mathvariant="normal">30</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M151" display="inline"><mml:mrow><mml:mn mathvariant="normal">30</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M152" display="inline"><mml:mrow><mml:mn mathvariant="normal">30</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Number of GPUs used</oasis:entry>
         <oasis:entry colname="col2">48</oasis:entry>
         <oasis:entry colname="col3">48</oasis:entry>
         <oasis:entry colname="col4">48</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Clock time per member</oasis:entry>
         <oasis:entry colname="col2">319 s</oasis:entry>
         <oasis:entry colname="col3">144 s</oasis:entry>
         <oasis:entry colname="col4">169 s</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Total cost</oasis:entry>
         <oasis:entry colname="col2">426 hGPU</oasis:entry>
         <oasis:entry colname="col3">193 hGPU</oasis:entry>
         <oasis:entry colname="col4">225 hGPU</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

      <p id="d2e3735">As compared to the method described in Sect. <xref ref-type="sec" rid="Ch1.S3"/>, one simplification has been introduced in the practical implementation: we preferred to rescale the prior standard deviation to a constant value (set to a typical value of 4 cm) rather than using the model ensemble standard deviation, because it is much too small in several regions (especially along the coast). This constant standard deviation is then adaptively rescaled by the free factor <inline-formula><mml:math id="M153" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula> (in the estimation vector). This simplification is here needed because it turned out that, in this problem, the estimation of <inline-formula><mml:math id="M154" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula> from the observations is not easy (see Sect. <xref ref-type="sec" rid="Ch1.S5"/>).</p>
      <p id="d2e3757">The cost of the experiments provided in Table <xref ref-type="table" rid="T2"/> suggests that each member of the posterior ensemble can be obtained quite quickly and with moderate resources. It must be noted however that memory can also be a limitation in the size of the problem that can be afforded, because the whole prior ensemble must be in memory to keep the computation efficient. Since each GPU will load its share of the problem, a sufficient number of GPUs, each with enough memory, may thus be needed to solve a large-size problem.</p>
</sec>
<sec id="Ch1.S4.SS2">
  <label>4.2</label><title>A description of posterior uncertainty</title>
      <p id="d2e3770">As a first illustration of the solution of the problem, Fig. <xref ref-type="fig" rid="F2"/> shows the equivalent of Fig. <xref ref-type="fig" rid="F1"/> for the posterior ensemble of the SSH experiment, i.e. after the altimetric observation constraint has been applied. As an additional third line of panels, the figure also shows the corresponding low-frequency component of SSH obtained from the Aviso mapped (L4) dataset (but without a description of the associated uncertainty, see explanation at the end of this section). To obtain a comparable result, the same time filter as the one applied to the model data has been applied to the original Aviso maps to extract the low-frequency interannual signal only. From Fig. <xref ref-type="fig" rid="F2"/> (top panels), we can see that the posterior ensemble mean is substantially different from the ensemble mean of the model simulation (Fig. <xref ref-type="fig" rid="F1"/>, top panels). A bias has been removed (see Sect. <xref ref-type="sec" rid="Ch1.S5.SS1"/>), and the detailed structure has also been reshaped by the observations. The ensemble mean has become very similar to the Aviso counterpart, despite being obtained very differently. In Aviso, all observable time scales are mapped first and the time filter is applied afterwards, while we here directly estimate the low-frequency component from the observations. We can thus conclude that the two approaches made a rather consistent use of the same along-track observations.</p>

      <fig id="F2" specific-use="star"><label>Figure 2</label><caption><p id="d2e3785">Posterior ensemble mean (top panels) and standard deviation (middle panels) for the low-frequency (interannual) component of sea surface height on January 1997 (left panels) and on January 2017 (right panels). This corresponds to the SSH experiment described in Table <xref ref-type="table" rid="T2"/>. The bottom panels show the corresponding low-frequency component of SSH obtained from the Aviso L4 product.</p></caption>
          <graphic xlink:href="https://os.copernicus.org/articles/22/3207/2026/os-22-3207-2026-f02.png"/>

        </fig>

      <p id="d2e3796">Regarding the spread of the ensemble (second line of panels in Figs. <xref ref-type="fig" rid="F1"/> and <xref ref-type="fig" rid="F2"/>), we can see that it has been strongly reduced by the observation constraint. In 2017 (right panel), it is smaller than 1 cm in most of the Mediterranean (except in the Alboran Sea). At that date, there are indeed quite many altimetric satellites flying simultaneously, which provide enough data to mitigate uncertainty. The same figure for 1997 (left panel) displays more regions with higher values (up to 1.5 cm), especially in the gaps between the Topex/Poseidon ground tracks.</p>

      <fig id="F3" specific-use="star"><label>Figure 3</label><caption><p id="d2e3806">Low-frequency component of the sea surface height time series at 18.5° E, 35° N (top panel) and 17.1° E, 35° N (bottom panel). The figure compares the prior ensemble (black), the posterior ensemble (blue) and the Aviso L4 product (thick purple line). The black and blue thick lines are the corresponding ensemble means.</p></caption>
          <graphic xlink:href="https://os.copernicus.org/articles/22/3207/2026/os-22-3207-2026-f03.png"/>

        </fig>

      <p id="d2e3815">To illustrate the time variation of this residual uncertainty, Fig. <xref ref-type="fig" rid="F3"/> shows time series of a subset of 10 ensemble members for the prior ensemble (in black) and for the posterior ensemble (in blue). The ensemble means are represented as thicker lines, and the Aviso counterpart is in purple. This is shown at two close locations in the Ionian Sea: one at the points of high density in Topex/Poseidon and ERS ground tracks (18.5° E, 35° N), and the other one (17.1° E, 35° N) in a gap where the uncertainty is large in the early years of the altimetric measurements. In this figure, we can see the correction of the bias and the reduction of the spread in the updated ensemble as compared to the model ensemble. The updated ensemble also becomes more consistent with the Aviso time series, even if, in such local time series, there can be differences, which are mostly due to the smallest scales. At the Topex/Poseidon crossover location, the spread of the ensemble stays small over the full period, while at the gap location, the spread is larger at the beginning of the period and decreases with time as more satellite observations become available.</p>
      <p id="d2e3820">It must also be noted that, by producing an ensemble solution, we keep track of the residual uncertainty occuring at all scales (and, more generally, on any derived quantity). For instance, if one is interested in larger spatial scales, it is still possible to apply a smoothing operator on the ensemble members and see how the ensemble spread, and thus uncertainty, is decreased. Actually, in our solution, much of the spread displayed in Figs. <xref ref-type="fig" rid="F2"/> and <xref ref-type="fig" rid="F3"/> (and the misfit with Aviso) is due to the smallest scales being imperfectly observed. By contrast, in the current version of the Avsio mapped product, the residual uncertainty is not described by an ensemble, but by a map of the error standard deviation. From this information only, it is impossible to deduce the uncertainty on derived quantities, like the low-frequency component of the signal, which is why it could not be displayed in our figures.</p>
</sec>
<sec id="Ch1.S4.SS3">
  <label>4.3</label><title>Importance of the prior model simulation</title>
      <p id="d2e3836">In the MCMC method, the ensemble model simulation provides the local space and time correlation structure of the succesive random perturbations that are summed up to obtain every member of the updated ensemble. It is thus playing a central role in filling the gaps between observations, especially if they are sparse (in space and time), and in shaping the spread of the updated ensemble. It can vary in space and time according to the model dynamical behaviour. Length scales and time scales are not always and everywhere the same. Anisotropy can be forced by the presence of dynamical structures, like currents, or by topography, in particular along the coastline. Figure <xref ref-type="fig" rid="F4"/> illustrates the prior correlation structure for sea surface height with respect to two specific locations in the Mediterranean (9.65° E 37.45° N and 12.43° E 38.00° N) in January 2006. This corresponds to the model correlation structure, as obtained specifically for the low-frequency component of the signal, and with localization, using Eq. (<xref ref-type="disp-formula" rid="Ch1.E7"/>).</p>

      <fig id="F4" specific-use="star"><label>Figure 4</label><caption><p id="d2e3845">Prior correlation structure with respect to sea surface height at two specific locations in the Mediterranean: 9.65° E 37.45° N (left panel) and 12.43° E 38.00° N (right panel).</p></caption>
          <graphic xlink:href="https://os.copernicus.org/articles/22/3207/2026/os-22-3207-2026-f04.png"/>

        </fig>

      <p id="d2e3854">In this figure, we can observe that the field decorrelates across strong currents or across coastlines, and the importance of localization to drop unreliable long-range correlations. It can also be asymmetric in time, which means that depending on where and when we are, future and past observations can have a different weight in the solution. Our assumption in this paper is that, at least for the low-frequency component of the signal, this information is best obtained by an interannual ensemble model simulation spanning the same period as the observations, with the perspective that it can be progressively improved, following future model enhancements.</p>
</sec>
<sec id="Ch1.S4.SS4">
  <label>4.4</label><title>Reliability of the solution</title>
      <p id="d2e3865">A classic approach to assess the reliability of the ensemble solution is to build a rank histogram using independent observations <xref ref-type="bibr" rid="bib1.bibx1" id="paren.31"/>. In our case, we can check the ensemble from experiment SSH-A using observations from subset B, and we can check the ensemble from experiment SSH-B using observations from subset A (see the definition of the subsets in Table <xref ref-type="table" rid="T1"/>). To make the comparison with observations, we need to compute the ensemble equivalent to each individual observation, perturb the ensemble members by a random noise with the statistics of the observation error, and compute the rank of the observation in the resulting ensemble of values (sorted in ascending order). If the independent observation is consistent with the ensemble solution, then the probability distribution of the rank must be uniform. A necessary condition of reliability is thus that the rank histogram is flat.</p>
      <p id="d2e3873">Figure <xref ref-type="fig" rid="F5"/> (top panels) shows the rank histogram obtained for SSH-A and SSH-B. As compared to the observations, we can see that the ensemble solution is globally unbiased and only slightly overdispersive. The two bumps in the external regions of the histogram indicates that the detailed shape of the probability distribution is not perfectly consistent with the observations, with a bit too much probability both in the central regions and towards the extreme values. It must be noted however that what is checked here is the sum of posterior uncertainty and observation error, and that the amplitude of observation errors was also part of the estimation problem. It is thus for instance possible to obtain a flat histogram with underestimated posterior uncertainty and overestimated observation error. These two probability distributions cannot be verified separately using independent observations only.</p>

      <fig id="F5" specific-use="star"><label>Figure 5</label><caption><p id="d2e3880">Rank histogram of independent observations in updated ensemble (top panels), as obtained using observations of subset B to check experiment SSH-A (top left panel), and observations of subset A to check experiment SSH-B (top right panel). Rank histogram of members of the SSH updated ensemble (i.e. using all observations) in the updated ensembles using partial observations (bottom panels), i.e. using members of experiment SSH to check experiment SSH-A (bottom left panel) and experiment SSH-B (bottom right panel).</p></caption>
          <graphic xlink:href="https://os.copernicus.org/articles/22/3207/2026/os-22-3207-2026-f05.png"/>

        </fig>

      <p id="d2e3890">To further check the consistency of the ensemble solution, we can compare experiment SSH (using all observations) to experiment SSH-A and SSH-B. Experiment SSH can indeed be viewed as the posterior ensemble obtained by conditioning the ensemble SSH-A to the observations of subset B or the ensemble SSH-B to observations of subset A. It should thus be consistent with the two of them. Figure <xref ref-type="fig" rid="F5"/> (bottom panels) shows the rank histogram of members of the ensemble SSH (at all grid points) in the ensemble obtained with experiment SSH-A (left panel) and experiment SSH-B (right panel). The result is averaged over members so that the numbers correspond to number of grid points in one member. What we can see is that the ensembles SSH-A and SSH-B are slightly underdispersive to be consistent with the ensemble SSH, which suggests that the spread (i.e. the posterior uncertainty) is presumably a bit too small in all posterior ensembles. This can directly result from oversimplified statistical assumptions, which may give too much confidence in the observations, for instance by assuming uncorrelated observation errors.</p>
</sec>
</sec>
<sec id="Ch1.S5">
  <label>5</label><title>Adaptive estimation of statistical parameters</title>
      <p id="d2e3904">In the inverse problem described in Sect. <xref ref-type="sec" rid="Ch1.S3"/>, statistical parameters were also included in the estimation vector to cope with systematic errors in the prior statistics of the model simulation and with the imperfect knowledge of the observation errors (mainly representativity errors). In the following, we describe the resulting ensemble estimates for the simulation bias (Sect. <xref ref-type="sec" rid="Ch1.S5.SS1"/>), for the missing simulation variance (Sect. <xref ref-type="sec" rid="Ch1.S5.SS2"/>), and for the observation error variance (Sect. <xref ref-type="sec" rid="Ch1.S5.SS3"/>). These results are illustrated for the SSH experiment only.</p>
<sec id="Ch1.S5.SS1">
  <label>5.1</label><title>Identification of the simulation bias</title>
      <p id="d2e3922">The first byproduct of the estimation procedure is an ensemble estimate of the bias in the prior ensemble simulation, as here directly obtained from the along-track altimetric observations. Figure <xref ref-type="fig" rid="F6"/> shows the ensemble mean (left panel) and standard deviation (right panel) of this bias estimate. In the ensemble mean, the most salient features are a too weak cyclonic circulation in the Balearic Sea and the South-Western Algerian basin (yellow anomaly), and too weak Iera-Petra and Pelops gyres in the Eastern basin (blue anomaly), as already mentioned in <xref ref-type="bibr" rid="bib1.bibx17" id="text.32"/>.</p>

      <fig id="F6" specific-use="star"><label>Figure 6</label><caption><p id="d2e3932">Posterior 100-member ensemble estimate of the bias: ensemble mean (left panel) and standard deviation (right panel).</p></caption>
          <graphic xlink:href="https://os.copernicus.org/articles/22/3207/2026/os-22-3207-2026-f06.png"/>

        </fig>

      <p id="d2e3941">On the other hand, from the ensemble standard deviation, we can see that the uncertainty on the bias is quite small over the whole domain. This means that all Markov chains have converged towards a very similar map of the bias parameter to ensure best compatibility with observations (despite a zero-mean prior distribution for the bias, and with a large associated uncertainty). The largest residual uncertainty on the bias (Fig. <xref ref-type="fig" rid="F6"/>, right panel) is along the coast (particularly in the Adriatic and Aegean seas), where the observation constraint is weaker.</p>
</sec>
<sec id="Ch1.S5.SS2">
  <label>5.2</label><title>Estimate of the missing simulation variance</title>
      <p id="d2e3954">Our experiments also embed an adaptive estimate of the prior ensemble standard deviation (through the correcting factor <inline-formula><mml:math id="M155" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula> in component <inline-formula><mml:math id="M156" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>). Figure <xref ref-type="fig" rid="F7"/> (top left panel) shows that the best estimate obtained with the MCMC procedure is always between 3 and 5 cm (i.e. quite close to the prior value of 4 cm). More precisely, what the figure shows is the corrected value of the standard deviation by an estimated factor computed as the exponential of the ensemble mean of the log of <inline-formula><mml:math id="M157" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula> (since the factor <inline-formula><mml:math id="M158" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula> was assumed lognormal).</p>

      <fig id="F7" specific-use="star"><label>Figure 7</label><caption><p id="d2e3993">Estimate of the standard deviation of the prior uncertainty (top left panel) and estimated relative error (top right panel), as obtained from the MCMC estimation procedure. As a complement, the bottom left panel show a more direct estimate of the standard deviation of the prior uncertainty, as obtained from the difference between the prior and posterior ensembles, while the bottom right panel displays the ratio between this estimate and the prior ensemble standard deviation.</p></caption>
          <graphic xlink:href="https://os.copernicus.org/articles/22/3207/2026/os-22-3207-2026-f07.png"/>

        </fig>

      <p id="d2e4002">On the other hand, the top right panel of Fig. <xref ref-type="fig" rid="F7"/> shows the standard deviation of the log of <inline-formula><mml:math id="M159" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula>, which gives an idea of the relative error on the estimate, thus here typically between 5 % and 30 %. This could look like an acceptable estimation, but actually, from this figure and from the variety of patterns displayed by the ensemble members, we must conclude that we were not able to provide an accurate adaptive estimate of the prior variance with this method. The various Markov chains just spread from their background value, without converging towards a common pattern, as it happens when a parameter is not controllable by the observations. This is why we had to start from a constant prior (4 cm) and use a moderate prior standard deviation for <inline-formula><mml:math id="M160" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula> (30 %) to keep the prior distribution within reasonable bounds.</p>
      <p id="d2e4022">As a more direct diagnostic of what the standard deviation of the prior ensemble should have been to be compatible with the observations, we can compute the standard deviation of the misfit between the prior and posterior ensembles (after the bias correction has been applied). The result is shown in Fig. <xref ref-type="fig" rid="F7"/> (bottom left panel), which confirms that the estimate obtained from the observations as a byproduct of the MCMC sampler (top left panel) is not reliable. The standard deviation of this misfit between prior and posterior ensembles (bottom left panel) can be compared to the actual spread of the prior ensemble displayed in Fig. <xref ref-type="fig" rid="F1"/> (bottom panels). The ratio between these two maps (i.e. the ratio between the required spread and the actual spread) is also displayed in Fig. <xref ref-type="fig" rid="F7"/> (bottom right panel). It is a kind of time average that is computed as the square root of the ratio between the time-averaged variances. This ratio informs us about the amount of missing uncertainties in the ensemble simulation to be compatible with the real world, and can thus serve as a guideline to track the regions where variance is missing in the model world.</p>
      <p id="d2e4031">From the figure, we can see that the prior ensemble simulation has enough variance in the deep basins (the ratio is about 1) where the intrinsic variability can be viewed as dominant. At some places (with a ratio lower than 1), it is even too large to be compatible with the observations. However, in many other regions, especially along the coasts and in shallow basins, the model largely underestimates its own uncertainty (the ratio is much larger than 1). In this case, improving the model reliability would require simulating explicitly the missing sources of uncertainty in the model, such as for instance uncertainties in the atmospheric forcing, at the boundaries (Gibraltar Strait, runoffs), or the effect of the unresolved scales.</p>

      <fig id="F8" specific-use="star"><label>Figure 8</label><caption><p id="d2e4036">Estimate of the observation error standard deviation (left panel) and estimated relative error (right panel), as obtained from the MCMC estimation procedure.</p></caption>
          <graphic xlink:href="https://os.copernicus.org/articles/22/3207/2026/os-22-3207-2026-f08.png"/>

        </fig>

</sec>
<sec id="Ch1.S5.SS3">
  <label>5.3</label><title>Estimate of the observation error variance</title>
      <p id="d2e4053">The prior probability distribution that we used for the observation error standard deviation (<inline-formula><mml:math id="M161" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">σ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>) is a lognormal distribution with the mean and standard deviation both set to 5 cm. This means that we assumed a large prior uncertainty on the statistics of observation errors, which leaves much freedom to adjust it as part of the estimation vector (factor <inline-formula><mml:math id="M162" display="inline"><mml:mi mathvariant="italic">β</mml:mi></mml:math></inline-formula> in component <inline-formula><mml:math id="M163" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>). This was useful in our system because observation errors not only contains the measurement error, but also all unresolved scales. In our case, this includes all high-frequency scales up to the annual cycle, so that the tuning of <inline-formula><mml:math id="M164" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">σ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> would have required information about the residual signal (which we excluded from our estimation problem). One possibility is then to assume that it is almost unknown and adjust <inline-formula><mml:math id="M165" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">σ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> as part of the estimation process.</p>
      <p id="d2e4107">Figure <xref ref-type="fig" rid="F8"/> illustrates the resulting estimate of <inline-formula><mml:math id="M166" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">σ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>. The left panel displays the ensemble mean (actually using the exponential of the ensemble mean of the log of <inline-formula><mml:math id="M167" display="inline"><mml:mi mathvariant="italic">β</mml:mi></mml:math></inline-formula>), which shows that the estimated standard deviation of the unresolved scales is larger in the regions of intense mesoscale activity, for instance where eddies detach from the Algerian current or at the location of the Iera-Petra and Pelops gyres. This is where the misfit between the observations and the low-frequency signal that we estimate is the largest.</p>
      <p id="d2e4130">On the other hand, the right panel of Fig. <xref ref-type="fig" rid="F8"/> shows that the relative error on this estimate is low everywhere (about 1 % in most of the domain, and up to 4 % along the coast), which means that all Markov chains converge to about the same map for <inline-formula><mml:math id="M168" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">σ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>. Moreover, we can verify that <inline-formula><mml:math id="M169" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">σ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> automatically adjusts so that the value of the observation cost function (the first term of Eq. <xref ref-type="disp-formula" rid="Ch1.E12"/>) becomes close to <inline-formula><mml:math id="M170" display="inline"><mml:mrow><mml:mi>p</mml:mi><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula> (where <inline-formula><mml:math id="M171" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> is the number of observations), which is the expected value that it must have when the system is optimal <xref ref-type="bibr" rid="bib1.bibx27" id="paren.33"/>.</p>
</sec>
</sec>
<sec id="Ch1.S6" sec-type="conclusions">
  <label>6</label><title>Conclusions</title>
      <p id="d2e4191">In this paper, a method has been proposed to estimate directly the low-frequency component of the ocean variability from native observations (along-track altimetry). The method provides an ensemble description of the solution, so that uncertainties can be properly assessed using independent data. Auxiliary statistical parameters (like the prior bias) can also be included in the estimation vector to enhance the description of prior uncertainties or observation uncertainties. The method is based on an MCMC sampler (modified to include a time and space localization of the prior covariance), which is shown efficient enough to solve large size problems, and which is well suited to work with MPI and GPUs. In our application, the main limitation was the memory required to store the prior ensemble on the GPUs.</p>
      <p id="d2e4194">The method was applied to reconstruct the interannual variability of sea surface height on the whole Mediterranean basin over a 26-year period (1993–2018). The result of the experiment was assessed against independent observations (by cross-validation), showing good reliability (flat rank histogram), even if self-consistency checks suggest a possible underestimation of uncertainties. Regarding the estimation of the auxiliary statistical parameters, the method produces a consistent estimate of the model bias and of the observation error variance (mainly representativity error in most places), but shows more difficulties in estimating the missing prior variance. In the latter case, the additional statistical parameter (<inline-formula><mml:math id="M172" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula>) is left almost free and thus only increase the prior variance without much control by the observations.</p>
      <p id="d2e4204">The diagnostic of this kind of experiment should provide insights on what is missing in the prior model simulation (in terms of variance and covariance) to be compatible with observations. To produce reliable ensemble reanalyses, forecasts or projections, it is indeed important that the main sources of modelling uncertainties are adequately represented. This would be especially important in multivariate applications, where a good description of the covariances between variables is needed. In our experiment, the model intrinsic variability is clearly insufficient to explain the whole misfit between simulation and observations. A better statistical agreement would require the explicit simulation of additional sources of uncertainty, for instance by moving towards a stochastic formulation of the model, as proposed for instance by <xref ref-type="bibr" rid="bib1.bibx11" id="text.34"/> for the NEMO model, and recently developed in the CROCO model. Such an evolution of the model towards a more realistic description of uncertainties would not only be useful to improve the solution of modelling and estimation problems, but also to understand which observations are most needed to provide the missing information (for instance, through observation system simulation experiments).</p>
</sec>

      
      </body>
    <back><app-group>

<app id="App1.Ch1.S1">
  <label>Appendix A</label><title>Description of the algorithm</title>
      <p id="d2e4222">The purpose of this appendix is to provide more details on the algorithm that has been used to perform the ensemble observational update. It is based on the MCMC sampler proposed by <xref ref-type="bibr" rid="bib1.bibx6" id="text.35"/>, as a variant of the Metropolis/Hastings algorithm <xref ref-type="bibr" rid="bib1.bibx26" id="paren.36"><named-content content-type="pre">as described for instance in</named-content></xref>. The presentation is here simplified to what is actually used in this paper, without all mathematical justifications and further possibilities.</p>
<sec id="App1.Ch1.S1.SS1">
  <label>A1</label><title>The Monte Carlo Markov Chain</title>
      <p id="d2e4240">As in the Metropolis/Hastings algorithm, each iteration of the Markov chains (<inline-formula><mml:math id="M173" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi>K</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M174" display="inline"><mml:mrow><mml:mi>K</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>, …, <inline-formula><mml:math id="M175" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula>) proceeds in two steps: <list list-type="order"><list-item>
      <p id="d2e4275">Draw a candidate <inline-formula><mml:math id="M176" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> for the next iterate from a proposal probability distribution: <inline-formula><mml:math id="M177" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mo>∼</mml:mo><mml:mi mathvariant="italic">π</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mo>|</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi>K</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, which can be viewed as a random perturbation from <inline-formula><mml:math id="M178" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi>K</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. This distribution must be easy to sample, as for instance a Gaussian distribution centered on <inline-formula><mml:math id="M179" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi>K</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>.</p></list-item><list-item>
      <p id="d2e4343">Accept the candidate <inline-formula><mml:math id="M180" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> as next iterate <inline-formula><mml:math id="M181" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mrow><mml:mi>K</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> with probability:<disp-formula id="App1.Ch1.S1.E14" content-type="numbered"><label>A1</label><mml:math id="M182" display="block"><mml:mrow><mml:mi>q</mml:mi><mml:mo>=</mml:mo><mml:mi mathvariant="normal">min</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msup><mml:mi>p</mml:mi><mml:mi>a</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:msup><mml:mi>p</mml:mi><mml:mi>a</mml:mi></mml:msup><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi>K</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi mathvariant="italic">π</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mo>|</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi>K</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow><mml:mrow><mml:mi mathvariant="italic">π</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi>K</mml:mi></mml:msub><mml:mo>|</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:mrow></mml:mfenced></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:mfenced></mml:mrow></mml:math></disp-formula>which is simplified to <inline-formula><mml:math id="M183" display="inline"><mml:mrow><mml:mi>q</mml:mi><mml:mo>=</mml:mo><mml:mi mathvariant="normal">min</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mi>a</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mo>)</mml:mo><mml:mo>/</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mi>a</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi>K</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> if the proposal distribution is symmetric [<inline-formula><mml:math id="M184" display="inline"><mml:mrow><mml:mi mathvariant="italic">π</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mo>|</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi>K</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mi mathvariant="italic">π</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi>K</mml:mi></mml:msub><mml:mo>|</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>], as for instance for a Gaussian distribution centered on <inline-formula><mml:math id="M185" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi>K</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. In this symmetric case, the acceptance probability means that the candidate <inline-formula><mml:math id="M186" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> is always accepted if the cost function decreases [<inline-formula><mml:math id="M187" display="inline"><mml:mrow><mml:msup><mml:mi>p</mml:mi><mml:mi>a</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mo>)</mml:mo><mml:mo>&gt;</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mi>a</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi>K</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>], and only sometimes accepted if the cost function increases [<inline-formula><mml:math id="M188" display="inline"><mml:mrow><mml:msup><mml:mi>p</mml:mi><mml:mi>a</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mo>)</mml:mo><mml:mo>&lt;</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mi>a</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi>K</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>].</p></list-item></list> This Markov chain statisfies the condition of local equilibrium with <inline-formula><mml:math id="M189" display="inline"><mml:mrow><mml:msup><mml:mi>p</mml:mi><mml:mi>a</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, which means that if <inline-formula><mml:math id="M190" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi>K</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is distributed as <inline-formula><mml:math id="M191" display="inline"><mml:mrow><mml:msup><mml:mi>p</mml:mi><mml:mi>a</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, then <inline-formula><mml:math id="M192" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mrow><mml:mi>K</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is also distributed as <inline-formula><mml:math id="M193" display="inline"><mml:mrow><mml:msup><mml:mi>p</mml:mi><mml:mi>a</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. At equilibrium, the probability of being at <inline-formula><mml:math id="M194" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi>K</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and move from <inline-formula><mml:math id="M195" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi>K</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> to <inline-formula><mml:math id="M196" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mrow><mml:mi>K</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is equal to the probability of being at <inline-formula><mml:math id="M197" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mrow><mml:mi>K</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and move from <inline-formula><mml:math id="M198" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mrow><mml:mi>K</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> to <inline-formula><mml:math id="M199" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi>K</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. With very few restrictions on <inline-formula><mml:math id="M200" display="inline"><mml:mrow><mml:msup><mml:mi>p</mml:mi><mml:mi>a</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> and on the proposal distribution (as long as regular), this Markov chain will converge towards sampling <inline-formula><mml:math id="M201" display="inline"><mml:mrow><mml:msup><mml:mi>p</mml:mi><mml:mi>a</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>.</p>
      <p id="d2e4844">In our implementation, both step 1 and step 2 are slightly different from the original Metropolis/Hastings algorithm, by exploiting the additional assumptions that (i) the prior probability distribution of the observational update is based on Gaussian distributions, (ii) it is described by a moderate size ensemble, and (iii) the ensemble covariance is localized by a Schur product with a parameterized correlation matrix <inline-formula><mml:math id="M202" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">Γ</mml:mi><mml:mi mathvariant="normal">loc</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>.</p>
      <p id="d2e4858">In step 1, the sampling of the proposal distribution is defined by:

            <disp-formula id="App1.Ch1.S1.E15" content-type="numbered"><label>A2</label><mml:math id="M203" display="block"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mo>=</mml:mo><mml:msqrt><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi>K</mml:mi><mml:mrow><mml:mi>K</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:mfrac></mml:mstyle></mml:msqrt><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi>K</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:msqrt><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:mi>K</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:mfrac></mml:mstyle></mml:msqrt><mml:mi mathvariant="italic">ξ</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi mathvariant="italic">π</mml:mi></mml:msub></mml:mrow></mml:math></disp-formula>

          where <inline-formula><mml:math id="M204" display="inline"><mml:mi mathvariant="italic">ξ</mml:mi></mml:math></inline-formula> is a Gaussian random number with zero mean and unit standard deviation [<inline-formula><mml:math id="M205" display="inline"><mml:mrow><mml:mi mathvariant="italic">ξ</mml:mi><mml:mo>∼</mml:mo><mml:mi mathvariant="script">N</mml:mi><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>], and <inline-formula><mml:math id="M206" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi mathvariant="italic">π</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is a pseudo-random direction of perturbation, whose covariance is the covariance of the <italic>localized</italic> prior ensemble. In all equations, all state vectors are always assumed to be zero mean anomalies, which means that the prior ensemble mean has been substracted before running the algorithm.</p>
      <p id="d2e4956">To generate <inline-formula><mml:math id="M207" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi mathvariant="italic">π</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> efficiently, we assume that <inline-formula><mml:math id="M208" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">Γ</mml:mi><mml:mi mathvariant="normal">loc</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the <inline-formula><mml:math id="M209" display="inline"><mml:mi>s</mml:mi></mml:math></inline-formula>th Schur-power of another correlation matrix <inline-formula><mml:math id="M210" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="bold">Γ</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">loc</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, and that we have previously generated a moderate size sample of <inline-formula><mml:math id="M211" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="bold">Γ</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">loc</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>: <inline-formula><mml:math id="M212" display="inline"><mml:mrow><mml:msubsup><mml:mover accent="true"><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi>k</mml:mi><mml:mi mathvariant="normal">loc</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M213" display="inline"><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>, …, <inline-formula><mml:math id="M214" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula>. A pseudo-random direction of perturbation <inline-formula><mml:math id="M215" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi mathvariant="italic">π</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> can then be computed as the Schur product:

            <disp-formula id="App1.Ch1.S1.E16" content-type="numbered"><label>A3</label><mml:math id="M216" display="block"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi mathvariant="italic">π</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msubsup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi>j</mml:mi><mml:mi>b</mml:mi></mml:msubsup><mml:mo>∘</mml:mo><mml:msubsup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mrow><mml:msub><mml:mi>i</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow><mml:mi mathvariant="normal">loc</mml:mi></mml:msubsup><mml:mo>∘</mml:mo><mml:msubsup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mrow><mml:msub><mml:mi>i</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow><mml:mi mathvariant="normal">loc</mml:mi></mml:msubsup><mml:mo>∘</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>∘</mml:mo><mml:msubsup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mrow><mml:msub><mml:mi>i</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow><mml:mi mathvariant="normal">loc</mml:mi></mml:msubsup></mml:mrow></mml:math></disp-formula>

          where <inline-formula><mml:math id="M217" display="inline"><mml:mrow><mml:msubsup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi>j</mml:mi><mml:mi>b</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> is one random member of the prior ensemble (anomaly with respect to the mean) and <inline-formula><mml:math id="M218" display="inline"><mml:mrow><mml:msub><mml:mi>i</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, …, <inline-formula><mml:math id="M219" display="inline"><mml:mrow><mml:msub><mml:mi>i</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> are random indices from the sample <inline-formula><mml:math id="M220" display="inline"><mml:mrow><mml:msubsup><mml:mover accent="true"><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mi>k</mml:mi><mml:mi mathvariant="normal">loc</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M221" display="inline"><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>, …, <inline-formula><mml:math id="M222" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula>. In our application, we have set <inline-formula><mml:math id="M223" display="inline"><mml:mrow><mml:mi>m</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">30</mml:mn></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M224" display="inline"><mml:mrow><mml:mi>s</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">6</mml:mn></mml:mrow></mml:math></inline-formula>. From Eq. (<xref ref-type="disp-formula" rid="App1.Ch1.S1.E16"/>), it follows that <inline-formula><mml:math id="M225" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi mathvariant="italic">π</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> has the same covariance as the localized ensemble (<inline-formula><mml:math id="M226" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">P</mml:mi><mml:mi>b</mml:mi></mml:msup><mml:mo>∘</mml:mo><mml:msub><mml:mi mathvariant="bold">Γ</mml:mi><mml:mi mathvariant="normal">loc</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>), since the covariance of the Schur product of vectors is the Schur product of their covariance. This method provides an efficient way to compute pseudo-random directions of perturbation in large dimension. At the cost of only <inline-formula><mml:math id="M227" display="inline"><mml:mi>s</mml:mi></mml:math></inline-formula> Schur products, we sample from a set of <inline-formula><mml:math id="M228" display="inline"><mml:mrow><mml:mi>P</mml:mi><mml:mo>=</mml:mo><mml:mi>m</mml:mi><mml:mi mathvariant="normal">!</mml:mi><mml:mo>/</mml:mo><mml:mo>(</mml:mo><mml:mi>m</mml:mi><mml:mo>-</mml:mo><mml:mi>s</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo><mml:mi mathvariant="normal">!</mml:mi></mml:mrow></mml:math></inline-formula> possibilities, which makes <inline-formula><mml:math id="M229" display="inline"><mml:mrow><mml:mi>P</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">30</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">29</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">28</mml:mn><mml:mo>×</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">…</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mo>×</mml:mo><mml:mn mathvariant="normal">24</mml:mn><mml:mo>≃</mml:mo><mml:mn mathvariant="normal">1.026</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">10</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> possibilities with our particular settings.</p>
      <p id="d2e5337">Without step 2 (i.e. if all candidates <inline-formula><mml:math id="M230" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> are accepted), the iteration of Eq. (<xref ref-type="disp-formula" rid="App1.Ch1.S1.E15"/>), starting from a zero initial condition (<inline-formula><mml:math id="M231" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>), is going to provide a sample of the prior probability distribution, i.e. with the same covariance as the prior ensemble with localization. As a side usage, this can be useful to resample the prior ensemble for various purposes. This means that the prior distribution is already accounted for in step 1, and that the acceptance probability <inline-formula><mml:math id="M232" display="inline"><mml:mi>q</mml:mi></mml:math></inline-formula> in step 2 must only account for the variation of the likelihood function:

            <disp-formula id="App1.Ch1.S1.E17" content-type="numbered"><label>A4</label><mml:math id="M233" display="block"><mml:mtable class="split" rowspacing="0.2ex" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:mi>q</mml:mi></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:mi mathvariant="normal">min</mml:mi><mml:mfenced open="[" close="]"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi>p</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mi mathvariant="normal">o</mml:mi></mml:msup><mml:mo>|</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mi mathvariant="normal">o</mml:mi></mml:msup><mml:mo>|</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi>K</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:mfenced><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">with</mml:mi><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi>p</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mi mathvariant="normal">o</mml:mi></mml:msup><mml:mo>|</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:mrow></mml:mfenced></mml:mrow><mml:mrow><mml:mi>p</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mi mathvariant="normal">o</mml:mi></mml:msup><mml:mo>|</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi>K</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:mi>exp⁡</mml:mi><mml:mfenced close="]" open="["><mml:mrow><mml:msup><mml:mi>J</mml:mi><mml:mi mathvariant="normal">o</mml:mi></mml:msup><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi>K</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mo>-</mml:mo><mml:msup><mml:mi>J</mml:mi><mml:mi mathvariant="normal">o</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>

          which only requires the computation of the observation cost function <inline-formula><mml:math id="M234" display="inline"><mml:mrow><mml:msup><mml:mi>J</mml:mi><mml:mi mathvariant="normal">o</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> for the candidate iterate <inline-formula><mml:math id="M235" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula>. In the case of Gaussian observation errors with diagonal covariance, this reduces to:

            <disp-formula id="App1.Ch1.S1.E18" content-type="numbered"><label>A5</label><mml:math id="M236" display="block"><mml:mrow><mml:msup><mml:mi>J</mml:mi><mml:mi mathvariant="normal">o</mml:mi></mml:msup><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mi>p</mml:mi></mml:munderover><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:msup><mml:mfenced open="(" close=")"><mml:mrow><mml:msubsup><mml:mi>y</mml:mi><mml:mi>j</mml:mi><mml:mi mathvariant="normal">o</mml:mi></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mi>y</mml:mi><mml:mi>j</mml:mi><mml:mo>′</mml:mo></mml:msubsup></mml:mrow></mml:mfenced><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></disp-formula>

          where <inline-formula><mml:math id="M237" display="inline"><mml:mrow><mml:msubsup><mml:mi>y</mml:mi><mml:mi>j</mml:mi><mml:mi mathvariant="normal">o</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M238" display="inline"><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>, …, <inline-formula><mml:math id="M239" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> are the observations, <inline-formula><mml:math id="M240" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, the associated error variance, and <inline-formula><mml:math id="M241" display="inline"><mml:mrow><mml:msubsup><mml:mi>y</mml:mi><mml:mi>j</mml:mi><mml:mo>′</mml:mo></mml:msubsup><mml:mo>=</mml:mo><mml:msub><mml:mi>H</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula>, where <inline-formula><mml:math id="M242" display="inline"><mml:mrow><mml:msub><mml:mi>H</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the observation operator associated to observation <inline-formula><mml:math id="M243" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula>. However, with a linear <inline-formula><mml:math id="M244" display="inline"><mml:mrow><mml:msub><mml:mi>H</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, the normal implementation of the algorithm is to augment <inline-formula><mml:math id="M245" display="inline"><mml:mi mathvariant="bold-italic">x</mml:mi></mml:math></inline-formula> with <inline-formula><mml:math id="M246" display="inline"><mml:mrow><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mo>=</mml:mo><mml:mi mathvariant="bold">H</mml:mi><mml:mi mathvariant="bold-italic">x</mml:mi></mml:mrow></mml:math></inline-formula> in all inputs, so that <inline-formula><mml:math id="M247" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> is already available as part of <inline-formula><mml:math id="M248" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> to evaluate <inline-formula><mml:math id="M249" display="inline"><mml:mrow><mml:msup><mml:mi>J</mml:mi><mml:mi mathvariant="normal">o</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula>. In this case, the only operations performed in the running of the ensemble of Markov chains are given by Eqs. (<xref ref-type="disp-formula" rid="App1.Ch1.S1.E15"/>)–(<xref ref-type="disp-formula" rid="App1.Ch1.S1.E18"/>), together with the small task of sampling <inline-formula><mml:math id="M250" display="inline"><mml:mi mathvariant="italic">ξ</mml:mi></mml:math></inline-formula> in Eq. (<xref ref-type="disp-formula" rid="App1.Ch1.S1.E15"/>), and sampling the indices <inline-formula><mml:math id="M251" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M252" display="inline"><mml:mrow><mml:msub><mml:mi>i</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, …, <inline-formula><mml:math id="M253" display="inline"><mml:mrow><mml:msub><mml:mi>i</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> in Eq. (<xref ref-type="disp-formula" rid="App1.Ch1.S1.E16"/>). It must also be noted that in the case of adaptive observation error variances, the observation cost function is slightly more complicated, as explained in Sect. <xref ref-type="sec" rid="Ch1.S3.SS3"/> (see Eq. <xref ref-type="disp-formula" rid="Ch1.E12"/>).</p>
</sec>
<sec id="App1.Ch1.S1.SS2">
  <label>A2</label><title>Computational complexity</title>
      <p id="d2e5812">With this algorithm, a separate Markov chain must be simulated to sample each member of the posterior ensemble. The overall cost C is thus proportional to the size <inline-formula><mml:math id="M254" display="inline"><mml:mrow><mml:msup><mml:mi>m</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> of the posterior ensemble (which may be smaller or larger than the size <inline-formula><mml:math id="M255" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula> of the prior ensemble) and to the number <inline-formula><mml:math id="M256" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula> of iterations required by the Markov chains. For each posterior ensemble member, the cost of each iteration depends on the size <inline-formula><mml:math id="M257" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> of the vector to estimate <inline-formula><mml:math id="M258" display="inline"><mml:mi mathvariant="bold-italic">x</mml:mi></mml:math></inline-formula>, the size <inline-formula><mml:math id="M259" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> of the observation vector, the number <inline-formula><mml:math id="M260" display="inline"><mml:mi>s</mml:mi></mml:math></inline-formula> of Schur products, and the average number <inline-formula><mml:math id="M261" display="inline"><mml:mi mathvariant="italic">ν</mml:mi></mml:math></inline-formula> of candidates <inline-formula><mml:math id="M262" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> needed before the next iterate is accepted. Considering that, until the candidate <inline-formula><mml:math id="M263" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> is accepted, Eqs. (<xref ref-type="disp-formula" rid="App1.Ch1.S1.E15"/>) and (<xref ref-type="disp-formula" rid="App1.Ch1.S1.E16"/>) need only be applied to the observed part of the vectors, the cost of each iteration is as follows: <inline-formula><mml:math id="M264" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="italic">ν</mml:mi><mml:mi>p</mml:mi><mml:mo>+</mml:mo><mml:mi>n</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> operations for Eq. (<xref ref-type="disp-formula" rid="App1.Ch1.S1.E15"/>), <inline-formula><mml:math id="M265" display="inline"><mml:mrow><mml:mi>s</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="italic">ν</mml:mi><mml:mi>p</mml:mi><mml:mo>+</mml:mo><mml:mi>n</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> operations for Eq. (<xref ref-type="disp-formula" rid="App1.Ch1.S1.E16"/>), and <inline-formula><mml:math id="M266" display="inline"><mml:mrow><mml:mi mathvariant="italic">ν</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:math></inline-formula> operations for Eq. (<xref ref-type="disp-formula" rid="App1.Ch1.S1.E18"/>). The overall cost C of the algorithm is thus:

            <disp-formula id="App1.Ch1.S1.E19" content-type="numbered"><label>A6</label><mml:math id="M267" display="block"><mml:mrow><mml:mi>C</mml:mi><mml:mo>∼</mml:mo><mml:msup><mml:mi>m</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mi>N</mml:mi><mml:mo>[</mml:mo><mml:mo>(</mml:mo><mml:mi>s</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo><mml:mo>(</mml:mo><mml:mi mathvariant="italic">ν</mml:mi><mml:mi>p</mml:mi><mml:mo>+</mml:mo><mml:mi>n</mml:mi><mml:mo>)</mml:mo><mml:mo>+</mml:mo><mml:mi mathvariant="italic">ν</mml:mi><mml:mi>p</mml:mi><mml:mo>]</mml:mo><mml:mo>=</mml:mo><mml:msup><mml:mi>m</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mi>N</mml:mi><mml:mo>[</mml:mo><mml:mo>(</mml:mo><mml:mi>s</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>)</mml:mo><mml:mi mathvariant="italic">ν</mml:mi><mml:mi>p</mml:mi><mml:mo>+</mml:mo><mml:mo>(</mml:mo><mml:mi>s</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo><mml:mi>n</mml:mi><mml:mo>]</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>

          The cost is linear in <inline-formula><mml:math id="M268" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M269" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula>, the factor <inline-formula><mml:math id="M270" display="inline"><mml:mi>s</mml:mi></mml:math></inline-formula> applies to most of the cost, and the factor <inline-formula><mml:math id="M271" display="inline"><mml:mi mathvariant="italic">ν</mml:mi></mml:math></inline-formula> only applies to the part of the cost that is proportional to <inline-formula><mml:math id="M272" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula>.</p>
      <p id="d2e6091">Regarding the cost, the main difficulty with this algorithm is that the number of iterations required to reach convergence is difficult to anticipate. As discussed in more details in <xref ref-type="bibr" rid="bib1.bibx6" id="text.37"/>, we can however compare the cost with other algorithms by computing the number of iterations <inline-formula><mml:math id="M273" display="inline"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> that could be afforded to obtain an equivalent cost. For instance, if we compare with a classic implementation of the Ensemble Kalman Filter <xref ref-type="bibr" rid="bib1.bibx15" id="paren.38"><named-content content-type="pre">EnKF</named-content></xref>, which is also compatible with the localization of the ensemble covariance by a local-support correlation matrix, this number of iteration would be <xref ref-type="bibr" rid="bib1.bibx6" id="paren.39"/>:

            <disp-formula id="App1.Ch1.S1.E20" content-type="numbered"><label>A7</label><mml:math id="M274" display="block"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msub><mml:mo>∼</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi>d</mml:mi><mml:msup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow><mml:mrow><mml:mi mathvariant="italic">ν</mml:mi><mml:mi>m</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:math></disp-formula>

          where <inline-formula><mml:math id="M275" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula> is the size of the updated ensemble (here always the same as the size of the prior ensemble), <inline-formula><mml:math id="M276" display="inline"><mml:mi>d</mml:mi></mml:math></inline-formula> is the average number of local observational update in which each observation is used, and <inline-formula><mml:math id="M277" display="inline"><mml:mi mathvariant="italic">ρ</mml:mi></mml:math></inline-formula> is the root mean square number of observation used in each local observational update. For instance, in our problem, typical values would be at least (if there is one local update per horizontal grid point and per monthly timestep): <inline-formula><mml:math id="M278" display="inline"><mml:mrow><mml:mi mathvariant="italic">ν</mml:mi><mml:mi>m</mml:mi><mml:mo>∼</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M279" display="inline"><mml:mrow><mml:mi>d</mml:mi><mml:mo>∼</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">5</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M280" display="inline"><mml:mrow><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo>∼</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">4</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, and thus <inline-formula><mml:math id="M281" display="inline"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi mathvariant="normal">eq</mml:mi></mml:msub><mml:mo>∼</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">7</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>. In our particular application, the cost of the classic implementation of the EnKF would thus have been substantially larger (because the number and density of observation is large, and because the cost of each local update in the EnKF is proportional to the cube of the number of observations). Moreover, the MCMC sampler offers a set of possibilities that is different from the EnKF, such as the adaptive mechanism used in this paper, which makes it relevant for a different set of applications (with possible overlaps).</p>
</sec>
<sec id="App1.Ch1.S1.SS3">
  <label>A3</label><title>Efficiency with MPI and with GPUs</title>
      <p id="d2e6240">The simplicity of the algorithm, as described by Eqs. (<xref ref-type="disp-formula" rid="App1.Ch1.S1.E15"/>) to (<xref ref-type="disp-formula" rid="App1.Ch1.S1.E18"/>), makes it straightforward to obtain efficient implementations with MPI and with GPUs.</p>
      <p id="d2e6247">On the one hand, with MPI, each processor need only take care of one segment of the estimation vector and one segment of the observation vector (which do not need to be related to each other and without overlap between processors). The only data that need to be communicated between processors are: (i) the factor <inline-formula><mml:math id="M282" display="inline"><mml:mi mathvariant="italic">ξ</mml:mi></mml:math></inline-formula> in Eq. (<xref ref-type="disp-formula" rid="App1.Ch1.S1.E15"/>), (ii) the random indices <inline-formula><mml:math id="M283" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M284" display="inline"><mml:mrow><mml:msub><mml:mi>i</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, …, <inline-formula><mml:math id="M285" display="inline"><mml:mrow><mml:msub><mml:mi>i</mml:mi><mml:mi>s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> in Eq. (<xref ref-type="disp-formula" rid="App1.Ch1.S1.E16"/>), and (iii) the resulting cost function <inline-formula><mml:math id="M286" display="inline"><mml:mrow><mml:msup><mml:mi>J</mml:mi><mml:mi mathvariant="normal">o</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> in Eq. (<xref ref-type="disp-formula" rid="App1.Ch1.S1.E18"/>), which must be summed over all processors. MPI parallelization thus comes very easily with very little extra cost.</p>
      <p id="d2e6304">On the other hand, all operations in Eqs. (<xref ref-type="disp-formula" rid="App1.Ch1.S1.E15"/>), (<xref ref-type="disp-formula" rid="App1.Ch1.S1.E16"/>) and (<xref ref-type="disp-formula" rid="App1.Ch1.S1.E18"/>) are vector operations so that they can be easily distributed on the GPU (in our case, in Fortran, with OpenACC instructions). To be efficient, this requires that the size of the estimation vector and the size of the observation vector on each processor are large enough (typically <inline-formula><mml:math id="M287" display="inline"><mml:mrow><mml:mi>n</mml:mi><mml:mo>&gt;</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">4</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M288" display="inline"><mml:mrow><mml:mi>p</mml:mi><mml:mo>&gt;</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">4</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>) to keep all components of the GPU busy. Moreover, this computation requires that the prior ensemble and the observation vector be transfered to the memory of the GPU (more precisely the segment used by the current processor if MPI is also applied). This transfer of data takes non-negligible time if it is done at each iteration of the Markov chain (because the numerical cost of just one iteration is comparatively too small). Explicit instructions must be given (in our case through OpenACC requests) to perform this transfer of data only once before the first iteration. This cost then becomes negligible as the number of iterations increases (typically for <inline-formula><mml:math id="M289" display="inline"><mml:mrow><mml:mi>N</mml:mi><mml:mo>&gt;</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>). With these conditions on the size of the problem and on the number of iterations, we were able to accelerate the computation by a factor of about 100 as compared to the performance obtained when the GPU accelerators are not activated.</p>
</sec>
</app>
  </app-group><notes notes-type="codedataavailability"><title>Code and data availability</title>

      <p id="d2e6364">The ensemble estimations (with the MCMC sampler) and the computation of the probabilistic scores have been performed using the EnsDAM (<uri>https://github.com/brankart/ensdam</uri>, last access: 12 October 2026; <ext-link xlink:href="https://doi.org/10.5281/zenodo.23314072" ext-link-type="DOI">10.5281/zenodo.23314072</ext-link>, <xref ref-type="bibr" rid="bib1.bibx7" id="altparen.40"/>) and SeSAM softwares (<uri>https://github.com/brankart/sesam</uri>, last access: 12 October 2026; <ext-link xlink:href="https://doi.org/10.5281/zenodo.23314005" ext-link-type="DOI">10.5281/zenodo.23314005</ext-link>, <xref ref-type="bibr" rid="bib1.bibx8" id="altparen.41"/>), using a set of shell scripts to perform the various operations (<uri>https://github.com/brankart/ensemble-altimetry-lf</uri>, last access: 12 October 2026; <ext-link xlink:href="https://doi.org/10.5281/zenodo.23314298" ext-link-type="DOI">10.5281/zenodo.23314298</ext-link>, <xref ref-type="bibr" rid="bib1.bibx9" id="altparen.42"/>). All data used and produced in this paper are available from a SEANOE repository (<ext-link xlink:href="https://doi.org/10.17882/113890" ext-link-type="DOI">10.17882/113890</ext-link>, <xref ref-type="bibr" rid="bib1.bibx12" id="altparen.43"/>).</p>
  </notes><notes notes-type="authorcontribution"><title>Author contributions</title>

      <p id="d2e6404">JMB proposed the approach and produced the numerical results. TP and DH contributed to the design and analysis of the ensemble simulation (in the framework of the MEDIATION project). PB and LW contributed their expertise and assisted in the interpretation of the results (in the framework of the POSYDONIE project). PB and TP secured funding for the projects. All authors contributed to the writing of the manuscript.</p>
  </notes><notes notes-type="competinginterests"><title>Competing interests</title>

      <p id="d2e6410">The contact author has declared that none of the authors has any competing interests.</p>
  </notes><notes notes-type="disclaimer"><title>Disclaimer</title>

      <p id="d2e6416">Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this paper. The authors bear the ultimate responsibility for providing appropriate place names. Views expressed in the text are those of the authors and do not necessarily reflect the views of the publisher.</p>
  </notes><ack><title>Acknowledgements</title><p id="d2e6423">This work was carried out within the framework of the POSYDONIE project (funded by CNES) with additional support from the MEDIATION project (grant agreement no. ANR-22-POCE-0003). This work was supported by HPC and storage resources provided by GENCI at IDRIS thanks to the grant 2025-A0180101279 on the supercomputer Jean Zay's V100 partition.</p></ack><notes notes-type="financialsupport"><title>Financial support</title>

      <p id="d2e6428">This research has been supported by CNES (POSYDONIE project) and ANR (MEDIATION project, grant agreement no. ANR-22-POCE-0003).</p>
  </notes><notes notes-type="reviewstatement"><title>Review statement</title>

      <p id="d2e6434">This paper was edited by Matjaz Licer and reviewed by Alexander Barth and Benedicte Lemieux-Dudon.</p>
  </notes><ref-list>
    <title>References</title>

      <ref id="bib1.bibx1"><label>Anderson(1996)</label><mixed-citation>Anderson, J.: A method for producing and evaluating probabilistic forecasts from ensemble model integrations, J. Climate, 9, 1518–1530, <ext-link xlink:href="https://doi.org/10.1175/1520-0442(1996)009&lt;1518:AMFPAE&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0442(1996)009&lt;1518:AMFPAE&gt;2.0.CO;2</ext-link>, 1996.</mixed-citation></ref>
      <ref id="bib1.bibx2"><label>Balmaseda et al.(2013)</label><mixed-citation>Balmaseda, M. A., Trenberth, K. E., and Källén, E.: Distinctive climate signals in reanalysis of global ocean heat content, Geophys. Res. Lett., 40, 1754–1759, <ext-link xlink:href="https://doi.org/10.1002/grl.50382" ext-link-type="DOI">10.1002/grl.50382</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx3"><label>Beuvier et al.(2012)</label><mixed-citation>Beuvier, J., Béranger, K., Lebeaupin Brossier, C., Somot, S., Sevault, F., Drillet, Y., Bourdallé-Badie, R., Ferry, N., and Lyard, F.: Spreading of the Western Mediterranean Deep Water after winter 2005: Time scales and deep cyclone transport, J. Geophys. Res.-Oceans, 117, 2011JC007679, <ext-link xlink:href="https://doi.org/10.1029/2011JC007679" ext-link-type="DOI">10.1029/2011JC007679</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bibx4"><label>Bishop and Hodyss(2009)</label><mixed-citation>Bishop, C. H. and Hodyss, D.: Ensemble covariances adaptively localized with ECO-RAP. Part 2: a strategy for the atmosphere, Tellus A, 61, 97–111, <ext-link xlink:href="https://doi.org/10.1111/j.1600-0870.2008.00372.x" ext-link-type="DOI">10.1111/j.1600-0870.2008.00372.x</ext-link>, 2009.</mixed-citation></ref>
      <ref id="bib1.bibx5"><label>Bishop et al.(2017)</label><mixed-citation>Bishop, C. H., Whitaker, J. S., and Lei, L.: Gain Form of the Ensemble Transform Kalman Filter and Its Relevance to Satellite Data Assimilation with Model Space Ensemble Covariance Localization, Mon. Wheather Rev., 145, 4575–4592, <ext-link xlink:href="https://doi.org/10.1175/MWR-D-17-0102.1" ext-link-type="DOI">10.1175/MWR-D-17-0102.1</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx6"><label>Brankart(2019)</label><mixed-citation>Brankart, J.-M.: Implicitly Localized MCMC Sampler to Cope With Non-local/Non-linear Data Constraints in Large-Size Inverse Problems, Front. Appl. Math. Stat., 5, 58, <ext-link xlink:href="https://doi.org/10.3389/fams.2019.00058" ext-link-type="DOI">10.3389/fams.2019.00058</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bibx7"><label>Brankart(2026a)</label><mixed-citation>Brankart, J.-M.: brankart/ensdam: ensdam (Version v1.1), Zenodo [computer software], <ext-link xlink:href="https://doi.org/10.5281/zenodo.23314072" ext-link-type="DOI">10.5281/zenodo.23314072</ext-link>, 2026a.</mixed-citation></ref>
      <ref id="bib1.bibx8"><label>Brankart(2026b)</label><mixed-citation>Brankart, J.-M.: brankart/sesam: sesam (Version v1.1), Zenodo [computer software], <ext-link xlink:href="https://doi.org/10.5281/zenodo.23314005" ext-link-type="DOI">10.5281/zenodo.23314005</ext-link>, 2026b.</mixed-citation></ref>
      <ref id="bib1.bibx9"><label>Brankart(2026c)</label><mixed-citation>Brankart, J.-M.:  brankart/ensemble-altimetry-lf: ensemble-altimetry-lf (Version v1.1), Zenodo [computer software], <ext-link xlink:href="https://doi.org/10.5281/zenodo.23314298" ext-link-type="DOI">10.5281/zenodo.23314298</ext-link>, 2026c.</mixed-citation></ref>
      <ref id="bib1.bibx10"><label>Brankart et al.(2010)</label><mixed-citation>Brankart, J.-M., Cosme, E., Testut, C.-E., Brasseur, P., and Verron, J.: Efficient adaptive error parameterizations for square root or ensemble Kalman filters: application to the control of ocean mesoscale signals, Mon. Weather Rev., 138, 932–950, <ext-link xlink:href="https://doi.org/10.1175/2009MWR3085.1" ext-link-type="DOI">10.1175/2009MWR3085.1</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bibx11"><label>Brankart et al.(2015)</label><mixed-citation>Brankart, J.-M., Candille, G., Garnier, F., Calone, C., Melet, A., Bouttier, P.-A., Brasseur, P., and Verron, J.: A generic approach to explicit simulation of uncertainty in the NEMO ocean model, Geosci. Model Dev., 8, 1285–1297, <ext-link xlink:href="https://doi.org/10.5194/gmd-8-1285-2015" ext-link-type="DOI">10.5194/gmd-8-1285-2015</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bibx12"><label>Brankart et al.(2026)</label><mixed-citation>Brankart, J.-M., Héron, D., Weiss, L., Penduff, T., and Brasseur, P.: Low-frequency variability of the Mediterranean dynamic height: an ensemble estimation combining model and observations, SEANOE [data set], <ext-link xlink:href="https://doi.org/10.17882/113890" ext-link-type="DOI">10.17882/113890</ext-link>, 2026.</mixed-citation></ref>
      <ref id="bib1.bibx13"><label>Dee(1995)</label><mixed-citation>Dee, D.: On-line estimation of error covariance parameters for atmospheric data assimilation, Mon. Weather Rev., 123, 1128–1145, <ext-link xlink:href="https://doi.org/10.1175/1520-0493(1995)123&lt;1128:OLEOEC&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0493(1995)123&lt;1128:OLEOEC&gt;2.0.CO;2</ext-link>, 1995</mixed-citation></ref>
      <ref id="bib1.bibx14"><label>Durán Moro et al.(2017)</label><mixed-citation>Durán Moro, M., Brankart, J.-M., Brasseur, P. and Verron, J.: Exploring image data assimilation in the prospect of high-resolution satellite oceanic observations, Ocean Dynam., 87, 875–895, <ext-link xlink:href="https://doi.org/10.1007/s10236-017-1062-3" ext-link-type="DOI">10.1007/s10236-017-1062-3</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx15"><label>Evensen(2003)</label><mixed-citation>Evensen, G.: The Ensemble Kalman Filter: theoretical formulation and practical implementation, Ocean Dynam., 53, 343–367, <ext-link xlink:href="https://doi.org/10.1007/s10236-003-0036-9" ext-link-type="DOI">10.1007/s10236-003-0036-9</ext-link>, 2003.</mixed-citation></ref>
      <ref id="bib1.bibx16"><label>Gaultier et al.(2014)</label><mixed-citation>Gaultier, L., Djath, B., Verron, J., Brankart, J.-M., Brasseur, P. and Melet, A.: Inversion of submesoscale patterns from a high-resolution Solomon Sea model: feasibility assessment, J. Geophys. Res., 119, 4520–4541, <ext-link xlink:href="https://doi.org/10.1002/2013JC009660" ext-link-type="DOI">10.1002/2013JC009660</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx17"><label>Héron et al.(2026)</label><mixed-citation>Héron, D., Penduff, T., Brankart, J.-M., Brasseur, P., Somot, S., and Sevault, F.: Forced and intrinsic low-frequency variability of the Mediterranean Surface and overturning circulation, Ocean Sci., 22, 531–547, <ext-link xlink:href="https://doi.org/10.5194/os-22-531-2026" ext-link-type="DOI">10.5194/os-22-531-2026</ext-link>, 2026.</mixed-citation></ref>
      <ref id="bib1.bibx18"><label>Hoang et al.(1998)</label><mixed-citation>Hoang, S., Baraille, R., Talagrand, O., Carton, X., and De Mey, P.: Adaptive filtering: Application to satellite data assimilation in oceanography, Dynam. Atmos. Oceans, 27, 257–281, <ext-link xlink:href="https://doi.org/10.1016/s0377-0265(97)00014-6" ext-link-type="DOI">10.1016/s0377-0265(97)00014-6</ext-link>, 1998.</mixed-citation></ref>
      <ref id="bib1.bibx19"><label>Houtekamer and Mitchell(1998)</label><mixed-citation>Houtekamer, P. L. and Mitchell, H. L.: Data assimilation using an Ensemble Kalman Filter technique, Mon. Weather Rev., 126, 796–811, <ext-link xlink:href="https://doi.org/10.1175/1520-0493(1998)126&lt;0796:DAUAEK&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0493(1998)126&lt;0796:DAUAEK&gt;2.0.CO;2</ext-link>, 1998.</mixed-citation></ref>
      <ref id="bib1.bibx20"><label>Li et al.(2009)</label><mixed-citation>Li, H., Kalnay, E., and Miyoshi, T.: Simultaneous estimation of covariance inflation and observation errors within an ensemble Kalman filter, Q. J. Roy. Meteorol. Soc., 135, 523–533, <ext-link xlink:href="https://doi.org/10.1002/qj.371" ext-link-type="DOI">10.1002/qj.371</ext-link>, 2009.</mixed-citation></ref>
      <ref id="bib1.bibx21"><label>Ludwig et al.(2009)</label><mixed-citation>Ludwig, W., Dumont, E., Meybeck, M., and Heussner, S.: River discharges of water and nutrients to the Mediterranean and Black Sea: Major drivers for ecosystem changes during past and future decades?, Prog. Oceanogr., 80, 199–217, <ext-link xlink:href="https://doi.org/10.1016/j.pocean.2009.02.001" ext-link-type="DOI">10.1016/j.pocean.2009.02.001</ext-link>, 2009.</mixed-citation></ref>
      <ref id="bib1.bibx22"><label>Mitchell and Houtekamer(2009)</label><mixed-citation>Mitchell, H. L. and Houtekamer, P. L.: An adaptive ensemble Kalman filter, Mon. Weather Rev., 128, 416–433, <ext-link xlink:href="https://doi.org/10.1175/1520-0493(2000)128&lt;0416:AAEKF&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0493(2000)128&lt;0416:AAEKF&gt;2.0.CO;2</ext-link>, 2000.</mixed-citation></ref>
      <ref id="bib1.bibx23"><label>Nabat et al.(2020)</label><mixed-citation>Nabat, P., Somot, S., Cassou, C., Mallet, M., Michou, M., Bouniol, D., Decharme, B., Drugé, T., Roehrig, R., and Saint-Martin, D.: Modulation of radiative aerosols effects by atmospheric circulation over the Euro-Mediterranean region, Atmos. Chem. Phys., 20, 8315–8349, <ext-link xlink:href="https://doi.org/10.5194/acp-20-8315-2020" ext-link-type="DOI">10.5194/acp-20-8315-2020</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bibx24"><label>Polkova et al.(2019)</label><mixed-citation>Polkova, I., Brune, S., Kadow, C., Romanova, V., Gollan, G., Baehr, J., Glowienka-Hense, R., Greatbatch, R. J., Hense, A., Illing, S., Köhl, A., Kröger, J., Müller, W. A., Pankatz, K., and Stammer, D.: Initialization and ensemble generation for decadal climate predictions: A comparison of different methods, J. Adv. Model. Earth Syst., 11, 149–172, <ext-link xlink:href="https://doi.org/10.1029/2018MS001439" ext-link-type="DOI">10.1029/2018MS001439</ext-link>, 2019. </mixed-citation></ref>
      <ref id="bib1.bibx25"><label>Popov et al.(2024)</label><mixed-citation>Popov, M., Brankart, J.-M., Capet, A., Cosme, E., and Brasseur, P.: Ensemble analysis and forecast of ecosystem indicators in the North Atlantic using ocean colour observations and prior statistics from a stochastic NEMO/PISCES simulator, Ocean Sci., 20, 155–180, <ext-link xlink:href="https://doi.org/10.5194/os-20-155-2024" ext-link-type="DOI">10.5194/os-20-155-2024</ext-link>, 2024.</mixed-citation></ref>
      <ref id="bib1.bibx26"><label>Robert and Casella(2004)</label><mixed-citation> Robert, C. and Casella, P.: Monte Carlo Statistical Methods, Springer, 645 pp., ISBN 0-387-21239-6, 2004.</mixed-citation></ref>
      <ref id="bib1.bibx27"><label>Talagrand(1999)</label><mixed-citation>Talagrand, O.: A posteriori verification of analysis and assimilation algorithms, in: Workshop on diagnosis of data assimilation systems, 2–4 November 1998, ECMWF, Reading, UK, <ext-link xlink:href="https://www.ecmwf.int/sites/default/files/elibrary/1999/12547-posteriori-evaluation-and-verification-analysis-and-assimilation-algorithms.pdf">https://www.ecmwf.int/sites/default/files/elibrary/1999/12547-posteriori-evaluation-and-verification-analysis-and-assimilation-algorithms.pdf</ext-link> (last access: 12 October 2026), 1999.</mixed-citation></ref>
      <ref id="bib1.bibx28"><label>Volpi et al.(2021)</label><mixed-citation>Volpi, D., Meccia, V. L., Guemas, V., Ortega, P., Bilbao, R., Doblas-Reyes, F. J., Amaral, A., Echevarria, P., Mahmood, R., and Corti, S.: A Novel Initialization Technique for Decadal Climate Predictions, Front. Clim., 3, 681127, <ext-link xlink:href="https://doi.org/10.3389/fclim.2021.681127" ext-link-type="DOI">10.3389/fclim.2021.681127</ext-link>, 2021.</mixed-citation></ref>

  </ref-list></back>
    <!--<article-title-html>Efficient ensemble estimation using an MCMC sampler:  a reconstruction of the Mediterranean low-frequency  variability combining observed and simulated sea level</article-title-html>
<abstract-html/>
<ref-html id="bib1.bib1"><label>Anderson(1996)</label><mixed-citation>
      
Anderson, J.: A method for producing and evaluating probabilistic forecasts from ensemble model integrations, J. Climate, 9, 1518–1530,
<a href="https://doi.org/10.1175/1520-0442(1996)009&lt;1518:AMFPAE&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0442(1996)009&lt;1518:AMFPAE&gt;2.0.CO;2</a>, 1996.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>Balmaseda et al.(2013)</label><mixed-citation>
      
Balmaseda, M. A., Trenberth, K. E., and Källén, E.: Distinctive climate signals in reanalysis of global ocean heat content, Geophys. Res. Lett., 40, 1754–1759, <a href="https://doi.org/10.1002/grl.50382" target="_blank">https://doi.org/10.1002/grl.50382</a>, 2013.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>Beuvier et al.(2012)</label><mixed-citation>
      
Beuvier, J., Béranger, K., Lebeaupin Brossier, C., Somot, S., Sevault, F., Drillet, Y., Bourdallé-Badie, R., Ferry, N., and Lyard, F.: Spreading of the Western Mediterranean Deep Water after winter 2005: Time scales and deep cyclone transport, J. Geophys. Res.-Oceans, 117, 2011JC007679,
<a href="https://doi.org/10.1029/2011JC007679" target="_blank">https://doi.org/10.1029/2011JC007679</a>, 2012.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>Bishop and Hodyss(2009)</label><mixed-citation>
      
Bishop, C. H. and Hodyss, D.: Ensemble covariances adaptively localized with ECO-RAP. Part 2: a strategy for the atmosphere, Tellus A, 61, 97–111,
<a href="https://doi.org/10.1111/j.1600-0870.2008.00372.x" target="_blank">https://doi.org/10.1111/j.1600-0870.2008.00372.x</a>, 2009.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>Bishop et al.(2017)</label><mixed-citation>
      
Bishop, C. H., Whitaker, J. S., and Lei, L.: Gain Form of the Ensemble Transform Kalman Filter and Its Relevance to Satellite Data Assimilation
with Model Space Ensemble Covariance Localization, Mon. Wheather Rev., 145, 4575–4592, <a href="https://doi.org/10.1175/MWR-D-17-0102.1" target="_blank">https://doi.org/10.1175/MWR-D-17-0102.1</a>, 2017.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>Brankart(2019)</label><mixed-citation>
      
Brankart, J.-M.: Implicitly Localized MCMC Sampler to Cope With Non-local/Non-linear Data Constraints in Large-Size Inverse Problems, Front. Appl. Math. Stat., 5, 58, <a href="https://doi.org/10.3389/fams.2019.00058" target="_blank">https://doi.org/10.3389/fams.2019.00058</a>, 2019.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>Brankart(2026a)</label><mixed-citation>
      
Brankart, J.-M.: brankart/ensdam: ensdam (Version v1.1), Zenodo [computer software], <a href="https://doi.org/10.5281/zenodo.23314072" target="_blank">https://doi.org/10.5281/zenodo.23314072</a>, 2026a.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>Brankart(2026b)</label><mixed-citation>
      
Brankart, J.-M.: brankart/sesam: sesam (Version v1.1), Zenodo [computer software], <a href="https://doi.org/10.5281/zenodo.23314005" target="_blank">https://doi.org/10.5281/zenodo.23314005</a>, 2026b.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>Brankart(2026c)</label><mixed-citation>
      
Brankart, J.-M.:  brankart/ensemble-altimetry-lf: ensemble-altimetry-lf (Version v1.1), Zenodo [computer software], <a href="https://doi.org/10.5281/zenodo.23314298" target="_blank">https://doi.org/10.5281/zenodo.23314298</a>, 2026c.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib10"><label>Brankart et al.(2010)</label><mixed-citation>
      
Brankart, J.-M., Cosme, E., Testut, C.-E., Brasseur, P., and Verron, J.:
Efficient adaptive error parameterizations for square root or ensemble Kalman filters: application to the control of ocean mesoscale signals, Mon. Weather Rev., 138, 932–950, <a href="https://doi.org/10.1175/2009MWR3085.1" target="_blank">https://doi.org/10.1175/2009MWR3085.1</a>, 2010.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>Brankart et al.(2015)</label><mixed-citation>
      
Brankart, J.-M., Candille, G., Garnier, F., Calone, C., Melet, A.,
Bouttier, P.-A., Brasseur, P., and Verron, J.: A generic approach to explicit simulation of uncertainty in the NEMO ocean model, Geosci. Model Dev., 8, 1285–1297, <a href="https://doi.org/10.5194/gmd-8-1285-2015" target="_blank">https://doi.org/10.5194/gmd-8-1285-2015</a>, 2015.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>Brankart et al.(2026)</label><mixed-citation>
      
Brankart, J.-M., Héron, D., Weiss, L., Penduff, T., and Brasseur, P.:
Low-frequency variability of the Mediterranean dynamic height: an ensemble estimation combining model and observations, SEANOE [data set], <a href="https://doi.org/10.17882/113890" target="_blank">https://doi.org/10.17882/113890</a>, 2026.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>Dee(1995)</label><mixed-citation>
      
Dee, D.: On-line estimation of error covariance parameters for atmospheric data assimilation, Mon. Weather Rev., 123, 1128–1145,
<a href="https://doi.org/10.1175/1520-0493(1995)123&lt;1128:OLEOEC&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0493(1995)123&lt;1128:OLEOEC&gt;2.0.CO;2</a>, 1995

    </mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>Durán Moro et al.(2017)</label><mixed-citation>
      
Durán Moro, M., Brankart, J.-M., Brasseur, P. and Verron, J.: Exploring image data assimilation in the prospect of high-resolution satellite oceanic observations, Ocean Dynam., 87, 875–895, <a href="https://doi.org/10.1007/s10236-017-1062-3" target="_blank">https://doi.org/10.1007/s10236-017-1062-3</a>, 2017.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>Evensen(2003)</label><mixed-citation>
      
Evensen, G.: The Ensemble Kalman Filter: theoretical formulation and practical implementation, Ocean Dynam., 53, 343–367,
<a href="https://doi.org/10.1007/s10236-003-0036-9" target="_blank">https://doi.org/10.1007/s10236-003-0036-9</a>, 2003.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib16"><label>Gaultier et al.(2014)</label><mixed-citation>
      
Gaultier, L., Djath, B., Verron, J., Brankart, J.-M., Brasseur, P. and Melet, A.: Inversion of submesoscale patterns from a high-resolution Solomon Sea model: feasibility assessment, J. Geophys. Res., 119, 4520–4541,
<a href="https://doi.org/10.1002/2013JC009660" target="_blank">https://doi.org/10.1002/2013JC009660</a>, 2014.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>Héron et al.(2026)</label><mixed-citation>
      
Héron, D., Penduff, T., Brankart, J.-M., Brasseur, P., Somot, S., and Sevault, F.: Forced and intrinsic low-frequency variability of the Mediterranean Surface and overturning circulation, Ocean Sci., 22, 531–547,
<a href="https://doi.org/10.5194/os-22-531-2026" target="_blank">https://doi.org/10.5194/os-22-531-2026</a>, 2026.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>Hoang et al.(1998)</label><mixed-citation>
      
Hoang, S., Baraille, R., Talagrand, O., Carton, X., and De Mey, P.: Adaptive filtering: Application to satellite data assimilation in oceanography, Dynam. Atmos. Oceans, 27, 257–281, <a href="https://doi.org/10.1016/s0377-0265(97)00014-6" target="_blank">https://doi.org/10.1016/s0377-0265(97)00014-6</a>, 1998.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>Houtekamer and Mitchell(1998)</label><mixed-citation>
      
Houtekamer, P. L. and Mitchell, H. L.: Data assimilation using an Ensemble Kalman Filter technique, Mon. Weather Rev., 126, 796–811,
<a href="https://doi.org/10.1175/1520-0493(1998)126&lt;0796:DAUAEK&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0493(1998)126&lt;0796:DAUAEK&gt;2.0.CO;2</a>, 1998.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>Li et al.(2009)</label><mixed-citation>
      
Li, H., Kalnay, E., and Miyoshi, T.: Simultaneous estimation of covariance inflation and observation errors within an ensemble Kalman filter, Q. J. Roy. Meteorol. Soc., 135, 523–533, <a href="https://doi.org/10.1002/qj.371" target="_blank">https://doi.org/10.1002/qj.371</a>, 2009.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>Ludwig et al.(2009)</label><mixed-citation>
      
Ludwig, W., Dumont, E., Meybeck, M., and Heussner, S.: River discharges of water and nutrients to the Mediterranean and Black Sea: Major drivers for ecosystem changes during past and future decades?, Prog. Oceanogr., 80, 199–217, <a href="https://doi.org/10.1016/j.pocean.2009.02.001" target="_blank">https://doi.org/10.1016/j.pocean.2009.02.001</a>, 2009.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>Mitchell and Houtekamer(2009)</label><mixed-citation>
      
Mitchell, H. L. and Houtekamer, P. L.: An adaptive ensemble Kalman filter, Mon. Weather Rev., 128, 416–433,
<a href="https://doi.org/10.1175/1520-0493(2000)128&lt;0416:AAEKF&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0493(2000)128&lt;0416:AAEKF&gt;2.0.CO;2</a>, 2000.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>Nabat et al.(2020)</label><mixed-citation>
      
Nabat, P., Somot, S., Cassou, C., Mallet, M., Michou, M., Bouniol, D., Decharme, B., Drugé, T., Roehrig, R., and Saint-Martin, D.: Modulation of radiative aerosols effects by atmospheric circulation over the Euro-Mediterranean region, Atmos. Chem. Phys., 20, 8315–8349,
<a href="https://doi.org/10.5194/acp-20-8315-2020" target="_blank">https://doi.org/10.5194/acp-20-8315-2020</a>, 2020.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>Polkova et al.(2019)</label><mixed-citation>
      
Polkova, I., Brune, S., Kadow, C., Romanova, V., Gollan, G., Baehr, J., Glowienka-Hense, R., Greatbatch, R. J., Hense, A., Illing, S., Köhl, A., Kröger, J., Müller, W. A., Pankatz, K., and Stammer, D.: Initialization and ensemble generation for decadal climate predictions: A comparison of different methods, J. Adv. Model. Earth Syst., 11, 149–172, <a href="https://doi.org/10.1029/2018MS001439" target="_blank">https://doi.org/10.1029/2018MS001439</a>, 2019.


    </mixed-citation></ref-html>
<ref-html id="bib1.bib25"><label>Popov et al.(2024)</label><mixed-citation>
      
Popov, M., Brankart, J.-M., Capet, A., Cosme, E., and Brasseur, P.: Ensemble analysis and forecast of ecosystem indicators in the North Atlantic using ocean colour observations and prior statistics from a stochastic NEMO/PISCES simulator, Ocean Sci., 20, 155–180, <a href="https://doi.org/10.5194/os-20-155-2024" target="_blank">https://doi.org/10.5194/os-20-155-2024</a>, 2024.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib26"><label>Robert and Casella(2004)</label><mixed-citation>
      
Robert, C. and Casella, P.: Monte Carlo Statistical Methods, Springer, 645&thinsp;pp., ISBN 0-387-21239-6, 2004.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib27"><label>Talagrand(1999)</label><mixed-citation>
      
Talagrand, O.: A posteriori verification of analysis and assimilation algorithms, in: Workshop on diagnosis of data assimilation systems,
2–4 November 1998, ECMWF, Reading, UK, <a href="https://www.ecmwf.int/sites/default/files/elibrary/1999/12547-posteriori-evaluation-and-verification-analysis-and-assimilation-algorithms.pdf" target="_blank">https://www.ecmwf.int/sites/default/files/elibrary/1999/12547-posteriori-evaluation-and-verification-analysis-and-assimilation-algorithms.pdf</a> (last access: 12 October 2026), 1999.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib28"><label>Volpi et al.(2021)</label><mixed-citation>
      
Volpi, D., Meccia, V. L., Guemas, V., Ortega, P., Bilbao, R., Doblas-Reyes, F. J., Amaral, A., Echevarria, P., Mahmood, R., and Corti, S.: A Novel Initialization Technique for Decadal Climate Predictions, Front. Clim., 3, 681127, <a href="https://doi.org/10.3389/fclim.2021.681127" target="_blank">https://doi.org/10.3389/fclim.2021.681127</a>, 2021.

    </mixed-citation></ref-html>--></article>
