<?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">GMD</journal-id><journal-title-group>
    <journal-title>Geoscientific Model Development</journal-title>
    <abbrev-journal-title abbrev-type="publisher">GMD</abbrev-journal-title><abbrev-journal-title abbrev-type="nlm-ta">Geosci. Model Dev.</abbrev-journal-title>
  </journal-title-group><issn pub-type="epub">1991-9603</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/gmd-19-423-2026</article-id><title-group><article-title>Implementation and evaluation of sea level operators in OceanVar2.0: an open-source oceanographic three-dimensional variational data assimilation system</article-title><alt-title>Implementation and evaluation of sea level operators in OceanVar2.0</alt-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes" rid="aff1 aff2">
          <name><surname>Oddo</surname><given-names>Paolo</given-names></name>
          <email>paolo.oddo@unibo.it</email>
        <ext-link>https://orcid.org/0000-0003-4451-3898</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff2 aff5">
          <name><surname>Adani</surname><given-names>Mario</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff3">
          <name><surname>Carere</surname><given-names>Francesco</given-names></name>
          
        <ext-link>https://orcid.org/0009-0007-7953-5081</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff2">
          <name><surname>Cipollone</surname><given-names>Andrea</given-names></name>
          
        <ext-link>https://orcid.org/0000-0001-9590-0922</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff2">
          <name><surname>Goglio</surname><given-names>Anna Chiara</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff3">
          <name><surname>Jansen</surname><given-names>Eric</given-names></name>
          
        <ext-link>https://orcid.org/0000-0002-8689-7685</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff2">
          <name><surname>Aydogdu</surname><given-names>Ali</given-names></name>
          
        <ext-link>https://orcid.org/0000-0002-1557-7502</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff3">
          <name><surname>Mele</surname><given-names>Francesca</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff3 aff4">
          <name><surname>Epicoco</surname><given-names>Italo</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff2">
          <name><surname>Pistoia</surname><given-names>Jenny</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff2">
          <name><surname>Clementi</surname><given-names>Emanuela</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1 aff2">
          <name><surname>Pinardi</surname><given-names>Nadia</given-names></name>
          
        <ext-link>https://orcid.org/0000-0003-4765-0775</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff2">
          <name><surname>Masina</surname><given-names>Simona</given-names></name>
          
        <ext-link>https://orcid.org/0000-0001-6273-7065</ext-link></contrib>
        <aff id="aff1"><label>1</label><institution>Department of Physics and Astronomy, Bologna University, Bologna, Italy</institution>
        </aff>
        <aff id="aff2"><label>2</label><institution>CMCC Foundation – Euro-Mediterranean Center on Climate Change, Bologna, Italy</institution>
        </aff>
        <aff id="aff3"><label>3</label><institution>CMCC Foundation – Euro-Mediterranean Center on Climate Change, Lecce, Italy</institution>
        </aff>
        <aff id="aff4"><label>4</label><institution>Department of Engineering for Innovation, University of Salento, Lecce, Italy</institution>
        </aff>
        <aff id="aff5"><label>a</label><institution>now at: Italian National Agency for New Technologies, Energy and Sustainable Economic Development (ENEA),  Bologna, 40129, Italy</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">Paolo Oddo (paolo.oddo@unibo.it)</corresp></author-notes><pub-date><day>15</day><month>January</month><year>2026</year></pub-date>
      
      <volume>19</volume>
      <issue>1</issue>
      <fpage>423</fpage><lpage>445</lpage>
      <history>
        <date date-type="received"><day>1</day><month>April</month><year>2025</year></date>
           <date date-type="rev-request"><day>10</day><month>June</month><year>2025</year></date>
           <date date-type="rev-recd"><day>5</day><month>December</month><year>2025</year></date>
           <date date-type="accepted"><day>23</day><month>December</month><year>2025</year></date>
      </history>
      <permissions>
        <copyright-statement>Copyright: © 2026 Paolo Oddo 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://gmd.copernicus.org/articles/19/423/2026/gmd-19-423-2026.html">This article is available from https://gmd.copernicus.org/articles/19/423/2026/gmd-19-423-2026.html</self-uri><self-uri xlink:href="https://gmd.copernicus.org/articles/19/423/2026/gmd-19-423-2026.pdf">The full text article is available as a PDF file from https://gmd.copernicus.org/articles/19/423/2026/gmd-19-423-2026.pdf</self-uri>
      <abstract><title>Abstract</title>

      <p id="d2e220">This study presents the development and sensitivity analysis of the sea level operator within the OceanVar software which implements an oceanographic incremental three-dimensional variational data assimilation scheme. In OceanVar, the background error covariance matrix is decomposed into a sequence of physically based linear operators, allowing for individual analysis of specific error matrix components. The key development of OceanVar2.0 is the full integration of both dynamic height and barotropic model formulations as a flexible option for handling sea level covariance. The comparison of the two formulations of the sea level operator which provides correlations between Sea Level Anomaly, temperature and salinity increments is presented. The sensitivity experiments were performed in the Mediterranean Sea and the quality of the analysis assessed by comparing background estimates with observations for the period January–December 2021. The results confirm the methodological advantage of the barotropic model operator, which successfully overcomes the physical and operational limitations associated with choosing an appropriate level-of-no-motion for the dynamic height formulation. Furthermore, we present a method to assimilate along-track satellite altimetry considering a forecasting model with tides.</p>
  </abstract>
    </article-meta>
  </front>
<body>
      

      
<sec id="Ch1.S1" sec-type="intro">
  <label>1</label><title>Introduction</title>
      <p id="d2e234">Understanding the past state of the ocean and predicting its future behaviour is critical for sustainable development and for climate change mitigation and adaptation strategies. Oceans are a key component of the Earth's climate system, and they require specific data assimilation schemes due to the sparsity of data in the ocean interior. There are different methodologies for ocean data assimilation, each with its own strengths and weaknesses. Within inverse problem theory, the two most used approaches are the variational and the Kalman filter (Carrassi et al., 2018). Schemes based on Monte-Carlo algorithms, such as the Particle filter, have been proven to be successful on low-dimensional systems and have become feasible for high-dimensional geophysical systems only recently (Van Leeuwen et al., 2019). The choice of data assimilation method depends on factors such as the type of the observations, the desired forecast horizon, and the available computational resources.</p>
      <p id="d2e237">Recent machine learning (ML) advancements offer potential optimizations for ocean data assimilation (e.g., Barthélémy et al., 2022; Beauchamp et al., 2023). ML can refine the representation of the errors and reveal complex relationships, improving accuracy. To fully leverage ML and new data streams, modular and flexible data assimilation software is essential. As research progresses, these advancements will significantly enhance our ability to understand and predict ocean behaviour.</p>
      <p id="d2e240">The data assimilation community has made substantial strides in developing widely used software tools and specific implementations. General frameworks such as PDAF (Nerger and Hiller, 2013) and DART (Data Assimilation Research Testbed, Anderson et al., 2009) have contributed significantly to the field. Additionally, model-specific implementations such as ROMS-4DVAR (Moore et al., 2011) have been instrumental in advancing ocean data assimilation. Each of these tools offers unique capabilities, and the increasing complexity of data assimilation problems – particularly with the adoption of ML – drives the continuous development and innovation of both existing and new tools in the community, as evidenced by recent research (Martin et al., 2025).</p>
      <p id="d2e243">OceanVar is the data assimilation software used in this study. It was first introduced by Dobricic and Pinardi (2008, hereafter DP08) and implements an incremental three-dimensional variational method. OceanVar features a modular design that allows for flexibility in incorporating diverse data sources and error covariance representations. This adaptability has made it suitable for a wide range of applications and research needs. The software has been extensively used in several operational and reanalysis systems, as evidenced by numerous publications (Dobricic et al., 2007; Storto et al., 2016; Escudier et al., 2021; Lima et al., 2021; Ciliberti et al., 2022; Coppini et al., 2023). It has been used to test new hybrid formulations (Oddo et al., 2016; Storto et al., 2018) and to implement new observational operators for different data types, including Lagrangian trajectories (Nilsson et al., 2012), sea-ice variables (Cipollone et al., 2023), daytime SST from SEVIRI (Storto and Oddo, 2019), and AI-based operators (Storto et al., 2021; Broccoli and Cipollone, 2025). Furthermore, it has been instrumental in improving error covariance models (Dobricic et al., 2015) and advancing specific applications, such as biogeochemical modelling (Teruzzi et al., 2014, 2018), and new interdisciplinary uses like assessing the impact on underwater acoustic predictions (Storto et al., 2020).</p>
      <p id="d2e247">The extensive use of the code in diverse applications has led to the creation of different versions, some of which are inconsistent or incompatible. This core issue drives the development presented here. For this study, we used OceanVar2.0 (hereafter OceanVar2 for improved readability), a new version of the underlying OceanVar framework that unifies the various developments into a single, consistent, and fully parallelized software package.</p>
      <p id="d2e250">In DP08 and all subsequent developments, horizontal covariance was approximated using the recursive filter (Lorenc, 1992; Hayden and Purser, 1995). The filter is conceptually simple, typically requiring only a few iterations to approximate the Gaussian function, and its application on a horizontal grid can be split into two independent directions (Purser et al., 2003). However, in cases of spatially or temporally varying correlation radii, the computational advantage of the recursive filter may be questioned (Purser et al., 2022). To provide the system with greater flexibility in terms of horizontal correlation radii, OceanVar2 models the horizontal correlation by a repeated application of the Laplacian operator, which is also the solution of the horizontal diffusion equation (e.g., Derber and Rosati, 1989; Weaver and Courtier, 2001).</p>
      <p id="d2e253">Satellite altimetry and satellite-derived sea surface temperature are crucial in bridging gaps left by in-situ observations (Le Traon et al., 2025). Satellites help to cover almost the entire ocean surface and satellite altimetry contains information of the subsurface thermohaline structure that is key to obtain best estimates of the ocean variability at depth. Satellite altimetric sea level data are available from 1992, and altimeters have increased in coverage in the past ten years. The effective integration of satellite altimetry and sea surface temperature data into model corrections requires advanced extrapolation algorithms. While this necessity was first emphasized in foundational work (De Mey and Robinson, 1987), it continues to drive development in the field, as evidenced by cutting-edge solutions using machine learning (Zavala-Romero et al., 2025). In this work we demonstrate the capability of OceanVar2 to effectively assimilate along-track satellite altimetry with the use of a barotropic model operator and multivariate sea level, temperature and salinity statistics. Although the barotropic model was conceptually defined in DP08, its implementation was not carried forward or maintained in subsequent mainline versions. This work presents its full integration and optimization within the OceanVar2 framework. We present, for the first time, a detailed, direct comparison of the barotropic model defined by DP08 with the dynamic height operator. Additionally, OceanVar2 is applied to the latest version of the Mediterranean Sea forecasting System (Clementi et al., 2023) that considers tidal forcing. Tides are becoming an essential component of the resolved variability of the ocean general circulation, and they can no longer be neglected in numerical ocean circulation models (Arbic, 2022). Satellite altimeters sample tides along their track as well as the mesoscales. Using OceanVar2 we present a preliminary solution to the problem of assimilation in presence of tidal components both in model and observations.</p>
      <p id="d2e256">The manuscript is organized as follows. After the introduction, Sect. 2 provides a general overview of the variational formulation and the characteristics of OceanVar2. Section 3 presents the background and the observational error covariance matrix formulation and their specific operators. Section 4 describes the experimental setup and the altimetry assimilation methods. Section 5 discusses the results. Section 6 provides an overview of the computational performance of the code. Finally, Sect. 7 provides the summary and conclusions.</p>
</sec>
<sec id="Ch1.S2">
  <label>2</label><title>Formulation of the Variational Assimilation Scheme</title>
      <p id="d2e267">The standard cost function in three-dimensional variational data assimilation is defined as:

          <disp-formula id="Ch1.E1" content-type="numbered"><label>1</label><mml:math id="M1" display="block"><mml:mtable rowspacing="0.2ex" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:mi>J</mml:mi><mml:mfenced open="(" close=")"><mml:mi mathvariant="bold-italic">x</mml:mi></mml:mfenced></mml:mrow></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:msup><mml:mfenced close=")" open="("><mml:mrow><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi mathvariant="normal">b</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mi mathvariant="normal">T</mml:mi></mml:msup><mml:msup><mml:mi mathvariant="bold">B</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mfenced close=")" open="("><mml:mrow><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi mathvariant="normal">b</mml:mi></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:msup><mml:mfenced open="(" close=")"><mml:mrow><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="bold-italic">h</mml:mi><mml:mfenced close="]" open="["><mml:mi mathvariant="bold-italic">x</mml:mi></mml:mfenced></mml:mrow></mml:mfenced><mml:mi mathvariant="normal">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 close=")" open="("><mml:mrow><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="bold-italic">h</mml:mi><mml:mfenced open="[" close="]"><mml:mi mathvariant="bold-italic">x</mml:mi></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>

        where, <inline-formula><mml:math id="M2" display="inline"><mml:mi mathvariant="bold-italic">x</mml:mi></mml:math></inline-formula> is the analysis state vector containing the ocean model prognostic variables, <inline-formula><mml:math id="M3" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi mathvariant="normal">b</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the background state vector, <inline-formula><mml:math id="M4" display="inline"><mml:mi mathvariant="bold">B</mml:mi></mml:math></inline-formula> is the background error covariance matrix, <inline-formula><mml:math id="M5" display="inline"><mml:mi mathvariant="bold-italic">h</mml:mi></mml:math></inline-formula> is the non-linear observational operator, <inline-formula><mml:math id="M6" display="inline"><mml:mi mathvariant="bold-italic">y</mml:mi></mml:math></inline-formula> are the observations, <inline-formula><mml:math id="M7" display="inline"><mml:mi mathvariant="bold">R</mml:mi></mml:math></inline-formula> is the observational error covariance matrix and T indicates the matrix transpose. Equation (1) is linearized around the background state (e.g., Lorenc, 1997) and expressed in terms of the increments <inline-formula><mml:math id="M8" display="inline"><mml:mrow><mml:mi mathvariant="italic">δ</mml:mi><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>=</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi mathvariant="normal">b</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>:

          <disp-formula id="Ch1.E2" content-type="numbered"><label>2</label><mml:math id="M9" display="block"><mml:mrow><mml:mi>J</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:mi mathvariant="italic">δ</mml:mi><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:mi mathvariant="italic">δ</mml:mi><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi mathvariant="normal">T</mml:mi></mml:msup><mml:msup><mml:mi mathvariant="bold">B</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mi mathvariant="italic">δ</mml:mi><mml:mi mathvariant="bold-italic">x</mml:mi><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">d</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="bold">H</mml:mi><mml:mi mathvariant="italic">δ</mml:mi><mml:mi mathvariant="bold-italic">x</mml:mi></mml:mrow></mml:mfenced><mml:mi mathvariant="normal">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 close=")" open="("><mml:mrow><mml:mi mathvariant="bold-italic">d</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="bold">H</mml:mi><mml:mi mathvariant="italic">δ</mml:mi><mml:mi mathvariant="bold-italic">x</mml:mi></mml:mrow></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>

        where <inline-formula><mml:math id="M10" display="inline"><mml:mrow><mml:mi mathvariant="bold-italic">d</mml:mi><mml:mo>=</mml:mo><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="bold-italic">h</mml:mi><mml:mfenced close="]" open="["><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi mathvariant="normal">b</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula> are the misfits (or innovations), and <bold>H</bold> is the Jacobian matrix of <inline-formula><mml:math id="M11" display="inline"><mml:mi mathvariant="bold-italic">h</mml:mi></mml:math></inline-formula> at <inline-formula><mml:math id="M12" display="inline"><mml:mrow><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi mathvariant="normal">b</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. The analysis at a particular time is defined as <inline-formula><mml:math id="M13" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi mathvariant="normal">b</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:mi mathvariant="bold-italic">x</mml:mi></mml:mrow></mml:math></inline-formula>, where <inline-formula><mml:math id="M14" display="inline"><mml:mi>J</mml:mi></mml:math></inline-formula> attains its minimum.</p>
      <p id="d2e607">Existence and uniqueness of <inline-formula><mml:math id="M15" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is guaranteed because <inline-formula><mml:math id="M16" display="inline"><mml:mi>J</mml:mi></mml:math></inline-formula> is quadratic with <bold>R</bold> and <bold>B</bold> positive definite matrices. The minimum can be found by forcing the gradient of the cost function to zero. The gradient of Eq. (2) is:

          <disp-formula id="Ch1.Ex1"><mml:math id="M17" display="block"><mml:mrow><mml:mi mathvariant="normal">∇</mml:mi><mml:mi>J</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:mi mathvariant="italic">δ</mml:mi><mml:mi mathvariant="bold-italic">x</mml:mi></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:msup><mml:mi mathvariant="bold">B</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mo>+</mml:mo><mml:msup><mml:mi mathvariant="bold">H</mml:mi><mml:mi mathvariant="normal">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:mi mathvariant="bold">H</mml:mi></mml:mrow></mml:mfenced><mml:mi mathvariant="italic">δ</mml:mi><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>-</mml:mo><mml:msup><mml:mi mathvariant="bold">H</mml:mi><mml:mi mathvariant="normal">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:mi mathvariant="bold-italic">d</mml:mi></mml:mrow></mml:math></disp-formula>

        Following DP08, the OceanVar scheme assumes that the <bold>B</bold> matrix can be decomposed as:

          <disp-formula id="Ch1.Ex2"><mml:math id="M18" display="block"><mml:mrow><mml:mi mathvariant="bold">B</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mi mathvariant="bold">VV</mml:mi><mml:mi mathvariant="normal">T</mml:mi></mml:msup></mml:mrow></mml:math></disp-formula>

        and the cost function may equivalently be minimized using a new control variable <inline-formula><mml:math id="M19" display="inline"><mml:mi mathvariant="bold-italic">v</mml:mi></mml:math></inline-formula> (e.g., Lorenc, 1997) defined using the transformation matrix <inline-formula><mml:math id="M20" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold">V</mml:mi><mml:mo>+</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula>:

          <disp-formula id="Ch1.Ex3"><mml:math id="M21" display="block"><mml:mrow><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mi mathvariant="bold">V</mml:mi><mml:mo>+</mml:mo></mml:msup><mml:mi mathvariant="italic">δ</mml:mi><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>

        where the superscript “<inline-formula><mml:math id="M22" display="inline"><mml:mo>+</mml:mo></mml:math></inline-formula>” indicates the generalized inverse. The vector <inline-formula><mml:math id="M23" display="inline"><mml:mi mathvariant="bold-italic">v</mml:mi></mml:math></inline-formula> is defined on the control space, and the increment vector <inline-formula><mml:math id="M24" display="inline"><mml:mrow><mml:mi mathvariant="italic">δ</mml:mi><mml:mi mathvariant="bold-italic">x</mml:mi></mml:mrow></mml:math></inline-formula> on the physical space. The cost function (2) now obtains the form:

          <disp-formula id="Ch1.Ex4"><mml:math id="M25" display="block"><mml:mrow><mml:mi>J</mml:mi><mml:mfenced open="(" close=")"><mml:mi mathvariant="bold-italic">v</mml:mi></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:mi mathvariant="bold-italic">v</mml:mi><mml:mi mathvariant="normal">T</mml:mi></mml:msup><mml:mi mathvariant="bold-italic">v</mml:mi><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:mi mathvariant="bold">HV</mml:mi><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="bold-italic">d</mml:mi></mml:mrow></mml:mfenced><mml:mi mathvariant="normal">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 close=")" open="("><mml:mrow><mml:mi mathvariant="bold">HV</mml:mi><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="bold-italic">d</mml:mi></mml:mrow></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>

        The misfit in OceanVar is estimated using the FGAT (First Guess at Appropriate Time) method. The valid time of the increment using the FGAT algorithm has been discussed and investigated in literature (see Massart et al., 2010). The purpose of FGAT is to ensure that each observation (<inline-formula><mml:math id="M26" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) falling within the assimilation window [<inline-formula><mml:math id="M27" display="inline"><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>] is compared against the model background (<inline-formula><mml:math id="M28" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi mathvariant="normal">b</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) at the specific time of the observation (<inline-formula><mml:math id="M29" display="inline"><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>), rather than only at the final analysis time (<inline-formula><mml:math id="M30" display="inline"><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>). The innovations (<inline-formula><mml:math id="M31" display="inline"><mml:mrow><mml:msub><mml:mi>d</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) are thus computed as:

          <disp-formula id="Ch1.Ex5"><mml:math id="M32" display="block"><mml:mrow><mml:msub><mml:mi>d</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mi mathvariant="normal">i</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mi mathvariant="bold-italic">h</mml:mi><mml:mfenced close="]" open="["><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi mathvariant="normal">b</mml:mi></mml:msub><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>

        where <inline-formula><mml:math id="M33" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi mathvariant="normal">b</mml:mi></mml:msub><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula> is the model background interpolated to the observational time <inline-formula><mml:math id="M34" display="inline"><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. The assimilation system then minimizes all these innovations to compute a single analysis increment <inline-formula><mml:math id="M35" display="inline"><mml:mrow><mml:mfenced close=")" open="("><mml:mrow><mml:mi mathvariant="italic">δ</mml:mi><mml:mi mathvariant="bold-italic">x</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula> which is applied at <inline-formula><mml:math id="M36" display="inline"><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. Formally our analysis is defined as the instantaneous field:

          <disp-formula id="Ch1.Ex6"><mml:math id="M37" display="block"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi mathvariant="normal">b</mml:mi></mml:msub><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo>+</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>x</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>

        where <inline-formula><mml:math id="M38" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi mathvariant="normal">b</mml:mi></mml:msub><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula> is the instantaneous background field simulated by the nonlinear ocean model starting from <inline-formula><mml:math id="M39" display="inline"><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>.</p>
</sec>
<sec id="Ch1.S3">
  <label>3</label><title>Modelling the background error covariance matrix</title>
      <p id="d2e1125">The transformation matrix <bold>V</bold> is modelled at each minimization iteration as a sequence of linear operators (e.g., Weaver et al., 2003). In this way, <bold>V</bold> successively transforms increments in the control space towards final increments in the physical space.</p>
      <p id="d2e1134">In OceanVar and OceanVar2 the matrix <bold>V</bold> is defined in the following way:

          <disp-formula id="Ch1.E3" content-type="numbered"><label>3</label><mml:math id="M40" display="block"><mml:mrow><mml:mi mathvariant="bold">V</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="bold">V</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub><mml:msub><mml:mi mathvariant="bold">V</mml:mi><mml:mrow><mml:mi>u</mml:mi><mml:mo>,</mml:mo><mml:mi>v</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi mathvariant="bold">V</mml:mi><mml:mi mathvariant="italic">η</mml:mi></mml:msub><mml:msub><mml:mi mathvariant="bold">V</mml:mi><mml:mi mathvariant="normal">H</mml:mi></mml:msub><mml:msub><mml:mi mathvariant="bold">V</mml:mi><mml:mi mathvariant="normal">V</mml:mi></mml:msub></mml:mrow></mml:math></disp-formula>

        From right to left, <inline-formula><mml:math id="M41" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">V</mml:mi><mml:mi mathvariant="normal">V</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> defines the vertical error covariance; <bold>V</bold><sub>H</sub> the horizontal error correlation; <bold>V</bold><sub><italic>η</italic></sub> is the sea level operator containing correlation between temperature, salinity and sea surface elevation; and <bold>V</bold><sub><italic>u</italic>,<italic>v</italic></sub> forces a geostrophic balance between temperature, salinity and the velocity components. Finally, <bold>V</bold><sub>D</sub> is a divergence-damping operator avoiding spurious currents close to the coast in the presence of complex coastlines, as defined by DP08.</p>
      <p id="d2e1241">The vertical transformation operator <bold>V</bold><sub>V</sub> has the form:

          <disp-formula id="Ch1.Ex7"><mml:math id="M47" display="block"><mml:mrow><mml:msub><mml:mi mathvariant="bold">V</mml:mi><mml:mi mathvariant="normal">V</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="bold">S</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub><mml:msubsup><mml:mi mathvariant="bold">Λ</mml:mi><mml:mi mathvariant="normal">c</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:msubsup></mml:mrow></mml:math></disp-formula>

        where columns of <bold>S</bold><sub>c</sub> contain eigenvectors and <inline-formula><mml:math id="M49" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">Λ</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is a diagonal matrix with eigenvalues of multivariate Empirical Orthogonal Functions (EOFs). In the OceanVar and OceanVar2 code, the EOFs can be defined pointwise (Coppini et al., 2023) or by regions (DP08).</p>
      <p id="d2e1307">Differently from DP08, to account for horizontal correlations, <bold>V</bold><sub>H</sub> is considered as the discretized form of the diffusive operator:

          <disp-formula id="Ch1.Ex8"><mml:math id="M51" display="block"><mml:mrow><mml:msub><mml:mi mathvariant="bold">V</mml:mi><mml:mi mathvariant="normal">H</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="bold">∇</mml:mi><mml:mi mathvariant="normal">H</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub><mml:msub><mml:mi mathvariant="bold">∇</mml:mi><mml:mi mathvariant="normal">H</mml:mi></mml:msub><mml:mi>C</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:math></disp-formula>

        where <inline-formula><mml:math id="M52" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">∇</mml:mi><mml:mi mathvariant="normal">H</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the horizontal differential operator, <inline-formula><mml:math id="M53" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the spatially variable diffusivity coefficient corresponding to horizontal correlation lengths, and <inline-formula><mml:math id="M54" display="inline"><mml:mi>C</mml:mi></mml:math></inline-formula> is a generic increment. Assuming a gaussian solution (Weaver and Courtier, 2001), the relation between <inline-formula><mml:math id="M55" display="inline"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and the horizontal correlation radius is:

          <disp-formula id="Ch1.Ex9"><mml:math id="M56" display="block"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">H</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msqrt><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:msub><mml:mi>k</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:msqrt></mml:mrow></mml:math></disp-formula>

        Where <inline-formula><mml:math id="M57" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">H</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, in meters, is the horizontal correlation radius, and <inline-formula><mml:math id="M58" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> s is the pseudo time-step used to integrate the diffusion equation. This filter was implemented using a dimensional splitting approach. The operator is discretized with a Euler-Backward implicit scheme solved by means of LU decomposition of a tridiagonal matrix, following Hoffman and Frankel (2001). The tridiagonal matrix algorithm is chosen for its simplicity and the resulting ease of implementing its adjoint operator, its memory efficiency, and its ability to avoid external libraries implementing direct methods, thus forming a compact implementation which simplifies the porting of OceanVar2.</p>
      <p id="d2e1448">The <inline-formula><mml:math id="M59" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">V</mml:mi><mml:mi mathvariant="italic">η</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> operator, the focus of this study, incorporates correlations between sea surface elevation and the subsurface thermohaline structure. Section 3.1 is dedicated to the detailed description of the two formulations implemented in OceanVar2.</p>
      <p id="d2e1462">The present formulation of OceanVar also allows for the computation of corrections for the velocity field: the <inline-formula><mml:math id="M60" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">V</mml:mi><mml:mrow><mml:mi>u</mml:mi><mml:mo>,</mml:mo><mml:mi>v</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> operator computes the velocity corrections assuming geostrophic balance. This assumption results in an operator with small computational cost. However, this assumption is not valid at the equator and may produce velocity vectors orthogonal to the coast. When imposing the zero-boundary condition for the velocity component perpendicular to the coast, the divergence component of the velocity field may become unrealistically large. Therefore, the divergence damping operator <inline-formula><mml:math id="M61" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">V</mml:mi><mml:mi mathvariant="normal">D</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> in Eq. (3) is implemented to damp velocity divergence near coasts, while the vorticity remains unchanged. Details on the implementation of the divergence damping operator are provided in DP08.</p>
      <p id="d2e1492">As highlighted in DP08, the sequence of operator multiplication is critical and determined through a combination of physical reasoning and iterative experimentation. Initially, all increments are projected onto multivariate EOFs for sea level, temperature, and salinity, as these effectively capture ocean stratification (Sanchez de la Lama et al., 2016) and the relationship with sea level for assimilation purposes (De Mey and Robinson, 1987). Next, the increments are distributed horizontally. Following this, adjustments due to the sea level operator are computed based on the vertically projected temperature and salinity increments. Subsequently, increments in horizontal velocities are derived, and the process concludes with the application of the divergence damping filter.</p>
<sec id="Ch1.S3.SS1">
  <label>3.1</label><title>The sea level operator and its relationship with the velocity terms</title>
      <p id="d2e1502">Dobricic et al. (2007) found that the vertical EOFs computed from the covariance between temperature, salinity and sea level could produce corrections that are not geostrophically balanced and proved that the enforcement of the geostrophic relationship for the sea level in the error covariance matrix has a significant positive impact on the accuracy of the analysis. Thus, in OceanVar2 the sea surface height increments from EOF projections are overwritten using a sea level operator. Two different sea level operators, with different levels of complexity, are implemented in OceanVar2.</p>
      <p id="d2e1505">The first is the commonly used Dynamic Height operator <inline-formula><mml:math id="M62" display="inline"><mml:mrow><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi mathvariant="bold">V</mml:mi><mml:mi mathvariant="italic">η</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="bold">V</mml:mi><mml:mi mathvariant="normal">DH</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula>, which is defined as:

            <disp-formula id="Ch1.E4" content-type="numbered"><label>4</label><mml:math id="M63" display="block"><mml:mrow><mml:msub><mml:mi mathvariant="bold">V</mml:mi><mml:mi mathvariant="normal">DH</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:msup><mml:mi mathvariant="italic">η</mml:mi><mml:mi mathvariant="normal">DH</mml:mi></mml:msup><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:munderover><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mi>D</mml:mi></mml:mrow><mml:mn mathvariant="normal">0</mml:mn></mml:munderover><mml:mfenced open="[" close="]"><mml:mrow><mml:mo>-</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>T</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="italic">β</mml:mi><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>S</mml:mi></mml:mrow></mml:mfenced><mml:mi mathvariant="normal">d</mml:mi><mml:mi>z</mml:mi></mml:mrow></mml:math></disp-formula>

          Where <inline-formula><mml:math id="M64" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula> is a uniform reference level, corresponding to a level-of-no-motion, <inline-formula><mml:math id="M65" display="inline"><mml:mrow><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>T</mml:mi></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M66" display="inline"><mml:mrow><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>S</mml:mi></mml:mrow></mml:math></inline-formula> are temperature and salinity increments respectively, <inline-formula><mml:math id="M67" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M68" display="inline"><mml:mi mathvariant="italic">β</mml:mi></mml:math></inline-formula> the expansion and contraction coefficients. The correlation between Sea Level Anomaly (SLA) from altimetry measurements and the dynamic height anomaly computed from in-situ measurements is high for regions deeper than 1000 m (Dhomps et al., 2011), at synoptic, seasonal and interannual time scales.</p>
      <p id="d2e1636">OceanVar2 allows the application of a more complex linear <inline-formula><mml:math id="M69" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">V</mml:mi><mml:mi mathvariant="italic">η</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. This operator is based on the formulation published in DP08 and derives from the steady state results of a linear barotropic model forced by buoyancy anomalies induced by the temperature and salinity increments. While the methodology was previously described in the literature, the barotropic model code itself was fully re-introduced and parallelized to function efficiently within the new OceanVar2 framework, with its general mathematical structure remaining unchanged. Its inclusion as a fully integrated option is a new feature of this version. The barotropic model equations, discretized in time by the semi-implicit scheme (Kwizak and Robert, 1971), are:

                <disp-formula specific-use="gather" content-type="numbered"><mml:math id="M70" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E5"><mml:mtd><mml:mtext>5</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mtable rowspacing="0.2ex" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mo>-</mml:mo><mml:msup><mml:mi>U</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>-</mml:mo><mml:mi>f</mml:mi><mml:msup><mml:mi>V</mml:mi><mml:mi>n</mml:mi></mml:msup><mml:mo>=</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mspace width="1em" linebreak="nobreak"/><mml:mo>-</mml:mo><mml:mi>g</mml:mi><mml:mi>H</mml:mi><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:msup><mml:mi mathvariant="italic">η</mml:mi><mml:mo>∗</mml:mo></mml:msup></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>-</mml:mo><mml:munderover><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mi>H</mml:mi></mml:mrow><mml:mn mathvariant="normal">0</mml:mn></mml:munderover><mml:mfenced open="[" close="]"><mml:mrow><mml:munderover><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mi>z</mml:mi></mml:mrow><mml:mn mathvariant="normal">0</mml:mn></mml:munderover><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mfenced close=")" open="("><mml:mrow><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>b</mml:mi></mml:mrow></mml:mfenced></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mi mathvariant="normal">d</mml:mi><mml:msup><mml:mi>z</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:mrow></mml:mfenced><mml:mi mathvariant="normal">d</mml:mi><mml:mi>z</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="italic">γ</mml:mi><mml:msup><mml:mi mathvariant="normal">∇</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:msup><mml:mi>U</mml:mi><mml:mo>∗</mml:mo></mml:msup></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E6"><mml:mtd><mml:mtext>6</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mtable class="split" rowspacing="0.2ex" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msup><mml:mi>V</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mo>-</mml:mo><mml:msup><mml:mi>V</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:mi>f</mml:mi><mml:msup><mml:mi>U</mml:mi><mml:mi>n</mml:mi></mml:msup><mml:mo>=</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mspace width="1em" linebreak="nobreak"/><mml:mo>-</mml:mo><mml:mi>g</mml:mi><mml:mi>H</mml:mi><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:msup><mml:mi mathvariant="italic">η</mml:mi><mml:mo>∗</mml:mo></mml:msup></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>-</mml:mo><mml:munderover><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mi>H</mml:mi></mml:mrow><mml:mn mathvariant="normal">0</mml:mn></mml:munderover><mml:mfenced close="]" open="["><mml:mrow><mml:munderover><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mi>z</mml:mi></mml:mrow><mml:mn mathvariant="normal">0</mml:mn></mml:munderover><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>b</mml:mi></mml:mrow></mml:mfenced></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mi mathvariant="normal">d</mml:mi><mml:msup><mml:mi>z</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:mrow></mml:mfenced><mml:mi mathvariant="normal">d</mml:mi><mml:mi>z</mml:mi><mml:mo>+</mml:mo><mml:mi mathvariant="italic">γ</mml:mi><mml:msup><mml:mi mathvariant="normal">∇</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:msup><mml:mi>V</mml:mi><mml:mo>∗</mml:mo></mml:msup></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

            <disp-formula id="Ch1.Ex10"><mml:math id="M71" display="block"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msup><mml:mi mathvariant="italic">η</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mo>-</mml:mo><mml:msup><mml:mi mathvariant="italic">η</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:mfenced close=")" open="("><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:msup><mml:mi>U</mml:mi><mml:mo>∗</mml:mo></mml:msup></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:msup><mml:mi>V</mml:mi><mml:mo>∗</mml:mo></mml:msup></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></disp-formula>

          where <inline-formula><mml:math id="M72" display="inline"><mml:mi>U</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M73" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula> are vertically integrated velocity components, <inline-formula><mml:math id="M74" display="inline"><mml:mi>f</mml:mi></mml:math></inline-formula> is the Coriolis parameter, <inline-formula><mml:math id="M75" display="inline"><mml:mi>g</mml:mi></mml:math></inline-formula> is the acceleration due to gravity, <inline-formula><mml:math id="M76" display="inline"><mml:mi>H</mml:mi></mml:math></inline-formula> is the bottom depth, <inline-formula><mml:math id="M77" display="inline"><mml:mi mathvariant="italic">η</mml:mi></mml:math></inline-formula> is the surface elevation, <inline-formula><mml:math id="M78" display="inline"><mml:mrow><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>b</mml:mi></mml:mrow></mml:math></inline-formula> is the buoyancy anomaly, and <inline-formula><mml:math id="M79" display="inline"><mml:mi mathvariant="italic">γ</mml:mi></mml:math></inline-formula> is the horizontal viscosity coefficient. The superscripts indicate the time step relative to <inline-formula><mml:math id="M80" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula>, and the superscript “<inline-formula><mml:math id="M81" display="inline"><mml:mo>*</mml:mo></mml:math></inline-formula>” indicates the weighted average between two timesteps. A more detailed description of the barotropic model and its discretization can be found in DP08. In the present version the barotropic model assumes closed lateral boundaries.</p>
      <p id="d2e2103">In the previous Eqs. (5) and (6), the buoyancy forcing term is defined as:

            <disp-formula id="Ch1.Ex11"><mml:math id="M82" display="block"><mml:mrow><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>b</mml:mi><mml:mo>=</mml:mo><mml:mi>g</mml:mi><mml:mfenced close=")" open="("><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi mathvariant="italic">δ</mml:mi><mml:mi mathvariant="italic">ρ</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced></mml:mrow></mml:math></disp-formula>

          and the density perturbation <inline-formula><mml:math id="M83" display="inline"><mml:mrow><mml:mi mathvariant="italic">δ</mml:mi><mml:mi mathvariant="italic">ρ</mml:mi></mml:mrow></mml:math></inline-formula> is estimated by the linear equation of state:

            <disp-formula id="Ch1.E7" content-type="numbered"><label>7</label><mml:math id="M84" display="block"><mml:mrow><mml:mi mathvariant="italic">δ</mml:mi><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo>=</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>T</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="italic">β</mml:mi><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>S</mml:mi></mml:mrow></mml:math></disp-formula>

          Expansion and contraction coefficients (<inline-formula><mml:math id="M85" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M86" display="inline"><mml:mi mathvariant="italic">β</mml:mi></mml:math></inline-formula>) in Eqs. (4) and (7) can be assumed space independent or spatially variable and estimated by linearizing the equation of state around a user defined background temperature (<inline-formula><mml:math id="M87" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">b</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) and salinity field (<inline-formula><mml:math id="M88" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">b</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>):

                <disp-formula specific-use="gather"><mml:math id="M89" display="block"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mi mathvariant="italic">α</mml:mi><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="italic">ρ</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>T</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:msub><mml:mi mathvariant="normal">|</mml:mi><mml:mrow><mml:mi>T</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">b</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mi>S</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">b</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mi mathvariant="italic">β</mml:mi><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="italic">ρ</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>S</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:msub><mml:mi mathvariant="normal">|</mml:mi><mml:mrow><mml:mi>T</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">b</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mi>S</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">b</mml:mi></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>

          In the latter case the coefficients are read from an external input file.</p>
      <p id="d2e2302">In OceanVar2 the sea level operators produce the final sea surface height increments, replacing the increment produced by the cross-covariance between temperature, salinity and sea level provided by the EOFs (DP08, Storto et al., 2018).</p>
      <p id="d2e2305">The choice on the sea level operator has consequences on the velocity operator <inline-formula><mml:math id="M90" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">V</mml:mi><mml:mrow><mml:mi>u</mml:mi><mml:mo>,</mml:mo><mml:mi>v</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. <inline-formula><mml:math id="M91" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">V</mml:mi><mml:mrow><mml:mi>u</mml:mi><mml:mo>,</mml:mo><mml:mi>v</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> computes the velocity correction assuming geostrophic balance under the Boussinesq and incompressibility approximations:

                <disp-formula specific-use="gather"><mml:math id="M92" display="block"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mi>f</mml:mi><mml:msub><mml:mi>u</mml:mi><mml:mi>g</mml:mi></mml:msub><mml:mfenced close=")" open="("><mml:mi>z</mml:mi></mml:mfenced><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mi>f</mml:mi><mml:msub><mml:mi>v</mml:mi><mml:mi>g</mml:mi></mml:msub><mml:mfenced open="(" close=")"><mml:mi>z</mml:mi></mml:mfenced><mml:mo>=</mml:mo><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>

          Decomposing the pressure <inline-formula><mml:math id="M93" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> at any level <inline-formula><mml:math id="M94" display="inline"><mml:mi>z</mml:mi></mml:math></inline-formula> as:

            <disp-formula id="Ch1.Ex16"><mml:math id="M95" display="block"><mml:mrow><mml:mi>p</mml:mi><mml:mfenced close=")" open="("><mml:mi>z</mml:mi></mml:mfenced><mml:mo>=</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mi mathvariant="normal">atm</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:mi>g</mml:mi><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mfenced close=")" open="("><mml:mrow><mml:mi mathvariant="italic">η</mml:mi><mml:mo>+</mml:mo><mml:munderover><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mi>z</mml:mi></mml:mrow><mml:mn mathvariant="normal">0</mml:mn></mml:munderover><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi mathvariant="italic">δ</mml:mi><mml:mi mathvariant="italic">ρ</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mi mathvariant="normal">d</mml:mi><mml:mi>z</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:math></disp-formula>

          where <inline-formula><mml:math id="M96" display="inline"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi mathvariant="normal">atm</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the atmospheric pressure, <inline-formula><mml:math id="M97" display="inline"><mml:mi>g</mml:mi></mml:math></inline-formula> is the effective gravity, <inline-formula><mml:math id="M98" display="inline"><mml:mi mathvariant="italic">η</mml:mi></mml:math></inline-formula> is the free surface elevation and <inline-formula><mml:math id="M99" display="inline"><mml:mrow><mml:mi mathvariant="italic">δ</mml:mi><mml:mi mathvariant="italic">ρ</mml:mi></mml:mrow></mml:math></inline-formula> is the density departure from a reference state <inline-formula><mml:math id="M100" 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>. Neglecting the atmospheric pressure, and rewriting the hydrostatic term as buoyancy term, the geostrophic velocities become:

                <disp-formula specific-use="gather" content-type="numbered"><mml:math id="M101" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E8"><mml:mtd><mml:mtext>8</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msub><mml:mi mathvariant="normal">fu</mml:mi><mml:mi>g</mml:mi></mml:msub><mml:mfenced open="(" close=")"><mml:mi>z</mml:mi></mml:mfenced><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mfenced close=")" open="("><mml:mrow><mml:mi>g</mml:mi><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="italic">η</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:munderover><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mi>z</mml:mi></mml:mrow><mml:mn mathvariant="normal">0</mml:mn></mml:munderover><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>y</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mi mathvariant="normal">d</mml:mi><mml:mi>z</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E9"><mml:mtd><mml:mtext>9</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msub><mml:mi mathvariant="normal">fv</mml:mi><mml:mi>g</mml:mi></mml:msub><mml:mfenced close=")" open="("><mml:mi>z</mml:mi></mml:mfenced><mml:mo>=</mml:mo><mml:mo>+</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:mi>g</mml:mi><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="italic">η</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:munderover><mml:mo movablelimits="false">∫</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mi>z</mml:mi></mml:mrow><mml:mn mathvariant="normal">0</mml:mn></mml:munderover><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="italic">δ</mml:mi><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>x</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mi mathvariant="normal">d</mml:mi><mml:mi>z</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

          When adopting the barotropic model as <inline-formula><mml:math id="M102" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">V</mml:mi><mml:mi mathvariant="italic">η</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, the sea surface height in Eqs. (8) and (9) is replaced by the increments deriving from the solution of the barotropic model and the lower limit of the baroclinic integral reaches <inline-formula><mml:math id="M103" display="inline"><mml:mrow><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:mrow></mml:math></inline-formula>, the ocean floor. On the other hand, when <inline-formula><mml:math id="M104" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">V</mml:mi><mml:mi mathvariant="italic">η</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="bold">V</mml:mi><mml:mi mathvariant="normal">DH</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> the horizontal pressure-gradient force must vanish at the level-of-no-motion, <inline-formula><mml:math id="M105" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula>, in Eq. (4). In Eqs. (8) and (9) <inline-formula><mml:math id="M106" display="inline"><mml:mi mathvariant="italic">η</mml:mi></mml:math></inline-formula> is then substituted with <inline-formula><mml:math id="M107" display="inline"><mml:mrow><mml:mi mathvariant="italic">δ</mml:mi><mml:msup><mml:mi mathvariant="italic">η</mml:mi><mml:mi mathvariant="normal">DH</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> and the velocity increments are computed only up to depth <inline-formula><mml:math id="M108" display="inline"><mml:mi>D</mml:mi></mml:math></inline-formula>. Thus, in case of the barotropic model, velocity corrections are provided for the entire water column, while in case of dynamic height, velocity corrections are provided from the surface to the level-of-no-motion.</p>
</sec>
<sec id="Ch1.S3.SS2">
  <label>3.2</label><title>The observational error covariance matrix and quality checks</title>
      <p id="d2e2776">The observation error <inline-formula><mml:math id="M109" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="italic">ϵ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> is defined as the difference between the observation vector <inline-formula><mml:math id="M110" display="inline"><mml:mi mathvariant="bold-italic">y</mml:mi></mml:math></inline-formula> and the observation counterpart in the true state <inline-formula><mml:math id="M111" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi mathvariant="normal">t</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> (Cohn, 1997)

            <disp-formula id="Ch1.Ex17"><mml:math id="M112" display="block"><mml:mrow><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">h</mml:mi><mml:mo>∗</mml:mo></mml:msup><mml:mfenced open="[" close="]"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi mathvariant="normal">t</mml:mi></mml:msup></mml:mrow></mml:mfenced><mml:mo>+</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">ϵ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mo>→</mml:mo><mml:mspace width="0.25em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="bold-italic">ϵ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:mfenced open="(" close=")"><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">t</mml:mi></mml:msup></mml:mrow></mml:mfenced><mml:mo>-</mml:mo><mml:mfenced close=")" open="("><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">h</mml:mi><mml:mo>∗</mml:mo></mml:msup><mml:mfenced open="[" close="]"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi mathvariant="normal">t</mml:mi></mml:msup></mml:mrow></mml:mfenced><mml:mo>-</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mi mathvariant="normal">t</mml:mi></mml:msup></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">ϵ</mml:mi><mml:mi mathvariant="normal">m</mml:mi></mml:msup><mml:mo>+</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">ϵ</mml:mi><mml:mi mathvariant="normal">r</mml:mi></mml:msup><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>

          where <inline-formula><mml:math id="M113" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mi mathvariant="normal">t</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> is the <italic>true</italic> (unknown) observation value,  <inline-formula><mml:math id="M114" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">h</mml:mi><mml:mo>∗</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> is an observation operator, <inline-formula><mml:math id="M115" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">ϵ</mml:mi><mml:mi mathvariant="normal">m</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> labels the instrumental or measurement error (distance of the actual value from the true state) and <inline-formula><mml:math id="M116" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">ϵ</mml:mi><mml:mi mathvariant="normal">r</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> gathers the different components of the representativeness errors, due to inaccuracies in <inline-formula><mml:math id="M117" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">h</mml:mi><mml:mo>∗</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> and the sampling error of the observations with respect to the true signal. Under the assumption of unbiased error <inline-formula><mml:math id="M118" display="inline"><mml:mrow><mml:mo>〈</mml:mo><mml:msup><mml:mi mathvariant="italic">ϵ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup><mml:mo>〉</mml:mo><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula> and that <inline-formula><mml:math id="M119" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="italic">ϵ</mml:mi><mml:mi mathvariant="normal">m</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M120" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="italic">ϵ</mml:mi><mml:mi mathvariant="normal">r</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> are uncorrelated, the error covariance matrix <bold>R</bold> can be constructed as the sum of two terms that can be estimated independently:

            <disp-formula id="Ch1.Ex18"><mml:math id="M121" display="block"><mml:mrow><mml:mi mathvariant="bold">R</mml:mi><mml:mo>=</mml:mo><mml:mo>〈</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">ϵ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup><mml:msup><mml:mi mathvariant="bold-italic">ϵ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msup><mml:mo>〉</mml:mo><mml:mo>≈</mml:mo><mml:mo>〈</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">ϵ</mml:mi><mml:mi mathvariant="normal">m</mml:mi></mml:msup><mml:msup><mml:mi mathvariant="bold-italic">ϵ</mml:mi><mml:mi mathvariant="normal">m</mml:mi></mml:msup><mml:mo>〉</mml:mo><mml:mo>+</mml:mo><mml:mo>〈</mml:mo><mml:msup><mml:mi mathvariant="bold-italic">ϵ</mml:mi><mml:mi mathvariant="normal">r</mml:mi></mml:msup><mml:msup><mml:mi mathvariant="bold-italic">ϵ</mml:mi><mml:mi mathvariant="normal">r</mml:mi></mml:msup><mml:mo>〉</mml:mo><mml:mo>=</mml:mo><mml:msup><mml:mi mathvariant="bold">R</mml:mi><mml:mi mathvariant="normal">m</mml:mi></mml:msup><mml:mo>+</mml:mo><mml:msup><mml:mi mathvariant="bold">R</mml:mi><mml:mi mathvariant="normal">r</mml:mi></mml:msup><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>

          If the errors associated to different observations are uncorrelated, the two matrices simplify greatly in diagonal ones. This hypothesis is valid for most of the current global/regional observational datasets and it is generally correct when observations are sampled relatively far in time (say few hours to avoid cross-correlation term in <bold>R</bold><sup>m</sup>) or are sparse with respect to the model grid resolution (to not include off-diagonal elements in <bold>R</bold><sup>r</sup>). Observation errors are a function of observation type in OceanVar2.</p>
      <p id="d2e3102">OceanVar2 contains various procedures for the quality control and preprocessing of observations. A background quality check is included to reject observations that are too far from the model estimate. This quality check uses a threshold on the squared misfit. While OceanVar2 supports approximating the misfit distribution with a Huber norm PDF (Storto, 2016) to mitigate the impact of outliers, this feature was not required for the analysis presented in this work.</p>
      <p id="d2e3105">To ensure that the assumption of spatially and temporally uncorrelated observation error is satisfied, data thinning and superobbing procedures are employed. Horizontal thinning rejects observations that are too close in space, and in cases where multiple data from the same instrument fall into the same model grid cell, only the observation closest to the analysis time is retained. Along the vertical dimension, a superobbing procedure takes the average of all data falling within the same model layer. Additionally, two important rejection criteria can be activated: coastal rejection prevents the assimilation of altimetric and in-situ coastal observations to avoid inconsistencies between observed and modelled coastal processes, and a bathymetry-based rejection prevents the assimilation of data in shallow areas.</p>
</sec>
</sec>
<sec id="Ch1.S4">
  <label>4</label><title>Experimental Design</title>
      <p id="d2e3118">The experiments are designed to determine the best configuration of OceanVar2 for the assimilation of satellite altimetry together with ARGO floats and XBT in the Mediterranean Sea. The setup of the ocean model used in this study is a simplified version of the physical component of the Mediterranean Forecasting System of the Copernicus Marine Service (Clementi et al., 2023). The model is implemented over the entire Mediterranean basin (Fig. 1) with a horizontal grid resolution of <inline-formula><mml:math id="M124" display="inline"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">24</mml:mn></mml:mrow></mml:math></inline-formula>° (approx. 4 km) and 141 non-uniformly distributed vertical levels. The ocean model code is based on the Nucleus for European Modelling of the Ocean (NEMO) v4.2 (Madec and the NEMO System Team, 2023) and includes the representation of tides. Atmospheric forcings are calculated interactively with the operational fields of the European Centre for Medium-Range Weather Forecasts (ECMWF). The only difference to the Copernicus operational system is the omission of the surface wave model coupling.</p>

      <fig id="F1" specific-use="star"><label>Figure 1</label><caption><p id="d2e3135">Top panel: Model domain and bathymetry. Green and yellow dots indicate the position of the assimilated ARGO floats and XBT respectively. Red triangles indicate the subset of in-situ data assimilated during the single daily cycle of 11 August 2021. Bottom panel: an example of 21 d altimetry data. Satellite tracks in red and green are used in Figs. 2 and 6 respectively. The solid, bold black tracks highlight the satellite altimetry data available during the single daily assimilation cycle of 11 August 2021. Three isobaths are drawn in both panels: 150, 350 and 1000 m.</p></caption>
        <graphic xlink:href="https://gmd.copernicus.org/articles/19/423/2026/gmd-19-423-2026-f01.png"/>

      </fig>

      <p id="d2e3144">Starting from an operational analysis, we performed a 1-year simulation followed by one year of daily assimilation cycles of in-situ (XBT and ARGO floats) and satellite SLA data for the whole year of 2021. Figure 1 shows the positions of the assimilated in-situ and SLA data. The SLA data coverage in the bottom panel refers to the full 21 d repeat cycle of the satellite orbits. In our experimental setup we perform daily assimilation cycles starting at midnight every day and we assimilate all observations available in the 24 h before the analysis time. The figure also highlights the data used during a single daily cycle (11 August 2021), specifically showing the in-situ and SLA track subset daily coverage.</p>
<sec id="Ch1.S4.SS1">
  <label>4.1</label><title>Correcting the misfits for tides</title>
      <p id="d2e3155">A fundamental aspect to consider when assimilating SLA is the possible presence of tides in the modelled solution and in the observed data. Discrepancies between modelled and observed tides can, as a first approximation, be attributed to inaccuracies in the bathymetry of the model, the bottom and/or the coastal frictional dynamics. If the difference between observed and modelled estimates is due to tides, then this part of the misfit is primarily composed of external gravity waves. In the present OceanVar2 formulation, this high-frequency signal would be incorrectly projected into baroclinic increments by the covariance matrix of the background error (Eq. 3). Since tidal errors are not dynamically linked to the slow baroclinic ocean state, using the standard <bold>B</bold> matrix leads to spurious analysis increments. It is therefore essential to filter out the tidal signal from both the observed and modelled SLA. This work offers a solution to the assimilation of satellite altimetry in a model with tides, showing that a filtering procedure can be accurate enough and that no additional adjustment is required in the analysis.</p>
      <p id="d2e3161">The Copernicus along-track sea level anomalies are provided together with an estimate of the tidal signal along the tracks so tides can be filtered easily from the observations. To remove the tidal signal from the model background field, the tidal amplitude and phase for the eight components included in the Mediterranean Sea model (M2, S2, K1, O1, N2, P1, Q1 and K2) have been derived from a simulation output by harmonic analysis of the hourly sea level field. Following Cao et al. (2015), six months of hourly data were used for the harmonic analysis. The harmonic analysis was performed using the Pawlowicz et al. (2002) algorithm, based on the Foreman method (Foreman, 1977, 1978) at each model grid point. Knowing the tidal constants, it is possible to estimate the model tidal sea level at the exact time and location of the altimetry data and remove this component from the model outputs.</p>
      <p id="d2e3164">During the model simulation, misfits between model estimates and observations are computed and before entering OceanVar2, the misfits are updated, removing the tidal signal from both observations and model results. In Fig. 2 an example of an SLA satellite track is provided with model estimates and the satellite observations, the position of the track is shown in Fig. 1. In the upper panel of Fig. 2, the full signal from the model simulation and the observations is drawn as a function of latitude along the track. The middle panel of Fig. 2 shows the signals without tides, in addition to a debiasing procedure described by Dobricic et al. (2012). Dobricic et al. (2012) show that this method is the best for considering differences between the large-scale steric signal and the mean dynamic topography between observations and model. The average difference along the track is removed if the track is continuous, or for individual segments if the track is discontinuous due to the presence of land. Finally, in the bottom panel of Fig. 2 the two tidal components for the observational and modelled SLA are shown indicating the large-scale signal of tides in the open ocean.</p>

      <fig id="F2" specific-use="star"><label>Figure 2</label><caption><p id="d2e3170">An example of Sea Level Anomaly data along the red track of Fig. 1. Blue lines indicate model free-run results, while black lines indicate observational data. In the upper panel the full signals are plotted. The dashed line indicates where SLA are in regions shallower than 1000 m. The middle panel shows the SLA after the removal of the tidal signals, separately in the model and observations, and the along-track averaged difference. The bottom panel shows the along-track observational and model tidal signals.</p></caption>
          <graphic xlink:href="https://gmd.copernicus.org/articles/19/423/2026/gmd-19-423-2026-f02.png"/>

        </fig>

</sec>
<sec id="Ch1.S4.SS2">
  <label>4.2</label><title>Sensitivity experiments</title>
      <p id="d2e3187">In addition to a free-run (non-assimilative model simulation), we present results from two sets of six 1-year assimilative experiments each, comparing them against each other and against observations. All the experiments assimilate ARGO floats and XBT temperature and salinity data in the whole domain including the Atlantic part, while SLA data are assimilated only within the Mediterranean Basin (see Fig. 1). In every experiment the vertical component of the background error covariance matrix is modelled using 25 tri-variate EOFs (temperature, salinity and SLA) computed following Dobricic et al. (2006) for every model grid point. The EOFs are computed from a 30-year timeseries of the Mediterranean Sea reanalysis (Escudier et al., 2021). The horizontal correlation radius was set to a constant value of 27 km, determined through sensitivity experiments. The diffusive filter was iterated five times to model the horizontal covariance. To account for coastal effects, the correlation radius was linearly decreased starting from about 30 km offshore to the minimum grid resolution near the coast. Additionally, a Neumann boundary condition was applied at the coast, setting the normal derivative of the field to zero. Observations are rejected if they are less than 15 km from the coast and if the misfits are larger than fixed thresholds: 5 °C for temperature, 2 psu for salinity; and 30 cm for SLA. The observational error covariance matrix is assumed diagonal. The results presented in Fig. 2 demonstrate that our model accurately reproduces along-track SLA tidal gradients, with the difference between the modelled and observed tidal signal being nearly constant. We effectively remove this along-track bias by subtracting the mean residual along each satellite track. This critical step ensures that the resulting misfit is very similar to the one computed without tides. Based on these considerations, we decided not to modify the SLA observational error, maintaining consistency with previous work (Escudier et al., 2021). Consequently, all the SLA data have an associated error of 3 cm regardless of the satellite and the geographic distribution. The observational errors for in-situ observations were tuned via the Desroziers' method (Desroziers et al., 2005) and vary monthly. We first prescribed the observation errors used in the previous system. The assimilation system was then run repeatedly, using the innovations and residuals to apply the Desroziers' formula to obtain an estimate for the observation error <bold>R</bold>. This process was iterated until the errors converged (e.g., Escudier et al., 2021). The resulting vertical error profiles are as follows: temperature and salinity observational errors peak at the surface with values of 0.45 °C and 0.14 psu, from 75 to 325 m depth they decrease linearly to values of 0.2 °C and 0.05 psu, starting from 750 m they have constant values of 0.1 °C and 0.02 psu respectively.</p>
      <p id="d2e3193">In addition to these sensitivity experiments, we also performed a set of idealized tests with synthetic observations to verify the internal consistency of the assimilation system and assess the behaviour of misfits and residuals under controlled conditions. A detailed description of these verification experiments is provided in the Supplement.</p>
      <p id="d2e3196">In all the experiments, the state vector contains the following model state variables:

            <disp-formula id="Ch1.Ex19"><mml:math id="M125" display="block"><mml:mrow><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mfenced open="[" close="]"><mml:mrow><mml:mi>T</mml:mi><mml:mo>,</mml:mo><mml:mi>S</mml:mi><mml:mo>,</mml:mo><mml:mi>u</mml:mi><mml:mo>,</mml:mo><mml:mi>v</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="italic">η</mml:mi></mml:mrow></mml:mfenced><mml:mi mathvariant="normal">T</mml:mi></mml:msup></mml:mrow></mml:math></disp-formula>

          where <inline-formula><mml:math id="M126" display="inline"><mml:mi>T</mml:mi></mml:math></inline-formula> is the three-dimensional temperature field, <inline-formula><mml:math id="M127" display="inline"><mml:mi>S</mml:mi></mml:math></inline-formula> the three-dimensional salinity field, <inline-formula><mml:math id="M128" display="inline"><mml:mi>u</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M129" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula> are the total horizontal velocity components and <inline-formula><mml:math id="M130" display="inline"><mml:mi mathvariant="italic">η</mml:mi></mml:math></inline-formula> the two-dimensional sea surface height.</p>
      <p id="d2e3268">Two sets of experiments are performed to compare the operational stability of mass-field-only <inline-formula><mml:math id="M131" display="inline"><mml:mrow><mml:mfenced open="(" close=")"><mml:mrow><mml:mi>T</mml:mi><mml:mo>,</mml:mo><mml:mi>S</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="italic">η</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula> correction against the maximal impact of full-state variable <inline-formula><mml:math id="M132" display="inline"><mml:mrow><mml:mfenced open="(" close=")"><mml:mrow><mml:mi>T</mml:mi><mml:mo>,</mml:mo><mml:mi>S</mml:mi><mml:mo>,</mml:mo><mml:mi>u</mml:mi><mml:mo>,</mml:mo><mml:mi>v</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="italic">η</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula> correction. Each of the two sets consists of six individual experiments (Exp-1 through Exp-6) with different OceanVar2 sea level operators and choices of free parameters. In Exp-1, which is used as a reference experiment, the barotropic model is used as the sea level operator with constant (in space and time) <inline-formula><mml:math id="M133" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M134" display="inline"><mml:mi mathvariant="italic">β</mml:mi></mml:math></inline-formula> in Eq. (7) and SLA data are rejected when falling in areas shallower than 100 m. In the second experiment (Exp-2), consistently with Adani et al. (2011), we rejected SLA data falling in areas shallower than 150 m. Experiment 3 is similar to Exp-2, but we test the sensitivity to variable expansion and contraction coefficients in Eq. (7). The coefficients are computed by linearizing the equation of state around a monthly mean climatology. In all these three experiments we integrated the barotropic model for 3 d with a time-step of 3600 s and then used the average of the last day as an approximation of the steady state solution. The integration of the barotropic model is fully implicit and the turbulent viscosity is equal to 650 m<sup>2</sup> s<sup>−1</sup>.</p>
      <p id="d2e3352">Experiments 4, 5 and 6 use the dynamic height as the sea level operator. The difference between them is the choice of the level-of-no-motion. In Exp-4 we used a level-of-no-motion equal to 150 m, thus Exp-2 and Exp-4 differ only for the sea level operator. This shallow depth was specifically chosen to test the upper limit of observation inclusion, ensuring that the assimilation scheme uses the maximum possible Sea Level Anomaly (SLA) data coverage, even in areas shallower than the generally accepted level-of-no-motion. In Exp-5 the level-of-no-motion is 350 m in agreement with the Mean Dynamic Topography (Rio et al., 2014) used. Finally, in Exp-6 the level-of-no-motion is set at 1000 m which is the traditional choice for the operational setting of the Mediterranean Sea forecasting system (Coppini et al. 2023). In all these experiments, the depth of the level-of-no-motion naturally coincides with the minimum depth of SLA observations inclusion in the data assimilation scheme.</p>
      <p id="d2e3355">The configuration of the six individual experiments (Exp-1 to Exp-6) is identical across both sets. The two sets of experiments are designed to test the critical operational trade-off between numerical stability and maximal observational impact. In the first set of experiments, we prioritize stability by applying the analysis increments only to the assimilated variables (<inline-formula><mml:math id="M137" display="inline"><mml:mi>T</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M138" display="inline"><mml:mi>S</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M139" display="inline"><mml:mi mathvariant="italic">η</mml:mi></mml:math></inline-formula>), even though the state vector contains the velocity field. This forces the model dynamics to adjust the velocities indirectly. In the second set of experiments, which tests the maximal assimilation scope, also velocity corrections are applied directly in the analysis step. Throughout the remainder of the manuscript, experiments marked with an asterisk refer to those with velocity corrections. The first sets of experiments are summarized in Table 1. The second set of experiments has the same naming convention as the first set, with the sole difference being the application of the velocity correction in the analysis definition.</p>

<table-wrap id="T1" specific-use="star"><label>Table 1</label><caption><p id="d2e3382">Sensitivity experiments configurations. First row indicates the sea level operator used: BM <inline-formula><mml:math id="M140" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> Barotropic Model; DH <inline-formula><mml:math id="M141" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> Dynamic height. Second row indicates the choice for expansion and contraction coefficients: constant in space and time (Const) and spatially and temporarily variable as computed from monthly climatology (MC). Third row indicates the reference level for the lower integral limit of the dynamic height operator and thus the level-of-no-motion for the <inline-formula><mml:math id="M142" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">V</mml:mi><mml:mrow><mml:mi>u</mml:mi><mml:mo>,</mml:mo><mml:mi>v</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> part of the model background error covariance matrix. Fourth row indicates the minimum depth used as criterion to reject SLA data.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="7">
     <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:colspec colnum="5" colname="col5" align="left"/>
     <oasis:colspec colnum="6" colname="col6" align="left"/>
     <oasis:colspec colnum="7" colname="col7" align="left"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Exp-1</oasis:entry>
         <oasis:entry colname="col3">Exp-2</oasis:entry>
         <oasis:entry colname="col4">Exp-3</oasis:entry>
         <oasis:entry colname="col5">Exp-4</oasis:entry>
         <oasis:entry colname="col6">Exp-5</oasis:entry>
         <oasis:entry colname="col7">Exp-6</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">Sea level operator</oasis:entry>
         <oasis:entry colname="col2">BM</oasis:entry>
         <oasis:entry colname="col3">BM</oasis:entry>
         <oasis:entry colname="col4">BM</oasis:entry>
         <oasis:entry colname="col5">DH</oasis:entry>
         <oasis:entry colname="col6">DH</oasis:entry>
         <oasis:entry colname="col7">DH</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M143" display="inline"><mml:mrow><mml:mi mathvariant="italic">α</mml:mi><mml:mo>/</mml:mo><mml:mi mathvariant="italic">β</mml:mi></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">Const.</oasis:entry>
         <oasis:entry colname="col3">Const.</oasis:entry>
         <oasis:entry colname="col4">MC</oasis:entry>
         <oasis:entry colname="col5">Const.</oasis:entry>
         <oasis:entry colname="col6">Const.</oasis:entry>
         <oasis:entry colname="col7">Const.</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Reference Level for DH (m)</oasis:entry>
         <oasis:entry colname="col2">n/a</oasis:entry>
         <oasis:entry colname="col3">n/a</oasis:entry>
         <oasis:entry colname="col4">n/a</oasis:entry>
         <oasis:entry colname="col5">150</oasis:entry>
         <oasis:entry colname="col6">350</oasis:entry>
         <oasis:entry colname="col7">1000</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">SLA Min depth rejection (m)</oasis:entry>
         <oasis:entry colname="col2">100</oasis:entry>
         <oasis:entry colname="col3">150</oasis:entry>
         <oasis:entry colname="col4">150</oasis:entry>
         <oasis:entry colname="col5">150</oasis:entry>
         <oasis:entry colname="col6">350</oasis:entry>
         <oasis:entry colname="col7">1000</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table><table-wrap-foot><p id="d2e3415">n/a –  not applicable.</p></table-wrap-foot></table-wrap>

</sec>
<sec id="Ch1.S4.SS3">
  <label>4.3</label><title>Performance Metrics</title>
      <p id="d2e3586">To fully assess the performances of the experiments listed in Table 1, the mean squared error (e.g., Murphy, 1988) is decomposed and the single components are analysed:

                <disp-formula specific-use="gather" content-type="numbered"><mml:math id="M144" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E10"><mml:mtd><mml:mtext>10</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mi mathvariant="normal">MB</mml:mi><mml:mo>=</mml:mo><mml:mover accent="true"><mml:mi>m</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo>-</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mover accent="true"><mml:mi>o</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E11"><mml:mtd><mml:mtext>11</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mi mathvariant="normal">SDE</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="italic">σ</mml:mi><mml:mi>m</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">σ</mml:mi><mml:mi>o</mml:mi></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E12"><mml:mtd><mml:mtext>12</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mi mathvariant="normal">CC</mml:mi><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi mathvariant="italic">σ</mml:mi><mml:mi>o</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi mathvariant="italic">σ</mml:mi><mml:mi>m</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mi>N</mml:mi></mml:mfrac></mml:mstyle><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mi>N</mml:mi></mml:munderover><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>m</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mover accent="true"><mml:mi>m</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:mrow></mml:mfenced><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>o</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mover accent="true"><mml:mi>o</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:mrow></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

          where MB is the mean bias error, SDE is the standard deviation error and CC is the cross correlation between the modelled and observed fields. The <inline-formula><mml:math id="M145" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula>th modelled and observed variable is denoted by <inline-formula><mml:math id="M146" display="inline"><mml:mrow><mml:msub><mml:mi>m</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M147" display="inline"><mml:mrow><mml:msub><mml:mi>o</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, respectively; <inline-formula><mml:math id="M148" display="inline"><mml:mover accent="true"><mml:mi>m</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:math></inline-formula> and <inline-formula><mml:math id="M149" display="inline"><mml:mover accent="true"><mml:mi>o</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:math></inline-formula> are the respective averages (horizontal and temporal); while <inline-formula><mml:math id="M150" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">σ</mml:mi><mml:mi>m</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M151" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">σ</mml:mi><mml:mi>o</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> are the respective standard deviations. In addition, the unbiased root mean squared error (uRMSE) is computed:

            <disp-formula id="Ch1.E13" content-type="numbered"><label>13</label><mml:math id="M152" display="block"><mml:mrow><mml:mi mathvariant="normal">uRMSE</mml:mi><mml:mo>=</mml:mo><mml:msqrt><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mi>N</mml:mi></mml:mfrac></mml:mstyle><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mi>N</mml:mi></mml:munderover><mml:msup><mml:mfenced open="[" close="]"><mml:mrow><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>m</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mover accent="true"><mml:mi>m</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:mrow></mml:mfenced><mml:mo>-</mml:mo><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>o</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mover accent="true"><mml:mi>o</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:msqrt><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>

          It is important to note that the model results and observations used here are the same as those used to calculate misfits within the assimilation cycle. However, while not all misfits are utilized in the assimilation process, all available observations are included in the error statistics. This ensures that all experiments are evaluated based on the same reference dataset of observations. Furthermore, to evaluate model performance even in very shallow regions, the observational dataset used in the misfits, and thus in the calculation of the error statistics, includes sea level anomaly (SLA) data covering regions up to 10 m depth. This allows for the assessment of model skill in very shallow regions where data are not assimilated in any of the presented experiments.</p>
      <p id="d2e3864">Given that the CC is always positive for all the experiments, the misfit statistics for the experiments listed in Table 1 are also analysed in terms of relative improvement with respect to the free-run or Exp-1 according to the following metrics definition:

                <disp-formula specific-use="gather" content-type="numbered"><mml:math id="M153" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E14"><mml:mtd><mml:mtext>14</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">uRMSE</mml:mi><mml:mrow><mml:mi mathvariant="normal">Exp</mml:mi><mml:mi mathvariant="normal">#</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfenced close=")" open="("><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi mathvariant="normal">uRMSE</mml:mi><mml:mi mathvariant="normal">Ref</mml:mi></mml:msub><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mo>-</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msub><mml:mi mathvariant="normal">uRMSE</mml:mi><mml:mrow><mml:mi mathvariant="normal">Exp</mml:mi><mml:mi mathvariant="normal">#</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi mathvariant="normal">uRMSE</mml:mi><mml:mi mathvariant="normal">Ref</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mo>×</mml:mo><mml:mn mathvariant="normal">100</mml:mn><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E15"><mml:mtd><mml:mtext>15</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:msub><mml:mi mathvariant="normal">CC</mml:mi><mml:mrow><mml:mi mathvariant="normal">Exp</mml:mi><mml:mi mathvariant="normal">#</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfenced close=")" open="("><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi mathvariant="normal">CC</mml:mi><mml:mrow><mml:mi mathvariant="normal">Exp</mml:mi><mml:mi mathvariant="normal">#</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="normal">CC</mml:mi><mml:mi mathvariant="normal">Ref</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi mathvariant="normal">CC</mml:mi><mml:mi mathvariant="normal">Ref</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mo>×</mml:mo><mml:mn mathvariant="normal">100</mml:mn><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

          where # indicates the different experiments listed in Table 1 and “Ref” denotes the free-run or Exp-1. <inline-formula><mml:math id="M154" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">CC</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is only calculated using Exp-1 as the reference. The exclusion of the free-run as a reference is necessary because the very small CC values would lead to excessively large percentage values that hinder meaningful comparison between the different experiments. In the manuscript the relative performance statistics are presented only for the SLA data given that a similar comparison for the temperature and salinity did not provide additional insights.</p>
</sec>
</sec>
<sec id="Ch1.S5">
  <label>5</label><title>Results</title>
      <p id="d2e3999">Figure 3 shows the temperature and salinity increments resulting from different assimilation scheme setups (Table 1), all starting with the same set of SLA misfits. These increments are presented before analysing the skills of the various experiments. The differences between the experiments are generally small, and of the order of 10 %. The largest differences are due to the different number of SLA data assimilated, a result of the constraint imposed by the level-of-no-motion used or the different minimum depth rejection criterion adopted. We note that when the same data are assimilated, thus in areas deeper than 1000 m, very similar increments in SLA are generated by the OceanVar2 regardless of the schemes adopted. However, the schemes differ on how these increments are projected into temperature and salinity increments. Note that the ordinate axes are strongly stretched in the figure to highlight the first 150 m depth where most of the corrections are confined. Comparing Exp-2 and 3, which differ only in the use of spatially and temporally variable expansion and contraction coefficients, we observed small but noticeable differences in the temperature and salinity increments, particularly in the amplitude of near-surface maxima. The choice of sea level operator substantially influenced the results. When using Dynamic Height with a level-of-no-motion set at 1000 m (Exp-6), temperature and salinity increments were comparable to those obtained with the barotropic model. The primary cause of the observed differences appears to be the constraint imposed on assimilated data by the level-of-no-motion. Reducing the level-of-no-motion (Exp-4 and 5) allowed for the assimilation of more sea level anomaly data but resulted in considerably different temperature and salinity increments within the first 100 m compared to the barotropic model.</p>

      <fig id="F3" specific-use="star"><label>Figure 3</label><caption><p id="d2e4004">SLA, Temperature (red/blue) and Salinity (magenta/green) increments obtained from the different OceanVar2 configurations listed in Table1, starting from the same misfits. The SLA track used is drawn in green in Fig. 1. For each experiment in the top panel there are the SLA increments where black dots indicate assimilated data, green dots indicate data rejected based on the coastal distance criteria, red dots indicate data rejected due to the level-of-no-motion or minimum depth (in case of the barotropic model).</p></caption>
        <graphic xlink:href="https://gmd.copernicus.org/articles/19/423/2026/gmd-19-423-2026-f03.png"/>

      </fig>

<sec id="Ch1.S5.SS1">
  <label>5.1</label><title>Barotropic sea level operator and free-run comparison</title>
      <p id="d2e4020">The performance of Exp-1 is compared with free-run. In Fig. 4 the statistics for the SLA are shown. Every point in the time-series represents 5 d window statistics. That is, the overbars and the standard deviations in Eqs. (10), (11), (12) and (13) are computed over a 5 d time window.</p>

      <fig id="F4" specific-use="star"><label>Figure 4</label><caption><p id="d2e4025">Time series of SLA error statistics for the entire year 2021. Blue (“free-run”) and green (“EXP-1”) lines indicate the statistics for the free-run results and the misfit of Exp-1 respectively. Top panel: unbiased root-mean-square error. Middle panel: correlation coefficient, in the bottom panel the standard deviation error is plotted.</p></caption>
          <graphic xlink:href="https://gmd.copernicus.org/articles/19/423/2026/gmd-19-423-2026-f04.png"/>

        </fig>

      <p id="d2e4034">The free-run has an error of about 5 cm, slightly growing during the second half of the year. The model with assimilation underwent a 10–20 d adaptation period, after which the uRMSE of the misfit stabilizes around 3 cm. A consistent improvement is noted in the CC. No seasonal cycle is observed in the CC of Exp-1, whereas the free-run exhibits a distinct summer minimum in the correlations. The SDE in the free-run is on average negative and it is characterized by 5 d oscillations. In Exp-1, the SDE stabilized around values of 0.25 cm, indicating an overestimation of the observed variability.</p>
      <p id="d2e4038">The SLA yearly averaged statistics were clustered according to ocean bathymetry and are plotted in Fig. 5. In areas with bathymetry between 150 and 2500 m, the free-run exhibited an almost constant uRMSE. However, the error increases in shallower and deeper regions, reaching the maximum in areas deeper than 3500 m. The uRMSE of the Exp-1 was more stable and approximately half of the corresponding free-run statistics. Regardless of the region considered, Exp-1 has better statistics than the free-run, indicating the effectiveness of the assimilation procedure. For the CC differences between free-run and Exp-1 results are also evident. In the free-run CC decreases with depth, while for the Exp-1 we observe an opposite tendency. In terms of SDE, the largest improvements with respect to the free-run are in shallow areas. The free-run underestimates the variance in areas with bathymetry shallower than 1000 m, this is particularly evident in areas shallower than 150 m. The model with data assimilation tends to overestimate the observed variability particularly in shallow areas.</p>

      <fig id="F5" specific-use="star"><label>Figure 5</label><caption><p id="d2e4043">SLA statistics as a function of the ocean depth. Blue and green bars indicate the free-run and Exp-1 results respectively. In the top panel the number of observations used is also provided with dark bars.</p></caption>
          <graphic xlink:href="https://gmd.copernicus.org/articles/19/423/2026/gmd-19-423-2026-f05.png"/>

        </fig>

      <p id="d2e4052">In Fig. 6 the vertical profiles of uRMSE, MB, CC and SDE for salinity (upper panels) and temperature (bottom panels) for the free-run and the Exp-1 are shown. Statistics are computed against all available ARGO and XBT profiles. The vertical structure of the salinity uRMSE is similar between the free-run and the Exp-1. The salinity errors are characterized by a near surface maximum which is reduced in the assimilative run. The MB in the free-run has a subsurface minimum at 100 m depth, while Exp-1 misfits have almost homogenous values through all the water column. The CC resembles the vertical distribution of the uRMSE, with values approaching the unity in both the experiments below 500 m depth. Finally the salinity SDE confirms the large improvement arising from the assimilation procedure. In the near surface layer, the free and the assimilative run have opposite behaviours, with the free-run overestimating the observed variability while the assimilative run underestimating it. Below 100 m depth the SDE salinity values of Exp-1 are noticeably reduced with respect to the free-run.</p>

      <fig id="F6" specific-use="star"><label>Figure 6</label><caption><p id="d2e4057">Vertical profiles of yearly averaged misfit statistics for salinity (top panels) and temperature (bottom panels). From left to right: uRMSE, ME, CC and SDE. Blue and green lines indicate free-run and Exp-1 results respectively.</p></caption>
          <graphic xlink:href="https://gmd.copernicus.org/articles/19/423/2026/gmd-19-423-2026-f06.png"/>

        </fig>

      <p id="d2e4066">The temperature uRMSE and CC are characterized by a strong, summer intensified (not shown), subsurface maximum/minimum due to the model difficulties in reproducing the correct stratification. A second uRMSE local maximum (CC minimum) is present around 300 m probably related to the misrepresentation of the Levantine Intermediate Water (LIW) advection in the different Mediterranean regions. A third temperature error relative maximum is present between 1000 and 1500 m depth. The assimilation corrects all the errors by approximately 30 %–50 % down to 500 m, less below this depth.</p>
      <p id="d2e4070">Temperature MB is largely improved by assimilation. The free-run tends to overestimate the observed temperature variability, and the SDE has a marked vertical structure. In general, the assimilation seems capable of correcting most of the model errors except in the upper thermocline/mixed layer depth. Analysis of the corresponding time-series (not shown) indicates a clear summer maximum in all the error statistics in proximity of the mixed layer depth. This behaviour is shared between all the different experiments, but it is clearly reduced in the assimilative runs. However, the persistence of this error maximum suggests a limitation in the current formulation of the Background Error Covariance. Specifically, the static, climatological nature of the EOFs used to model the vertical error component struggles to fully capture the rapidly evolving stratification and strong vertical gradients characteristic of the summer mixed layer. Future development will prioritize replacing these EOFs with more dynamic and stratification-aware operators to address this deficiency.</p>
</sec>
<sec id="Ch1.S5.SS2">
  <label>5.2</label><title>Sensitivity experiments to the sea level operator</title>
      <p id="d2e4082">Figure 7 illustrates the performance of the six different data assimilation experiments (without velocity corrections) in terms of correlation coefficient (CC) and improvements in root-mean-square error (<inline-formula><mml:math id="M155" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">uRMSE</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) relative to the model free-run. The top panels display the time evolution of these improvements, highlighting both short-term fluctuations and overall trends. The bottom panels present the time-averaged <inline-formula><mml:math id="M156" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">uRMSE</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and CC clustered by bathymetric depth ranges, revealing how the effectiveness of each experiment varies with depth. All assimilative experiments outperformed the model free-run. Experiments using the dynamic height as the sea level operator, with levels of no motion set at 150 m (Exp-4) or 1000 m (Exp-6), generally performed worse than the other experiments. For Exp-6, the differences in both uRMSE and CC were particularly noticeable in regions shallower than 1000 m, where SLA data were not assimilated. However, even in these regions, Exp-6 substantially outperformed the model free-run, suggesting that corrections applied in deeper areas effectively propagated into shallower regions. In Exp-4, the deterioration in results compared to other experiments was primarily confined to deeper regions. In areas shallower than 150 m Exp-1 outperforms the other experiments, however the performances of the experiments are similar indicating that the coastal areas are strongly constrained by the open ocean dynamics. A clear dependence of the CC on model bathymetry was evident in all experiments with the most significant improvements (with respect to the free-run) observed in areas deeper than 3500 m, where the model free-run exhibited the smallest CC. In shallow regions, Exp-6 generally provided the smallest improvement in CC compared to the other experiments. The results demonstrate that certain experiments achieve substantial improvements in deep-ocean regions, while others show more consistent performance across all depths. These results highlight the challenges associated with choosing an appropriate level-of-no-motion in data assimilation of SLA. The requirement to define a spatially constant level-of-no-motion, which is inherent to the dynamic height operator, demonstrates the critical limitations imposed by its theoretical assumptions, and our experimental results explicitly highlight these deficiencies. This constraint imposes a critical methodological compromise. For instance, maintaining a conservative, deep level-of-no-motion (e.g., 1000 m in Exp-6) ensures physical consistency but mandates the exclusion of a large fraction of the available SLA observations. Conversely, adopting a shallower level-of-no-motion (e.g., 150 m in Exp-4) maximizes observation coverage, yet the resulting analysis is compromised due to the violation of the theoretical assumptions in deeper water, ultimately leading to degraded accuracy. The choice of the level-of-no-motion can significantly impact the accuracy of model analysis, especially in complex regions with varying bathymetry and ocean dynamics, thereby confirming the methodological advantage of the barotropic model operator which successfully assimilates all available SLA data without imposing a constant level-of-no-motion constraint.</p>

      <fig id="F7" specific-use="star"><label>Figure 7</label><caption><p id="d2e4109"><inline-formula><mml:math id="M157" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">uRMSE</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and CC indices for the SLA misfit errors for the different experiments. <inline-formula><mml:math id="M158" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">uRMSE</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is computed w.r.t the free-run. Top two panels: time-series. Bottom panels: average indices for bathymetry classes.</p></caption>
          <graphic xlink:href="https://gmd.copernicus.org/articles/19/423/2026/gmd-19-423-2026-f07.png"/>

        </fig>

      <p id="d2e4139">Figure 8 presents the relative performance of five data assimilation experiments (Exp-2 through Exp-6) compared to a baseline assimilative experiment (Exp-1), now used as the reference. The top panels illustrate the time series of the relative change in root-mean-square error (<inline-formula><mml:math id="M159" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">uRMSE</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) and correlation coefficient (<inline-formula><mml:math id="M160" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">CC</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>). The bottom panels depict the time-averaged <inline-formula><mml:math id="M161" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">uRMSE</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M162" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">CC</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> changes, categorized by bathymetric depth ranges. In contrast to the previous figure, where improvements were relative to a model free-run, this figure demonstrates the relative performance of each experiment against the initial data assimilation run. Negative values indicate a decrease in performance (higher uRMSE or lower CC) compared to Exp-1, while positive values indicate improvement. This comparison highlights the incremental benefits or drawbacks of different experimental configurations in relation to a specific data assimilation configuration.</p>

      <fig id="F8" specific-use="star"><label>Figure 8</label><caption><p id="d2e4189"><inline-formula><mml:math id="M163" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">uRMSE</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M164" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi mathvariant="normal">CC</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> indices for % of improvement of the SLA errors for the different experiments w.r.t Exp-1. Top two panels: time-series. Bottom panels: average indices for bathymetry classes.</p></caption>
          <graphic xlink:href="https://gmd.copernicus.org/articles/19/423/2026/gmd-19-423-2026-f08.png"/>

        </fig>

      <p id="d2e4219">All the experimental configurations employing the barotropic model perform similarly to each other. In terms of time-series comparison, Exp-4 (with dynamic height as sea level operator and level-of-no-motion equal to 150 m) has performance worse than all the other experiments. Among the experiments using the dynamic height operator, Exp-5 generally has better results both in terms of uRMSE and CC. The analysis per bathymetric class highlights the differences among the experiments. None of the experiments outperform Exp-1 in regions shallower than 150 m both in terms of uRMSE and CC. In deeper areas we see that Exp-4 and Exp-5 produce, in general, worse results, and the worsening is amplified as the depth increases and the level-of-no-motion decreases; 1000 m depth is a clear boundary for the effectiveness of Exp-6. Employing the barotropic model as a sea level operator yields consistent results, with small sensitivity to the minimum depth used in the rejection criterion or to the choice of constant or variable expansion/contraction coefficients. This confirms the difficulty of establishing a constant level-of-no-motion and highlights the benefit of using the barotropic model as a balancing mechanism.</p>
</sec>
<sec id="Ch1.S5.SS3">
  <label>5.3</label><title>Sensitivity experiments to velocity corrections</title>
      <p id="d2e4230">The second set of experiments (Exp-1<sup>*</sup> to Exp-6<sup>*</sup>) was carried out including velocity corrections in the analysis estimates. This second set represents the maximal scope of multivariate assimilation, providing a benchmark against the mass-field-only correction of the first set. The OceanVar2 configuration used in Exp-4<sup>*</sup> generated velocity increments that led to numerical instabilities in the ocean model, preventing this simulation from completing. This critical instability confirms the operational risk associated with introducing direct momentum corrections and highlights the sensitivity of Exp-4. In contrast, the other experiments in this set ran without such issues, underscoring the challenges associated with dynamic height methods. Consequently, our focus is on the stable experiments. Across all the stable configurations, the successful experiments in the second set, which included velocity corrections, demonstrated improved performance compared to their counterparts in the first set, without velocity corrections. The extent of improvement varies depending on the specific experiment and the region analysed.</p>
      <p id="d2e4260">Figure 9 shows the time series and Fig. 10 presents temporally averaged statistics by bathymetric class for the second set of experiments. In terms of time series (Fig. 9), the error components exhibit the same characteristics as those discussed for Exp-1 (Figs. 4 and 5). The uRMSE exhibits a summer minimum in all experiments. Exp-6<sup>∗</sup> performs significantly worse than the others throughout the year. All experiments using the barotropic model have similar uRMSE values, with Exp-1<sup>∗</sup> generally appearing slightly better than the others. The correlation coefficient (CC) increases throughout the experiment's length. For this statistic as well, Exp-6<sup>∗</sup> is the worst, showing consistently lower values than the other experiments. Even for the SDE, which is generally reduced compared to the previously studied experiments without velocity corrections, the relative performance of the different experiments is confirmed.</p>

      <fig id="F9" specific-use="star"><label>Figure 9</label><caption><p id="d2e4292">Second set of experiments SLA time series error statistics. Top panel: unbiased root-mean-square error. Middle panel: correlation coefficient. Bottom panel: standard deviation error. Colour code is provided in the middle panel legend.</p></caption>
          <graphic xlink:href="https://gmd.copernicus.org/articles/19/423/2026/gmd-19-423-2026-f09.png"/>

        </fig>

      <p id="d2e4302">Figure 10 presents the temporally averaged statistics clustered according to the bathymetry. All the stable experiments benefited greatly from the inclusion of the velocity corrections. The overall reduction in error confirms the importance of the velocity increments when the system remains stable. Exp-6<sup>∗</sup> confirms its poor performance in areas shallower than 1500 m. However, by also correcting the velocities, its statistics in deep areas are now similar or slightly better than those obtained from experiments using the barotropic model as operator in the background error covariance matrix. Exp-1<sup>∗</sup> is now the best among those analysed for all the bathymetric classes shallower than 500 m.</p>

      <fig id="F10" specific-use="star"><label>Figure 10</label><caption><p id="d2e4325">SLA statistics as a function of the ocean depth. Top panel: unbiased root-mean-square error. Middle panel: correlation coefficient. Bottom panel: standard deviation error. Colour code is provided in the top panel legend.</p></caption>
          <graphic xlink:href="https://gmd.copernicus.org/articles/19/423/2026/gmd-19-423-2026-f10.png"/>

        </fig>

      <p id="d2e4334">In terms of correlation coefficient, the results previously obtained by analysing uRMSE seem to be confirmed. For shallow areas (<inline-formula><mml:math id="M173" display="inline"><mml:mrow><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">1000</mml:mn></mml:mrow></mml:math></inline-formula> m), Exp-6<sup>∗</sup> is significantly worse than the others. In all other bathymetric classes, while confirming the previous findings, the differences between the experiments are less pronounced. A different behaviour is observed when analysing the standard deviation of the error. Exp-1<sup>∗</sup> remains the configuration that shows significantly lower error values than the others in almost all bathymetric classes. Notably, Exp-6<sup>*</sup> is the one that benefits the most from velocity corrections, demonstrating that for this specific configuration, the direct momentum increments overcome other methodological weaknesses.</p>
</sec>
</sec>
<sec id="Ch1.S6">
  <label>6</label><title>Computational performance and parallelization</title>
      <p id="d2e4384">To improve computational performance, OceanVar2 adopts a domain-decomposition scheme. This scheme leverages the computing power of a parallel computer by partitioning the computational domain into subdomains. Each process executes the necessary operations to update its portion of the global domain, sharing communications with neighbouring processes for lateral boundary treatments using Message Passing Interface (MPI) calls (The MPI Forum, 1993).</p>
      <p id="d2e4387">Rigorous testing has been conducted to guarantee bit-for-bit (BFB) reproducibility for the entire data assimilation system, excluding the cost function minimizer, across runs with different MPI processes as well as runs with the same amount of MPI processes but different partitioning of the structured geographic grid. The quasi-Newton L-BFGS minimizer (Byrd et al., 1995), employed for numerical minimization of the cost function, necessitates global matrix-vector multiplication, which precludes BFB reproducibility when domain decomposition is utilized. Divergences between executions stem from the non-associativity of floating-point operations, particularly floating-point summation within the minimizer. To specifically test and ensure that the parallelization of the rest of the assimilation system is fully reproducible, OceanVar2 offers the flexibility to execute the minimizer serially (by aggregating variables from all domains and forcing a fixed order of operations) while the remaining code is parallelized using MPI domain decomposition. Extensive testing has demonstrated that using this specific serial option for the minimizer ensures BFB reproducibility. Moreover, even when the minimizer is executed in parallel, differences arising from various domain decompositions are statistically insignificant. Possible future work includes the introduction of a different minimizer suited for MPI parallelization.</p>
      <p id="d2e4390">Neglecting the differences arising from the parallel execution of the minimizer, the computational performance of the different experiments was evaluated in terms of minimizer iterations and code scalability. Figure 11 compares the number of iterations required for the minimizer to converge in the various OceanVar2 experiments. The results are presented as a probability distribution, with statistics calculated based on the year of assimilation testing. Consistently, all experiments using the dynamic height operator converged with fewer iterations than those employing the barotropic model. The choice of the level-of-no-motion had a small effect, where the median increased from 24 to 25 iterations when using 350 or 150 m instead of 1000 m. However, the primary insight is that the choice of the free surface operator formulation and the level-of-no-motion have negligible impact on the overall convergence speed. The median number of required iterations remains stable across all the experiments, varying only from 24 to 26 iterations. These differences between the median values appear insignificant when considered in the context of the wide day-to-day variability in the required convergence steps observed across the assimilation year, which spans approximately 12 to 45 iterations due to fluctuation in data availability and associated misfit values. The observed increase in the median number of iterations for the barotropic model schemes is likely due to the barotropic model's inherent physical complexity, which results in a more intricate optimization landscape for the minimizer to navigate.</p>

      <fig id="F11" specific-use="star"><label>Figure 11</label><caption><p id="d2e4396">Probability density function (<inline-formula><mml:math id="M177" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula> axis) of the number of iteration (<inline-formula><mml:math id="M178" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula> axis) needed for the OceanVar2 minimization algorithm to converge. For each experiment, the lighter and darker shaded areas correspond to the 90 % and 50 % of the events respectively. The vertical lines are the medians of each distribution. Exp-1 to Exp-6 from top to bottom.</p></caption>
        <graphic xlink:href="https://gmd.copernicus.org/articles/19/423/2026/gmd-19-423-2026-f11.png"/>

      </fig>

      <p id="d2e4419">To assess scalability, we limited the comparison to Exp-2 and Exp-4, as they had the same number of assimilated observations. We tested OceanVar2's performance with increasing numbers of cores. For a fixed number of cores, we performed experiments using eight different sets of observations and various decomposition strategies. (e.g., with 16 cores, we tested <inline-formula><mml:math id="M179" display="inline"><mml:mrow><mml:mn mathvariant="normal">4</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">4</mml:mn></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M180" display="inline"><mml:mrow><mml:mn mathvariant="normal">8</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula>). The results are shown in Fig. 12. The model grid consisted of <inline-formula><mml:math id="M181" display="inline"><mml:mrow><mml:mn mathvariant="normal">1307</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">380</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">141</mml:mn></mml:mrow></mml:math></inline-formula> points along the <inline-formula><mml:math id="M182" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M183" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="M184" display="inline"><mml:mi>z</mml:mi></mml:math></inline-formula> directions, respectively. Analysis not shown here confirms that, in these experiments, the computational load across subdomains does not show significant differences based on geometric peculiarities, such as coastal proximity. Instead, the computational load of a subdomain, and thus the total execution time, was primarily determined by the overall number of assimilated observations. This finding is consistent with the global nature of the variational solver and the number of iterations required for convergence. Notably, subdomains completely covered by land still required execution time comparable to the other domains. This occurred as a direct result of the land-sea mask not being used to optimize the domain decomposition, since the decomposition was based solely on the model grid geometry. The top panel of Fig. 12 shows the CPU time per core as a function of the number of cores for Exp-2 and Exp-4. Consistently with Fig. 11, the solid lines, representing the average CPU time, indicate that the difference between the dynamic height scheme (Exp-4) and the barotropic model (Exp-2) operators is minimal across all core counts, especially considering the large variability in run times, evidenced by the shaded areas indicating the maximum and minimum CPU time. More importantly, the speedup achieved is limited; increasing the cores from 1 to 36 yields a speedup of approximately 8, corresponding to a parallel efficiency of about 22 %. Furthermore, both experiments reach a performance plateau around 36 cores, with run time generally deteriorating at higher core counts due to increased communication overhead.</p>

      <fig id="F12" specific-use="star"><label>Figure 12</label><caption><p id="d2e4486">Parallel performance and routine-level scalability. Top panel: CPU time per core (minutes) as a function of the number of cores for Exp-2 and Exp-4. Solid lines represent the average CPU time, while shaded areas indicate the maximum and minimum CPU time observed for each core count. Bottom panel: Scalability analysis of individual Background Error Covariance matrix components. The <inline-formula><mml:math id="M185" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula>-axis is the percentage of reduction time with respect to the serial (single core) execution. Solid lines indicate the minimum execution time and dashed lines indicate the maximum execution time observed across different days and domain decompositions for both the tangent linear and adjoint routines. The solid black line indicates the linear reduction with the number of cores, and coloured lines show the performance of individual routines (component colours are defined in the figure legend).</p></caption>
        <graphic xlink:href="https://gmd.copernicus.org/articles/19/423/2026/gmd-19-423-2026-f12.png"/>

      </fig>

      <p id="d2e4502">To understand this limited parallel efficiency, the bottom panel of Fig. 12 presents the scalability (expressed as a percentage of efficiency relative to the serial code) for the different <bold>B</bold> matrix operators. The diffusive filter operator acts as the main bottleneck. Its efficiency decreases rapidly at higher core counts and then exhibits a negligible further performances gain, stabilizing beyond 36 cores. This filter, which utilizes an implicit scheme, was implemented using a dimensional splitting approach. It is solved by means of LU decomposition of a tridiagonal matrix. We acknowledge that the implementation and parallelization strategy employed is suboptimal. This design choice simultaneously precludes optimal parallelization and results in the diffusive filter's extreme sensitivity to the geometry of the domain decomposition, which is the primary cause of the wide run-time variability shown in the top panel. This sequential process requires all processors associated with subsequent columns of subdomains to wait and then repeats along the second dimension (rows of subdomains). Although this crude, initial implementation constrains the overall parallel efficiency, the resulting total execution time remains within acceptable limits, rendering the software suitable for our current purposes. Future development will prioritize a more scalable parallelization strategy for this critical routine. Examining the remaining key operators reveals a strong general trend: while efficiency is high up to 36 cores, all remaining components experience a reduction in scaling performance thereafter. The barotropic model operator is the least affected by this change in scaling efficiency observed past 36 cores, maintaining the highest efficiency among the <bold>B</bold> operators.</p>
</sec>
<sec id="Ch1.S7" sec-type="conclusions">
  <label>7</label><title>Conclusions</title>
      <p id="d2e4519">This study describes recent developments of the OceanVar software which implements an incremental variational ocean data assimilation scheme. Key innovations compared to the previous schemes (DP08, Storto et al., 2011, 2016) include the implementation and evaluation of two alternative solutions for the sea level operator, encompassing both barotropic model and dynamic height operator. Furthermore, a diffusive operator has been adopted to model Gaussian horizontal covariances, replacing the recursive filter used in previous code versions. Finally, the geostrophic velocity operator is utilized for total velocity corrections, deviating from the DP08 approach and applied to both dynamic height and barotropic sea level operators.</p>
      <p id="d2e4522">Furthermore, a method for filtering the tidal components of the background model fields is applied and tested allowing the assimilation of SLA without tides, together with in-situ temperature and salinity data to produce analyses. These new and old features in OceanVar2 have been tested and compared for a regional implementation of the assimilation scheme in the Mediterranean Sea.</p>
      <p id="d2e4525">It has emerged that the barotropic operator is the only operator capable of consistently assimilating sea level anomaly data in shallow and deep ocean regions. Variable <inline-formula><mml:math id="M186" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M187" display="inline"><mml:mi mathvariant="italic">β</mml:mi></mml:math></inline-formula> parameters in the linear equation of state (7) yielded minor differences in our experiments, however this assumption is likely not to be valid in global models.</p>
      <p id="d2e4542">The dynamic height operator, though easy to implement, has clear limitations. Requiring the definition of a spatially independent level-of-no-motion, it does not provide an optimal solution in domains with highly variable bottom topography and dynamics. For the Mediterranean Sea, a level-of-no-motion equal to 1000 m is appropriate, as demonstrated by the quality of the corrections obtained with OceanVar2. However, this represents a significant limitation, as it excludes the assimilation of SLA observations in shallower areas. Decreasing the level-of-no-motion depth reveals the limitations of this approach. For shallower levels, the benefits of assimilating more data are offset by the loss of the quality of the corrections in deeper areas. The results are corroborated by the numerical instabilities arising when velocity corrections are applied in experiments with a level-of-no-motion shallower than 350 m. The emergence of this critical instability provides a clear empirical demonstration that violating the inherent physical consistency assumptions used to construct the <bold>B</bold> matrix can lead to unstable solutions. Consequently, the optimal choice of operator depends on balancing the need for maximal observational impact with the requirement for numerical stability within the specific operational framework.</p>
      <p id="d2e4549">Although the barotropic model is inherently more complex and thus computationally more expensive than the dynamic height operator, its impact on the total run time is minor. This is because the semi-implicit scheme used to discretize the barotropic equations allows for large time-steps, significantly limiting the computational demand. This small computational overhead ensures that the barotropic model operator does not become the dominant factor in execution time.</p>
      <p id="d2e4552">The adopted solutions simplify the application of OceanVar2 in complex areas of the world's oceans. To our knowledge OceanVar2 is the only data assimilation software employing a barotropic model in its model background error covariance matrix. It is important to note that the current implementation of the barotropic model uses closed lateral boundary conditions. Its applicability is therefore limited to basins with a geometry that allows this approximation. In the future the barotropic model will be implemented also with open boundary conditions.</p>
      <p id="d2e4555">Regarding parallel performance, the diffusive filter overhead is currently the dominant computing factor, constraining the overall scalability. We acknowledge that the first implementation of the diffusive filter used in OceanVar2 limits the system's parallel efficiency. However, we chose this direction, replacing the previously used recursive filter, due to the superior flexibility and adaptability the diffusive filter offers for modeling horizontal error correlations.</p>
      <p id="d2e4558">The mathematical and algorithmic core of the system, first presented in DP08 and subsequently used in various operational forecasting frameworks, has been largely documented in several scientific works. Based on extensive testing, the revised code is stable and robust, with its performance results presented throughout this work. The present version, OceanVar2, is also open to the community.</p>
</sec>

      
      </body>
    <back><notes notes-type="codeavailability"><title>Code availability</title>

      <p id="d2e4565">The OceanVar2.0 code is publicly available under a GPLv3 licence (<uri>https://www.gnu.org/licenses/gpl-3.0.txt</uri>, last access: 15 January 2025) at <uri>https://github.com/CMCC-Foundation/OceanVar2</uri> (last access: 15 January 2025) together with a user guide on compiling and running the code (Adani et al., 2025, <uri>https://github.com/CMCC-Foundation/OceanVar2/blob/main/doc/OceanVar_User_Manual.pdf</uri>, last access: 7 January 2026; <ext-link xlink:href="https://doi.org/10.5281/zenodo.15593468" ext-link-type="DOI">10.5281/zenodo.15593468</ext-link>, Oddo et al., 2025). The code used in this manuscript is permanently archived at <ext-link xlink:href="https://doi.org/10.5281/zenodo.15593468" ext-link-type="DOI">10.5281/zenodo.15593468</ext-link> (Oddo et al., 2025). A test case can be downloaded at <uri>https://github.com/CMCC-Foundation/MedFS831</uri> (last access: 15 January 2025). The ocean model used is based on the NEMO source code (version 4.2.0) is accessible on Zenodo <ext-link xlink:href="https://doi.org/10.5281/zenodo.6334656" ext-link-type="DOI">10.5281/zenodo.6334656</ext-link> (Madec and the NEMO System Team, 2022).</p>
  </notes><notes notes-type="dataavailability"><title>Data availability</title>

      <p id="d2e4593">All datasets used in this study are publicly accessible except for the atmospheric forcing fields. <list list-type="bullet"><list-item>
      <p id="d2e4598">Initial and open-boundary conditions were obtained from Copernicus Marine Service products, which are openly available through the service as cited in the manuscript.</p></list-item><list-item>
      <p id="d2e4602">Observational datasets (including SLA, ARGO, and XBT measurements) are likewise publicly available from the Copernicus Marine Service.</p></list-item><list-item>
      <p id="d2e4606">The atmospheric forcing fields used to drive the model are operational ECMWF products, which are not publicly distributed and must be requested directly from ECMWF.</p></list-item></list></p>
  </notes><app-group>
        <supplementary-material position="anchor"><p id="d2e4609">The supplement related to this article is available online at <inline-supplementary-material xlink:href="https://doi.org/10.5194/gmd-19-423-2026-supplement" xlink:title="pdf">https://doi.org/10.5194/gmd-19-423-2026-supplement</inline-supplementary-material>.</p></supplementary-material>
        </app-group><notes notes-type="authorcontribution"><title>Author contributions</title>

      <p id="d2e4619">PO is the main author; he is the lead developer of OceanVar2. MA played a central role in the discussion; he led the developments; he wrote the code, and he performed all the experiments. FC contributed to the MPI parallelization, BFB reproducibility and debugging of the OceanVar2 code. AC contributed to the writing of the manuscript, and in incorporating some routines from previous code version. ACG computed the tidal constants used in all the experiments. EJ, AA, FM and IE were involved in the discussions and the definition of the development strategy. JP computed the EOFs used in all the experiments. EC and SM played a central role in the discussion. NP contributed to the writing of the manuscript; she was active co-leading the scientific development.</p>
  </notes><notes notes-type="competinginterests"><title>Competing interests</title>

      <p id="d2e4625">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="d2e4631">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="d2e4637">We sincerely thank Dr. Srdjan Dobricic and Dr. Andrea Storto for their invaluable contributions to the development of the OceanVar system during their past collaboration with CMCC. Dr. Dobricic established the fundamental basis on which this work builds, while Dr. Storto implemented key components that enabled the generalization of the code for global applications. Although these elements were not directly used in the present study, they remain an essential part of the OceanVar framework.</p></ack><notes notes-type="reviewstatement"><title>Review statement</title>

      <p id="d2e4642">This paper was edited by Julia Hargreaves and reviewed by two anonymous referees.</p>
  </notes><ref-list>
    <title>References</title>

      <ref id="bib1.bib1"><label>1</label><mixed-citation>Adani, M., Dobricic, S., and Pinardi, N.: Quality assessment of a 1985–2007 Mediterranean Sea reanalysis, J. Atmos. Oceanic Technol., 28, 569–589, <ext-link xlink:href="https://doi.org/10.1175/2010JTECHO798.1" ext-link-type="DOI">10.1175/2010JTECHO798.1</ext-link>, 2011.</mixed-citation></ref>
      <ref id="bib1.bib2"><label>2</label><mixed-citation>Adani, M., Aydogdu, A., Cipollone, A., Jansen, E., Carere, F., and Oddo, P.: OceanVar User Manual, <uri>https://github.com/CMCC-Foundation/OceanVar2/blob/main/doc/OceanVar_User_Manual.pdf</uri> (last access: 15 January 2025), 2025.</mixed-citation></ref>
      <ref id="bib1.bib3"><label>3</label><mixed-citation>Anderson, J. L., Hoar, T., Raeder, K., Liu, H., Collins, N., Torn, R., and Arellano, A.: The Data Assimilation Research Testbed: a community facility, Bull. Am. Meteorol. Soc., 90, 1283–1296, <ext-link xlink:href="https://doi.org/10.1175/2009BAMS2618.1" ext-link-type="DOI">10.1175/2009BAMS2618.1</ext-link>, 2009.</mixed-citation></ref>
      <ref id="bib1.bib4"><label>4</label><mixed-citation>Arbic, B. K.: Incorporating tides and internal gravity waves within global ocean general circulation models: a review, Prog. Oceanogr., 206, 102824, <ext-link xlink:href="https://doi.org/10.1016/j.pocean.2022.102824" ext-link-type="DOI">10.1016/j.pocean.2022.102824</ext-link>, 2022.</mixed-citation></ref>
      <ref id="bib1.bib5"><label>5</label><mixed-citation> Barthélémy, S., Brajard, J., Bertino, L., and Counillon, F.: Super-resolution data assimilation, Ocean Dyn., 72, 661–678, 2022.</mixed-citation></ref>
      <ref id="bib1.bib6"><label>6</label><mixed-citation>Beauchamp, M., Febvre, Q., Georgenthum, H., and Fablet, R.: 4DVarNet-SSH: end-to-end learning of variational interpolation schemes for nadir and wide-swath satellite altimetry, Geosci. Model Dev., 16, 2119–2147, <ext-link xlink:href="https://doi.org/10.5194/gmd-16-2119-2023" ext-link-type="DOI">10.5194/gmd-16-2119-2023</ext-link>, 2023.</mixed-citation></ref>
      <ref id="bib1.bib7"><label>7</label><mixed-citation>Broccoli, M. and Cipollone, A.: Assimilation of diurnal satellite retrieval of sea surface temperature with convolutional neural network, Mach. Learn.: Earth, 1, 015007, <ext-link xlink:href="https://doi.org/10.1088/3049-4753/adfb7e" ext-link-type="DOI">10.1088/3049-4753/adfb7e</ext-link>, 2025.</mixed-citation></ref>
      <ref id="bib1.bib8"><label>8</label><mixed-citation> Byrd, R. H., Lu, P., Nocedal, J., and Zhu, C.: A limited memory algorithm for bound constrained optimization, SIAM J. Sci. Comput., 16, 1190–1208, 1995.</mixed-citation></ref>
      <ref id="bib1.bib9"><label>9</label><mixed-citation> Cao, A.-Z., Wang, D.-S., and Lv, X.-Q.: Harmonic analysis in the simulation of multiple constituents: determination of the optimum length of time series, J. Atmos. Oceanic Technol., 32, 1112–1118, 2015.</mixed-citation></ref>
      <ref id="bib1.bib10"><label>10</label><mixed-citation>Carrassi, A., Bocquet, M., Bertino, L., and Evensen, G.: Data assimilation in the geosciences: an overview of methods, issues, and perspectives, WIREs Clim. Change, 9, e535, <ext-link xlink:href="https://doi.org/10.1002/wcc.535" ext-link-type="DOI">10.1002/wcc.535</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bib11"><label>11</label><mixed-citation>Cipollone, A., Banerjee, D. S., Iovino, D., Aydogdu, A., and Masina, S.: Bivariate sea-ice assimilation for global-ocean analysis–reanalysis, Ocean Sci., 19, 1375–1392, <ext-link xlink:href="https://doi.org/10.5194/os-19-1375-2023" ext-link-type="DOI">10.5194/os-19-1375-2023</ext-link>, 2023.</mixed-citation></ref>
      <ref id="bib1.bib12"><label>12</label><mixed-citation>Clementi, E., Drudi, M., Aydogdu, A., Moulin, A., Grandi, A., Mariani, A., Goglio, A. C., Pistoia, J., Miraglio, P., Lecci, R., Palermo, F., Coppini, G., Masina, S., and Pinardi, N.: Mediterranean Sea Physical Analysis and Forecast (CMS MED-Physics, EAS8 system) (Version 1), Copernicus Marine Service [data set], <uri>https://doi.org/10.25423/CMCC/MEDSEA_ANALYSISFORECAST_PHY_006_013_EAS8</uri>, 2023.</mixed-citation></ref>
      <ref id="bib1.bib13"><label>13</label><mixed-citation>Ciliberti, S. A., Jansen, E., Coppini, G., Peneva, E., Azevedo, D., Causio, S., Stefanizzi, L., Creti, S., Lecci, R., Lima, L.,  Ilicak, M., Pinardi, N., and Palazov, A.: The Black Sea Physics Analysis and Forecasting System within the framework of the Copernicus Marine Service, J. Mar. Sci. Eng., 10, 48, <ext-link xlink:href="https://doi.org/10.3390/jmse10010048" ext-link-type="DOI">10.3390/jmse10010048</ext-link>, 2022.</mixed-citation></ref>
      <ref id="bib1.bib14"><label>14</label><mixed-citation> Cohn, S. E.: An introduction to estimation theory, J. Meteorol. Soc. Jpn., 75, 257–288, 1997.</mixed-citation></ref>
      <ref id="bib1.bib15"><label>15</label><mixed-citation>Coppini, G., Clementi, E., Cossarini, G., Salon, S., Korres, G., Ravdas, M., Lecci, R., Pistoia, J., Goglio, A. C., Drudi, M., Grandi, A., Aydogdu, A., Escudier, R., Cipollone, A., Lyubartsev, V., Mariani, A., Cretì, S., Palermo, F., Scuro, M., Masina, S., Pinardi, N., Navarra, A., Delrosso, D., Teruzzi, A., Di Biagio, V., Bolzon, G., Feudale, L., Coidessa, G., Amadio, C., Brosich, A., Miró, A., Alvarez, E., Lazzari, P., Solidoro, C., Oikonomou, C., and Zacharioudaki, A.: The Mediterranean Forecasting System – Part 1: Evolution and performance, Ocean Sci., 19, 1483–1516, <ext-link xlink:href="https://doi.org/10.5194/os-19-1483-2023" ext-link-type="DOI">10.5194/os-19-1483-2023</ext-link>, 2023.</mixed-citation></ref>
      <ref id="bib1.bib16"><label>16</label><mixed-citation> De Mey, P. and Robinson, A. R.: Assimilation of altimetric fields in a limited area quasigeostrophic model, J. Phys. Oceanogr., 17, 2280–2293, 1987.</mixed-citation></ref>
      <ref id="bib1.bib17"><label>17</label><mixed-citation> Derber, J. and Rosati, A.: A global oceanic data assimilation system, J. Phys. Oceanogr., 19, 1333–1347, 1989.</mixed-citation></ref>
      <ref id="bib1.bib18"><label>18</label><mixed-citation>Desroziers, G., Berre, L., Chapnik, B., and Poli, P.: Diagnosis of observation, background and analysis-error statistics in observation space, Q. J. R. Meteorol. Soc., 131, 3385–3396, <ext-link xlink:href="https://doi.org/10.1256/qj.05.108" ext-link-type="DOI">10.1256/qj.05.108</ext-link>, 2005.</mixed-citation></ref>
      <ref id="bib1.bib19"><label>19</label><mixed-citation>Dhomps, A.-L., Guinehut, S., Le Traon, P.-Y., and Larnicol, G.: A global comparison of Argo and satellite altimetry observations, Ocean Sci., 7, 175–183, <ext-link xlink:href="https://doi.org/10.5194/os-7-175-2011" ext-link-type="DOI">10.5194/os-7-175-2011</ext-link>, 2011.</mixed-citation></ref>
      <ref id="bib1.bib20"><label>20</label><mixed-citation> Dobricic, S. and Pinardi, N.: An oceanographic three-dimensional variational data assimilation scheme, Ocean Model., 22, 89–105, 2008.</mixed-citation></ref>
      <ref id="bib1.bib21"><label>21</label><mixed-citation>Dobricic, S., Pinardi, N., Adani, M., Bonazzi, A., Fratianni, C., and Tonani, M.: Mediterranean Forecasting System: an improved assimilation scheme for sea-level anomaly and its validation, Q. J. R. Meteorol. Soc., 131, 3627–3642, <ext-link xlink:href="https://doi.org/10.1256/qj.05.100" ext-link-type="DOI">10.1256/qj.05.100</ext-link>, 2006.</mixed-citation></ref>
      <ref id="bib1.bib22"><label>22</label><mixed-citation>Dobricic, S., Pinardi, N., Adani, M., Tonani, M., Fratianni, C., Bonazzi, A., and Fernandez, V.: Daily oceanographic analyses by Mediterranean Forecasting System at the basin scale, Ocean Sci., 3, 149–157, <ext-link xlink:href="https://doi.org/10.5194/os-3-149-2007" ext-link-type="DOI">10.5194/os-3-149-2007</ext-link>, 2007.</mixed-citation></ref>
      <ref id="bib1.bib23"><label>23</label><mixed-citation>Dobricic, S., Dufau, C., Oddo, P., Pinardi, N., Pujol, I., and Rio, M.-H.: Assimilation of SLA along track observations in the Mediterranean with an oceanographic model forced by atmospheric pressure, Ocean Sci., 8, 787–795, <ext-link xlink:href="https://doi.org/10.5194/os-8-787-2012" ext-link-type="DOI">10.5194/os-8-787-2012</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bib24"><label>24</label><mixed-citation>Dobricic, S., Wikle, C. K., Milliff, R. F., Pinardi, N., and Berliner, L. M.: Assimilation of oceanographic observations with estimates of vertical background-error covariances by a Bayesian hierarchical model, Q. J. R. Meteorol. Soc., 141, 182–194, <ext-link xlink:href="https://doi.org/10.1002/qj.2348" ext-link-type="DOI">10.1002/qj.2348</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bib25"><label>25</label><mixed-citation>Escudier, R., Clementi, E., Cipollone, A., Pistoia, J., Drudi, M., Grandi, A., Lyubartsev, V., Lecci, R., Aydogdu, A., Delrosso, D., Omar, M., Masina, S., Coppini, G., and Pinardi, N.: A high-resolution reanalysis for the Mediterranean Sea, Front. Earth Sci., 9, 702285, <ext-link xlink:href="https://doi.org/10.3389/feart.2021.702285" ext-link-type="DOI">10.3389/feart.2021.702285</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bib26"><label>26</label><mixed-citation> Foreman, M. G. G.: Manual for tidal heights analysis and prediction, Pacific Marine Science Report 77-10, Institute of Ocean Sciences, Patricia Bay, Sidney, B.C., 58 pp., unpublished manuscript, 1977.</mixed-citation></ref>
      <ref id="bib1.bib27"><label>27</label><mixed-citation> Foreman, M. G. G.: Manual for tidal currents analysis and prediction, Pacific Marine Science Report 78-6, Institute of Ocean Sciences, Patricia Bay, Sidney, B.C., 57 pp., unpublished manuscript, 1978.</mixed-citation></ref>
      <ref id="bib1.bib28"><label>28</label><mixed-citation> Hayden, C. M. and Purser, R. J.: Recursive filter objective analysis of meteorological fields: applications to NESDIS operational processing, J. Appl. Meteorol., 34, 3–15, 1995.</mixed-citation></ref>
      <ref id="bib1.bib29"><label>29</label><mixed-citation>Hoffman, J. D. and Frankel, S.: Numerical Methods for Engineers and Scientists, 2nd edn., CRC Press, Boca Raton, <ext-link xlink:href="https://doi.org/10.1201/9781315274508" ext-link-type="DOI">10.1201/9781315274508</ext-link>, 2001.</mixed-citation></ref>
      <ref id="bib1.bib30"><label>30</label><mixed-citation> Kwizak, M. and Robert, A. J.: A semi-implicit scheme for grid point atmospheric models of the primitive equations, Mon. Weather Rev., 99, 32–36, 1971.</mixed-citation></ref>
      <ref id="bib1.bib31"><label>31</label><mixed-citation>Le Traon, P.-Y., Dibarboure, G., Lellouche, J.-M., Pujol, M.-I., Benkiran, M., Drevillon, M., Drillet, Y., Faugère, Y., and Remy, E.: Satellite altimetry and operational oceanography: from Jason-1 to SWOT, Ocean Sci., 21, 1329–1347, <ext-link xlink:href="https://doi.org/10.5194/os-21-1329-2025" ext-link-type="DOI">10.5194/os-21-1329-2025</ext-link>, 2025.</mixed-citation></ref>
      <ref id="bib1.bib32"><label>32</label><mixed-citation>Lima, L., Ciliberti, S. A., Aydoğdu, A., Masina, S., Escudier, R., Cipollone, A., Azevedo, D., Causio, S., Peneva, E., Lecci, R., Clementi, E., Jansen, E., Ilicak, M., Cretì, S., Stefanizzi, L., Palermo, F., and Coppini, G.: Climate signals in the Black Sea from a multidecadal eddy-resolving reanalysis, Front. Mar. Sci., 8, 710973, <ext-link xlink:href="https://doi.org/10.3389/fmars.2021.710973" ext-link-type="DOI">10.3389/fmars.2021.710973</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bib33"><label>33</label><mixed-citation> Lorenc, A. C.: Iterative analysis using covariance functions and filters, Q. J. R. Meteorol. Soc., 118, 569–591, 1992.</mixed-citation></ref>
      <ref id="bib1.bib34"><label>34</label><mixed-citation> Lorenc, A. C.: Development of an operational variational assimilation scheme, J. Meteorol. Soc. Jpn., 75, 339–346, 1997.</mixed-citation></ref>
      <ref id="bib1.bib35"><label>35</label><mixed-citation>Madec, G. and the NEMO System Team: NEMO ocean engine, Sci. Notes IPSL Clim. Model. Cent., 27, Zenodo [code], <ext-link xlink:href="https://doi.org/10.5281/zenodo.6334656" ext-link-type="DOI">10.5281/zenodo.6334656</ext-link>, 2022.</mixed-citation></ref>
      <ref id="bib1.bib36"><label>36</label><mixed-citation>Madec, G. and the NEMO System Team: NEMO Ocean Engine Reference Manual, Zenodo, <ext-link xlink:href="https://doi.org/10.5281/zenodo.8167700" ext-link-type="DOI">10.5281/zenodo.8167700</ext-link>, 2023.</mixed-citation></ref>
      <ref id="bib1.bib37"><label>37</label><mixed-citation>Martin, M. J., Hoteit, I., Bertino, L., and Moore, A. M.: Data assimilation schemes for ocean forecasting: state of the art, in: Ocean prediction: present status and state of the art (OPSR), edited by: Álvarez Fanjul, E., Ciliberti, S. A., Pearlman, J., Wilmer-Becker, K., and Behera, S., Copernicus Publications, State Planet, 5-opsr, 9, <ext-link xlink:href="https://doi.org/10.5194/sp-5-opsr-9-2025" ext-link-type="DOI">10.5194/sp-5-opsr-9-2025</ext-link>, 2025.</mixed-citation></ref>
      <ref id="bib1.bib38"><label>38</label><mixed-citation>Massart, S., Pajot, B., Piacentini, A., and Pannekoucke, O.: On the merits of using a 3D-FGAT assimilation scheme with an outer loop for atmospheric situations governed by transport, Mon. Weather Rev., 138, 4509–4522, <ext-link xlink:href="https://doi.org/10.1175/2010MWR3237.1" ext-link-type="DOI">10.1175/2010MWR3237.1</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bib39"><label>39</label><mixed-citation> Moore, A. M., Arango, H. G., Broquet, G., Powell, B. S., Weaver, A. T., and Zavala-Garay, J.: The Regional Ocean Modeling System (ROMS) 4-dimensional variational data assimilation systems. Part I: System overview and formulation, Prog. Oceanogr., 91, 34–49, 2011.</mixed-citation></ref>
      <ref id="bib1.bib40"><label>40</label><mixed-citation> Murphy, A. H.: Skill scores based on the mean square error and their relationships to the correlation coefficient, Mon. Weather Rev., 116, 2417–2424, 1988.</mixed-citation></ref>
      <ref id="bib1.bib41"><label>41</label><mixed-citation>Nerger, L. and Hiller, W.: Software for ensemble-based data assimilation systems – implementation strategies and scalability, Comput. Geosci., 55, 110–118, <ext-link xlink:href="https://doi.org/10.1016/j.cageo.2012.03.026" ext-link-type="DOI">10.1016/j.cageo.2012.03.026</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bib42"><label>42</label><mixed-citation>Nilsson, J. A. U., Dobricic, S., Pinardi, N., Poulain, P.-M., and Pettenuzzo, D.: Variational assimilation of Lagrangian trajectories in the Mediterranean ocean Forecasting System, Ocean Sci., 8, 249–259, <ext-link xlink:href="https://doi.org/10.5194/os-8-249-2012" ext-link-type="DOI">10.5194/os-8-249-2012</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bib43"><label>43</label><mixed-citation>Oddo, P., Storto, A., Dobricic, S., Russo, A., Lewis, C., Onken, R., and Coelho, E.: A hybrid variational-ensemble data assimilation scheme with systematic error correction for limited-area ocean models, Ocean Sci., 12, 1137–1153, <ext-link xlink:href="https://doi.org/10.5194/os-12-1137-2016" ext-link-type="DOI">10.5194/os-12-1137-2016</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bib44"><label>44</label><mixed-citation>Oddo, P., Adani, M., Carere, F., Cipollone, A., Goglio, A. C., Jansen, E., Aydogdu, A., Mele, F., Epicoco, I., Pistoia, J., Clementi, E., Pinardi, N., and Masina, S.: OceanVar2.0 (2.0), Zenodo [code], <ext-link xlink:href="https://doi.org/10.5281/zenodo.15593468" ext-link-type="DOI">10.5281/zenodo.15593468</ext-link>, 2025.</mixed-citation></ref>
      <ref id="bib1.bib45"><label>45</label><mixed-citation> Pawlowicz, R., Beardsley, B., and Lentz, S.: Classical tidal harmonic analysis including error estimates in MATLAB using T_TIDE, Comput. Geosci., 28, 929–937, 2002.</mixed-citation></ref>
      <ref id="bib1.bib46"><label>46</label><mixed-citation> Purser, R. J., Wu, W.-S., Parrish, D. F., and Roberts, N. M.: Numerical aspects of the application of recursive filters to variational statistical analysis. Part II: Spatially inhomogeneous and anisotropic covariances, Mon. Weather Rev., 131, 1524–1535, 2003.</mixed-citation></ref>
      <ref id="bib1.bib47"><label>47</label><mixed-citation> Purser, R. J., Rancic, M., and Pondeca, M. S. D.: The multigrid beta function approach for modeling of background error covariance in the Real-Time Mesoscale Analysis (RTMA), Mon. Weather Rev., 150, 715–732, 2022.</mixed-citation></ref>
      <ref id="bib1.bib48"><label>48</label><mixed-citation>Rio, M.-H., Pascual, A., Poulain, P.-M., Menna, M., Barceló, B., and Tintoré, J.: Computation of a new mean dynamic topography for the Mediterranean Sea from model outputs, altimeter measurements and oceanographic in situ data, Ocean Sci., 10, 731–744, <ext-link xlink:href="https://doi.org/10.5194/os-10-731-2014" ext-link-type="DOI">10.5194/os-10-731-2014</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bib49"><label>49</label><mixed-citation>Sanchez de la Lama, M., La Casce, J. H., and Fuhr, H. K.: The vertical structure of ocean eddies, Dyn. Stat. Climate Syst., 1, 1–16, <ext-link xlink:href="https://doi.org/10.1093/climsys/dzw001" ext-link-type="DOI">10.1093/climsys/dzw001</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bib50"><label>50</label><mixed-citation>Storto, A.: Variational quality control of hydrographic profile data with non-Gaussian errors for global ocean variational data assimilation systems, Ocean Model., 104, 226–241, <ext-link xlink:href="https://doi.org/10.1016/j.ocemod.2016.06.011" ext-link-type="DOI">10.1016/j.ocemod.2016.06.011</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bib51"><label>51</label><mixed-citation>Storto, A. and Oddo, P.: Optimal assimilation of daytime SST retrievals from SEVIRI in a regional ocean prediction system, Remote Sens., 11, 2776, <ext-link xlink:href="https://doi.org/10.3390/rs11232776" ext-link-type="DOI">10.3390/rs11232776</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bib52"><label>52</label><mixed-citation>Storto, A., Dobricic, S., Masina, S., and Di Pietro, P.: Assimilating along-track altimetric observations through local hydrostatic adjustment in a global ocean variational assimilation system, Mon. Weather Rev., 139, 738–754, <ext-link xlink:href="https://doi.org/10.1175/2010MWR3350.1" ext-link-type="DOI">10.1175/2010MWR3350.1</ext-link>, 2011.</mixed-citation></ref>
      <ref id="bib1.bib53"><label>53</label><mixed-citation>Storto, A., Masina, S., and Navarra, A.: Evaluation of the CMCC eddy-permitting global ocean physical reanalysis system (C-GLORS, 1982–2012) and its assimilation components, Q. J. R. Meteorol. Soc., 142, 738–758, <ext-link xlink:href="https://doi.org/10.1002/qj.2673" ext-link-type="DOI">10.1002/qj.2673</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bib54"><label>54</label><mixed-citation>Storto, A., Oddo, P., Cipollone, A., Mirouze, I., and Lemieux-Dudon, B.: Extending an oceanographic variational scheme to allow for affordable hybrid and four-dimensional data assimilation, Ocean Model., 128, 67–86, <ext-link xlink:href="https://doi.org/10.1016/j.ocemod.2018.06.005" ext-link-type="DOI">10.1016/j.ocemod.2018.06.005</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bib55"><label>55</label><mixed-citation>Storto, A., Falchetti, S., Oddo, P., Jiang, Y.-M., and Tesei, A.: Assessing the impact of different ocean analysis schemes on oceanic and underwater acoustic predictions, J. Geophys. Res.-Oceans, 125, e2019JC015636, <ext-link xlink:href="https://doi.org/10.1029/2019JC015636" ext-link-type="DOI">10.1029/2019JC015636</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bib56"><label>56</label><mixed-citation>Storto, A., De Magistris, G., Falchetti, S., and Oddo, P.: A neural network–based observation operator for coupled ocean–acoustic variational data assimilation, Mon. Weather Rev., 149, 1967–1985, <ext-link xlink:href="https://doi.org/10.1175/MWR-D-20-0320.1" ext-link-type="DOI">10.1175/MWR-D-20-0320.1</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bib57"><label>57</label><mixed-citation>Teruzzi, A., Dobricic, S., Solidoro, C., and Cossarini, G.: A 3-D variational assimilation scheme in coupled transport–biogeochemical models: forecast of Mediterranean biogeochemical properties, J. Geophys. Res.-Oceans, 119, 200–217, <ext-link xlink:href="https://doi.org/10.1002/2013JC009277" ext-link-type="DOI">10.1002/2013JC009277</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bib58"><label>58</label><mixed-citation> Teruzzi, A., Bolzon, G., Salon, S., Lazzari, P., Solidoro, C., and Cossarini, G.: Assimilation of coastal and open sea biogeochemical data to improve phytoplankton simulation in the Mediterranean Sea, Ocean Model., 132, 46–60, 2018.</mixed-citation></ref>
      <ref id="bib1.bib59"><label>59</label><mixed-citation>The MPI Forum: MPI: A Message Passing Interface, in: Proceedings of the 1993 ACM/IEEE Conference on Supercomputing, Portland, Oregon, USA, 878–883, <ext-link xlink:href="https://doi.org/10.1145/169627.169855" ext-link-type="DOI">10.1145/169627.169855</ext-link>, 1993.</mixed-citation></ref>
      <ref id="bib1.bib60"><label>60</label><mixed-citation> Van Leeuwen, P. J., Künsch, H. R., Nerger, L., Potthast, R., and Reich, S.: Particle filters for high-dimensional geoscience applications: a review, Q. J. R. Meteorol. Soc., 145, 2335–2365, 2019.</mixed-citation></ref>
      <ref id="bib1.bib61"><label>61</label><mixed-citation>Weaver, A. and Courtier, P.: Correlation modeling on the sphere using a generalized diffusion equation, Q. J. R. Meteorol. Soc., 122, 535–561, 2001.  </mixed-citation></ref>
      <ref id="bib1.bib62"><label>62</label><mixed-citation> Weaver, A. T., Vialard, J., and Anderson, D. L. T.: Three- and four-dimensional variational assimilation with an ocean general circulation model of the tropical Pacific Ocean. Part 1: Formulation, internal diagnostics and consistency checks, Mon. Weather Rev., 131, 1360–1378, 2003.</mixed-citation></ref>
      <ref id="bib1.bib63"><label>63</label><mixed-citation>Zavala-Romero, O., Bozec, A., Chassignet, E. P., and Miranda, J. R.: Convolutional neural networks for sea surface data assimilation in operational ocean models: test case in the Gulf of Mexico, Ocean Sci., 21, 113–132, <ext-link xlink:href="https://doi.org/10.5194/os-21-113-2025" ext-link-type="DOI">10.5194/os-21-113-2025</ext-link>, 2025.</mixed-citation></ref>

  </ref-list></back>
    <!--<article-title-html>Implementation and evaluation of sea level operators in OceanVar2.0: an open-source oceanographic three-dimensional variational data assimilation system</article-title-html>
<abstract-html/>
<ref-html id="bib1.bib1"><label>1</label><mixed-citation>
      
Adani, M., Dobricic, S., and Pinardi, N.: Quality assessment of a 1985–2007
Mediterranean Sea reanalysis, J. Atmos. Oceanic Technol., 28, 569–589,
<a href="https://doi.org/10.1175/2010JTECHO798.1" target="_blank">https://doi.org/10.1175/2010JTECHO798.1</a>, 2011.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>2</label><mixed-citation>
      
Adani, M., Aydogdu, A., Cipollone, A., Jansen, E., Carere, F., and Oddo, P.:
OceanVar User Manual, <a href="https://github.com/CMCC-Foundation/OceanVar2/blob/main/doc/OceanVar_User_Manual.pdf" target="_blank"/> (last access: 15 January 2025), 2025.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>3</label><mixed-citation>
      
Anderson, J. L., Hoar, T., Raeder, K., Liu, H., Collins, N., Torn, R., and
Arellano, A.: The Data Assimilation Research Testbed: a community facility,
Bull. Am. Meteorol. Soc., 90, 1283–1296,
<a href="https://doi.org/10.1175/2009BAMS2618.1" target="_blank">https://doi.org/10.1175/2009BAMS2618.1</a>, 2009.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>4</label><mixed-citation>
      
Arbic, B. K.: Incorporating tides and internal gravity waves within global
ocean general circulation models: a review, Prog. Oceanogr., 206, 102824, <a href="https://doi.org/10.1016/j.pocean.2022.102824" target="_blank">https://doi.org/10.1016/j.pocean.2022.102824</a>,
2022.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>5</label><mixed-citation>
      
Barthélémy, S., Brajard, J., Bertino, L., and Counillon, F.:
Super-resolution data assimilation, Ocean Dyn., 72, 661–678, 2022.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>6</label><mixed-citation>
      
Beauchamp, M., Febvre, Q., Georgenthum, H., and Fablet, R.: 4DVarNet-SSH: end-to-end learning of variational interpolation schemes for nadir and wide-swath satellite altimetry, Geosci. Model Dev., 16, 2119–2147, <a href="https://doi.org/10.5194/gmd-16-2119-2023" target="_blank">https://doi.org/10.5194/gmd-16-2119-2023</a>, 2023.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>7</label><mixed-citation>
      
Broccoli, M. and Cipollone, A.: Assimilation of diurnal satellite retrieval
of sea surface temperature with convolutional neural network, Mach. Learn.:
Earth, 1, 015007, <a href="https://doi.org/10.1088/3049-4753/adfb7e" target="_blank">https://doi.org/10.1088/3049-4753/adfb7e</a>, 2025.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>8</label><mixed-citation>
      
Byrd, R. H., Lu, P., Nocedal, J., and Zhu, C.: A limited memory algorithm
for bound constrained optimization, SIAM J. Sci. Comput., 16, 1190–1208,
1995.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>9</label><mixed-citation>
      
Cao, A.-Z., Wang, D.-S., and Lv, X.-Q.: Harmonic analysis in the simulation
of multiple constituents: determination of the optimum length of time
series, J. Atmos. Oceanic Technol., 32, 1112–1118, 2015.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib10"><label>10</label><mixed-citation>
      
Carrassi, A., Bocquet, M., Bertino, L., and Evensen, G.: Data assimilation
in the geosciences: an overview of methods, issues, and perspectives, WIREs
Clim. Change, 9, e535, <a href="https://doi.org/10.1002/wcc.535" target="_blank">https://doi.org/10.1002/wcc.535</a>, 2018.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>11</label><mixed-citation>
      
Cipollone, A., Banerjee, D. S., Iovino, D., Aydogdu, A., and Masina, S.: Bivariate sea-ice assimilation for global-ocean analysis–reanalysis, Ocean Sci., 19, 1375–1392, <a href="https://doi.org/10.5194/os-19-1375-2023" target="_blank">https://doi.org/10.5194/os-19-1375-2023</a>, 2023.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>12</label><mixed-citation>
      
Clementi, E., Drudi, M., Aydogdu, A., Moulin, A., Grandi, A., Mariani, A.,
Goglio, A. C., Pistoia, J., Miraglio, P., Lecci, R., Palermo, F., Coppini,
G., Masina, S., and Pinardi, N.: Mediterranean Sea Physical Analysis and
Forecast (CMS MED-Physics, EAS8 system) (Version 1), Copernicus Marine
Service [data set], <a href="https://doi.org/10.25423/CMCC/MEDSEA_ANALYSISFORECAST_PHY_006_013_EAS8" target="_blank"/>, 2023.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>13</label><mixed-citation>
      
Ciliberti, S. A., Jansen, E., Coppini, G., Peneva, E., Azevedo, D., Causio,
S., Stefanizzi, L., Creti, S., Lecci, R., Lima, L.,  Ilicak, M., Pinardi, N., and Palazov, A.: The Black Sea
Physics Analysis and Forecasting System within the framework of the
Copernicus Marine Service, J. Mar. Sci. Eng., 10, 48,
<a href="https://doi.org/10.3390/jmse10010048" target="_blank">https://doi.org/10.3390/jmse10010048</a>, 2022.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>14</label><mixed-citation>
      
Cohn, S. E.: An introduction to estimation theory, J. Meteorol. Soc. Jpn.,
75, 257–288, 1997.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>15</label><mixed-citation>
      
Coppini, G., Clementi, E., Cossarini, G., Salon, S., Korres, G., Ravdas, M., Lecci, R., Pistoia, J., Goglio, A. C., Drudi, M., Grandi, A., Aydogdu, A., Escudier, R., Cipollone, A., Lyubartsev, V., Mariani, A., Cretì, S., Palermo, F., Scuro, M., Masina, S., Pinardi, N., Navarra, A., Delrosso, D., Teruzzi, A., Di Biagio, V., Bolzon, G., Feudale, L., Coidessa, G., Amadio, C., Brosich, A., Miró, A., Alvarez, E., Lazzari, P., Solidoro, C., Oikonomou, C., and Zacharioudaki, A.: The Mediterranean Forecasting System – Part 1: Evolution and performance, Ocean Sci., 19, 1483–1516, <a href="https://doi.org/10.5194/os-19-1483-2023" target="_blank">https://doi.org/10.5194/os-19-1483-2023</a>, 2023.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib16"><label>16</label><mixed-citation>
      
De Mey, P. and Robinson, A. R.: Assimilation of altimetric fields in a
limited area quasigeostrophic model, J. Phys. Oceanogr., 17, 2280–2293,
1987.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>17</label><mixed-citation>
      
Derber, J. and Rosati, A.: A global oceanic data assimilation system, J.
Phys. Oceanogr., 19, 1333–1347, 1989.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>18</label><mixed-citation>
      
Desroziers, G., Berre, L., Chapnik, B., and Poli, P.: Diagnosis of
observation, background and analysis-error statistics in observation space,
Q. J. R. Meteorol. Soc., 131, 3385–3396, <a href="https://doi.org/10.1256/qj.05.108" target="_blank">https://doi.org/10.1256/qj.05.108</a>,
2005.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>19</label><mixed-citation>
      
Dhomps, A.-L., Guinehut, S., Le Traon, P.-Y., and Larnicol, G.: A global comparison of Argo and satellite altimetry observations, Ocean Sci., 7, 175–183, <a href="https://doi.org/10.5194/os-7-175-2011" target="_blank">https://doi.org/10.5194/os-7-175-2011</a>, 2011.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>20</label><mixed-citation>
      
Dobricic, S. and Pinardi, N.: An oceanographic three-dimensional variational
data assimilation scheme, Ocean Model., 22, 89–105, 2008.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>21</label><mixed-citation>
      
Dobricic, S., Pinardi, N., Adani, M., Bonazzi, A., Fratianni, C., and
Tonani, M.: Mediterranean Forecasting System: an improved assimilation
scheme for sea-level anomaly and its validation, Q. J. R. Meteorol. Soc.,
131, 3627–3642, <a href="https://doi.org/10.1256/qj.05.100" target="_blank">https://doi.org/10.1256/qj.05.100</a>, 2006.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>22</label><mixed-citation>
      
Dobricic, S., Pinardi, N., Adani, M., Tonani, M., Fratianni, C., Bonazzi, A., and Fernandez, V.: Daily oceanographic analyses by Mediterranean Forecasting System at the basin scale, Ocean Sci., 3, 149–157, <a href="https://doi.org/10.5194/os-3-149-2007" target="_blank">https://doi.org/10.5194/os-3-149-2007</a>, 2007.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>23</label><mixed-citation>
      
Dobricic, S., Dufau, C., Oddo, P., Pinardi, N., Pujol, I., and Rio, M.-H.: Assimilation of SLA along track observations in the Mediterranean with an oceanographic model forced by atmospheric pressure, Ocean Sci., 8, 787–795, <a href="https://doi.org/10.5194/os-8-787-2012" target="_blank">https://doi.org/10.5194/os-8-787-2012</a>, 2012.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>24</label><mixed-citation>
      
Dobricic, S., Wikle, C. K., Milliff, R. F., Pinardi, N., and Berliner, L.
M.: Assimilation of oceanographic observations with estimates of vertical
background-error covariances by a Bayesian hierarchical model, Q. J. R.
Meteorol. Soc., 141, 182–194, <a href="https://doi.org/10.1002/qj.2348" target="_blank">https://doi.org/10.1002/qj.2348</a>, 2015.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib25"><label>25</label><mixed-citation>
      
Escudier, R., Clementi, E., Cipollone, A., Pistoia, J., Drudi, M., Grandi,
A., Lyubartsev, V., Lecci, R., Aydogdu, A., Delrosso, D., Omar, M., Masina, S., Coppini, G., and Pinardi, N.: A
high-resolution reanalysis for the Mediterranean Sea, Front. Earth Sci., 9,
702285, <a href="https://doi.org/10.3389/feart.2021.702285" target="_blank">https://doi.org/10.3389/feart.2021.702285</a>, 2021.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib26"><label>26</label><mixed-citation>
      
Foreman, M. G. G.: Manual for tidal heights analysis and prediction, Pacific Marine Science Report 77-10, Institute of Ocean Sciences, Patricia Bay, Sidney, B.C., 58 pp., unpublished manuscript, 1977.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib27"><label>27</label><mixed-citation>
      
Foreman, M. G. G.: Manual for tidal currents analysis and prediction, Pacific Marine Science Report 78-6, Institute of Ocean Sciences, Patricia Bay, Sidney, B.C., 57 pp., unpublished manuscript, 1978.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib28"><label>28</label><mixed-citation>
      
Hayden, C. M. and Purser, R. J.: Recursive filter objective analysis of
meteorological fields: applications to NESDIS operational processing, J.
Appl. Meteorol., 34, 3–15, 1995.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib29"><label>29</label><mixed-citation>
      
Hoffman, J. D. and Frankel, S.: Numerical Methods for Engineers and
Scientists, 2nd edn., CRC Press, Boca Raton,
<a href="https://doi.org/10.1201/9781315274508" target="_blank">https://doi.org/10.1201/9781315274508</a>, 2001.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib30"><label>30</label><mixed-citation>
      
Kwizak, M. and Robert, A. J.: A semi-implicit scheme for grid point
atmospheric models of the primitive equations, Mon. Weather Rev., 99,
32–36, 1971.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib31"><label>31</label><mixed-citation>
      
Le Traon, P.-Y., Dibarboure, G., Lellouche, J.-M., Pujol, M.-I., Benkiran, M., Drevillon, M., Drillet, Y., Faugère, Y., and Remy, E.: Satellite altimetry and operational oceanography: from Jason-1 to SWOT, Ocean Sci., 21, 1329–1347, <a href="https://doi.org/10.5194/os-21-1329-2025" target="_blank">https://doi.org/10.5194/os-21-1329-2025</a>, 2025.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib32"><label>32</label><mixed-citation>
      
Lima, L., Ciliberti, S. A., Aydoğdu, A., Masina, S., Escudier, R.,
Cipollone, A., Azevedo, D., Causio, S., Peneva, E., Lecci, R., Clementi, E.,
Jansen, E., Ilicak, M., Cretì, S., Stefanizzi, L., Palermo, F., and
Coppini, G.: Climate signals in the Black Sea from a multidecadal
eddy-resolving reanalysis, Front. Mar. Sci., 8, 710973,
<a href="https://doi.org/10.3389/fmars.2021.710973" target="_blank">https://doi.org/10.3389/fmars.2021.710973</a>, 2021.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib33"><label>33</label><mixed-citation>
      
Lorenc, A. C.: Iterative analysis using covariance functions and filters, Q.
J. R. Meteorol. Soc., 118, 569–591, 1992.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib34"><label>34</label><mixed-citation>
      
Lorenc, A. C.: Development of an operational variational assimilation
scheme, J. Meteorol. Soc. Jpn., 75, 339–346, 1997.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib35"><label>35</label><mixed-citation>
      
Madec, G. and the NEMO System Team: NEMO ocean engine, Sci. Notes IPSL Clim.
Model. Cent., 27, Zenodo [code], <a href="https://doi.org/10.5281/zenodo.6334656" target="_blank">https://doi.org/10.5281/zenodo.6334656</a>, 2022.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib36"><label>36</label><mixed-citation>
      
Madec, G. and the NEMO System Team: NEMO Ocean Engine Reference Manual,
Zenodo, <a href="https://doi.org/10.5281/zenodo.8167700" target="_blank">https://doi.org/10.5281/zenodo.8167700</a>, 2023.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib37"><label>37</label><mixed-citation>
      
Martin, M. J., Hoteit, I., Bertino, L., and Moore, A. M.: Data assimilation schemes for ocean forecasting: state of the art, in: Ocean prediction: present status and state of the art (OPSR), edited by: Álvarez Fanjul, E., Ciliberti, S. A., Pearlman, J., Wilmer-Becker, K., and Behera, S., Copernicus Publications, State Planet, 5-opsr, 9, <a href="https://doi.org/10.5194/sp-5-opsr-9-2025" target="_blank">https://doi.org/10.5194/sp-5-opsr-9-2025</a>, 2025.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib38"><label>38</label><mixed-citation>
      
Massart, S., Pajot, B., Piacentini, A., and Pannekoucke, O.: On the merits
of using a 3D-FGAT assimilation scheme with an outer loop for atmospheric
situations governed by transport, Mon. Weather Rev., 138, 4509–4522,
<a href="https://doi.org/10.1175/2010MWR3237.1" target="_blank">https://doi.org/10.1175/2010MWR3237.1</a>, 2010.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib39"><label>39</label><mixed-citation>
      
Moore, A. M., Arango, H. G., Broquet, G., Powell, B. S., Weaver, A. T., and
Zavala-Garay, J.: The Regional Ocean Modeling System (ROMS) 4-dimensional
variational data assimilation systems. Part I: System overview and
formulation, Prog. Oceanogr., 91, 34–49, 2011.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib40"><label>40</label><mixed-citation>
      
Murphy, A. H.: Skill scores based on the mean square error and their
relationships to the correlation coefficient, Mon. Weather Rev., 116,
2417–2424, 1988.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib41"><label>41</label><mixed-citation>
      
Nerger, L. and Hiller, W.: Software for ensemble-based data assimilation
systems – implementation strategies and scalability, Comput. Geosci., 55,
110–118, <a href="https://doi.org/10.1016/j.cageo.2012.03.026" target="_blank">https://doi.org/10.1016/j.cageo.2012.03.026</a>, 2013.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib42"><label>42</label><mixed-citation>
      
Nilsson, J. A. U., Dobricic, S., Pinardi, N., Poulain, P.-M., and Pettenuzzo, D.: Variational assimilation of Lagrangian trajectories in the Mediterranean ocean Forecasting System, Ocean Sci., 8, 249–259, <a href="https://doi.org/10.5194/os-8-249-2012" target="_blank">https://doi.org/10.5194/os-8-249-2012</a>, 2012.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib43"><label>43</label><mixed-citation>
      
Oddo, P., Storto, A., Dobricic, S., Russo, A., Lewis, C., Onken, R., and Coelho, E.: A hybrid variational-ensemble data assimilation scheme with systematic error correction for limited-area ocean models, Ocean Sci., 12, 1137–1153, <a href="https://doi.org/10.5194/os-12-1137-2016" target="_blank">https://doi.org/10.5194/os-12-1137-2016</a>, 2016.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib44"><label>44</label><mixed-citation>
      
Oddo, P., Adani, M., Carere, F., Cipollone, A., Goglio, A. C., Jansen, E.,
Aydogdu, A., Mele, F., Epicoco, I., Pistoia, J., Clementi, E., Pinardi, N.,
and Masina, S.: OceanVar2.0 (2.0), Zenodo [code],
<a href="https://doi.org/10.5281/zenodo.15593468" target="_blank">https://doi.org/10.5281/zenodo.15593468</a>, 2025.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib45"><label>45</label><mixed-citation>
      
Pawlowicz, R., Beardsley, B., and Lentz, S.: Classical tidal harmonic
analysis including error estimates in MATLAB using T_TIDE,
Comput. Geosci., 28, 929–937, 2002.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib46"><label>46</label><mixed-citation>
      
Purser, R. J., Wu, W.-S., Parrish, D. F., and Roberts, N. M.: Numerical
aspects of the application of recursive filters to variational statistical
analysis. Part II: Spatially inhomogeneous and anisotropic covariances, Mon.
Weather Rev., 131, 1524–1535, 2003.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib47"><label>47</label><mixed-citation>
      
Purser, R. J., Rancic, M., and Pondeca, M. S. D.: The multigrid beta
function approach for modeling of background error covariance in the
Real-Time Mesoscale Analysis (RTMA), Mon. Weather Rev., 150, 715–732, 2022.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib48"><label>48</label><mixed-citation>
      
Rio, M.-H., Pascual, A., Poulain, P.-M., Menna, M., Barceló, B., and Tintoré, J.: Computation of a new mean dynamic topography for the Mediterranean Sea from model outputs, altimeter measurements and oceanographic in situ data, Ocean Sci., 10, 731–744, <a href="https://doi.org/10.5194/os-10-731-2014" target="_blank">https://doi.org/10.5194/os-10-731-2014</a>, 2014.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib49"><label>49</label><mixed-citation>
      
Sanchez de la Lama, M., La Casce, J. H., and Fuhr, H. K.: The vertical
structure of ocean eddies, Dyn. Stat. Climate Syst., 1, 1–16,
<a href="https://doi.org/10.1093/climsys/dzw001" target="_blank">https://doi.org/10.1093/climsys/dzw001</a>, 2016.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib50"><label>50</label><mixed-citation>
      
Storto, A.: Variational quality control of hydrographic profile data with
non-Gaussian errors for global ocean variational data assimilation systems,
Ocean Model., 104, 226–241, <a href="https://doi.org/10.1016/j.ocemod.2016.06.011" target="_blank">https://doi.org/10.1016/j.ocemod.2016.06.011</a>,
2016.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib51"><label>51</label><mixed-citation>
      
Storto, A. and Oddo, P.: Optimal assimilation of daytime SST retrievals from
SEVIRI in a regional ocean prediction system, Remote Sens., 11, 2776,
<a href="https://doi.org/10.3390/rs11232776" target="_blank">https://doi.org/10.3390/rs11232776</a>, 2019.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib52"><label>52</label><mixed-citation>
      
Storto, A., Dobricic, S., Masina, S., and Di Pietro, P.: Assimilating
along-track altimetric observations through local hydrostatic adjustment in
a global ocean variational assimilation system, Mon. Weather Rev., 139,
738–754, <a href="https://doi.org/10.1175/2010MWR3350.1" target="_blank">https://doi.org/10.1175/2010MWR3350.1</a>, 2011.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib53"><label>53</label><mixed-citation>
      
Storto, A., Masina, S., and Navarra, A.: Evaluation of the CMCC
eddy-permitting global ocean physical reanalysis system (C-GLORS,
1982–2012) and its assimilation components, Q. J. R. Meteorol. Soc., 142,
738–758, <a href="https://doi.org/10.1002/qj.2673" target="_blank">https://doi.org/10.1002/qj.2673</a>, 2016.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib54"><label>54</label><mixed-citation>
      
Storto, A., Oddo, P., Cipollone, A., Mirouze, I., and Lemieux-Dudon, B.:
Extending an oceanographic variational scheme to allow for affordable hybrid
and four-dimensional data assimilation, Ocean Model., 128, 67–86,
<a href="https://doi.org/10.1016/j.ocemod.2018.06.005" target="_blank">https://doi.org/10.1016/j.ocemod.2018.06.005</a>, 2018.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib55"><label>55</label><mixed-citation>
      
Storto, A., Falchetti, S., Oddo, P., Jiang, Y.-M., and Tesei, A.: Assessing
the impact of different ocean analysis schemes on oceanic and underwater
acoustic predictions, J. Geophys. Res.-Oceans, 125, e2019JC015636,
<a href="https://doi.org/10.1029/2019JC015636" target="_blank">https://doi.org/10.1029/2019JC015636</a>, 2020.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib56"><label>56</label><mixed-citation>
      
Storto, A., De Magistris, G., Falchetti, S., and Oddo, P.: A neural
network–based observation operator for coupled ocean–acoustic variational
data assimilation, Mon. Weather Rev., 149, 1967–1985,
<a href="https://doi.org/10.1175/MWR-D-20-0320.1" target="_blank">https://doi.org/10.1175/MWR-D-20-0320.1</a>, 2021.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib57"><label>57</label><mixed-citation>
      
Teruzzi, A., Dobricic, S., Solidoro, C., and Cossarini, G.: A 3-D
variational assimilation scheme in coupled transport–biogeochemical models:
forecast of Mediterranean biogeochemical properties, J. Geophys.
Res.-Oceans, 119, 200–217, <a href="https://doi.org/10.1002/2013JC009277" target="_blank">https://doi.org/10.1002/2013JC009277</a>, 2014.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib58"><label>58</label><mixed-citation>
      
Teruzzi, A., Bolzon, G., Salon, S., Lazzari, P., Solidoro, C., and
Cossarini, G.: Assimilation of coastal and open sea biogeochemical data to
improve phytoplankton simulation in the Mediterranean Sea, Ocean Model.,
132, 46–60, 2018.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib59"><label>59</label><mixed-citation>
      
The MPI Forum: MPI: A Message Passing Interface, in: Proceedings of the 1993
ACM/IEEE Conference on Supercomputing, Portland, Oregon, USA, 878–883,
<a href="https://doi.org/10.1145/169627.169855" target="_blank">https://doi.org/10.1145/169627.169855</a>, 1993.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib60"><label>60</label><mixed-citation>
      
Van Leeuwen, P. J., Künsch, H. R., Nerger, L., Potthast, R., and Reich,
S.: Particle filters for high-dimensional geoscience applications: a review,
Q. J. R. Meteorol. Soc., 145, 2335–2365, 2019.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib61"><label>61</label><mixed-citation>
      
Weaver, A. and Courtier, P.: Correlation modeling on the sphere using a
generalized diffusion equation, Q. J. R. Meteorol. Soc., 122, 535–561,
2001.


    </mixed-citation></ref-html>
<ref-html id="bib1.bib62"><label>62</label><mixed-citation>
      
Weaver, A. T., Vialard, J., and Anderson, D. L. T.: Three- and
four-dimensional variational assimilation with an ocean general circulation
model of the tropical Pacific Ocean. Part 1: Formulation, internal
diagnostics and consistency checks, Mon. Weather Rev., 131, 1360–1378,
2003.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib63"><label>63</label><mixed-citation>
      
Zavala-Romero, O., Bozec, A., Chassignet, E. P., and Miranda, J. R.: Convolutional neural networks for sea surface data assimilation in operational ocean models: test case in the Gulf of Mexico, Ocean Sci., 21, 113–132, <a href="https://doi.org/10.5194/os-21-113-2025" target="_blank">https://doi.org/10.5194/os-21-113-2025</a>, 2025.

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