<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing with OASIS Tables v3.0 20080202//EN" "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" dtd-version="3.0">
  <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-10-1423-2017</article-id><title-group><article-title>Development of BFMCOUPLER (v1.0), the coupling scheme <?xmltex \hack{\newline}?>that links the MITgcm
and BFM models for ocean <?xmltex \hack{\newline}?>biogeochemistry simulations</article-title>
      </title-group><?xmltex \runningtitle{Development of BFMCOUPLER (v1.0)}?><?xmltex \runningauthor{G.~Cossarini et al.}?>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes" rid="aff1">
          <name><surname>Cossarini</surname><given-names>Gianpiero</given-names></name>
          <email>gcossarini@inogs.it</email>
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Querin</surname><given-names>Stefano</given-names></name>
          
        <ext-link>https://orcid.org/0000-0002-4658-860X</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Solidoro</surname><given-names>Cosimo</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff2">
          <name><surname>Sannino</surname><given-names>Gianmaria</given-names></name>
          
        <ext-link>https://orcid.org/0000-0002-3985-9432</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Lazzari</surname><given-names>Paolo</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Di Biagio</surname><given-names>Valeria</given-names></name>
          
        <ext-link>https://orcid.org/0000-0002-6160-1825</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Bolzon</surname><given-names>Giorgio</given-names></name>
          
        </contrib>
        <aff id="aff1"><label>1</label><institution>Department of Oceanography, Istituto Nazionale di Oceanografia e di
Geofisica Sperimentale – OGS, <?xmltex \hack{\break}?>Sgonico (TS), 34010, Italy</institution>
        </aff>
        <aff id="aff2"><label>2</label><institution>Climate Modelling Laboratory, Italian National Agency for New Technologies, Energy and Sustainable Economic Development, Rome, Italy</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">Gianpiero Cossarini (gcossarini@inogs.it)</corresp></author-notes><pub-date><day>5</day><month>April</month><year>2017</year></pub-date>
      
      <volume>10</volume>
      <issue>4</issue>
      <fpage>1423</fpage><lpage>1445</lpage>
      <history>
        <date date-type="received"><day>27</day><month>August</month><year>2016</year></date>
           <date date-type="rev-request"><day>15</day><month>September</month><year>2016</year></date>
           <date date-type="rev-recd"><day>15</day><month>February</month><year>2017</year></date>
           <date date-type="accepted"><day>24</day><month>February</month><year>2017</year></date>
      </history>
      <permissions>
<license license-type="open-access">
<license-p>This work is licensed under a Creative Commons Attribution 3.0 Unported License. To view a copy of this license, visit <ext-link ext-link-type="uri" xlink:href="http://creativecommons.org/licenses/by/3.0/">http://creativecommons.org/licenses/by/3.0/</ext-link></license-p>
</license>
</permissions><self-uri xlink:href="https://gmd.copernicus.org/articles/10/1423/2017/gmd-10-1423-2017.html">This article is available from https://gmd.copernicus.org/articles/10/1423/2017/gmd-10-1423-2017.html</self-uri>
<self-uri xlink:href="https://gmd.copernicus.org/articles/10/1423/2017/gmd-10-1423-2017.pdf">The full text article is available as a PDF file from https://gmd.copernicus.org/articles/10/1423/2017/gmd-10-1423-2017.pdf</self-uri>


      <abstract>
    <p>In this paper, we present a coupling scheme between the
Massachusetts Institute of Technology general circulation model (MITgcm) and
the Biogeochemical Flux Model (BFM). The MITgcm and BFM are widely used
models for geophysical fluid dynamics and for ocean biogeochemistry,
respectively, and they benefit from the support of active developers and user
communities. The MITgcm is a state-of-the-art general circulation model for
simulating the ocean and the atmosphere. This model is fully 3-D (including
the non-hydrostatic term of momentum equations) and is characterized by a
finite-volume discretization and a number of additional features enabling
simulations from global (<inline-formula><mml:math id="M1" display="inline"><mml:mrow><mml:mi>O</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">7</mml:mn></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> m) to local scales (<inline-formula><mml:math id="M2" display="inline"><mml:mi>O</mml:mi></mml:math></inline-formula>(100) m). The BFM
is a biogeochemical model based on plankton functional type formulations, and
it simulates the cycling of a number of constituents and nutrients within
marine ecosystems. The online coupling presented in this paper is based on an
open-source code, and it is characterized by a modular structure. Modularity
preserves the potentials of the two models, allowing for a sustainable
programming effort to handle future evolutions in the two codes. We also
tested specific model options and integration schemes to balance the
numerical accuracy against the computational performance. The coupling scheme
allows us to solve several processes that are not considered by each of the
models alone, including light attenuation parameterizations along the water
column, phytoplankton and detritus sinking, external inputs, and surface and
bottom fluxes. Moreover, this new coupled hydrodynamic–biogeochemical model
has been configured and tested against an idealized problem (a cyclonic gyre
in a mid-latitude closed basin) and a realistic case study (central part of
the Mediterranean Sea in 2006–2012). The numerical results consistently
reproduce the interplay of hydrodynamics and biogeochemistry in both the
idealized case and Mediterranean Sea experiments. The former reproduces
correctly the alternation of surface bloom and deep chlorophyll maximum
dynamics driven by the seasonal cycle of winter vertical mixing and summer
stratification; the latter simulates the main basin-wide and mesoscale
spatial features of the physical and biochemical variables in the
Mediterranean, thus demonstrating the applicability of the new coupled model
to a wide range of ocean biogeochemistry problems.</p>
  </abstract>
    </article-meta>
  </front>
<body>
      

<sec id="Ch1.S1" sec-type="intro">
  <title>Introduction</title>
      <p>Coupling different models that have been specifically developed to study only
limited aspects of the Earth's systems is becoming increasingly common due to
the need to simulate different environmental components – and their
interactions – simultaneously (Heavens et al., 2013). As regards numerical
oceanography, coupled hydrodynamic–biogeochemical models are widely used to
investigate and predict the physical, biogeochemical, and ecological properties of marine ecosystems across a
wide range of scales and provide useful tools that support environmental
management and policies.</p>
      <p>The numerical implementation of a coupling framework between
3-D hydrodynamic models and biogeochemical models is not a trivial task
(Bruggeman and Bolding, 2014) because every model focuses on processes that
occur on different temporal and spatial scales and uses different numerical
parameterizations and schemes. Additionally, these models might be coded in
different languages or follow different coding “philosophies” with respect
to memory allocation, computational schemes, and code workflow. Furthermore,
hydrodynamic and biogeochemical models are often developed by different and
highly specialized scientific groups, whereas coupling requires
interdisciplinary expertise.</p>
      <p>In recent decades, the increasing availability of significant computational
resources has allowed substantial improvements in hydrodynamic and
biogeochemical models in terms of both temporal and spatial resolution of the
simulations, which required new specific programming and coding expertise
(i.e. code optimization and parallel programming). In addition,
biogeochemical model complexity has increased through the inclusion of new
variables and processes (Robson, 2014), and model development has become a
cooperative and multidisciplinary task rather than an individual effort. A
large number of generic, open-source models are utilized by the scientific
community, and they can be customized to match the users' specific
applications. A non-exhaustive list of the main state-of-the-art,
hydrodynamic community models includes the MITgcm (Adcroft et al., 2016),
GOTM (Burchard et al., 2006), ROMS (Haidvogel et al., 2000), and NEMO (Madec,
2014), whereas examples of community biogeochemical models include the BFM
(Vichi et al., 2015), ERSEM (Butenschön et al., 2016), PISCES (Aumont et
al., 2015), and ERGOM (Neumann, 2000).</p>
      <p>Hydrodynamic and biogeochemical models can be coupled by merging their codes
into a single larger new code, in which the original parts are intertwined.
In this case, biological models are inserted into the workflow of the
existing hydrodynamic model code (Burchard et al., 2006; Follows et al.,
2006) because, in general, hydrodynamic models have already been developed to
solve the partial differential equation of tracers and provide the coding
infrastructure to handle the spatial–temporal properties of the simulations
(i.e. bathymetry, boundaries, computational domain discretization).
Alternatively, a modular approach can be adopted: each component preserves
its own peculiarities, the coupling is performed only on localized portions
of the code, and there are clear application programming interfaces (APIs).
The separation of the two coupled components facilitates the maintenance of
each code within its development community, avoids possible large efforts in
solving the language differences between models, and eliminates the need to
keep models up to date with respect to the parent model. As an example,
Bruggeman and Bolding (2014) proposed a set of programming interfaces (FABM)
that allows communication between different hydrodynamic and biogeochemical
models.</p>
      <p>In this paper, we present a coupling scheme between the MITgcm hydrodynamic
model and the BFM biogeochemical model for ocean biogeochemical simulations.
The two models are widely used, as described in the next sections, and have
already been coupled with several other models. For example, the MITgcm has
already been coupled to low- (Parekh et al., 2005; Follows et al., 2006) or
intermediate-complexity (Hauck et al., 2013; Cossarini et al., 2015a)
biogeochemical models for a few specific applications and to a specific
high-complexity model (Dutkiewicz et al., 2009) to explore the theoretical
aspects of intraspecific competition in plankton communities. On the other
side, the BFM has already been coupled to POM (Polimene et al., 2006), NEMO
(Vichi and Masina, 2009; Epicoco et al., 2016), and the offline OGSTM, an
upgraded version of OPA (Lazzari et al., 2012). A direct coupling between
MITgcm and BFM has not been implemented yet. Thus, we developed a dedicated
online modular coupler linking them. The new coupler is open source, and
allows us to exploit the high potentiality of the two models, to preserve the
sustainability of the programming effort, and to handle the future evolution
of the two codes. Further, the online coupling of hydrodynamic and
biogeochemical models allows us to drive the biogeochemistry at the same
frequency of the hydrodynamic processes, avoiding the use of large files
where hydrodynamic variables are saved at high frequency. It also ensures the
use of consistent differential operators (advection and diffusion) for
hydrodynamic and biogeochemical variables, and would eventually provide a
framework to describe possible feedbacks from biogeochemistry to
hydrodynamics.</p>
      <p>We demonstrate that the new online coupled model provides reliable results
when simulating different marine ecosystems by correctly reproducing the
interplay between physical, chemical, and biological processes and
components. The coupled model also runs with good computational performance
and preserves the numerical accuracy of the solution. We consider that the
MITgcm–BFM model represents a promising tool for investigating marine
biogeochemistry at different spatial and temporal scales.</p>
      <p>This paper is organized as follows. After a brief presentation of the two
models (Sect. 2), we focus on the technical aspects of the coupling
algorithm. In the subsequent section (Sect. 3), we describe the testing of
the new coupled hydrodynamic–biogeochemical model against the idealized case
of a cyclonic circulation in a closed basin and against a real case study in
the central Mediterranean Sea. The paper closes with a discussion of the key
issues of the coupling and future perspectives. A manual of the new code
package is detailed in the Appendix.</p>
</sec>
<sec id="Ch1.S2">
  <title>Formulation of the hydrodynamic–biogeochemical coupling</title>
      <p>A coupled hydrodynamic–biogeochemical model is composed of three main
elements: a hydrodynamic sub-model, which solves the governing equations for
oceanic flows; a tracer transport sub-model, which solves for the transport
(advection and diffusion) of biogeochemical variables (commonly called
tracers); and a biogeochemical sub-model, which describes the relationships
(i.e. biogeochemical reactions) among the biogeochemical variables.</p>
      <p>Following the common practice in which the biological feedback on transport
is negligible, one can assume that changes in biogeochemical properties do
not affect the water velocity, density, or other physical properties;
therefore, modifying the standard equations that underpin hydrodynamic models
is unnecessary. We adopted such an assumption for this numerical coupling
framework; however, this coupler was developed, in principle, to also handle
biological feedbacks on hydrodynamics. The coupled model solves the set of
partial differential equations specified below:

              <disp-formula specific-use="align" content-type="numbered"><mml:math id="M3" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E1"><mml:mtd/><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mtext>d</mml:mtext><mml:msub><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mtext>H</mml:mtext></mml:msub></mml:mrow><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:mi>f</mml:mi><mml:mi mathvariant="bold-italic">k</mml:mi><mml:mo>×</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mtext>H</mml:mtext></mml:msub><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:mtext>c</mml:mtext></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:msub><mml:mi mathvariant="normal">∇</mml:mi><mml:mtext>H</mml:mtext></mml:msub><mml:msup><mml:mi>p</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="bold">F</mml:mi><mml:mtext>H</mml:mtext></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E2"><mml:mtd/><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mtext>nh</mml:mtext></mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>w</mml:mi></mml:mrow><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi>g</mml:mi><mml:msup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:mrow><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mtext>c</mml:mtext></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><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:mtext>c</mml:mtext></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:msup><mml:mi>p</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>z</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mtext>nh</mml:mtext></mml:msub><mml:msub><mml:mi mathvariant="bold-italic">F</mml:mi><mml:mtext>V</mml:mtext></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E3"><mml:mtd/><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msub><mml:mi mathvariant="normal">∇</mml:mi><mml:mtext>H</mml:mtext></mml:msub><mml:mo>⋅</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mtext>H</mml:mtext></mml:msub><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>w</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>z</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E4"><mml:mtd/><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo>′</mml:mo></mml:msup><mml:mo>=</mml:mo><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="italic">θ</mml:mi><mml:mo>,</mml:mo><mml:mi>S</mml:mi><mml:mo>,</mml:mo><mml:mi>p</mml:mi><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>)</mml:mo><mml:mo>)</mml:mo><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mtext>c</mml:mtext></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E5"><mml:mtd/><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mtext>d</mml:mtext><mml:mi mathvariant="italic">θ</mml:mi></mml:mrow><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:msub><mml:mi>Q</mml:mi><mml:mi mathvariant="italic">θ</mml:mi></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E6"><mml:mtd/><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>S</mml:mi></mml:mrow><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:msub><mml:mi>Q</mml:mi><mml:mtext>S</mml:mtext></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E7"><mml:mtd/><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mtext>d</mml:mtext><mml:mi mathvariant="bold-italic">C</mml:mi></mml:mrow><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">Q</mml:mi><mml:mi>C</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">R</mml:mi><mml:mtext>bio</mml:mtext></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E8"><mml:mtd/><mml:mtd><mml:mstyle class="stylechange" displaystyle="true"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mtext>PAR</mml:mtext><mml:mo>=</mml:mo><mml:mtext>PAR</mml:mtext><mml:mo>(</mml:mo><mml:msub><mml:mi>Q</mml:mi><mml:mtext>sw</mml:mtext></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="bold-italic">C</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E9"><mml:mtd/><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mtext>d</mml:mtext><mml:mrow><mml:mtext>d</mml:mtext><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mo>∂</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mo>⋅</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula></p>
      <p>Momentum conservation equations, Eqs. (1)–(2), continuity and density
equations, Eqs. (3)–(4), and active-tracer equations (for potential
temperature <inline-formula><mml:math id="M4" display="inline"><mml:mi mathvariant="italic">θ</mml:mi></mml:math></inline-formula> and salinity <inline-formula><mml:math id="M5" display="inline"><mml:mi>S</mml:mi></mml:math></inline-formula>), Eqs. (5)–(6), are formulated
according to the semi-compressible Boussinesq approximation. In the
equations, <inline-formula><mml:math id="M6" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mtext>H</mml:mtext></mml:msub><mml:mo>=</mml:mo><mml:mo>(</mml:mo><mml:mi>u</mml:mi><mml:mo>,</mml:mo><mml:mi>v</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the horizontal component of
velocity, <inline-formula><mml:math id="M7" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula> is the vertical velocity, <inline-formula><mml:math id="M8" display="inline"><mml:mi>f</mml:mi></mml:math></inline-formula> is the Coriolis parameter,
<inline-formula><mml:math id="M9" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mtext>c</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> is a constant reference density, and <inline-formula><mml:math id="M10" display="inline"><mml:mrow><mml:msup><mml:mi>p</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> is the pressure
term. The right-hand side (RHS) terms in Eqs. (1), (2), (5), and (6)
correspond to the forcing and dissipation terms, including the diffusion,
which acts on the momentum (<inline-formula><mml:math id="M11" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">F</mml:mi><mml:mtext>H</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M12" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">F</mml:mi><mml:mtext>V</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> in Eqs. 1–2)
and on the temperature and salinity (<inline-formula><mml:math id="M13" display="inline"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mi mathvariant="italic">θ</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M14" display="inline"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mtext>S</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> in
Eqs. 5–6). Similarly, Eq. (7), which stands for a system of partial
differential equations of tracers (<inline-formula><mml:math id="M15" display="inline"><mml:mi mathvariant="bold-italic">C</mml:mi></mml:math></inline-formula>), encompasses the forcing and
dissipation terms for biogeochemical tracers, <inline-formula><mml:math id="M16" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">Q</mml:mi><mml:mi>C</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, and the
biogeochemical reactions that occur in the sea, <inline-formula><mml:math id="M17" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">R</mml:mi><mml:mtext>bio</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>.</p>
      <p>Equation (8) is an equation of state that calculates the modulation of irradiance
PAR (photosynthetic active radiation) with depth starting from
short-wave surface radiation fields (<inline-formula><mml:math id="M18" display="inline"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mtext>sw</mml:mtext></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. The total derivative
accounts for the partial derivative in time and the advection term, which is
related to the flow field, Eq. (9).</p>
      <p>By adopting a more explicit formulation and commonly used assumptions based
on scale analysis (see Crise et al., 1999), Eq. (7) can be rewritten as
follows:

              <disp-formula specific-use="align" content-type="numbered"><mml:math id="M19" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E10"><mml:mtd/><mml:mtd><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="bold-italic">C</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mo>-</mml:mo><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mo>⋅</mml:mo><mml:mi mathvariant="normal">∇</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">C</mml:mi><mml:mo>)</mml:mo><mml:mo>+</mml:mo><mml:msub><mml:mi mathvariant="normal">∇</mml:mi><mml:mtext>H</mml:mtext></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>K</mml:mi><mml:mtext>H</mml:mtext></mml:msub><mml:msub><mml:mi mathvariant="normal">∇</mml:mi><mml:mtext>H</mml:mtext></mml:msub><mml:mo>(</mml:mo><mml:mi mathvariant="bold-italic">C</mml:mi><mml:mo>)</mml:mo><mml:mo>)</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mo>+</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mo>∂</mml:mo><mml:mrow><mml:mo>∂</mml:mo><mml:mi>z</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mfenced close=")" open="("><mml:msub><mml:mi>K</mml:mi><mml:mtext>V</mml:mtext></mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="bold-italic">C</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>z</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mtr><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:mo>+</mml:mo><mml:msub><mml:mi>w</mml:mi><mml:mtext>bio</mml:mtext></mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="bold-italic">C</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>z</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">R</mml:mi><mml:mtext>bio</mml:mtext></mml:msub><mml:mo>(</mml:mo><mml:mi mathvariant="italic">θ</mml:mi><mml:mo>,</mml:mo><mml:mi>S</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo>,</mml:mo><mml:mtext>PAR</mml:mtext><mml:mo>,</mml:mo><mml:mi mathvariant="bold-italic">C</mml:mi><mml:mo>)</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula></p>
      <p>The first three terms on the RHS of Eq. (10) represent the advection (first
term) and diffusion (second – horizontal – and third – vertical – terms)
of biogeochemical tracers, where <inline-formula><mml:math id="M20" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mtext>H</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M21" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mtext>V</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> are the
horizontal and vertical diffusivities, respectively, which are considered
separately because they have different spatial scales. The remaining terms
describe the sinking processes that affect biological particles (fourth term)
and biogeochemical reactions (fifth term).</p>
      <p>Within a coupled model, Eqs. (1)–(6) are solved by the hydrodynamic
sub-model, whereas Eq. (10) is solved partly by the transport sub-model,
which is usually embedded in the hydrodynamic code, and partly by the
biogeochemical sub-model. The other components, such as Eq. (8), the
biogeochemical tracers' forcing terms (<inline-formula><mml:math id="M22" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">Q</mml:mi><mml:mi>C</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, e.g. surface and
bottom boundary conditions), and the sinking terms, can be handled by either
the hydrodynamic or biogeochemical model, according to the specific processes
and the features of the codes.</p>
      <p>A coupler is defined as the interface that transfers the hydrodynamic
information from Eqs. (1)–(6) to Eq. (10) and controls the communication
between the different terms of Eq. (10). In this study, the sub-models
coupled are the MITgcm (managing both hydrodynamics and transport) and BFM
(for the biogeochemistry) models, which are described in Sects. 2.2 and 2.3.
The algorithm used to construct the fully coupled system is detailed in
Sect. 2.4.</p>
<sec id="Ch1.S2.SS1">
  <title>Nomenclature and units</title>
      <p>Throughout the text, we used the following convention. In equations and text,
<inline-formula><mml:math id="M23" display="inline"><mml:mi mathvariant="bold-italic">C</mml:mi></mml:math></inline-formula> refers to the concentration (mass per unit volume) of biogeochemical
model state variables, which are referred to as <italic>pTracer</italic> (passive
tracer) in the MITgcm nomenclature. As regards BFM, the chemical components
in the subscript are in blackboard style (<inline-formula><mml:math id="M24" display="inline"><mml:mi mathvariant="double-struck">C</mml:mi></mml:math></inline-formula>: carbon; <inline-formula><mml:math id="M25" display="inline"><mml:mi mathvariant="double-struck">N</mml:mi></mml:math></inline-formula>:
nitrogen; <inline-formula><mml:math id="M26" display="inline"><mml:mi mathvariant="double-struck">P</mml:mi></mml:math></inline-formula>: phosphorus; <inline-formula><mml:math id="M27" display="inline"><mml:mi mathvariant="double-struck">S</mml:mi></mml:math></inline-formula>: silica). The pieces of code
and the names of the routines and files are in typewriter font. Appendix B
reports a list of all symbols and variables used throughout the text.<?xmltex \hack{\newpage}?></p>
</sec>
<sec id="Ch1.S2.SS2">
  <title>MITgcm</title>
      <p>The MITgcm (Massachusetts Institute of Technology general circulation model;
Marshall et al., 1997) is a 3-D, finite-volume, general circulation model
used by a broad community of researchers. It can be customized to create
different simulation set-ups by modifying its packages and parameters
accordingly (Adcroft et al., 2016) and it has already been successfully
applied to a wide range of case studies for the world's ocean at various
spatial and temporal scales. The code and documentation of the MITgcm are
under continuous development. The modular Fortran77 code is open source
(copyright ©2016 MITgcm Developers and Contributors), and it can
be downloaded from the MITgcm website (<uri>http://mitgcm.org/</uri>) as a TAR
file or using a CVS pserver. The most recent online documentation can be
found at <uri>http://mitgcm.org/public/r2_manual/latest/</uri>. The MITgcm, which
is designed to run on high-performance computing (HPC) platforms, can solve
fully non-hydrostatic and hydrostatic equations and can handle different
free-surface formulations. Subgrid-scale turbulence in both the horizontal
and vertical directions can be parameterized by using different types of
closure schemes with either constant or variable coefficients (e.g.
Gent–McWilliams, Redi, Leith, Smagorinsky, KPP, and GGL90). The MITgcm code
is composed of several packages, and, depending on the selected experiment,
the compiled packages can be enabled or disabled during the runtime by
specifying the flag <monospace>use PACKAGENAME=.TRUE./.FALSE.</monospace> in the
<monospace>data.pkg</monospace> input namelist. The MITgcm's implementation used in this
paper was based on the Release 1 – Checkpoint 65 k (April 2015) version of
the code. Among the different available customization options, we adopted the
fully implicit barotropic time stepping for the free surface, which is
unconditionally stable. The vertical diffusion and viscosity terms in the
horizontal momentum equations were treated implicitly in time and were solved
by using the Euler backward method. The terms that were evaluated explicitly
in time were discretized by using the third-order Adams–Bashforth method for
the momentum equations and the Euler forward-in-time method for the transport
equations.</p>
      <p>A native transport sub-model for passive tracers (the Passive TRACERS –
<monospace>PTRACERS</monospace> – package; according to the MITgcm's jargon, a passive
tracer is a generic tracer that has no influence on the hydrodynamics – e.g.
by changing the density and/or viscosity) is included in the MITgcm code.
This sub-model solves the first three terms on the RHS of Eq. (10) (transport
of a generic passive tracer). This transport is calculated by adopting a
direct space–time discretization method for the advection–diffusion part of
the tracer equations and a non-linear, third-order advection scheme with a
Sweby flux limiter (Sweby, 1984) to avoid spurious oscillations in the model
output fields. When employing the direct space–time method and the
flux-limited schemes, the Euler forward time stepping is adopted rather than
Adams–Bashforth.</p>
      <p>Because of the different length scales, horizontal and vertical turbulent
processes are treated separately and are solved by adopting a selected subset
of several available parameterizations: in this study, we chose a mixed
Leith–Smagorinsky scheme for the horizontal processes (second term on the
RHS of Eq. 10) and the K-profile parameterization (KPP, Large et al., 1994)
for the vertical processes (third term on the RHS of Eq. 10).</p>
      <p>The packages that were enabled during compilation (<monospace>#define</monospace>
<monospace>ALLOW_PACKAGENAME</monospace>) were the standard geophysical fluid dynamics
packages of the MITgcm (“<monospace>gfd</monospace>”: <monospace>MOM_COMMON</monospace>,
<monospace>MOM_FLUXFORM</monospace>, <monospace>MOM_VECINV</monospace>, <monospace>GENERIC_ADVDIFF</monospace>,
<monospace>DEBUG</monospace>, <monospace>MDSIO</monospace>, <monospace>RW</monospace>, <monospace>MONITOR</monospace>), the oceanic
packages (“<monospace>oceanic</monospace>”: <monospace>GMREDI</monospace> and <monospace>KPP</monospace>), and our
specific selections (<monospace>TIMEAVE</monospace>, <monospace>CAL</monospace>, <monospace>EXF</monospace>,
<monospace>OBCS</monospace>, <monospace>FLT</monospace>, <monospace>DIAGNOSTICS</monospace>, <monospace>PTRACERS</monospace>, and
<monospace>GCHEM</monospace>), including the coupling and long time-stepping packages
(<monospace>BFMCOUPLER</monospace> and <monospace>LONGSTEP</monospace>), which are the core of this
peculiar implementation.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F1" specific-use="star"><caption><p>BFM model: scheme of the functional interactions among the variables
in the version that was implemented in Lazzari et al. (2012), Melaku Canu et
al. (2015), and Cossarini et al. (2015b). Variable names follow the BFM
convention (Vichi et al., 2015). The subscripts indicate the chemical
components (<inline-formula><mml:math id="M28" display="inline"><mml:mi mathvariant="double-struck">C</mml:mi></mml:math></inline-formula>: carbon; <inline-formula><mml:math id="M29" display="inline"><mml:mi mathvariant="double-struck">P</mml:mi></mml:math></inline-formula>: phosphorus; <inline-formula><mml:math id="M30" display="inline"><mml:mi mathvariant="double-struck">N</mml:mi></mml:math></inline-formula>:
nitrogen; <inline-formula><mml:math id="M31" display="inline"><mml:mi mathvariant="double-struck">S</mml:mi></mml:math></inline-formula>: silica; <inline-formula><mml:math id="M32" display="inline"><mml:mi mathvariant="double-struck">O</mml:mi></mml:math></inline-formula>: oxygen).</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/10/1423/2017/gmd-10-1423-2017-f01.png"/>

        </fig>

      <p>This code was compiled onto a Linux cluster that was equipped with Intel Xeon
Ivy Bridge processors by using both the native GNU compiler (gfortran with
openmpi libraries) and the Intel compiler (ifort: Intel Composer XE 2013 SP1)
and by adopting the optimization levels <monospace>-O3</monospace> and <monospace>-O2</monospace>,
respectively. Overall, the model performance increased by approximately
10 % when using the Intel compiler. The results in this paper were
obtained using the Intel compiler with the optimization set to <monospace>-O2</monospace>.
Further details on the custom model installation are available in the
MITgcm's online documentation.</p>
</sec>
<sec id="Ch1.S2.SS3">
  <title>BFM</title>
      <p>The Biogeochemical Flux Model (BFM) is an open-source, modular Fortran90
numerical model that was designed to describe the dynamics of the major
biogeochemical processes that occur in marine ecosystems (Vichi et al.,
2015). The standard configuration of the BFM solves the cycles of carbon,
phosphorus, nitrogen, silica, and oxygen in the water-dissolved phase and in
the plankton, detritus, and benthic compartments. Plankton dynamics are
parameterized by considering a number of plankton functional groups, each
representing a class of taxa. The BFM's plankton functional groups are
subdivided into producers (phytoplankton), consumers (zooplankton), and
decomposers (bacteria). These broad functional classifications are further
partitioned into functional subgroups to create a planktonic food web (e.g.
diatoms, picophytoplankton, microzooplankton). The structure of the plankton
functional types is modular and can be adapted to specific needs. In fact,
the BFM's code is organized into several modules devoted to several plankton
function types: <monospace>Phytodynamics</monospace> (for the phytoplankton functional
types), <monospace>Mesozoodynamics</monospace> and <monospace>Microzoodynamics</monospace> (for the
zooplankton functional types), and <monospace>PelBacDynamics</monospace> (for bacteria).
The two modules <monospace>OxygenReaerationDynamics</monospace> and
<monospace>PelChemDynamics</monospace> for the oxygen and carbonate system dynamics,
respectively, complete the pelagic system (subroutine
<monospace>PelagicSystemDynamics</monospace>). The <monospace>EcologyDynamics</monospace> interface
routine manages the memory allocation of the biogeochemical state variables
and derivatives, and the external information that is required to calculate
the biological equations: temperature, salinity, presence of ice, wind,
position of the cell with respect to the surface or bottom, and atmospheric
CO<inline-formula><mml:math id="M33" display="inline"><mml:msub><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:math></inline-formula> partial pressure. The code and a full description of the model
equations and parameterizations are freely available at
<uri>http://bfm-community.eu</uri>.</p>
      <p>For this application, we adopted version v2 (Lazzari et al., 2012, 2016;
Teruzzi et al., 2013; Melaku Canu et al., 2015; Cossarini et al., 2015b),
which can be downloaded upon request from the BFM consortium website
(<uri>http://BFM-consortium.eu</uri>) under the GNU GPL license. The current BFM
version uses a 0-D data structure for the biogeochemical state variables. The
present BFM includes four components (<inline-formula><mml:math id="M34" display="inline"><mml:mi mathvariant="double-struck">C</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M35" display="inline"><mml:mi mathvariant="double-struck">N</mml:mi></mml:math></inline-formula>,
<inline-formula><mml:math id="M36" display="inline"><mml:mi mathvariant="double-struck">P</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="M37" display="inline"><mml:mi mathvariant="double-struck">S</mml:mi></mml:math></inline-formula>); four phytoplankton groups; four zooplankton
groups; one group each of bacteria, detritus, labile, and semilabile organic
matter; and additional variables, such as dissolved oxygen and alkalinity
(Fig. 1). In addition, chlorophyll is solved as a prognostic variable
according to the formulation of Geider et al. (1997), and the carbonate
system is solved by using the OCMIP formulation (Melaku Canu et al., 2015;
Cossarini et al., 2015b).</p>
</sec>
<sec id="Ch1.S2.SS4">
  <title>The coupler</title>
      <p>In this coupling scheme, we adopted a modular approach by considering the
high complexity of the two models that were employed. The size of the codes
according to the SLOCCount tool (Wheeler, 2015) is approximately 400 000
code lines for the MITgcm and approximately 20 000 for the BFM. The coupler
is a package that handles the interface (APIs) between the host code
(MITgcm) and the BFM to solve Eqs. (7)–(8) and to efficiently manage the
matrices that contain the variables and tendencies shared by the two models
and the flow of information among the different sub-model components.</p>
      <p>The MITgcm–BFM coupling (Fig. 2) was achieved by upgrading a few routines of
the MITgcm <monospace>GCHEM</monospace> package (GeoCHEMistry, details in Appendix A),
which handles the evolution of tracers, and by developing an additional
package, <monospace>BFMCOUPLER</monospace>, which was specifically designed as the
interface with the BFM model. The BFM is called by the MITgcm as an external
library; therefore, the BFM was compiled separately using the same compiler
used for the MITgcm (additional details on the compilation options and
instructions are provided in Appendix A).</p>
      <p>The <monospace>BFMCOUPLER</monospace> package (dashed box in Fig. 2) manages the
initialization and memory usage of the BFM. This package also calls the BFM
core routines and solves several processes that are not included in either
model. The interfaces among the different components of the coupled model
were designed so that the tracer transport sub-model (MITgcm
<monospace>PTRACERS</monospace> package) uses the <inline-formula><mml:math id="M38" display="inline"><mml:mi>u</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M39" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="M40" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula> components of the
velocity and the horizontal and vertical diffusivities (<inline-formula><mml:math id="M41" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mtext>H</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> and
<inline-formula><mml:math id="M42" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mtext>V</mml:mtext></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> from the hydrodynamic sub-model to compute the tendency due to
the transport (gTracer<inline-formula><mml:math id="M43" display="inline"><mml:mrow><mml:msub><mml:mi/><mml:mtext>trsp</mml:mtext></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. Furthermore, the transport sub-model
must consider the boundary conditions along the open boundaries of the model
domain OBC<inline-formula><mml:math id="M44" display="inline"><mml:msub><mml:mi/><mml:mi>c</mml:mi></mml:msub></mml:math></inline-formula> and the surface fluxes, such as the mass transport
associated with the evaporation minus precipitation minus runoff term
EmPmR<inline-formula><mml:math id="M45" display="inline"><mml:msub><mml:mi/><mml:mi>c</mml:mi></mml:msub></mml:math></inline-formula>.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F2"><caption><p>Description of the MITgcm–BFM coupling and interfaces among the
different components of the coupled model.</p></caption>
          <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/10/1423/2017/gmd-10-1423-2017-f02.pdf"/>

        </fig>

      <p>As an interface, the <monospace>BFMCOUPLER</monospace> manages the transfer of information
that is required by the BFM from both the hydrodynamic and transport
sub-models of the MITgcm, and provides the integration solver (a MITgcm
package) with the biogeochemical surface and bottom forcing and the
sink/source terms originating from the BFM (gTracer<inline-formula><mml:math id="M46" display="inline"><mml:mrow><mml:msub><mml:mi/><mml:mtext>bio</mml:mtext></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. The values
of the tracers are derived from the transport sub-model. Moreover, the
hydrodynamic sub-model supplies the temperature, salinity, and photosynthetic
active radiation (PAR) values as well as additional forcing parameters
(presence of ice, wind speed, and air partial pressure of CO<inline-formula><mml:math id="M47" display="inline"><mml:mrow><mml:msub><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> and
information, such as the position of the specific grid cell within the water
column (surface, intermediate, or bottom), which activates specific processes
(e.g. surface air–sea gas transfer or bottom sediment fluxes). Then, the BFM
calculates the biological partial derivative of Eq. (10) (fourth term), and
the <monospace>BFMCOUPLER</monospace> returns this term to the time integration package,
which integrates the transport and biogeochemical derivative terms to solve
Eq. (10). Certain information used by the BFM, such as the PAR and wind
values, can be calculated directly from the internal variables of the
hydrodynamic sub-model (such as short-wave radiation (<inline-formula><mml:math id="M48" display="inline"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mtext>sw</mml:mtext></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> or other
atmospheric fields) or managed from external sources.</p>
<sec id="Ch1.S2.SS4.SSS1">
  <?xmltex \opttitle{Integration scheme, operator splitting, and \texttt{LONGSTEP} options}?><title>Integration scheme, operator splitting, and <monospace>LONGSTEP</monospace> options</title>
      <p>We considered several coupling strategies according to the MITgcm's code
structure (Fig. 3). Within each time step of the model integration, which is
coded in the <monospace>FORWARD_STEP</monospace> routine, the MITgcm solves the
hydrodynamic equations (Eqs. 1–6) through several routines:
<monospace>DO_ATMOSPHERIC_PHYS</monospace>, <monospace>DO_OCEAN_PHYS</monospace>, <monospace>DYNAMICS</monospace>,
<monospace>TEMP_INTEGRATE</monospace>, and <monospace>SALT_INTEGRATE</monospace>; further adjustments
for temperature and salinity (e.g. filters) are applied in
<monospace>TRACERS_CORRECTION_STEP</monospace> (Adcroft et al., 2016).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F3"><caption><p>Workflow of the MITgcm <monospace>FORWARD_STEP</monospace> routine. The boxes
indicate the routines (darker colours denote dependency). The matrix of the
tracers' state variables (<monospace>pTracer</monospace>), the overall tendency of the
tracer (<monospace>gTracer</monospace>), and the tendency for the biogeochemistry only
(<monospace>gchemTendency</monospace>) are also specified. The blue boxes indicate
modifications to either the MITgcm code or the BFMCOUPLER routines, whereas
the green boxes indicate BFM routines. The pre-compilation options (#) and
omitted parts (…) are also shown.</p></caption>
            <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/10/1423/2017/gmd-10-1423-2017-f03.png"/>

          </fig>

      <p>Different options can be used to solve the evolution of tracers (Eq. 10),
which can be controlled by the
<monospace>gchem_separate_forcing</monospace> pre-compilation option. When this option is false (<monospace>#ifndef</monospace>
in Fig. 3), a direct integration scheme is adopted; therefore, the transport
(gTracer<inline-formula><mml:math id="M49" display="inline"><mml:mrow><mml:msub><mml:mi/><mml:mtext>trsp</mml:mtext></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> and biogeochemical (gTracer<inline-formula><mml:math id="M50" display="inline"><mml:mrow><mml:msub><mml:mi/><mml:mtext>bio</mml:mtext></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>
tendencies of each tracer
are calculated by using the same (current) values of the physical and
biogeochemical variables:

                  <disp-formula specific-use="align" content-type="numbered"><mml:math id="M51" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E11"><mml:mtd/><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msub><mml:mi>C</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:mo>=</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mtr><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msub><mml:mi>C</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:mfenced open="(" close=")"><mml:msub><mml:mtext>gTracer</mml:mtext><mml:mtext>trsp</mml:mtext></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>+</mml:mo><mml:msub><mml:mtext>gTracer</mml:mtext><mml:mtext>bio</mml:mtext></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mi>C</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mfenced><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>

              where <inline-formula><mml:math id="M52" display="inline"><mml:mi mathvariant="bold-italic">v</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M53" display="inline"><mml:mi mathvariant="italic">θ</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M54" display="inline"><mml:mi>S</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="M55" display="inline"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mi>C</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> are the hydrodynamic
variables and the additional biogeochemical forcing and <inline-formula><mml:math id="M56" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> is the
time discretization, which is the same adopted by the hydrodynamic sub-model.</p>
      <p>The biogeochemical tendency, which is solved by calling the BFM through the
<monospace>BFMCOUPLER_CALC_TENDENCY</monospace> routine, is temporarily stored in the
<monospace>gchemTendency</monospace> matrix, which is then summed to the overall tracer
tendency, <monospace>gTracer</monospace>, in the <monospace>PTRACER_APPLY_FORCING</monospace> routine,
along with the tendency term from the evaporation minus precipitation minus
runoff effect (<monospace>surfPtracers</monospace>). The transport terms of the tracers
(which update the <monospace>gTracer</monospace> matrix) are subsequently calculated
within the <monospace>PTRACER_INTEGRATE</monospace> routine by several subroutines
(<monospace>GAD_ADVECTION</monospace>, <monospace>GAD_CALC_RHS</monospace>, <monospace>IMPLDIFF</monospace>, and
others) according to the options and numerical schemes selected in the
specific MITgcm simulation set-up. The <monospace>TIMESTEP_TRACER</monospace> routine
calculates the integration of Eq. (10) by providing a new state for the
tracers. However, when the MITgcm set-up is prescribed with an implicit
vertical diffusion scheme, an update of the state of tracers is solved within
the <monospace>IMPLDIFF</monospace> routine according to the specific parameterization of
the vertical diffusion (e.g. KPP, GGL90). Finally, if open boundary
conditions are prescribed in the MITgcm set-up, the
<monospace>OBCS_APPLY_PTRACER</monospace> routine applies the updated values of the
tracers at the boundaries. The calculation of the derivative of the transport
processes (gTracer<inline-formula><mml:math id="M57" display="inline"><mml:mrow><mml:msub><mml:mi/><mml:mtext>trsp</mml:mtext></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> involves several MITgcm packages
(<monospace>GENERIC_ADVDIFF</monospace>, <monospace>PTRACERS</monospace>, <monospace>GCHEM</monospace>, <monospace>OBCS</monospace>,
<monospace>KPP</monospace>, and <monospace>EXF</monospace>) and options (choice of the advection scheme,
viscosity and diffusivity coefficients, parameterization of surface
dilution/concentration of tracers from evaporation, precipitation, and
runoff), which are exhaustively described in the MITgcm documentation
(Adcroft et al., 2016).</p>
      <p>For the second coupling option, an operator splitting scheme is selected when
<monospace>gchem_separate_forcing</monospace> is true (<monospace>#ifdef</monospace>). In this
case, the biogeochemical tendency (gTracer<inline-formula><mml:math id="M58" display="inline"><mml:mrow><mml:msub><mml:mi/><mml:mtext>bio</mml:mtext></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is calculated after
the state of the tracers has been updated by the transport equation terms. An
intermediate value of the tracers, <inline-formula><mml:math id="M59" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>C</mml:mi><mml:mo mathvariant="normal">̃</mml:mo></mml:mover><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 passed to
<monospace>BFMCOUPLER_CALC_TENDENCY</monospace> along with the values of the updated
hydrodynamic variables (Eq. 12).

                  <disp-formula id="Ch1.E12" content-type="numbered"><mml:math id="M60" display="block"><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><?xmltex \hack{\hbox\bgroup\fontsize{9.5}{9.5}\selectfont$\displaystyle}?><mml:mfenced open="{" close=""><mml:mtable class="array" columnalign="left"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>C</mml:mi><mml:mo mathvariant="normal">̃</mml:mo></mml:mover><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mtext>gTracer</mml:mtext><mml:mtext>trsp</mml:mtext></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>C</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:mo>=</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>C</mml:mi><mml:mo mathvariant="normal">̃</mml:mo></mml:mover><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mtext>gTracer</mml:mtext><mml:mtext>bio</mml:mtext></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>C</mml:mi><mml:mo mathvariant="normal">̃</mml:mo></mml:mover><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><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:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</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:mo>,</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mi>C</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>.</mml:mo><?xmltex \hack{$\egroup}?></mml:mrow></mml:math></disp-formula></p>
      <p>This option allows for the development of an integration scheme with
different time steps for the hydrodynamic and transport parts on one side and
for the biological processes on the other.</p>
      <p>A third option is an operator splitting algorithm, which involves the MITgcm
<monospace>LONGSTEP</monospace> package (Adcroft et al., 2016) and adopts different time
steps for the hydrodynamic and transport–biogeochemical components, thus
increasing the computational performance of a coupled simulation. In
particular, the tracer time step is set as a multiple (LS<inline-formula><mml:math id="M61" display="inline"><mml:msub><mml:mi/><mml:mi>n</mml:mi></mml:msub></mml:math></inline-formula>) of the main
(hydrodynamic) time step, <inline-formula><mml:math id="M62" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mtext>trc</mml:mtext></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mtext>LS</mml:mtext><mml:mi>n</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>, whereas the terms <inline-formula><mml:math id="M63" display="inline"><mml:mi mathvariant="bold-italic">v</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M64" display="inline"><mml:mi mathvariant="italic">θ</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M65" display="inline"><mml:mi>S</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="M66" display="inline"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mi>C</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> in Eq. (11)
are replaced by suitable averages of the physical variables. The calculation
of the averages is controlled by the <monospace>LS_when_to_sample</monospace> parameter,
which defines the position within the code workflow in which the hydrodynamic
variables are sampled (<monospace>longstep_average</monospace>, Fig. 3) and biogeochemical
tracer tendencies are calculated (<monospace>LONGSTEP_THERMODYNAMICS</monospace>, Fig. 3).
To activate this option, the <monospace>LONGSTEP</monospace> package code must be modified
properly: the <monospace>LONGSTEP_THERMODYNAMICS</monospace> routine must be modified by
adding a call to the modified <monospace>GCHEM_CALC_TENDENCY</monospace> routine.</p>
      <p>This third method is preferred over the previous one as a possible method of
decoupling the numerical biogeochemistry solution from the hydrodynamic
solution. We tested the model to verify the trade-off between the increase in
computational performance and the loss of accuracy in the model results as a
function of the extension of the time step for the tracer equations
(LS<inline-formula><mml:math id="M67" display="inline"><mml:msub><mml:mi/><mml:mi>n</mml:mi></mml:msub></mml:math></inline-formula>; see Sect. 3.1.3).</p>
</sec>
<sec id="Ch1.S2.SS4.SSS2">
  <title>BFMCOUPLER processes</title>
      <p>The core of the present coupling scheme is the new
<monospace>BFMCOUPLER_CALC_TENDENCY</monospace> routine, which is called by
<monospace>GCHEM_CALC_TENDENCY</monospace> or by <monospace>GCHEM_ FORCING_STEP</monospace>. The
approach adopted in this coupling scheme is to loop in space and to call the
BFM as a subroutine to calculate the derivative terms of each biogeochemical
tracer for each computational grid point (gTracer<inline-formula><mml:math id="M68" display="inline"><mml:msub><mml:mi/><mml:mtext>bio</mml:mtext></mml:msub></mml:math></inline-formula> in Fig. 2).
The derivatives of the chemical and biological processes are calculated by
the BFM model via an Euler forward scheme through the
<monospace>BFM0D_ECOLOGY_DYNAMICS</monospace> routine (a BFM routine) and stored in the
4-D MITgcm <monospace>gchemTendency</monospace> matrix. Additionally, the contributions of
other processes, which are not explicitly coded in the BFM, are solved within
<monospace>BFMCOUPLER_CALC_TENDENCY</monospace>, namely, the light penetration
formulation, the sinking of phytoplankton and detritus, and the exchange
processes in the surface and bottom layers of the water column.</p>
      <p>In particular, the <monospace>BFMCOUPLER</monospace> package calculates the vertical
profile of PAR along the water column, starting from the surface PAR,
which is read from an external file or by using the short-wave radiation
field (<inline-formula><mml:math id="M69" display="inline"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mtext>sw</mml:mtext></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, which is converted into PAR by a standard bulk
formula if the native MITgcm atmospheric forcing package <monospace>EXF</monospace> is
active (Britton and Dodd, 1976):
              <disp-formula id="Ch1.E13" content-type="numbered"><mml:math id="M70" display="block"><mml:mrow><mml:msub><mml:mtext>PAR</mml:mtext><mml:mtext>s</mml:mtext></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>Q</mml:mi><mml:mtext>sw</mml:mtext></mml:msub><mml:mo>⋅</mml:mo><mml:mtext>conv</mml:mtext><mml:mo>⋅</mml:mo><mml:mtext>pfrac</mml:mtext><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
            where <inline-formula><mml:math id="M71" display="inline"><mml:mrow><mml:msub><mml:mtext>PAR</mml:mtext><mml:mtext>s</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> is the PAR at the sea surface, conv is a
conversion factor of
4.6 <inline-formula><mml:math id="M72" display="inline"><mml:mi mathvariant="normal">µ</mml:mi></mml:math></inline-formula>Ein m<inline-formula><mml:math id="M73" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M74" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> (W m<inline-formula><mml:math id="M75" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup><mml:msup><mml:mo>)</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>, and pfrac is
the fraction of the radiation in the visible band, which equals 0.4. The
calculation of PAR along the water column, Eq. (14), is performed in the
cell centre according to the Lambert–Beer formulation for the light
exponential decay with depth and the shading of detritus and phytoplankton:
              <disp-formula id="Ch1.E14" content-type="numbered"><mml:math id="M76" display="block"><mml:mrow><mml:msub><mml:mtext>PAR</mml:mtext><mml:mi>z</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mtext>PAR</mml:mtext><mml:mtext>s</mml:mtext></mml:msub><mml:mo>⋅</mml:mo><mml:msup><mml:mi>e</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:msubsup><mml:mo>∫</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mi>z</mml:mi></mml:msubsup><mml:mo>(</mml:mo><mml:msub><mml:mi>K</mml:mi><mml:mtext>ext</mml:mtext></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mo>∑</mml:mo><mml:mi>j</mml:mi></mml:msub><mml:msub><mml:mtext>Chl</mml:mtext><mml:mi>j</mml:mi></mml:msub><mml:msub><mml:mtext>Kp</mml:mtext><mml:mi>j</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:msubsup><mml:mi>R</mml:mi><mml:mi mathvariant="double-struck">C</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:msub><mml:mi>K</mml:mi><mml:mi>R</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mtext>d</mml:mtext><mml:mi>z</mml:mi></mml:mrow></mml:msup><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
            where Chl<inline-formula><mml:math id="M77" display="inline"><mml:msub><mml:mi/><mml:mi>j</mml:mi></mml:msub></mml:math></inline-formula> is the chlorophyll concentration of the <inline-formula><mml:math id="M78" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula>th phytoplankton
functional type (PFT), <inline-formula><mml:math id="M79" display="inline"><mml:mrow><mml:msubsup><mml:mi>R</mml:mi><mml:mi mathvariant="double-struck">C</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula> is the carbon concentration of the
detritus or optically active organic matter, and <inline-formula><mml:math id="M80" display="inline"><mml:mrow><mml:msub><mml:mtext>Kp</mml:mtext><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M81" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mi>R</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> are the corresponding extinction factors. <inline-formula><mml:math id="M82" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mtext>ext</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> represents a
background value set constant and is equal to 0.035 m<inline-formula><mml:math id="M83" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> (considering
pure water), or it can be read from an external file. In the latter case, the
external file contains maps of the background extinction factor, which can be
built a priori to incorporate the contributions of different unparameterized
processes (e.g. the pattern distribution of yellow substances).</p>
      <p><monospace>BFMCOUPLER</monospace> solves the sinking processes and is activated for the
phytoplankton groups and detritus
(<inline-formula><mml:math id="M84" display="inline"><mml:mrow><mml:msubsup><mml:mi>R</mml:mi><mml:mrow><mml:mi mathvariant="double-struck">C</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="double-struck">N</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="double-struck">P</mml:mi></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula> variables in Fig. 1):
              <disp-formula id="Ch1.E15" content-type="numbered"><mml:math id="M85" display="block"><mml:mrow><mml:msubsup><mml:mfenced open="." close="|"><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="bold-italic">C</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mtext>bio</mml:mtext><mml:mtext>sink</mml:mtext></mml:msubsup><mml:mo>=</mml:mo><mml:msub><mml:mi>w</mml:mi><mml:mtext>s</mml:mtext></mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="bold-italic">C</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>z</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
            where <inline-formula><mml:math id="M86" display="inline"><mml:mrow><mml:msub><mml:mi>w</mml:mi><mml:mtext>s</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> is the sinking velocity (m s<inline-formula><mml:math id="M87" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, which is provided
both as a constant value or as a diagnostic result produced by the BFM model
based on the nutrient stress conditions of the phytoplankton cells (Lazzari
et al., 2012). The equation is solved numerically based on an Euler forward
scheme.</p>
      <p>A second module of <monospace>BFMCOUPLER</monospace> was designed to easily handle the
boundary conditions at the surface and bottom. At the surface, air deposition
can constitute an important source of nutrients in oligotrophic systems.
Furthermore, when the runoff and nutrient discharge from rivers cannot be
incorporated into the MITgcm <monospace>OBCS</monospace> package (as in Cossarini et al.,
2015a), incorporating these factors as external surface forcings may be
necessary (i.e. as localized runoff). Therefore, such contributions are
prescribed as additional terms in <monospace>gchemTendency</monospace> in the surface layer
by reading time-varying 2-D maps from external files:
              <disp-formula id="Ch1.E16" content-type="numbered"><mml:math id="M88" display="block"><mml:mrow><mml:msubsup><mml:mfenced close="|" open="."><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="bold-italic">C</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mtext>bio</mml:mtext><mml:mtext>surf</mml:mtext></mml:msubsup><mml:mo>=</mml:mo><mml:msub><mml:mfenced close="|" open="."><mml:msub><mml:mtext>flux</mml:mtext><mml:mi>C</mml:mi></mml:msub></mml:mfenced><mml:mtext>surf</mml:mtext></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p>The coupled MITgcm–BFM model includes a simple parameterization of the
fluxes at the water–sediment interface, which includes the burial of
detritus (e.g. a net export flux from the ecosystem) and an incoming flux of
nutrients into the deepest cell of the water column. Burial is parameterized
as the first-order kinetics of the carbon (<inline-formula><mml:math id="M89" display="inline"><mml:mrow><mml:mi mathvariant="double-struck">C</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, nitrogen
(<inline-formula><mml:math id="M90" display="inline"><mml:mrow><mml:mi mathvariant="double-struck">N</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, and phosphorus (<inline-formula><mml:math id="M91" display="inline"><mml:mrow><mml:mi mathvariant="double-struck">P</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> content in the detritus
(<inline-formula><mml:math id="M92" display="inline"><mml:mrow><mml:msubsup><mml:mi>R</mml:mi><mml:mrow><mml:mi mathvariant="double-struck">C</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="double-struck">N</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="double-struck">P</mml:mi></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula> variables), which is
exported out from the bottom grid cell:
              <disp-formula id="Ch1.E17" content-type="numbered"><mml:math id="M93" display="block"><mml:mrow><mml:msubsup><mml:mfenced open="." close="|"><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:msubsup><mml:mi>R</mml:mi><mml:mrow><mml:mi mathvariant="double-struck">C</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="double-struck">N</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="double-struck">P</mml:mi></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mtext>bio</mml:mtext><mml:mtext>bottom</mml:mtext></mml:msubsup><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:msub><mml:mi>k</mml:mi><mml:mtext>burial</mml:mtext></mml:msub><mml:msubsup><mml:mi>R</mml:mi><mml:mrow><mml:mi mathvariant="double-struck">C</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="double-struck">N</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="double-struck">P</mml:mi></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p>In the same grid cell, the nutrient (for <inline-formula><mml:math id="M94" display="inline"><mml:mi mathvariant="bold-italic">C</mml:mi></mml:math></inline-formula> equal to N<inline-formula><mml:math id="M95" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:math></inline-formula>, N<inline-formula><mml:math id="M96" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:math></inline-formula> and
N<inline-formula><mml:math id="M97" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:math></inline-formula> in Fig. 1) bottom fluxes are set either as a constant rate over the
entire domain or as time-varying 2-D maps that can be read from an external
file or provided by the benthic module of the BFM (which is foreseen in an
ongoing development of the model):
              <disp-formula id="Ch1.E18" content-type="numbered"><mml:math id="M98" display="block"><mml:mrow><mml:msubsup><mml:mfenced close="|" open="."><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>∂</mml:mo><mml:mi mathvariant="bold-italic">C</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mtext>bio</mml:mtext><mml:mtext>bottom</mml:mtext></mml:msubsup><mml:mo>=</mml:mo><mml:msub><mml:mfenced open="." close="|"><mml:msub><mml:mtext>flux</mml:mtext><mml:mi>C</mml:mi></mml:msub></mml:mfenced><mml:mtext>bottom</mml:mtext></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p>The <monospace>BFMCOUPLER</monospace> involves the use of several external surface forcing
fields, such as the surface photosynthetic active radiation, background light
extinction factor, sediment fluxes, and partial pressure of atmospheric
carbon dioxide, which are used by the BFM to
calculate the air–sea CO<inline-formula><mml:math id="M99" display="inline"><mml:msub><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:math></inline-formula> exchanges. These fields are managed by the
<monospace>BFMCOUPLER</monospace> package through the <monospace>BFMCOUPLER_FIELDS_LOAD</monospace>
routine, which is a specifically modified replica of the <monospace>EXTERNAL_FIELDS_LOAD</monospace>
routine of the MITgcm (Adcroft et al., 2016). This reading of
external fields is controlled by two parameters: the timespan
(<monospace>forcingCycle</monospace>) and the frequency (<monospace>forcingPeriod</monospace>) of
external forcing, which are specified in the <monospace>BFMCOUPLER</monospace> namelist
(additional details in the Appendix).</p>
</sec>
<sec id="Ch1.S2.SS4.SSS3">
  <title>Compilation and set-up</title>
      <p>The MITgcm and BFM must be compiled with the same compiler. We tested the
code by using both the GNU and Intel compilers on several HPC platforms.
Here, we report the results obtained by running the model (compiled with
Intel) on a Linux cluster. The BFM is compiled as an independent library by
using the following option of the BFM makefile: <monospace>mkmf -p $BFM_LIB</monospace>,
and by configuring the <monospace>config_BFM.sh</monospace> compiling bash script with the
appropriate compilation options (modules, optimization, and compiler), which
are also used for the MITgcm compilation. Then, the build_option file for
generating the MITgcm makefile must be modified by adding the path to the BFM
compiled library and include files. Additional details are given in the
manual of the <monospace>BFMCOUPLER</monospace> package (Appendix A).</p>
</sec>
</sec>
</sec>
<sec id="Ch1.S3">
  <title>Results</title>
      <p>We tested the new coupled hydrodynamic–biogeochemical model against two case
studies: an idealized experiment (a cyclonic gyre in a mid-latitude closed
domain) and a realistic configuration (central Mediterranean Sea). In the
first case study, which was released along with the code and the manual
(<uri>https://github.com/gcossarini/BFMCOUPLER</uri>), we aimed to test the
coherence of the model with the expected dynamics based on theoretical
considerations and to test the model's performance under different coupling
configurations. The second application was not meant to produce a thoroughly
validated description of the dynamics of the area, but has been designed to
show that the coupled model (once run in a realistic set-up) can be used to
investigate a wide range of processes from coastal areas to open ocean. A
thorough quantitative validation of the Mediterranean model output and an
exploration of the results for analyses of the biogeochemical dynamics in the
area are beyond the scope of this paper.</p>
<sec id="Ch1.S3.SS1">
  <title>Idealized case study</title>
      <p>This experiment was based on a simplified case study that consisted of an
idealized domain (<inline-formula><mml:math id="M100" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">2</mml:mn><mml:mo>∘</mml:mo></mml:msup><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">2</mml:mn><mml:mo>∘</mml:mo></mml:msup><mml:mo>×</mml:mo><mml:mn mathvariant="normal">280</mml:mn></mml:mrow></mml:math></inline-formula> m closed box) that
was forced by steady winds and a seasonal cycle of surface heat (downward
long-wave and short-wave radiation) and mass (precipitation) fluxes. The
horizontal shear in the surface wind field maintained a permanent cyclonic
gyre, whereas the surface heat fluxes acted on the thermohaline properties of
the water column, inducing a yearly cycle (summer stratification – winter
mixing). This simulation was run for several years to reach steady-state
conditions (perpetual year simulation).</p>
<sec id="Ch1.S3.SS1.SSS1">
  <title>Numerical configuration</title>
      <p>This domain was discretized by adopting a uniform grid spacing
(<inline-formula><mml:math id="M101" display="inline"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:msup><mml:mn mathvariant="normal">32</mml:mn><mml:mo>∘</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula>) in the horizontal direction, creating 64 grid cells in both
directions. All the peripheral grid points of the bathymetry were land points
(closed box), whereas the bottom of the domain was a bowl-shaped pit. In the
vertical direction, the model was composed of 30 layers with non-uniform
thickness (from 1.5 to 21 m). The time step equalled 300 s. External
forcing fields were introduced via the MITgcm native <monospace>EXF</monospace> package.
The meteorological forcing consisted of nine surface fields, namely, the 2 m
air temperature (<monospace>atemp</monospace>), 2 m specific humidity (<monospace>aqh</monospace>),
10 m zonal and meridional wind (<monospace>uwind</monospace>, <monospace>vwind</monospace>),
precipitation (<monospace>precip</monospace>), long- and short-wave incident radiation
(<monospace>lwdown</monospace>, <monospace>swdown</monospace>), air pressure (<monospace>apressure</monospace>), and
surface runoff (<monospace>runoff</monospace>). The wind stress and total heat flux were
calculated via standard bulk formulae. The experiment was designed with no
open boundaries to verify the mass conservation of chemical elements and
simulate the effect of free surface dynamics on the distribution of tracers
in the surface layer, which can be important for certain processes, such as
the effects of concentration and dilution on the carbonate system variables.
We chose the pre-compilation option, which allows for the presence of mass
sources/sinks of fluid in the domain (3-D generalization of the oceanic
real-freshwater flux option: <monospace>#define ALLOW_ADDFLUID</monospace>). With this
option enabled, the net contribution of precipitation, evaporation, and
runoff can be considered in the total mass budget. In particular, we
activated the “exact conservation” of fluid in the free-surface formulation
(<monospace>#define EXACT_CONSERV</monospace>) so that the temporal evolution of the free
surface height exactly equalled the divergence of the volume transport. We
allowed the use of the non-linear free-surface option so that the surface
level thickness (<monospace>hFactor</monospace>) could vary with time (<monospace>#define NONLIN_FRSURF</monospace>). The tests were run by adopting the following runtime
options (in the “<monospace>data</monospace>” namelist) for the free-surface formulation
and the volume conservation constraints:<?xmltex \hack{\newline}?><?xmltex \hack{\newline}?>
<monospace>&amp;PARM01</monospace><?xmltex \hack{\newline}?>
<monospace>implicitFreeSurface=.TRUE.</monospace>,<?xmltex \hack{\newline}?>
<monospace>exactConserv=.TRUE.</monospace>,<?xmltex \hack{\newline}?>
<monospace>useRealFreshwaterFlux=.TRUE.</monospace>,<?xmltex \hack{\newline}?>
<monospace>selectAddFluid=1</monospace>,<?xmltex \hack{\newline}?>
<monospace>linFSConserveTr=.FALSE.</monospace>,<?xmltex \hack{\newline}?>
<monospace>nonlinFreeSurf=4</monospace>,<?xmltex \hack{\newline}?> <monospace>&amp;END</monospace><?xmltex \hack{\newline}?></p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F4" specific-use="star"><caption><p>Idealized case study (circulation in a <inline-formula><mml:math id="M102" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">2</mml:mn><mml:mo>∘</mml:mo></mml:msup><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">2</mml:mn><mml:mo>∘</mml:mo></mml:msup><mml:mo>×</mml:mo><mml:mn mathvariant="normal">280</mml:mn></mml:mrow></mml:math></inline-formula> m closed domain). Horizontal component of velocity: current
speed (colour) and direction (vectors) at 12 m depth. Five-day average in
winter <bold>(a)</bold> and summer <bold>(b)</bold>, and yearly
average <bold>(c)</bold>.</p></caption>
            <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/10/1423/2017/gmd-10-1423-2017-f04.png"/>

          </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F5" specific-use="star"><caption><p>Hovmöller diagrams of the <bold>(a)</bold> temperature and evolution
of the mixed-layer depth (MLD), <bold>(b)</bold> phosphate and PAR,
<bold>(c)</bold> chlorophyll (sum of the chlorophyll content in the four
phytoplankton functional groups) and phytoplankton expressed in carbon
biomass, <bold>(d)</bold> oxygen and net primary production (NPP),
<bold>(e)</bold> small zooplankton (small zoopl) and mesozooplankton (mesozoopl),
and <bold>(f)</bold> bacteria.</p></caption>
            <?xmltex \igopts{width=398.338583pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/10/1423/2017/gmd-10-1423-2017-f05.png"/>

          </fig>

      <p>When configuring the options for the passive tracers package
(<monospace>PTRACERS</monospace>), we set the concentrations of the tracers in the surface
mass fluxes (evaporation minus precipitation minus runoff) to always equal
zero (<monospace>PTRACERS_EvPrRn(tracer_number)</monospace> <inline-formula><mml:math id="M103" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 0.0). We used the same
advection scheme (third order and direct space–time with a Sweby flux
limiter) for active and passive tracers (<monospace>tracerAdvScheme</monospace> <inline-formula><mml:math id="M104" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 33).
Biogeochemical variables were initialized with suitable vertical profiles for
winter conditions all over the domain. The <monospace>BFMCOUPLER</monospace> package was
configured without external forcing both at the surface and at the bottom for
nutrients, so that a closed system is simulated and mass conservation is
checked. PAR was converted from short-wave radiation, and the light
extinction factor was calculated considering a background value
(<inline-formula><mml:math id="M105" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mtext>ext</mml:mtext></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.035</mml:mn></mml:mrow></mml:math></inline-formula> m<inline-formula><mml:math id="M106" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> and the shading effect of phytoplankton
groups. All details of this experiment along with namelists and input files
are given in Appendix A.</p>
</sec>
<sec id="Ch1.S3.SS1.SSS2">
  <title>Results of the simulation</title>
      <p>The model simulated a realistic cyclonic circulation with associated
mesoscale variability from vertical thermohaline stratification and flow
instability. Relatively well-mixed thermohaline conditions in the winter
induced a more unstable cyclonic gyre with small-scale mesoscale eddies
(Fig. 4a), whereas a more stable and energetic cyclonic circulation occurred
from stratified thermohaline conditions in the summer (Fig. 4b).</p>
      <p>Figure 5 shows the evolution of several physical properties and biological
components within the central part of the gyre. The coupled model simulated
the evolution of the thermocline and nutricline and the effect of winter
vertical mixing on the temperature and nutrient profiles (Fig. 5a and b).
Figure 5 also shows the formation of surface phytoplankton blooms during
early winter (Fig. 5c), the formation of the deep chlorophyll maximum (DCM)
during summer (as a trade-off between the light penetration and the depth of
the nutricline), and the effect of the erosion of the stratification during
autumn on the biogeochemical properties of the basin (deepening of
mixed layer depth – MLD – Fig. 5a). Net primary
production (NPP, contour plot in Fig. 5d) showed the highest values in the
proximity of the DCM during spring, although high primary productivity was
also simulated in the upper part of the water column, where the high level of
irradiance stimulated carbon fixation, especially for small-sized
phytoplankton groups (not shown), even in the presence of low phytoplankton
biomass.</p>
      <p>The region close to the DCM was the most active biological area, i.e. the
concentrations of all of the living variables (small and mesozooplankton
groups and bacteria; Fig. 5e and f) were the highest and the fluxes fuelled
the so-called classic food chain (Legendre and Rassoulzadegan, 1995).
Nevertheless, significant bacterial biomass was also simulated in the upper
part of the water column, where bacteria consumed the labile organic matter,
which was side-produced by phytoplankton in the well-lit upper levels. Small zooplankton (sum of
micro- and hetero-trophic nanoflagellate groups) took advantage of the
bacterial biomass, triggering the so-called microbial food web (Legendre and
Rassoulzadegan, 1995), which dominated the upper part of the water column
during summer. Oxygen (Fig. 5d) was higher in the upper part of the water
column during winter because of the high level of NPP and the effect of
re-aeration processes with the atmosphere. Bacterial production and the
predominance of respiration over phytoplankton photosynthesis caused the
autumn minimum.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F6"><caption><p>Wall clock time of the main MITgcm routines clustered in selected
groups (left axes) as a function of the number of hydrodynamic time steps
between tracer time steps (LS<inline-formula><mml:math id="M107" display="inline"><mml:msub><mml:mi/><mml:mi>n</mml:mi></mml:msub></mml:math></inline-formula>): initialization and I/O (sum of the
routines: <monospace>MODEL_I/O</monospace>, <monospace>DO_STATEVARS_DIAGS</monospace>,
<monospace>LOAD_FIELDS_DRIVER</monospace>, <monospace>MONITOR</monospace>, <monospace>DO_THE_MODEL_IO</monospace>,
and <monospace>DO_WRITE_PICKUP</monospace>), hydrodynamics (sum of <monospace>DYNAMICS</monospace>,
<monospace>SOLVE_FOR_PRESSURE</monospace>, <monospace>INTEGR_CONTINUITY</monospace>, and other
routines); temperature and salinity (sum of the routines:
<monospace>TEMP_INTEGRATE</monospace> and <monospace>SALT_INTEGRATE</monospace>); MPI tasks
(<monospace>BLOCKING_EXCHANGES</monospace> routine); tracers<inline-formula><mml:math id="M108" display="inline"><mml:msub><mml:mi/><mml:mtext>bio</mml:mtext></mml:msub></mml:math></inline-formula>
(<monospace>GCHEM_CALC_TENDENCY</monospace>) and tracers<inline-formula><mml:math id="M109" display="inline"><mml:msub><mml:mi/><mml:mtext>trsp</mml:mtext></mml:msub></mml:math></inline-formula>
(<monospace>PTRACER_INTEGRATE</monospace>). The root mean square difference of the
integrated chlorophyll (right axis) is shown as a function of LS<inline-formula><mml:math id="M110" display="inline"><mml:msub><mml:mi/><mml:mi>n</mml:mi></mml:msub></mml:math></inline-formula>.</p></caption>
            <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/10/1423/2017/gmd-10-1423-2017-f06.png"/>

          </fig>

</sec>
<sec id="Ch1.S3.SS1.SSS3">
  <?xmltex \opttitle{Application of the \texttt{LONGSTEP} option}?><title>Application of the <monospace>LONGSTEP</monospace> option</title>
      <p>The computational cost of a 1-year simulation was approximately 5 h when
adopting an MPI configuration that featured 16 Ivy Bridge cores. The code
profiling (Fig. 6) indicated that most of the CPU time (i.e. up to 85 %)
was devoted to solving the differential equation for the high number of
tracers (51). Solving the transport part (Tracers<inline-formula><mml:math id="M111" display="inline"><mml:msub><mml:mi/><mml:mtext>trsp</mml:mtext></mml:msub></mml:math></inline-formula> in Fig. 6) of
the tracer equation (Eq. 10) accounted for 50 % of the overall
computational cost, whereas solving the biological part (Tracers<inline-formula><mml:math id="M112" display="inline"><mml:msub><mml:mi/><mml:mtext>bio</mml:mtext></mml:msub></mml:math></inline-formula>
in Fig. 6) accounted for 35 %. The cost of solving tracer transport
increased linearly with the number of tracers (e.g. Tracers<inline-formula><mml:math id="M113" display="inline"><mml:msub><mml:mi/><mml:mtext>trsp</mml:mtext></mml:msub></mml:math></inline-formula> is
almost 25 times larger than the time used to solve for temperature and
salinity; Fig. 6), whereas the cost of the BFM calculations was primarily
dependent on the solution of the carbonate system, although the complexity of
the relationships among the biogeochemical variables (results not shown) was
also a factor. The use of the <monospace>LONGSTEP</monospace> MITgcm package caused an
almost exponential reduction in the computational cost for the integration of
the tracer equation (Fig. 6). With a LS<inline-formula><mml:math id="M114" display="inline"><mml:msub><mml:mi/><mml:mi>n</mml:mi></mml:msub></mml:math></inline-formula> set to 8 (a time step for
tracers, <inline-formula><mml:math id="M115" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mtext>trc</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>, equals 2400 s), the runtime was reduced by
more than 80 % with respect to the reference run. Assuming this
optimization, the fraction that was devoted to the solution of the
hydrodynamic and MPI routines accounted for 45 %, whereas the remaining
part (55 %) was devoted to solving the transport–biogeochemical part.
Within the tracer equation, 60 % of the quota was allotted for transport
and 40 % of the quota was allotted for the BFM and the other
biogeochemical processes.</p>
      <p>The use of a coarser time resolution for the solution of the tracer equations
implied errors with respect to the reference solution (Fig. 6). The errors
were calculated as the root mean square of the difference of the integrated
0–200 m chlorophyll between the reference run (LS<inline-formula><mml:math id="M116" display="inline"><mml:mrow><mml:msub><mml:mi/><mml:mi>n</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>, i.e. no
<monospace>LONGSTEP</monospace>) and the run with increased LS<inline-formula><mml:math id="M117" display="inline"><mml:msub><mml:mi/><mml:mi>n</mml:mi></mml:msub></mml:math></inline-formula>. The magnitude of the
mean annual error increased almost linearly with the coarsening of <inline-formula><mml:math id="M118" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>
and equalled 0.0025 mg m<inline-formula><mml:math id="M119" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> at LS<inline-formula><mml:math id="M120" display="inline"><mml:mrow><mml:msub><mml:mi/><mml:mi>n</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">8</mml:mn></mml:mrow></mml:math></inline-formula>. Within a simulation, the
largest differences between the reference run and the coarser time
discretization run were registered during periods with the highest
chlorophyll tendency, such as during autumn vertical mixing events along the
entire water column and during the deep chlorophyll maximum formation in the
spring (not shown). The errors became relevant (<inline-formula><mml:math id="M121" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> 0.01 mg m<inline-formula><mml:math id="M122" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> when
larger values for LS<inline-formula><mml:math id="M123" display="inline"><mml:msub><mml:mi/><mml:mi>n</mml:mi></mml:msub></mml:math></inline-formula> (e.g. LS<inline-formula><mml:math id="M124" display="inline"><mml:mrow><mml:msub><mml:mi/><mml:mi>n</mml:mi></mml:msub><mml:mo>≥</mml:mo><mml:mn mathvariant="normal">10</mml:mn></mml:mrow></mml:math></inline-formula>) were adopted.</p>
</sec>
<sec id="Ch1.S3.SS1.SSS4">
  <title>Mass budget</title>
      <p>The reference run was also used to verify the mass conservation of the
coupled hydrodynamic–biogeochemical model by considering that the model
configuration (i.e. non-linear free surface) was set to properly simulate the
effects of free-surface dynamics on the concentrations of the biogeochemical
variables at the surface. Figure 7 shows the time series of the sea surface
height (SSH) averaged over the entire basin. The results indicated the
prevalence of rain over evaporation for the first part of the year and vice
versa from May to October. For example, the evolution of alkalinity, which is
a key variable for resolving the ocean carbonate system (Follows et al.,
2006), was correctly anti-correlated with the derivative of SSH in the
surface layer because the effects of concentration and dilution at the
surface are dependent on the water mass balance. This model feature was
provided along with the mass conservation capability for tracers (Fig. 7).
The errors in mass conservation over time were small (<inline-formula><mml:math id="M125" display="inline"><mml:mrow><mml:mi>O</mml:mi><mml:mo>(</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">9</mml:mn></mml:mrow></mml:msup><mml:mo>)</mml:mo><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> and they
were caused by the computation of the time average of the model output. The
coupled MITgcm–BFM model, which was configured with the non-linear
free-surface option, allowed us to efficiently simulate the
dilution–concentration dynamics while preserving the ability to calculate
the budget of the chemical elements with a high level of accuracy. This
feature is indeed important considering the dynamics of variables like
alkalinity, whose spatial patterns at the surface were dominated by the
regional-spatial-scale distribution of the water mass budget (Cossarini et
al., 2015b).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F7"><caption><p>Evolution of SSH (blue line) and alkalinity (red line) at the
surface layer together with the relative variation of total alkalinity mass
(M) with respect to the initial condition (M<inline-formula><mml:math id="M126" display="inline"><mml:msub><mml:mi/><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:math></inline-formula>) over the whole domain (black
line). The total alkalinity mass was obtained by multiplying the daily
average model output by the domain volume, which included the time-varying
SSH at the surface layer.</p></caption>
            <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/10/1423/2017/gmd-10-1423-2017-f07.png"/>

          </fig>

</sec>
</sec>
<sec id="Ch1.S3.SS2">
  <title>Adriatic–Ionian system case study</title>
      <p>The coupled model was also used to simulate a realistic domain: the central
Mediterranean Sea. This area, which encompasses the Adriatic and Ionian seas
(Fig. 8), was chosen because it is characterized by a wide range of
interconnected ecosystems that span coastal areas, which are influenced by
river discharges, and offshore regions, which are characterized by open-sea
dynamics. Indeed, the northern part of the Adriatic is a continental shelf
area influenced by terrestrial input (Solidoro et al., 2009; Cossarini et
al., 2015a). This area is a site of dense water formation (Gačić et
al., 2001; Querin et al., 2013) and represents one of the most productive
areas of the Mediterranean Sea (Mangoni et al., 2008). The southern Adriatic
Sea is characterized by an almost permanent geostrophic gyre modulated by
deep winter mixing episodes (Gačić et al., 2002; Bensi et al., 2014),
and it is connected to the Ionian Sea via the Otranto Strait. The Ionian Sea
is the deepest sub-basin of the Mediterranean, and it is characterized by
basin-scale circulation patterns and smaller mesoscale eddies. This sea is
influenced by oligotrophic and salty waters originating from the Levantine
basin and by the relatively fresh Atlantic water masses that flow from the
west. The hydrodynamics of the area have been simulated by the
Adriatic–Ionian implementation of the MITgcm (ADriatic IOnian System model
(ADIOS), Querin et al., 2016), which we used in this study. The aim of this
experiment is to show the ability of the new coupled model to properly
simulate the effects of hydrodynamics on biogeochemistry within a wide range
of oceanographic and ecological processes that range from a few kilometres to
hundreds of kilometres and from oligotrophic to high-level trophic
conditions.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F8"><caption><p>Bathymetry (depth in metres)
of the Adriatic–Ionian model. The plot also indicates the location of the
major rivers (arrows), the Otranto Strait, and the position of the two sites
(circles) that were selected to display the Hovmöller diagrams in
Fig. 10.</p></caption>
          <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/10/1423/2017/gmd-10-1423-2017-f08.png"/>

        </fig>

<?xmltex \floatpos{t}?><table-wrap id="Ch1.T1" specific-use="star"><caption><p>Concentrations of tracers in the rivers.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="5">
     <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="right"/>
     <oasis:colspec colnum="5" colname="col5" align="left"/>
     <oasis:thead>
       <oasis:row>  
         <oasis:entry colname="col1">BFM name</oasis:entry>  
         <oasis:entry colname="col2">Variable name</oasis:entry>  
         <oasis:entry colname="col3">Unit</oasis:entry>  
         <oasis:entry colname="col4">Value</oasis:entry>  
         <oasis:entry colname="col5">Reference</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">  
         <oasis:entry colname="col1">(Fig. 1)</oasis:entry>  
         <oasis:entry colname="col2"/>  
         <oasis:entry colname="col3"/>  
         <oasis:entry colname="col4"/>  
         <oasis:entry colname="col5"/>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>  
         <oasis:entry colname="col1">O<inline-formula><mml:math id="M127" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">oxygen</oasis:entry>  
         <oasis:entry colname="col3">mmol m<inline-formula><mml:math id="M128" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col4">250</oasis:entry>  
         <oasis:entry colname="col5">saturation level in freshwater</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">N<inline-formula><mml:math id="M129" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">phosphate</oasis:entry>  
         <oasis:entry colname="col3">mmol P m<inline-formula><mml:math id="M130" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col4">2.6</oasis:entry>  
         <oasis:entry colname="col5">Cossarini et al. (2015a),</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"/>  
         <oasis:entry colname="col2"/>  
         <oasis:entry colname="col3"/>  
         <oasis:entry colname="col4"/>  
         <oasis:entry colname="col5">adapted from Ludwig et al. (2009)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">N<inline-formula><mml:math id="M131" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">nitrate</oasis:entry>  
         <oasis:entry colname="col3">mmol m<inline-formula><mml:math id="M132" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col4">150</oasis:entry>  
         <oasis:entry colname="col5">Cossarini et al. (2015a),</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"/>  
         <oasis:entry colname="col2"/>  
         <oasis:entry colname="col3"/>  
         <oasis:entry colname="col4"/>  
         <oasis:entry colname="col5">adapted from Ludwig et al. (2009)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">N<inline-formula><mml:math id="M133" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">4</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">ammonia</oasis:entry>  
         <oasis:entry colname="col3">mmol m<inline-formula><mml:math id="M134" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col4">34.1</oasis:entry>  
         <oasis:entry colname="col5">set equal to <inline-formula><mml:math id="M135" display="inline"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:math></inline-formula> of total nitrogen</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">N<inline-formula><mml:math id="M136" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">5</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">silicate</oasis:entry>  
         <oasis:entry colname="col3">mmol m<inline-formula><mml:math id="M137" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col4">150</oasis:entry>  
         <oasis:entry colname="col5">set equal to nitrate value<inline-formula><mml:math id="M138" display="inline"><mml:msup><mml:mi/><mml:mo>-</mml:mo></mml:msup></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">O<inline-formula><mml:math id="M139" display="inline"><mml:mrow><mml:msubsup><mml:mi/><mml:mi mathvariant="double-struck">C</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">dissolved inorganic carbon (DIC)</oasis:entry>  
         <oasis:entry colname="col3">mg m<inline-formula><mml:math id="M140" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col4">33 225</oasis:entry>  
         <oasis:entry colname="col5">Cossarini et al. (2015b)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">O<inline-formula><mml:math id="M141" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msup></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">alkalinity</oasis:entry>  
         <oasis:entry colname="col3">mmol m<inline-formula><mml:math id="M142" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col4">2800</oasis:entry>  
         <oasis:entry colname="col5">Cossarini et al. (2015b)</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

<sec id="Ch1.S3.SS2.SSS1">
  <title>Domain and model set-up</title>
      <p>The model domain was delimited by the Sicily channel (lon 12.2<inline-formula><mml:math id="M143" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> E)
on the western side and by the Cretan Passage (lon 22.7<inline-formula><mml:math id="M144" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> E) on the
eastern side. The Strait of Messina and the Gulf of Corinth were excluded in
this study. The horizontal resolution was 1<inline-formula><mml:math id="M145" display="inline"><mml:mrow><mml:mo>/</mml:mo><mml:msup><mml:mn mathvariant="normal">32</mml:mn><mml:mo>∘</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> (approximately
3 km), whereas the vertical grid consisted of 72 <inline-formula><mml:math id="M146" display="inline"><mml:mi>z</mml:mi></mml:math></inline-formula> levels; therefore, the
ADIOS model could be easily nested in the <inline-formula><mml:math id="M147" display="inline"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:msup><mml:mn mathvariant="normal">16</mml:mn><mml:mo>∘</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> Copernicus
Mediterranean Modelling Forecasting system (CMEMS MED-MFC; Lazzari et al.,
2010), which shares the same bathymetry along the open boundary of ADIOS.</p>
      <p>The model set-up only considered the main rivers that flow into the Adriatic
Sea, whereas the minor contributions that flow into the Ionian Sea were
neglected. River contributions were introduced as local boundary conditions,
imposing observed daily freshwater flow rates for the major rivers (e.g. Po)
and climatological annual flow rates for the others, with spring and autumn
maxima and winter and summer minima (Querin et al., 2013; Janeković et
al., 2014). The tracer concentrations at the river mouths were constant in
space and time (Table 1), and the mass fluxes were calculated by multiplying
the concentrations by the flow rate of each river.</p>
      <p>The boundary conditions along the Sicily Channel and along the Cretan Passage
were derived from the CMEMS MED-MFC system (Tonani et al., 2008; Lazzari et
al., 2010) for both the hydrodynamic and biogeochemical variables (OBC and
OBC<inline-formula><mml:math id="M148" display="inline"><mml:msub><mml:mi/><mml:mi>C</mml:mi></mml:msub></mml:math></inline-formula> in Fig. 2). The output of the 1999–2012 reanalysis (Salon et al.,
2015) was downloaded from the Copernicus web portal
(<uri>http://marine.copernicus.eu</uri>). The present model configuration adopted
a finer horizontal resolution (from <inline-formula><mml:math id="M149" display="inline"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:msup><mml:mn mathvariant="normal">16</mml:mn><mml:mo>∘</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> to <inline-formula><mml:math id="M150" display="inline"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:msup><mml:mn mathvariant="normal">32</mml:mn><mml:mo>∘</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula>) with
respect to the CMEMS MED-MFC system, whereas the vertical spacing was the
same; hence, interpolating/extrapolating the hydrodynamic and biogeochemical
fields in the vertical direction was unnecessary. Furthermore, both the CMEMS
MED-MFC system and ADIOS adopted the BFM biogeochemical model; therefore,
changes or conversions to the biogeochemical variables were not required. The
initial conditions for the hydrodynamic and biogeochemical variables were
also derived from the CMEMS MED-MFC system by linearly interpolating the
original fields from <inline-formula><mml:math id="M151" display="inline"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:msup><mml:mn mathvariant="normal">16</mml:mn><mml:mo>∘</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> to <inline-formula><mml:math id="M152" display="inline"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:msup><mml:mn mathvariant="normal">32</mml:mn><mml:mo>∘</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula>. Additional details on
the ADIOS model set-up are provided by Querin et al. (2016).</p>
      <p>Surface meteorological forcing was derived from the Regional Climate Model
(RegCM) developed at the International Centre for Theoretical Physics (ICTP)
in Trieste. We used the 12 km horizontal resolution version with 3 h output
frequency (as in Querin et al., 2016). The heat fluxes (<inline-formula><mml:math id="M153" display="inline"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mi mathvariant="italic">θ</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> in
Fig. 2) at the air–sea interface were calculated using standard bulk
formulae (via the MITgcm native <monospace>EXF</monospace> package); the air temperature,
specific humidity, precipitation, incoming radiation, and wind speed values
were interpolated from the meteorological model; the sea surface temperature
was provided by the oceanographic model. The 3 h temporal resolution can
highlight the daily variability in the physical and biogeochemical properties
of the uppermost layers of the water column (daily cycling of the PAR,
temporal variability in the temperature and wind).</p>

<?xmltex \floatpos{t}?><table-wrap id="Ch1.T2" specific-use="star"><caption><p>Computational cost as a function of the <monospace>LONGSTEP</monospace> factor
(LS<inline-formula><mml:math id="M154" display="inline"><mml:msub><mml:mi/><mml:mi>n</mml:mi></mml:msub></mml:math></inline-formula>) and the mean error of the integrated chlorophyll. The error was
the annual average of the rms of the differences between the
<monospace>LONGSTEP</monospace> simulations and the reference (Ref) simulation. The error
was normalized using the reference simulation.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="6">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="right"/>
     <oasis:colspec colnum="3" colname="col3" align="right"/>
     <oasis:colspec colnum="4" colname="col4" align="right"/>
     <oasis:colspec colnum="5" colname="col5" align="right"/>
     <oasis:colspec colnum="6" colname="col6" align="right"/>
     <oasis:thead>
       <oasis:row rowsep="1">  
         <oasis:entry colname="col1">LS<inline-formula><mml:math id="M155" display="inline"><mml:msub><mml:mi/><mml:mi>n</mml:mi></mml:msub></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">1 (Ref)</oasis:entry>  
         <oasis:entry colname="col3">3</oasis:entry>  
         <oasis:entry colname="col4">6</oasis:entry>  
         <oasis:entry colname="col5">9</oasis:entry>  
         <oasis:entry colname="col6">12</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M156" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mtext>trc</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> (s)</oasis:entry>  
         <oasis:entry colname="col2">200</oasis:entry>  
         <oasis:entry colname="col3">600</oasis:entry>  
         <oasis:entry colname="col4">1200</oasis:entry>  
         <oasis:entry colname="col5">1800</oasis:entry>  
         <oasis:entry colname="col6">2400</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">Wall clock time (h) per 1-year simulation</oasis:entry>  
         <oasis:entry colname="col2">65.8</oasis:entry>  
         <oasis:entry colname="col3">29.5</oasis:entry>  
         <oasis:entry colname="col4">17.3</oasis:entry>  
         <oasis:entry colname="col5">14.5</oasis:entry>  
         <oasis:entry colname="col6">15.1</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">Error of integrated 0–200 m chlorophyll</oasis:entry>  
         <oasis:entry colname="col2">0</oasis:entry>  
         <oasis:entry colname="col3">0.01 %</oasis:entry>  
         <oasis:entry colname="col4">0.05 %</oasis:entry>  
         <oasis:entry colname="col5">0.1 %</oasis:entry>  
         <oasis:entry colname="col6"><inline-formula><mml:math id="M157" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> 10 %</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

      <p>The specific settings for the <monospace>BFMCOUPLER</monospace> package were specified as
follows. The background water light extinction factor was set considering a
longitudinal negative gradient according to Lazzari et al. (2012) and the
coefficient for the self-shading effect was set to 10<inline-formula><mml:math id="M158" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> and <inline-formula><mml:math id="M159" display="inline"><mml:mrow><mml:mn mathvariant="normal">8</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> m<inline-formula><mml:math id="M160" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula> mg<inline-formula><mml:math id="M161" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> chlorophyll for diatoms and the other three
phytoplankton groups, respectively. The nutrient surface forcing (air
deposition) was set to 0.00096 and 0.057 mmol m<inline-formula><mml:math id="M162" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> d<inline-formula><mml:math id="M163" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> for
phosphorus and nitrate, respectively (Lazzari et al., 2012 and reference
therein), whereas we assumed that the atmospheric carbon dioxide
(pCO<inline-formula><mml:math id="M164" display="inline"><mml:mrow><mml:msubsup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn><mml:mtext>atm</mml:mtext></mml:msubsup></mml:mrow></mml:math></inline-formula>) linearly increased from 380 to 395 in the period
2006–2012 according to the trend that was reported in Artuso et al. (2009).
No bottom forcing was prescribed for the biogeochemistry.</p>
</sec>
<sec id="Ch1.S3.SS2.SSS2">
  <title>Results of the simulation</title>
      <p>The simulation covered the period from January 2006 to December 2012 at a
time step of 200 s. In the following analysis, we disregarded the first
2 years of the simulation, which we considered a spin-up period for the
biogeochemical variables from the CMEMS's coarser resolution fields. The MPI
domain decomposition consisted of <inline-formula><mml:math id="M165" display="inline"><mml:mrow><mml:mn mathvariant="normal">16</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">14</mml:mn></mml:mrow></mml:math></inline-formula> subdomains run on 224 Intel
Xeon Ivy Bridge cores of a Linux cluster, and the computational cost of the
simulation was 65.8 h per year. The runtime was significantly reduced by
adopting the <monospace>LONGSTEP</monospace> option (Table 2). The wall clock time
progressively decreased by increasing the <monospace>LONGSTEP</monospace> factor (LS<inline-formula><mml:math id="M166" display="inline"><mml:mrow><mml:msub><mml:mi/><mml:mi>n</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> from 1 to 9. Then, time steps that were higher than 30 min substantially
decreased the accuracy without further reducing the computational cost
(Table 2).</p>
      <p>We present the results for the ADIOS case study to demonstrate the ability of
the new MITgcm–BFM coupled model to investigate closely interconnected
hydrodynamic and biogeochemical processes for both coastal and open-sea
ecosystems.</p>
      <p>In the western coastal areas of the Adriatic Sea, the maps in Fig. 9
correctly display the patterns of low salinity, southward currents, high
nitrate and chlorophyll concentrations, and strong primary production, which
are all typical fingerprints of the Western Adriatic Current (WAC) system in
the Adriatic Sea. The effect of the input from the northern rivers and the
basin-scale cyclonic circulation generates a frontal system along the Italian
coast. As is commonly observed in satellite chlorophyll maps (Barale et al.,
2008), the width of the WAC frontal system decreases southwards, whereas
weaker recirculation patterns are also visible in the central Adriatic Sea
(Fig. 9). Other river-influenced coastal areas are simulated along the
south-eastern areas of the Adriatic Sea, where the input from the Neretva and
other south-eastern rivers triggers small-scale chlorophyll <inline-formula><mml:math id="M167" display="inline"><mml:mi>a</mml:mi></mml:math></inline-formula> signals along
those areas, as reported by Marini et al. (2010). The northward flow of salty
and oligotrophic water, which enters through the Otranto Strait, confines the
river's fertilization to a narrow coastal strip.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F9" specific-use="star"><caption><p><bold>(a)</bold> Map of the surface currents (arrows) and salinity. <bold>(b)</bold> Map of
the surface chlorophyll and contours (solid black lines) of nitrate
concentration in the upper layer (0–20 m), and contours (dotted blue lines)
of the annually averaged and vertically integrated (0–200 m) net primary
production (NPP).</p></caption>
            <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/10/1423/2017/gmd-10-1423-2017-f09.png"/>

          </fig>

      <p>The coastal to open-sea gradients of nutrients were accurately simulated by
the coupled model. As an example, Fig. 9 shows that the nitrate patterns
display a longitudinal gradient along the Adriatic and northern Ionian seas,
and these results are consistent with the current climatologies (Cossarini et
al., 2012; Solidoro et al., 2009; Zavatarelli et al., 1998). In the open-sea
area of the Ionian Sea, the surface circulation is dominated by large
mesoscale structures and a basin-scale anticyclone in the middle, and the
downwelling area is characterized by minimal nitrate and chlorophyll
concentrations (Fig. 9). This pattern is consistent with the climatology of
Manca et al. (2004), even if the nitrate concentrations are slightly higher
in the eastern Ionian Sea, which is related to overestimated eastern boundary
values.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F10" specific-use="star"><caption><p>Hovmöller diagrams of chlorophyll (colour) and phosphate
(contour, mmol m<inline-formula><mml:math id="M168" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>) and plots of the mixed layer depth (dashed lines,
m) for the southern Adriatic Pit <bold>(a)</bold> and the Ionian offshore
area <bold>(b)</bold>.</p></caption>
            <?xmltex \igopts{width=398.338583pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/10/1423/2017/gmd-10-1423-2017-f10.png"/>

          </fig>

      <p>If we focus on the open-sea sub-surface dynamics, we can analyse how vertical
processes affect the biogeochemistry. The vertical profiles of chlorophyll
and phosphate for the two sites in Fig. 8 are depicted in Fig. 10. One site
is located in the centre of the southern Adriatic gyre, which is
characterized by strong winter vertical mixing, whereas the second is located
in the centre of the large anticyclonic gyre in the Ionian Sea. A comparison
between the two sites shows the ability of the coupled model to simulate the
different regimes in the two areas. The southern Adriatic Sea presents a much
higher mixed layer depth in winter, a shallower nutricline than the Ionian
Sea, more intense inter-annual variability in the cyclic alternation of
winter vertical mixing phases, and the onset of summer stratification.</p>
      <p>The intense vertical mixing in the southern Adriatic area during winter
drives the upwelling of nutrient-rich water, which contributes to a shallow
nutricline (up to the depth of the DCM) during summer. However, winter
ventilation in the Ionian Sea's open areas rarely reaches a depth of 250 m;
consequently, nutrient-rich water remains confined to the deepest layers
(below 200 m). The two areas are characterized by different biological
regimes because of the different depths of the nutricline and the
superimposed longitudinal gradient of the background light extinction factor
(according to Lazzari et al., 2012).</p>
      <p>Another interesting coupled hydrodynamic–biogeochemical feature is displayed
along the southern coast of Sicily, where the entrance of modified Atlantic
water (MAW, low-saline water mass in Fig. 9a) and the simulated coastal
upwelling from westerly winds induce vertical transport of nutrients,
consistent with the findings of Patti et al. (2010) and Rinaldi et
al. (2014). Intense vertical dynamics trigger the high concentrations of
nutrients and chlorophyll and the strong primary production simulated in the
upper layer of the northern Sicily channel (Fig. 9b), and these results are
consistent with the typical patterns observed in satellite chlorophyll maps
(Volpe et al., 2012).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F11"><caption><p>Fluxes of organic carbon <bold>(a)</bold> and DIC <bold>(b)</bold> across the Otranto
Strait (dashed line in Fig. 8). The solid contours specify northward (red)
and southward (blue) meridional velocities.</p></caption>
            <?xmltex \igopts{width=227.622047pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/10/1423/2017/gmd-10-1423-2017-f11.png"/>

          </fig>

      <p>The computation and diagnostics of the transport components for the tracers
(e.g. zonal and meridional advection and diffusion, vertical advection and
implicit and explicit diffusion) are already implemented in the native
<monospace>PTRACERS</monospace> and <monospace>DIAGNOSTIC</monospace> packages of the MITgcm. This
feature, which is complemented by the ability to calculate the surface and
lateral fluxes at the boundaries through the <monospace>BFMCOUPLER</monospace> package,
allows us to calculate the budget of the simulated chemical elements in
marine ecosystems. As an example, we evaluated the meridional transport
across the Otranto Strait for the carbon components along with other fluxes
at the domain interfaces (i.e. the CO<inline-formula><mml:math id="M169" display="inline"><mml:msub><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:math></inline-formula> flux at the air–sea interface
and the river input) to compute the carbon budget in the Adriatic Sea. The
results show that the Adriatic Sea acts as a downwelling pump of carbon for
the Mediterranean Sea. In particular, the Adriatic Sea imports carbon from
rivers (<inline-formula><mml:math id="M170" display="inline"><mml:mrow><mml:mn mathvariant="normal">3.17</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">12</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> g C y<inline-formula><mml:math id="M171" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> and from the atmosphere (<inline-formula><mml:math id="M172" display="inline"><mml:mrow><mml:mn mathvariant="normal">1.65</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">12</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> g C y<inline-formula><mml:math id="M173" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. At the Otranto Strait, the Adriatic Sea
imports carbon through the surface layer (0–200 m): <inline-formula><mml:math id="M174" display="inline"><mml:mrow><mml:mn mathvariant="normal">192.7</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">12</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> g C y<inline-formula><mml:math id="M175" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> in terms of dissolved inorganic carbon (DIC) and <inline-formula><mml:math id="M176" display="inline"><mml:mrow><mml:mn mathvariant="normal">0.2</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">12</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> g C y<inline-formula><mml:math id="M177" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> in terms of organic carbon. Conversely, this
sea exports carbon through the bottom layer (200–1000 m): <inline-formula><mml:math id="M178" display="inline"><mml:mrow><mml:mn mathvariant="normal">197.7</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">15</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> g C y<inline-formula><mml:math id="M179" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> and <inline-formula><mml:math id="M180" display="inline"><mml:mrow><mml:mn mathvariant="normal">0.03</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">15</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> g C y<inline-formula><mml:math id="M181" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> in terms of
DIC and organic carbon, respectively. Finally, the Adriatic Sea is a net sink
(approximately <inline-formula><mml:math id="M182" display="inline"><mml:mrow><mml:mn mathvariant="normal">4.7</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">12</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> g C y<inline-formula><mml:math id="M183" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> of carbon into the
interior of the Mediterranean Sea. In terms of the transport across the
Otranto Strait, Fig. 11 shows the complex structure of the northward (red)
and southward (blue) fluxes simulated by the coupled model. In particular,
organic carbon (sum of all the living components:
<inline-formula><mml:math id="M184" display="inline"><mml:mrow><mml:msubsup><mml:mi>P</mml:mi><mml:mi mathvariant="double-struck">C</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">4</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M185" display="inline"><mml:mrow><mml:msubsup><mml:mi>Z</mml:mi><mml:mi mathvariant="double-struck">C</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">4</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula>, and
<inline-formula><mml:math id="M186" display="inline"><mml:mrow><mml:msubsup><mml:mi>B</mml:mi><mml:mi mathvariant="double-struck">C</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula>; and detritus, <inline-formula><mml:math id="M187" display="inline"><mml:mrow><mml:msubsup><mml:mi>R</mml:mi><mml:mi mathvariant="double-struck">C</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is mainly
confined to the surface layer for both the inflow and outflow. A barely
visible flux of organic carbon toward the Ionian Sea is depicted along the
western slope below a depth of 200 m (mainly because of the sinking of
detritus). The northward and southward fluxes of DIC along the surface
(Fig. 11) are characterized by the same organic carbon pattern and nearly
balanced. Additionally, an outflow (blue) area at a depth of 300–900 m
along the left flank of the strait indicates DIC transport associated with
the Adriatic Dense Water Outflow Current (DWOC, Gačić et al., 2001).
This carbon flux represents the export term that closes the budget of the
Adriatic Sea and replenishes the layer of the Ionian Sea below the depth of
the Levantine Intermediate Water, which suggests a possible mechanism for the
long-term carbon sequestration in the Mediterranean Sea.</p>
</sec>
</sec>
</sec>
<sec id="Ch1.S4" sec-type="conclusions">
  <title>Discussion and conclusions</title>
      <p>In this paper, we presented a coupling between two widely used models, the
MITgcm and BFM, and we showed the potential of the new coupled model. These
two models were developed by two different scientific communities that are
actively and constantly involved in improving the codes. When one model is
directly embedded in another, code developments might represent an issue
because of the constant and tedious work of keeping one code updated with
respect to the other. Therefore, the coupling in this paper was designed to
preserve the independence of the two models as much as possible. The number
of modifications that were required for the two original codes was limited,
and changes could be easily managed should each single model be upgraded. In
our solution, the MITgcm remained the host code, the BFM was compiled and
linked as an independent library, and the new <monospace>BFMCOUPLER</monospace> package
handled all the coupling procedures and concentrated all the coding effort.
The upgrades to the MITgcm enumerated less than 10 new code lines in a few
routines (in the <monospace>GCHEM</monospace> and <monospace>LONGSTEP</monospace> packages) and the list
of available diagnostics (in the <monospace>DIAGNOSTIC</monospace> package). On the BFM
side, several “include” files contained a list of newly added variables.
The order of the variables in the BFM's include files and in the MITgcm's
<monospace>data.ptracer</monospace> file must be consistent (see Appendix A). This feature is
important because the BFM (Vichi et al., 2015) can be customized in terms of
the number of state variables and processes, thus increasing the
flexibility of the new coupled model for a wider range of applications.</p>
      <p>Despite the growth of computational resources, the efficiency of coupled
codes can still be an issue because of the large size of the computational
grids (Blom and Verwer, 2000). Domain decomposition and parallelization tools
are available in several coupling environments (e.g. FABM, Bruggeman and
Bolding, 2014; MESSy, Jöckel et al., 2008). Likewise, our coupling scheme
has been thought to fully exploit the parallelization efficiency of the
MITgcm (Marshall et al., 1997), and no additional coding effort (in terms of
parallelization) is required by the users.</p>
      <p>Other biogeochemical models of various complexity have already been embedded
in the MITgcm (Dutkiewicz et al., 2009; Hauck et al., 2013; Cossarini et al.,
2015a). Nevertheless, the BFM in this new coupled model has a biological
complexity and a number of features (Lazzari et al., 2016) that increase the
attractiveness of the model for many marine applications.</p>
      <p>The MITgcm–BFM coupling scheme was primarily designed by considering the
direct integration scheme because this framework has the highest level of
numerical accuracy. The use of the <monospace>LONGSTEP</monospace> option reformulated the
coupling as an operator splitting algorithm that allows for different time
steps for hydrodynamics and coupled transport–biogeochemistry at the cost of
accuracy. When using the <monospace>LONGSTEP</monospace> option, the results (Fig. 6 and
Table 2) show that the loss of accuracy remained negligible only for a
limited increase in the tracer time step. Furthermore, the coupling framework
could handle a separate solution of hydrodynamics and transport processes
from the biogeochemical processes through the use of the
<monospace>gchem_separate_forcing</monospace> option (Fig. 3). However, this approach
would require a wider modification of the <monospace>GCHEM</monospace> package to introduce
independent integration steps for the transport and biogeochemical parts of
the tracers. Then, a more detailed analysis of the sensitivity (e.g. similar
to what was proposed in Butenschön et al., 2012) of the biogeochemical
model's results to the different coupling schemes and time steps should be
performed for each specific application.</p>
      <p>A direct integration scheme might be more appropriate for investigating the
feedback of the biogeochemistry on the hydrodynamics of the system. An
example is the calculation for the sinking of certain phytoplankton groups,
which is a physical 1-D process solved within <monospace>BFMCOUPLER</monospace> and related
to the sinking velocity calculated by the BFM. Furthermore, the shading
effect on light penetration caused by phytoplankton and other suspended
matter currently only affects the PAR vertical profile (Eq. 14). However,
this factor could be introduced as an extra term in the routine that
calculates seawater thermodynamics (in the <monospace>SWFRAC</monospace> and
<monospace>EXTERNAL_FORCING</monospace> routines). A new parameterization of the
penetration of solar radiation could be used to estimate the biological
effects on the seawater temperature, which might be an interesting issue in
highly productive areas, such as the northern Adriatic Sea and the coastal
strip along the Italian coast reached by the Western Adriatic Current (WAC).
A realistic simulation of light absorption with depth could reduce the model
errors when estimating temperature, which is affected by many other sources
of uncertainty originating from the surface forcing data, the heat flux bulk
formulation, the vertical resolution, and the parameterization of vertical
turbulent processes. The design of our coupler, which is characterized by the
sharing of biogeochemical variables and their tendencies in the host model's
memory structure, allows for the future implementation of the feedback
effects of biology on hydrodynamics.<?xmltex \hack{\newpage}?></p>
      <p>Furthermore, the new coupling scheme was designed to foster development
towards a full Earth system modelling approach, in which a wide range of
processes among the Earth's spheres can be simulated online and the
interactions and feedback effects can be directly considered. For example,
the BFM has already been coupled with other ecosystem components (e.g. online
coupling with high-trophic-level model Ecopath with Ecosym, Akoglu et al.,
2015). Moreover, the parameterization of Eqs. (16) and (17) can be easily
substituted by a call to a benthic model function, which solves the processes
that occur in a single-layer sediment model and calculates the exchanges
between the pelagic environment and the sediment.</p>
      <p>Similarly, the MITgcm has already been coupled with atmospheric models. For
example, the MITgcm has been coupled online with the RegCM atmospheric model
in the Mediterranean Sea region (Giorgi et al., 2006) using the OASIS
coupling framework (Artale et al., 2010). Therefore, our coupling scheme can
act as a link between atmosphere–hydrosphere models and biosphere models.
This coupler could be successfully used to study ocean–atmosphere
interactions, such as the effects of climate scenarios on high-trophic-level
ecosystem components or the feedback of ocean carbon pumps on the climate.</p>
      <p>Finally, the results of the two test cases show that the new coupled model
provides a realistic representation of a wide range of marine processes from
costal to open-sea ecosystems, where the interplay of hydrodynamics and
biogeochemistry is crucial. The effects of river plumes, coastal upwelling,
and different vertical mixing regimes on phytoplankton dynamics were
reasonably reproduced by the model and found to be consistent with both
theoretical knowledge (Mann and Lazier, 2006) and published experimental
findings for the Mediterranean Sea.</p>
</sec>

      
      </body>
    <back><notes notes-type="codeavailability">

      <p>The code can be downloaded from the link:
<uri>https://github.com/gcossarini/BFMCOUPLER/tree/release-1.0</uri>
(SHA-1 hash 02ce96dc), which corresponds to version v1.0 described in the present
paper.<?xmltex \hack{\newline}?> The numerical experiment described in Sect. 3.1 consists of an idealized domain forced by steady wind and a
seasonal cycle of surface heat and mass fluxes. This case study simulates a
permanent cyclonic gyre with a yearly cycle of thermohaline and
biogeochemical properties. The input files along with the MITgcm and BFM
namelists of the experiment are available at <uri>https://github.com/gcossarini/BFMCOUPLER/tree/release-1.0/Input</uri>. The modified
MITgcm files, located in the /input/modified_MITgcm_files directory, should
be linked through the –mods option of the MITgcm builder (see Sect. 3.4 of
the manual) in order to override the original MITgcm source files with the
modified ones, when the code is built.</p>
  </notes><?xmltex \hack{\clearpage}?><app-group>

<app id="App1.Ch1.S1">
  <title>Manual for the implementation and use of the BFMCOUPLERv1.0 package</title>
<sec id="App1.Ch1.S1.SS1">
  <title>Introduction</title>
      <p>This package was developed as a specific interface among the MITgcm, the
<monospace>GCHEM</monospace> package, and the Biogeochemical Flux Model (BFM). The BFM
(<uri>http://bfm-community.eu</uri>) is a complex and modular biogeochemical model
that was designed to simulate multiple plankton functional types and the
cycling of several chemicals (i.e. carbon, nitrogen, phosphorus, silica, and
iron) within the marine pelagic ecosystem. <monospace>BFMCOUPLER</monospace> version 1.0
(v1.0) was designed to handle the application programming interfaces (APIs)
between the MITgcm and BFM and to reproduce several processes (light
extinction, sinking, and biogeochemical chemical fluxes at the air–sea and
sea–bottom interfaces) that are not considered in both models. For more
details regarding the equations, see Sect. 2 of this paper.</p>
<sec id="App1.Ch1.S1.SS1.SSS1">
  <title>General architecture of the coupled model</title>
      <p>Several hydrodynamic–biogeochemical coupling options were implemented
according to a previously implemented option in the <monospace>GCHEM</monospace> package.
The <monospace>gchem_separate_forcing</monospace> option controls how and when the tracer
tendencies are calculated and applied. The use of the <monospace>LONGSTEP</monospace>
package is another coupling option available with <monospace>BFMCOUPLER</monospace>.</p>
</sec>
</sec>
<sec id="App1.Ch1.S1.SS2">
  <title>Key subroutines and parameters</title>
<sec id="App1.Ch1.S1.SS2.SSS1">
  <title>Initialization</title>
      <p><monospace>BFMCOUPLER_VARS.h</monospace> contains the common blocks for the list of the
BFM's state variables and diagnostic variables (<monospace>BFM_var_list.h</monospace>)
and for the parameters and fields that are required to calculate the
carbonate system solution, carbon dioxide air–sea exchange, PAR, light
extinction, sinking, and nutrient air deposition and bottom fluxes. Forcing
fields can be initialized either with a background value by
<monospace>BFMCOUPLER_INI_FORCING.F</monospace> or read from external fields.
<monospace>BFMCOUPLER_READPARAMS.F</monospace> reads the <monospace>data.bfmcoupler</monospace> namelist, which
contains the names of the files for the above fields. The parameters that
manage the time intervals for reading, interpolating, and applying the
external forcings are read from the above namelist. The input namelist also
contains specific parameters for the processes solved by <monospace>BFMCOUPLER</monospace>:
sinking speed for detritus, self-shading coefficients for different
phytoplankton groups, and background values of the seawater light extinction
factor. The allocation of memory used by the BFM is set here by the BFM
<monospace>BFM_initialize</monospace> routine. The <monospace>BFMCOUPLER_READPARAMS.F</monospace>
routine is called from the opportunely modified <monospace>GCHEM_READPARAMS.F</monospace>
routine (a call statement to <monospace>BFMCOUPLER_READPARAMS</monospace> must be added).
Accordingly <monospace>GCHEM_INI_VAR.F</monospace> must contain a call statement to
<monospace>BFMCOUPLER_INI_FORCING.F</monospace>.</p>
</sec>
<sec id="App1.Ch1.S1.SS2.SSS2">
  <title>Forcings</title>
      <p>The advection–diffusion tendencies of tracers are calculated in
<monospace>ptracers_integrate.F</monospace>, whereas the biogeochemical process tendencies
are handled by the <monospace>BFMCOUPLER_CALC_TENDENCY.F</monospace> routine, which is
called from the opportunely modified <monospace>GCHEM_CALC_TENDENCY.F</monospace> (a call
statement must be added), and controls the following:
<list list-type="bullet"><list-item>
      <p>interface to the <monospace>BFM0D_input_ecology</monospace> BFM routine  for the tracer
values and all the necessary information used by the BFM itself (coordinates
of the cells within the water column, temperature, salinity, PAR,
pCO<inline-formula><mml:math id="M188" display="inline"><mml:mrow><mml:msubsup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn><mml:mtext>atm</mml:mtext></mml:msubsup></mml:mrow></mml:math></inline-formula>, and wind speed in the corresponding surface grid
point);</p></list-item><list-item>
      <p>call to the BFM model (<monospace>BFM0D_ecology_dynamics</monospace>);</p></list-item><list-item>
      <p>calculation of the PAR, the sinking of phytoplankton and
detritus, and the atmospheric deposition of nutrients and bottom fluxes; and</p></list-item><list-item>
      <p>interface from the <monospace>BFM0D_output_ecology</monospace> BFM routine
for transferring and applying biogeochemical tendencies and diagnostics.</p></list-item></list></p>
</sec>
<sec id="App1.Ch1.S1.SS2.SSS3">
  <title>Loading fields</title>
      <p>The external forcing fields used by the <monospace>BFMCOUPLER</monospace> (e.g. CO<inline-formula><mml:math id="M189" display="inline"><mml:msub><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:math></inline-formula>
air concentration, PAR, light extinction factor, nutrient air deposition, and
bottom fluxes) are read by the <monospace>BFMCOUPLER_FIELDS_LOAD.F</monospace> routine,
which is called from the opportunely modified <monospace>GCHEM_FIELDS_LOAD.F</monospace>
(a call statement must be added). Input/output directives are based on the
native MITgcm I/O package (<monospace>MDSIO</monospace>), a set of Fortran routines for
reading and writing direct-access binary files.</p>
</sec>
<sec id="App1.Ch1.S1.SS2.SSS4">
  <title>Diagnostics</title>
      <p>The <monospace>BFMCOUPLER</monospace> package uses the MITgcm's <monospace>DIAGNOSTICS</monospace>
package. The definition of new specific diagnostics from the BFM's fluxes and
variables is managed in <monospace>BFMCOUPLER_DIAGNOSTICS_INIT.F</monospace>, which is
called from <monospace>BFMCOUPLER_INIT_FIXED.F</monospace>. The new diagnostics
quantities are calculated in <monospace>BFMCOUPLER_CALC_TENDENCY.F</monospace> through a
list of files (<monospace>BFMcoupler_VARDIAGlocal.h</monospace>,
<monospace>BFMcoupler_VARDIAGcopy_fromD.h</monospace>, and
<monospace>BFMcoupler_VARDIAG_fill_diags.h</monospace>) that use the variables from the
<monospace>BFM0D_output_ecology</monospace> BFM routine and specific instructions from
the diagnostics package (<monospace>DIAGNOSTICS_FILL.F</monospace> routine).</p>
      <p>New diagnostic quantities are listed in the namelist in the
<monospace>data.diagnostics</monospace>
parameter file, which specifies the frequency and type of output, the number
of levels, and the names of all the separate output files.</p>
      <p>The coupled MITgcm–BFM model can use a large number of tracers; therefore,
increasing the <monospace>ndiagMax</monospace> parameter in <monospace>diagnostics_size.h</monospace>
may be necessary. The initialization of <monospace>BFMCOUPLER</monospace> diagnostics is
provided by adding a call statement to <monospace>BFMCOUPLER_INIT_FIXED.F</monospace> in
the <monospace>GCHEM_INIT_FIXED.F</monospace> routine.</p>
</sec>
<sec id="App1.Ch1.S1.SS2.SSS5">
  <?xmltex \opttitle{\texttt{LONGSTEP}}?><title>
            <monospace>LONGSTEP</monospace>
          </title>
      <p>The <monospace>LONGSTEP</monospace> MITgcm package allows the tracer time step to be longer
than the time step used by the hydrodynamic model. When this package is
activated along with the <monospace>BFMCOUPLER</monospace> package, a new specifically
developed version of the <monospace>LONGSTEP_THERMODYNAMICS.F</monospace> routine has to
be used. The new version of this routine includes a call to
<monospace>BFMCOUPLER_CALC_TENDENCY</monospace>. The <monospace>BFMCOUPLER</monospace> routines use the
hydrodynamic variables stored in the <monospace>LONGSTEP</monospace> variables, which are
either the averages or temporal sub-samplings of the variables of the master
hydrodynamic model depending on the <monospace>when_to_sample</monospace> parameter set
in the <monospace>data.longstep</monospace> namelist file.</p>
</sec>
<sec id="App1.Ch1.S1.SS2.SSS6">
  <title>Compilation and compile time flags</title>
      <p>The BFM is a Fortran95 code and must be compiled separately as an external
library in advance (<monospace>$BFM_LIB/lib/libbfm.a</monospace>). According to the BFM's
manual, a compiled library version is obtained by customizing the BFM
<monospace>makefile (mkmf -p $BFM_LIB</monospace>). The <monospace>config_BFM.sh</monospace> compiling bash script
must contain build options (modules, optimization options, and compiler) that
are consistent with those of the MITgcm compilation.</p>
      <p>When the MITgcm is compiled, the <monospace>build_options</monospace> file must be
modified and the following lines must be added:<?xmltex \hack{\newline}?><?xmltex \hack{\newline}?>
<monospace>BFM_LIB=$BFM_PATH/lib</monospace><?xmltex \hack{\newline}?>
<monospace>BFM_INC=$BFM_PATH /include</monospace><?xmltex \hack{\newline}?> <monospace>export LIBS="$LIBS" --L $BFM_PATH/lib--lbfm</monospace><?xmltex \hack{\newline}?> <monospace>export INCLUDES="$INCLUDES --I $BFM_PATH /include"</monospace><?xmltex \hack{\newpage}?><?xmltex \hack{\noindent}?>The subroutines of
the new <monospace>BFMCOUPLER</monospace> package must be included in the
<?xmltex \hack{\newline}?><?xmltex \hack{\newline}?> <monospace>/MITgcm/pkg/BFMCOUPLER</monospace>
<?xmltex \hack{\newline}?><?xmltex \hack{\newline}?> folder, which can be added to the original
source tree of the code. <monospace>BFMCOUPLER</monospace> must be specified in the
<monospace>packages_conf</monospace> compile configuration file.</p>
      <p>Several specific compile time flags are set in <monospace>BFMcoupler_OPTIONS.h</monospace>:
<?xmltex \hack{\newline}?><?xmltex \hack{\newline}?>
<monospace>USE_QSW</monospace>: use <inline-formula><mml:math id="M190" display="inline"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mtext>sw</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> from the MITgcm to calculate the photosynthetic
active radiation (PAR).<?xmltex \hack{\newline}?>
<monospace>READ_PAR</monospace>: read the PAR from a file
set in <monospace>data.bfmcoupler</monospace>.<?xmltex \hack{\newline}?>
<monospace>USE_SHADE</monospace>: include the role of phytoplankton and detritus in
the calculation of the vertical profile of the PAR.<?xmltex \hack{\newline}?>
<monospace>READ_xESP</monospace>: read the background light extinction factor from a
file set in <monospace>data.bfmcoupler</monospace>.<?xmltex \hack{\newline}?>
<monospace>USE_SINK</monospace>: use the calculation for the sinking of
phytoplankton and detritus.<?xmltex \hack{\newline}?>
<monospace>USE_BURIAL</monospace>: calculate the contribution of burial for detritus
tendency at the bottom.<?xmltex \hack{\newline}?>
<monospace>USE_BOT_FLUX</monospace>: use input sediment fluxes for
nutrients at the bottom.<?xmltex \hack{\newline}?>
<monospace>BFMCOUPLER_DEBUG</monospace>: activate a control on the tendencies
calculated by the BFM.</p>
</sec>
</sec>
<sec id="App1.Ch1.S1.SS3">
  <title>Do's and dont's</title>
      <p>This package must be run with both <monospace>PTRACERS</monospace> and <monospace>GCHEM</monospace> enabled. This package
is configured for a number of biogeochemical variables specified by the BFM
model. Therefore, <monospace>data.ptracers</monospace> must be configured accordingly (order of
tracers equals what is specified in the <monospace>ModuleMem.F90</monospace> file from the BFM
code). This package must also be run with diagnostics enabled.</p><?xmltex \hack{\clearpage}?><?xmltex \hack{\hsize\textwidth}?>
</sec>
</app>

<app id="App1.Ch1.S2">
  <title>List of symbols and variables used throughout the
text</title>
      <p><table-wrap id="Taba" position="anchor"><oasis:table><oasis:tgroup cols="2">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:tbody>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M191" display="inline"><mml:mi mathvariant="bold-italic">C</mml:mi></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Biogeochemical tracer concentration (mmol m<inline-formula><mml:math id="M192" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> or mg m<inline-formula><mml:math id="M193" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M194" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">v</mml:mi><mml:mtext>H</mml:mtext></mml:msub><mml:mo>=</mml:mo><mml:mo>(</mml:mo><mml:mi>u</mml:mi><mml:mo>,</mml:mo><mml:mi>v</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Horizontal (zonal, <inline-formula><mml:math id="M195" display="inline"><mml:mi>u</mml:mi></mml:math></inline-formula>, and meridional, <inline-formula><mml:math id="M196" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula>, component) of velocity, <inline-formula><mml:math id="M197" display="inline"><mml:mi mathvariant="bold-italic">v</mml:mi></mml:math></inline-formula>, (m s<inline-formula><mml:math id="M198" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M199" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Vertical velocity (m s<inline-formula><mml:math id="M200" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M201" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="italic">ρ</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M202" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ρ</mml:mi><mml:mtext>c</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Density anomaly and constant reference density (kg m<inline-formula><mml:math id="M203" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M204" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M205" display="inline"><mml:mrow><mml:msup><mml:mi>p</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Pressure terms (N m<inline-formula><mml:math id="M206" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M207" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold">F</mml:mi><mml:mtext>H</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Horizontal forcing acting on momentum (m s<inline-formula><mml:math id="M208" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M209" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">F</mml:mi><mml:mtext>V</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Vertical forcing acting on momentum (m s<inline-formula><mml:math id="M210" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M211" display="inline"><mml:mi>g</mml:mi></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Gravity acceleration (m s<inline-formula><mml:math id="M212" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M213" display="inline"><mml:mi>f</mml:mi></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Coriolis factor (s<inline-formula><mml:math id="M214" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M215" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ε</mml:mi><mml:mtext>nh</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Non-hydrostatic parameter (0–1)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M216" display="inline"><mml:mi mathvariant="bold-italic">k</mml:mi></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Unit vector in the vertical direction</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M217" display="inline"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mi mathvariant="italic">θ</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Forcing and dissipation terms for temperature (<inline-formula><mml:math id="M218" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>C s<inline-formula><mml:math id="M219" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M220" display="inline"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mtext>S</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Forcing and dissipation terms for salinity (s<inline-formula><mml:math id="M221" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M222" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">Q</mml:mi><mml:mi>C</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Forcing terms for tracers (mmol m<inline-formula><mml:math id="M223" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M224" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M225" display="inline"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mtext>sw</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Short-wave radiation (W m<inline-formula><mml:math id="M226" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M227" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">R</mml:mi><mml:mtext>bio</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Biogeochemical reaction term (mmol m<inline-formula><mml:math id="M228" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M229" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">PAR</oasis:entry>  
         <oasis:entry colname="col2">Photosynthetic active radiation (<inline-formula><mml:math id="M230" display="inline"><mml:mi mathvariant="normal">µ</mml:mi></mml:math></inline-formula>Ein m<inline-formula><mml:math id="M231" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M232" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M233" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mtext>H</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Horizontal diffusivity (m<inline-formula><mml:math id="M234" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M235" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M236" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mtext>V</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Vertical diffusivity (m<inline-formula><mml:math id="M237" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M238" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">OBC</oasis:entry>  
         <oasis:entry colname="col2">Open boundary condition for hydrodynamics</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">EmPmR</oasis:entry>  
         <oasis:entry colname="col2">Evaporation minus precipitation minus runoff (m<inline-formula><mml:math id="M239" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">OBC<inline-formula><mml:math id="M240" display="inline"><mml:msub><mml:mi/><mml:mi>C</mml:mi></mml:msub></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Open boundary condition for tracers</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">EmPmR<inline-formula><mml:math id="M241" display="inline"><mml:msub><mml:mi/><mml:mi>C</mml:mi></mml:msub></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Evaporation minus precipitation minus run off for tracers</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">gTracer<inline-formula><mml:math id="M242" display="inline"><mml:msub><mml:mi/><mml:mtext>bio</mml:mtext></mml:msub></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Biogeochemical tendency of tracer equation (mmol m<inline-formula><mml:math id="M243" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M244" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>),</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"/>  
         <oasis:entry colname="col2">corresponding to <monospace>gchemTendency</monospace> in the MITgcm nomenclature of Fig. 3</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">gTracer<inline-formula><mml:math id="M245" display="inline"><mml:msub><mml:mi/><mml:mtext>trsp</mml:mtext></mml:msub></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Transport tendency of tracer equation (mmol m<inline-formula><mml:math id="M246" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M247" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>),</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"/>  
         <oasis:entry colname="col2">corresponding to <monospace>gTracer</monospace> in the MITgcm nomenclature of Fig. 3</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">wind</oasis:entry>  
         <oasis:entry colname="col2">Wind velocity (m s<inline-formula><mml:math id="M248" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">ice</oasis:entry>  
         <oasis:entry colname="col2">Presence/absence of ice</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M249" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>t</mml:mi><mml:mtext>trc</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Time step of the numerical integration for the biogeochemical terms when <monospace>LONGSTEP</monospace> is active (s)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">LS<inline-formula><mml:math id="M250" display="inline"><mml:msub><mml:mi/><mml:mi>n</mml:mi></mml:msub></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Number of hydrodynamics time steps between tracer time steps</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M251" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Time step of the numerical integration (s)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">pCO<inline-formula><mml:math id="M252" display="inline"><mml:mrow><mml:msubsup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn><mml:mtext>atm</mml:mtext></mml:msubsup></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Partial pressure of carbon dioxide in the atmosphere (ppm)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">pCO<inline-formula><mml:math id="M253" display="inline"><mml:mrow><mml:msubsup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn><mml:mtext>sea</mml:mtext></mml:msubsup></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Carbon dioxide in the seawater (ppm)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1">DIC</oasis:entry>  
         <oasis:entry colname="col2">Dissolved inorganic carbon (mmol m<inline-formula><mml:math id="M254" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M255" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mtext>ext</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Background extinction coefficient for water (m<inline-formula><mml:math id="M256" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M257" display="inline"><mml:mrow><mml:msub><mml:mtext>Kp</mml:mtext><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Extinction coefficient of phytoplankton for <inline-formula><mml:math id="M258" display="inline"><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">4</mml:mn></mml:mrow></mml:math></inline-formula> (m<inline-formula><mml:math id="M259" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula> mg<inline-formula><mml:math id="M260" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M261" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mtext>burial</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Rate of burial for detritus at the bottom layer (s<inline-formula><mml:math id="M262" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M263" display="inline"><mml:mrow><mml:msub><mml:mfenced open="." close="|"><mml:msub><mml:mtext>flux</mml:mtext><mml:mi>C</mml:mi></mml:msub></mml:mfenced><mml:mtext>surface(bottom)</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Prescribed flux at the surface (bottom) layer (mmol m<inline-formula><mml:math id="M264" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M265" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M266" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mi>R</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Extinction coefficient for detritus (m<inline-formula><mml:math id="M267" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula> mg<inline-formula><mml:math id="M268" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M269" display="inline"><mml:mrow><mml:msub><mml:mi>w</mml:mi><mml:mtext>s</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Sinking velocity (m s<inline-formula><mml:math id="M270" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M271" display="inline"><mml:mrow><mml:msubsup><mml:mi>P</mml:mi><mml:mi mathvariant="double-struck">C</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">4</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Carbon content of the four phytoplankton groups of BFM (mg m<inline-formula><mml:math id="M272" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M273" display="inline"><mml:mrow><mml:msubsup><mml:mi>Z</mml:mi><mml:mi mathvariant="double-struck">C</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">4</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Carbon content of the four zooplankton groups of BFM (mg m<inline-formula><mml:math id="M274" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M275" display="inline"><mml:mrow><mml:msubsup><mml:mi>B</mml:mi><mml:mi mathvariant="double-struck">C</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Carbon content of the bacteria of BFM (mg m<inline-formula><mml:math id="M276" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>  
         <oasis:entry colname="col1"><inline-formula><mml:math id="M277" display="inline"><mml:mrow><mml:msubsup><mml:mi>R</mml:mi><mml:mi mathvariant="double-struck">C</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula></oasis:entry>  
         <oasis:entry colname="col2">Particulate organic carbon of BFM (mg m<inline-formula><mml:math id="M278" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap></p><?xmltex \hack{\clearpage}?>
</app>
  </app-group><notes notes-type="competinginterests">

      <p>The authors declare that they have no conflict of interest.</p>
  </notes><ack><title>Acknowledgements</title><p>This study was partially funded by Italian flagship project RITMARE. The
authors thank Valentina Mosetti for the support.<?xmltex \hack{\newline}?><?xmltex \hack{\newline}?> Edited by: S. Arndt<?xmltex \hack{\newline}?> Reviewed by: C. Lemmen and
one anonymous referee</p></ack><ref-list>
    <title>References</title>

      <ref id="bib1.bib1"><label>1</label><mixed-citation>
Adcroft, A., Campin, J. M., Dutkiewicz, S., Evangelinos, C., Ferreira, D.,
Forget, G., Fox-Kemper, B., Heimbach, P., Hill, C., Hill, E., Jahn, O.,
Losch, M., Marshall, J., Maze, M., Menemenlis, D., and Molod, A.: MITgcm user
manual, MIT Department of EAPS, Cambridge, 479 pp., 2016.</mixed-citation></ref>
      <ref id="bib1.bib2"><label>2</label><mixed-citation>Akoglu, E., Libralato, S., Salihoglu, B., Oguz, T., and Solidoro, C.: EwE-F
1.0: an implementation of Ecopath with Ecosim in Fortran 95/2003 for coupling
and integration with other models, Geosci. Model Dev., 8, 2687–2699,
<ext-link xlink:href="http://dx.doi.org/10.5194/gmd-8-2687-2015" ext-link-type="DOI">10.5194/gmd-8-2687-2015</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bib3"><label>3</label><mixed-citation>
Artale, V., Calmanti, S., Carillo, A., Dell'Aquila, A., Herrmann, M.,
Pisacane, G., Ruti, P. M., Sannino, G., Struglia, M. V., Giorgi, F., and Bi,
X.: An atmosphere–ocean regional climate model for the Mediterranean area:
assessment of a present climate simulation, Clim. Dynam., 35, 721–740, 2010.</mixed-citation></ref>
      <ref id="bib1.bib4"><label>4</label><mixed-citation>Artuso, F., Chamard, P., Piacentino, S., Sferlazzo, D. M., De Silvestri, L.,
Di Sarra, A., Meloni, D., and Monteleone, F.: Influence of transport and
trends in atmospheric CO<inline-formula><mml:math id="M279" display="inline"><mml:msub><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:math></inline-formula> at Lampedusa, Atmos. Environ., 43, 3044–3051,
2009.</mixed-citation></ref>
      <ref id="bib1.bib5"><label>5</label><mixed-citation>Aumont, O., Ethé, C., Tagliabue, A., Bopp, L., and Gehlen, M.: PISCES-v2:
an ocean biogeochemical model for carbon and ecosystem studies, Geosci. Model
Dev., 8, 2465–2513, <ext-link xlink:href="http://dx.doi.org/10.5194/gmd-8-2465-2015" ext-link-type="DOI">10.5194/gmd-8-2465-2015</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bib6"><label>6</label><mixed-citation>
Barale, V., Jaquet, J. M., and Ndiaye, M.: Algal blooming patterns and
anomalies in the Mediterranean Sea as derived from the SeaWiFS data set
(1998–2003), Remote Sens. Environ., 112, 3300–3313, 2008.</mixed-citation></ref>
      <ref id="bib1.bib7"><label>7</label><mixed-citation>Bensi, M., Cardin, V., and Rubino, A.: Thermohaline Variability and Mesoscale
Dynamics Observed at the Deep-Ocean Observatory E2M3A in the Southern
Adriatic Sea, in: The Mediterranean Sea: Temporal Variability and Spatial
Patterns, edited by: Borzelli, G. L. E., Gačić, M., Lionello, P., and
Malanotte-Rizzoli, P., John Wiley &amp; Sons, Inc., Oxford,
<ext-link xlink:href="http://dx.doi.org/10.1002/9781118847572.ch9" ext-link-type="DOI">10.1002/9781118847572.ch9</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bib8"><label>8</label><mixed-citation>
Blom, J. G. and Verwer, J. G.: A comparison of integration methods for
atmospheric transport-chemistry problems, J. Comput. Appl. Math. 16,
381–396, 2000.</mixed-citation></ref>
      <ref id="bib1.bib9"><label>9</label><mixed-citation>
Britton, C. M. and Dodd, J. D.: Relationships of photosynthetically active
radiation and shortwave irradiance, Agr. Meteorol., 17, 1–7, 1976.</mixed-citation></ref>
      <ref id="bib1.bib10"><label>10</label><mixed-citation>
Bruggeman, J. and Bolding, K.: A general framework for aquatic biogeochemical
models, Environ. Model. Softw., 61, 249–265, 2014.</mixed-citation></ref>
      <ref id="bib1.bib11"><label>11</label><mixed-citation>
Burchard, H., Bolding, K., Kühn, W., Meister, A., Neumann, T., and
Umlauf, L.: Description of a flexible and extendable physical–biogeochemical
model system for the water column, J. Marine Syst., 61, 180–211, 2006.</mixed-citation></ref>
      <ref id="bib1.bib12"><label>12</label><mixed-citation>
Butenschön, M., Zavatarelli, M., and Vichi, M.: Sensitivity of a marine
coupled physical biogeochemical model to time resolution, integration scheme
and time splitting method, Ocean Model., 52, 36–53, 2012.</mixed-citation></ref>
      <ref id="bib1.bib13"><label>13</label><mixed-citation>Butenschön, M., Clark, J., Aldridge, J. N., Allen, J. I., Artioli, Y.,
Blackford, J., Bruggeman, J., Cazenave, P., Ciavatta, S., Kay, S., Lessin,
G., van Leeuwen, S., van der Molen, J., de Mora, L., Polimene, L., Sailley,
S., Stephens, N., and Torres, R.: ERSEM 15.06: a generic model for marine
biogeochemistry and the ecosystem dynamics of the lower trophic levels,
Geosci. Model Dev., 9, 1293–1339, <ext-link xlink:href="http://dx.doi.org/10.5194/gmd-9-1293-2016" ext-link-type="DOI">10.5194/gmd-9-1293-2016</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bib14"><label>14</label><mixed-citation>
Cossarini, G., Solidoro, C., and Fonda Umani, S.: Dynamics of biogeochemical
properties in temperate coastal areas of freshwater influence: lessons from
the Northern Adriatic Sea (Gulf of Trieste), Estuar. Coast. Shelf S., 115,
63–74, 2012.</mixed-citation></ref>
      <ref id="bib1.bib15"><label>15</label><mixed-citation>
Cossarini, G., Querin, S., and Solidoro, C.: The continental shelf carbon
pump in the northern Adriatic Sea (Mediterranean Sea): Influence of
wintertime variability, Ecol. Model., 314, 118–134, 2015a.</mixed-citation></ref>
      <ref id="bib1.bib16"><label>16</label><mixed-citation>Cossarini, G., Lazzari, P., and Solidoro, C.: Spatiotemporal variability of
alkalinity in the Mediterranean Sea, Biogeosciences, 12, 1647–1658,
<ext-link xlink:href="http://dx.doi.org/10.5194/bg-12-1647-2015" ext-link-type="DOI">10.5194/bg-12-1647-2015</ext-link>, 2015b.</mixed-citation></ref>
      <ref id="bib1.bib17"><label>17</label><mixed-citation>
Crise, A., Allen, J. I., Baretta, J., Crispi, G., Mosetti, R., and Solidoro,
C.: The Mediterranean pelagic ecosystem response to physical forcing, Prog.
Oceanogr., 44, 219–243, 1999.</mixed-citation></ref>
      <ref id="bib1.bib18"><label>18</label><mixed-citation>Epicoco, I., Mocavero, S., Macchia, F., Vichi, M., Lovato, T., Masina, S.,
and Aloisio, G.: Performance and results of the high-resolution
biogeochemical model PELAGOS025 v1.0 within NEMO v3.4, Geosci. Model Dev., 9,
2115–2128, <ext-link xlink:href="http://dx.doi.org/10.5194/gmd-9-2115-2016" ext-link-type="DOI">10.5194/gmd-9-2115-2016</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bib19"><label>19</label><mixed-citation>Dutkiewicz, S., Follows, M. J., and Bragg, J. G.: Modeling the coupling of
ocean ecology and biogeochemistry, Global Biogeochem. Cy., 23, GB4017,
<ext-link xlink:href="http://dx.doi.org/10.1029/2008GB003405" ext-link-type="DOI">10.1029/2008GB003405</ext-link>, 2009.</mixed-citation></ref>
      <ref id="bib1.bib20"><label>20</label><mixed-citation>
Follows, M. J., Ito, T., and Dutkiewicz, S.: On the solution of the carbonate
chemistry system in ocean biogeochemistry models, Ocean Model., 12, 290–301,
2006.</mixed-citation></ref>
      <ref id="bib1.bib21"><label>21</label><mixed-citation>
Gačić, M., Lascaratos, A., Manca, B. B., and Mantziafou, A.: Adriatic
deep water and interaction with the Eastern Mediterranean Sea, in: Physical
Oceanography of the Adriatic Sea, Springer Netherlands, 111–142, 2001.</mixed-citation></ref>
      <ref id="bib1.bib22"><label>22</label><mixed-citation>Gačić, M., Civitarese, G., Miserocchi, S., Cardin, V., Crise, A., and
Mauri, E.: The open-ocean convection in the Southern Adriatic: a controlling
mechanism of the spring phytoplankton bloom, Cont. Shelf Res., 22,
1897–1908, <ext-link xlink:href="http://dx.doi.org/10.1016/S0278-4343(02)00050-X" ext-link-type="DOI">10.1016/S0278-4343(02)00050-X</ext-link>, 2002.</mixed-citation></ref>
      <ref id="bib1.bib23"><label>23</label><mixed-citation>
Geider, R. J., MacIntyre, H. L., and Kana, T. M.: Dynamic model of
phytoplankton growth and acclimation: responses of the balanced growth rate
and the chlorophyll a: Carbon ratio to light, nutrient-limitation and
temperature, Mar. Ecol.-Prog. Ser., 148, 187–200, 1997.</mixed-citation></ref>
      <ref id="bib1.bib24"><label>24</label><mixed-citation>
Giorgi, F., Pal, J. S., Bi, X., Sloan, L., Elguindi, N., and Solmon, F.:
Introduction to the TAC special issue: the RegCNET network, Theor. Appl.
Climatol., 86, 1–4, 2006</mixed-citation></ref>
      <ref id="bib1.bib25"><label>25</label><mixed-citation>
Haidvogel, D. B., Arango, H. G., Hedstrom, K., Beckmann, A.,
Malanotte-Rizzoli, P., and Shchepetkin, A. F.: Model evaluation experiments
in the North Atlantic Basin: Simulations in nonlinear terrain-following
coordinates, Dynam. Atmos. Oceans, 32, 239–281, 2000.</mixed-citation></ref>
      <ref id="bib1.bib26"><label>26</label><mixed-citation>
Hauck, J., Völker, C., Wang, T., Hoppema, M., Losch, M., and
Wolf-Gladrow, D. A.: Seasonally different carbon flux changes in the Southern
Ocean in response to the southern annular mode, Global Biogeochem. Cy., 27,
1236–1245, 2013.</mixed-citation></ref>
      <ref id="bib1.bib27"><label>27</label><mixed-citation>
Heavens, N. G., Ward, D. S., and Natalie, M. M.: Studying and Projecting
Climate Change with Earth System Models, Nature Education Knowledge, 4,
4, 2013.</mixed-citation></ref>
      <ref id="bib1.bib28"><label>28</label><mixed-citation>Janeković, I., Mihanović, H., Vilibić, I., and Tudor, M.: Extreme
cooling and dense water formation estimates in open and coastal regions of
the Adriatic Sea during the winter of 2012, J. Geophys. Res.-Oceans, 119,
3200–3218, <ext-link xlink:href="http://dx.doi.org/10.1002/2014JC009865" ext-link-type="DOI">10.1002/2014JC009865</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bib29"><label>29</label><mixed-citation>Jöckel, P., Kerkweg, A., Buchholz-Dietsch, J., Tost, H., Sander, R., and
Pozzer, A.: Technical Note: Coupling of chemical processes with the Modular
Earth Submodel System (MESSy) submodel TRACER, Atmos. Chem. Phys., 8,
1677–1687, <ext-link xlink:href="http://dx.doi.org/10.5194/acp-8-1677-2008" ext-link-type="DOI">10.5194/acp-8-1677-2008</ext-link>, 2008.</mixed-citation></ref>
      <ref id="bib1.bib30"><label>30</label><mixed-citation>
Large, W. G., McWilliams, J. C., and Doney, C. S.: Oceanic vertical mixing: a
review and a model with nonlocal boundary layer parameterization, Rev.
Geophys., 32, 363–403, 1994.</mixed-citation></ref>
      <ref id="bib1.bib31"><label>31</label><mixed-citation>Lazzari, P., Teruzzi, A., Salon, S., Campagna, S., Calonaci, C., Colella, S.,
Tonani, M., and Crise, A.: Pre-operational short-term forecasts for
Mediterranean Sea biogeochemistry, Ocean Sci., 6, 25–39,
<ext-link xlink:href="http://dx.doi.org/10.5194/os-6-25-2010" ext-link-type="DOI">10.5194/os-6-25-2010</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bib32"><label>32</label><mixed-citation>Lazzari, P., Solidoro, C., Ibello, V., Salon, S., Teruzzi, A., Béranger,
K., Colella, S., and Crise, A.: Seasonal and inter-annual variability of
plankton chlorophyll and primary production in the Mediterranean Sea: a
modelling approach, Biogeosciences, 9, 217–233, <ext-link xlink:href="http://dx.doi.org/10.5194/bg-9-217-2012" ext-link-type="DOI">10.5194/bg-9-217-2012</ext-link>,
2012.</mixed-citation></ref>
      <ref id="bib1.bib33"><label>33</label><mixed-citation>
Lazzari, P., Solidoro, C., Salon, S., and Bolzon, G.: Spatial variability of
phosphate and nitrate in the Mediterranean Sea: A modeling approach, Deep-Sea
Res. Pt. I, 108, 39–52, 2016.</mixed-citation></ref>
      <ref id="bib1.bib34"><label>34</label><mixed-citation>
Legendre, L. and Rassoulzadegan, F.: Plankton and nutrient dynamics in marine
water, Ophelia, 41, 153–172, 1995.</mixed-citation></ref>
      <ref id="bib1.bib35"><label>35</label><mixed-citation>
Ludwig, W., Dumont, E., Meybeck, M., and Heussner, S.: River discharges of
water and nutrients to the Mediterranean and Black Sea: Major drivers for
ecosystem changes during past and future decades?, Progr. Oceanogr., 80,
199–217, 2009.</mixed-citation></ref>
      <ref id="bib1.bib36"><label>36</label><mixed-citation>
Madec, G.: “NEMO ocean engine” (Draft edition r6039), Note du Pôle de
modélisation, Institut Pierre-Simon Laplace (IPSL), France, No. 27 ISSN
No. 1288-1619, 2014.</mixed-citation></ref>
      <ref id="bib1.bib37"><label>37</label><mixed-citation>
Manca, B., Burca, M., Giorgetti, A., Coatanoan, C., Garcia, M. J., and Iona,
A.: Physical and biochemical averaged vertical profiles in the Mediterranean
regions: an important tool to trace the climatology of water masses and to
validate incoming data from operational oceanography, J. Marine Syst., 48,
83–116, 2004.</mixed-citation></ref>
      <ref id="bib1.bib38"><label>38</label><mixed-citation>Mangoni, O., Modigh, M., Mozetič, P., Bergamasco, A., Rivaro, P., and
Saggiomo, V.: Structure and photosyntetic properties of phytoplankton
assemblages ina highly dynamic system, the northern Adriatic Sea, Estuar.
Coast. Shelf Sci., 77, 633–644, <ext-link xlink:href="http://dx.doi.org/10.1016/j.ecss.2007.10.023" ext-link-type="DOI">10.1016/j.ecss.2007.10.023</ext-link>, 2008.</mixed-citation></ref>
      <ref id="bib1.bib39"><label>39</label><mixed-citation>
Mann, K. H. and Lazier, J. R. N.: Dynamics of Marine Ecosystems, Blackwell
Publishing, 496 pp., 2006.</mixed-citation></ref>
      <ref id="bib1.bib40"><label>40</label><mixed-citation>
Marini, M., Grilli, F., Guarnieri, A., Jones, B. H., Klajic, Z., Pinardi, N.,
and Sanxhaku, M.: Is the southeastern Adriatic Sea coastal strip an eutrophic
area?, Estuar. Coast. Shelf Sci., 88, 395–406, 2010.</mixed-citation></ref>
      <ref id="bib1.bib41"><label>41</label><mixed-citation>
Marshall, J. C., Adcroft, A., Hill, C., Perelman, L., and Heisey, C.: A
finite-volume, incompressible Navier-Stokes model for the studies of the
ocean on parallel computers, J. Geophys. Res., 102, 5753–5766, 1997.</mixed-citation></ref>
      <ref id="bib1.bib42"><label>42</label><mixed-citation>
Melaku Canu, D., Ghermandi, A., Nunes, P. A., Lazzari, P., Cossarini, G., and
Solidoro, C.: Estimating the value of carbon sequestration ecosystem services
in the Mediterranean Sea: An ecological economics approach, Global Environ.
Chang., 32, 87–95, 2015.</mixed-citation></ref>
      <ref id="bib1.bib43"><label>43</label><mixed-citation>
Neumann, T.: Towards a 3D-ecosystem model of the Baltic Sea, J. Marine Syst.,
25, 405–419, 2000.</mixed-citation></ref>
      <ref id="bib1.bib44"><label>44</label><mixed-citation>Parekh, P., Follows, M. J., and Boyle, E. A.: Decoupling of iron and
phosphate in the global ocean, Global Biogeochem. Cy., 19, GB2020,
<ext-link xlink:href="http://dx.doi.org/10.1029/2004GB002280" ext-link-type="DOI">10.1029/2004GB002280</ext-link>, 2005.</mixed-citation></ref>
      <ref id="bib1.bib45"><label>45</label><mixed-citation>
Patti, B., Guisande, C., Bonanno, A., Basilone, G., Cuttitta, A., and
Mazzola, S.: Role of physical forcings and nutrient availability on the
control of satellite-based chlorophyll a concentration in the coastal
upwelling area of the Sicilian Channel, Sci. Mar., 74, 577–588, 2010.</mixed-citation></ref>
      <ref id="bib1.bib46"><label>46</label><mixed-citation>Polimene, L., Pinardi, N., Zavatarelli, M., and Colella, S.: The Adriatic Sea
ecosystem seasonal cycle: Validation of a threedimensional numerical model,
J. Geophys. Res.-Oceans, 111, C03S19, <ext-link xlink:href="http://dx.doi.org/10.1029/2005JC003260" ext-link-type="DOI">10.1029/2005JC003260</ext-link>, 2006.</mixed-citation></ref>
      <ref id="bib1.bib47"><label>47</label><mixed-citation>
Querin, S., Cossarini, G., and Solidoro, C.: Simulating the formation and
fate of dense water in a midlatitude marginal sea during normal and warm
winter conditions, J. Geophys. Res.-Oceans, 118, 885–900, 2013.</mixed-citation></ref>
      <ref id="bib1.bib48"><label>48</label><mixed-citation>Querin, S., Bensi, M., Cardin, V., Solidoro, C., Bacer, S., Mariotti, L.,
Stel, F., and Malačič, V.: Saw-tooth modulation of the deep-water
thermohaline properties in the southern Adriatic Sea, J. Geophys.
Res.-Oceans, 121, 4585–4600, <ext-link xlink:href="http://dx.doi.org/10.1002/2015JC011522" ext-link-type="DOI">10.1002/2015JC011522</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bib49"><label>49</label><mixed-citation>
Rinaldi, E., Buongiorno Nardelli, B., Volpe, G., and Santoleri, R.:
Chlorophyll distribution and variability in the Sicily Channel (Mediterranean
Sea) as seen by remote sensing data, Cont. Shelf Res., 77, 61–68, 2014.</mixed-citation></ref>
      <ref id="bib1.bib50"><label>50</label><mixed-citation>
Robson, B. J.: State of the art in modelling of phosphorus in aquatic
systems: Review, criticisms and commentary, Environ. Model. Softw., 61,
339–359, 2014.</mixed-citation></ref>
      <ref id="bib1.bib51"><label>51</label><mixed-citation>
Salon, S., Cossarini, G., Lazzari, P., Teruzzi, A., Crise, A., and Solidoro,
C.: Reanalysis of Mediterranean Sea biogeochemistry and the quest for
biogeochemical seasonal forecasts, in: Operational Oceanography for
Sustainable Blue Growth, edited by: Buch, E., Antoniou, Y., Eparkhina, D.,
and Nolan, G., Proc. of the 7th EuroGOOS International Conference, EuroGOOS
Publication, ISBN: 9789082479904, 2015.</mixed-citation></ref>
      <ref id="bib1.bib52"><label>52</label><mixed-citation>Solidoro, C., Bastianini, M., Bandelj, V., Codermatz, R., Cossarini, G.,
Melaku Canu, D., Ravagnan, E., Salon, S., and Trevisani, S.: Current state,
scales of variability, and trends of biogeochemical properties in the
northern Adriatic Sea, J. Geophys. Res., 114, C07S91,
<ext-link xlink:href="http://dx.doi.org/10.1029/2008JC004838" ext-link-type="DOI">10.1029/2008JC004838</ext-link>, 2009.</mixed-citation></ref>
      <ref id="bib1.bib53"><label>53</label><mixed-citation>Sweby, P. K.: High resolution schemes using flux-limiters for hyperbolic
conservation laws, SIAM J. Numer. Anal., 21, 995–1011, <ext-link xlink:href="http://dx.doi.org/10.1137/0721062" ext-link-type="DOI">10.1137/0721062</ext-link>,
1984.</mixed-citation></ref>
      <ref id="bib1.bib54"><label>54</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, 2013.</mixed-citation></ref>
      <ref id="bib1.bib55"><label>55</label><mixed-citation>Tonani, M., Pinardi, N., Dobricic, S., Pujol, I., and Fratianni, C.: A
high-resolution free-surface model of the Mediterranean Sea, Ocean Sci., 4,
1–14, <ext-link xlink:href="http://dx.doi.org/10.5194/os-4-1-2008" ext-link-type="DOI">10.5194/os-4-1-2008</ext-link>, 2008.</mixed-citation></ref>
      <ref id="bib1.bib56"><label>56</label><mixed-citation>Vichi, M. and Masina, S.: Skill assessment of the PELAGOS global ocean
biogeochemistry model over the period 1980–2000, Biogeosciences, 6,
2333–2353, <ext-link xlink:href="http://dx.doi.org/10.5194/bg-6-2333-2009" ext-link-type="DOI">10.5194/bg-6-2333-2009</ext-link>, 2009.</mixed-citation></ref>
      <ref id="bib1.bib57"><label>57</label><mixed-citation>Vichi, M., Lovato, T., Lazzari, P., Cossarini, G., Gutierrez, Mlot E.,
Mattia, G., Masina, S., McKiver, W. J., Pinardi, N., Solidoro, C., Tedesco,
L., and Zavatarelli, M.: The Biogeochemical Flux Model (BFM): Equation
Description and User Manual, BFM version 5.1, BFM Report series No. 1,
Release 1.1, Bologna, Italy, 104 pp., available
at:<uri>http://bfm-community.eu</uri>, 2015.
</mixed-citation></ref><?xmltex \hack{\newpage}?>
      <ref id="bib1.bib58"><label>58</label><mixed-citation>
Volpe, G., Nardelli, B. B., Cipollini, P., Santoleri, R., and Robinson, I.
S.: Seasonal to interannual phytoplankton response to physical processes in
the Mediterranean Sea from satellite observations, Remote Sens. Environ.,
117, 223–235, 2012.</mixed-citation></ref>
      <ref id="bib1.bib59"><label>59</label><mixed-citation>Wheeler, D. A.: SLOCCount software release 2.26, available at:
<uri>http://www.dwheeler.com/sloccount/</uri>, last access: 25 August, 2015.</mixed-citation></ref>
      <ref id="bib1.bib60"><label>60</label><mixed-citation>
Zavatarelli, M., Raicich, F., Bregant, D., Russo, A., and Artegiani, A.:
Climatological biogeochemical characteristics of the Adriatic Sea, J. Mar.
Syst., 18, 227–263, 1998.</mixed-citation></ref>

  </ref-list><app-group content-type="float"><app><title/>

    </app></app-group></back>
    <!--<article-title-html>Development of BFMCOUPLER (v1.0), the coupling scheme that links the MITgcm and BFM models for ocean biogeochemistry simulations</article-title-html>
<abstract-html><p class="p">In this paper, we present a coupling scheme between the
Massachusetts Institute of Technology general circulation model (MITgcm) and
the Biogeochemical Flux Model (BFM). The MITgcm and BFM are widely used
models for geophysical fluid dynamics and for ocean biogeochemistry,
respectively, and they benefit from the support of active developers and user
communities. The MITgcm is a state-of-the-art general circulation model for
simulating the ocean and the atmosphere. This model is fully 3-D (including
the non-hydrostatic term of momentum equations) and is characterized by a
finite-volume discretization and a number of additional features enabling
simulations from global (<i>O</i>(10<sup>7</sup>) m) to local scales (<i>O</i>(100) m). The BFM
is a biogeochemical model based on plankton functional type formulations, and
it simulates the cycling of a number of constituents and nutrients within
marine ecosystems. The online coupling presented in this paper is based on an
open-source code, and it is characterized by a modular structure. Modularity
preserves the potentials of the two models, allowing for a sustainable
programming effort to handle future evolutions in the two codes. We also
tested specific model options and integration schemes to balance the
numerical accuracy against the computational performance. The coupling scheme
allows us to solve several processes that are not considered by each of the
models alone, including light attenuation parameterizations along the water
column, phytoplankton and detritus sinking, external inputs, and surface and
bottom fluxes. Moreover, this new coupled hydrodynamic–biogeochemical model
has been configured and tested against an idealized problem (a cyclonic gyre
in a mid-latitude closed basin) and a realistic case study (central part of
the Mediterranean Sea in 2006–2012). The numerical results consistently
reproduce the interplay of hydrodynamics and biogeochemistry in both the
idealized case and Mediterranean Sea experiments. The former reproduces
correctly the alternation of surface bloom and deep chlorophyll maximum
dynamics driven by the seasonal cycle of winter vertical mixing and summer
stratification; the latter simulates the main basin-wide and mesoscale
spatial features of the physical and biochemical variables in the
Mediterranean, thus demonstrating the applicability of the new coupled model
to a wide range of ocean biogeochemistry problems.</p></abstract-html>
<ref-html id="bib1.bib1"><label>1</label><mixed-citation>
Adcroft, A., Campin, J. M., Dutkiewicz, S., Evangelinos, C., Ferreira, D.,
Forget, G., Fox-Kemper, B., Heimbach, P., Hill, C., Hill, E., Jahn, O.,
Losch, M., Marshall, J., Maze, M., Menemenlis, D., and Molod, A.: MITgcm user
manual, MIT Department of EAPS, Cambridge, 479 pp., 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>2</label><mixed-citation>
Akoglu, E., Libralato, S., Salihoglu, B., Oguz, T., and Solidoro, C.: EwE-F
1.0: an implementation of Ecopath with Ecosim in Fortran 95/2003 for coupling
and integration with other models, Geosci. Model Dev., 8, 2687–2699,
<a href="http://dx.doi.org/10.5194/gmd-8-2687-2015" target="_blank">doi:10.5194/gmd-8-2687-2015</a>, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>3</label><mixed-citation>
Artale, V., Calmanti, S., Carillo, A., Dell'Aquila, A., Herrmann, M.,
Pisacane, G., Ruti, P. M., Sannino, G., Struglia, M. V., Giorgi, F., and Bi,
X.: An atmosphere–ocean regional climate model for the Mediterranean area:
assessment of a present climate simulation, Clim. Dynam., 35, 721–740, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>4</label><mixed-citation>
Artuso, F., Chamard, P., Piacentino, S., Sferlazzo, D. M., De Silvestri, L.,
Di Sarra, A., Meloni, D., and Monteleone, F.: Influence of transport and
trends in atmospheric CO<sub>2</sub> at Lampedusa, Atmos. Environ., 43, 3044–3051,
2009.
</mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>5</label><mixed-citation>
Aumont, O., Ethé, C., Tagliabue, A., Bopp, L., and Gehlen, M.: PISCES-v2:
an ocean biogeochemical model for carbon and ecosystem studies, Geosci. Model
Dev., 8, 2465–2513, <a href="http://dx.doi.org/10.5194/gmd-8-2465-2015" target="_blank">doi:10.5194/gmd-8-2465-2015</a>, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>6</label><mixed-citation>
Barale, V., Jaquet, J. M., and Ndiaye, M.: Algal blooming patterns and
anomalies in the Mediterranean Sea as derived from the SeaWiFS data set
(1998–2003), Remote Sens. Environ., 112, 3300–3313, 2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>7</label><mixed-citation>
Bensi, M., Cardin, V., and Rubino, A.: Thermohaline Variability and Mesoscale
Dynamics Observed at the Deep-Ocean Observatory E2M3A in the Southern
Adriatic Sea, in: The Mediterranean Sea: Temporal Variability and Spatial
Patterns, edited by: Borzelli, G. L. E., Gačić, M., Lionello, P., and
Malanotte-Rizzoli, P., John Wiley &amp; Sons, Inc., Oxford,
<a href="http://dx.doi.org/10.1002/9781118847572.ch9" target="_blank">doi:10.1002/9781118847572.ch9</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>8</label><mixed-citation>
Blom, J. G. and Verwer, J. G.: A comparison of integration methods for
atmospheric transport-chemistry problems, J. Comput. Appl. Math. 16,
381–396, 2000.
</mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>9</label><mixed-citation>
Britton, C. M. and Dodd, J. D.: Relationships of photosynthetically active
radiation and shortwave irradiance, Agr. Meteorol., 17, 1–7, 1976.
</mixed-citation></ref-html>
<ref-html id="bib1.bib10"><label>10</label><mixed-citation>
Bruggeman, J. and Bolding, K.: A general framework for aquatic biogeochemical
models, Environ. Model. Softw., 61, 249–265, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>11</label><mixed-citation>
Burchard, H., Bolding, K., Kühn, W., Meister, A., Neumann, T., and
Umlauf, L.: Description of a flexible and extendable physical–biogeochemical
model system for the water column, J. Marine Syst., 61, 180–211, 2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>12</label><mixed-citation>
Butenschön, M., Zavatarelli, M., and Vichi, M.: Sensitivity of a marine
coupled physical biogeochemical model to time resolution, integration scheme
and time splitting method, Ocean Model., 52, 36–53, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>13</label><mixed-citation>
Butenschön, M., Clark, J., Aldridge, J. N., Allen, J. I., Artioli, Y.,
Blackford, J., Bruggeman, J., Cazenave, P., Ciavatta, S., Kay, S., Lessin,
G., van Leeuwen, S., van der Molen, J., de Mora, L., Polimene, L., Sailley,
S., Stephens, N., and Torres, R.: ERSEM 15.06: a generic model for marine
biogeochemistry and the ecosystem dynamics of the lower trophic levels,
Geosci. Model Dev., 9, 1293–1339, <a href="http://dx.doi.org/10.5194/gmd-9-1293-2016" target="_blank">doi:10.5194/gmd-9-1293-2016</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>14</label><mixed-citation>
Cossarini, G., Solidoro, C., and Fonda Umani, S.: Dynamics of biogeochemical
properties in temperate coastal areas of freshwater influence: lessons from
the Northern Adriatic Sea (Gulf of Trieste), Estuar. Coast. Shelf S., 115,
63–74, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>15</label><mixed-citation>
Cossarini, G., Querin, S., and Solidoro, C.: The continental shelf carbon
pump in the northern Adriatic Sea (Mediterranean Sea): Influence of
wintertime variability, Ecol. Model., 314, 118–134, 2015a.
</mixed-citation></ref-html>
<ref-html id="bib1.bib16"><label>16</label><mixed-citation>
Cossarini, G., Lazzari, P., and Solidoro, C.: Spatiotemporal variability of
alkalinity in the Mediterranean Sea, Biogeosciences, 12, 1647–1658,
<a href="http://dx.doi.org/10.5194/bg-12-1647-2015" target="_blank">doi:10.5194/bg-12-1647-2015</a>, 2015b.
</mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>17</label><mixed-citation>
Crise, A., Allen, J. I., Baretta, J., Crispi, G., Mosetti, R., and Solidoro,
C.: The Mediterranean pelagic ecosystem response to physical forcing, Prog.
Oceanogr., 44, 219–243, 1999.
</mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>18</label><mixed-citation>
Epicoco, I., Mocavero, S., Macchia, F., Vichi, M., Lovato, T., Masina, S.,
and Aloisio, G.: Performance and results of the high-resolution
biogeochemical model PELAGOS025 v1.0 within NEMO v3.4, Geosci. Model Dev., 9,
2115–2128, <a href="http://dx.doi.org/10.5194/gmd-9-2115-2016" target="_blank">doi:10.5194/gmd-9-2115-2016</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>19</label><mixed-citation>
Dutkiewicz, S., Follows, M. J., and Bragg, J. G.: Modeling the coupling of
ocean ecology and biogeochemistry, Global Biogeochem. Cy., 23, GB4017,
<a href="http://dx.doi.org/10.1029/2008GB003405" target="_blank">doi:10.1029/2008GB003405</a>, 2009.
</mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>20</label><mixed-citation>
Follows, M. J., Ito, T., and Dutkiewicz, S.: On the solution of the carbonate
chemistry system in ocean biogeochemistry models, Ocean Model., 12, 290–301,
2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>21</label><mixed-citation>
Gačić, M., Lascaratos, A., Manca, B. B., and Mantziafou, A.: Adriatic
deep water and interaction with the Eastern Mediterranean Sea, in: Physical
Oceanography of the Adriatic Sea, Springer Netherlands, 111–142, 2001.
</mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>22</label><mixed-citation>
Gačić, M., Civitarese, G., Miserocchi, S., Cardin, V., Crise, A., and
Mauri, E.: The open-ocean convection in the Southern Adriatic: a controlling
mechanism of the spring phytoplankton bloom, Cont. Shelf Res., 22,
1897–1908, <a href="http://dx.doi.org/10.1016/S0278-4343(02)00050-X" target="_blank">doi:10.1016/S0278-4343(02)00050-X</a>, 2002.
</mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>23</label><mixed-citation>
Geider, R. J., MacIntyre, H. L., and Kana, T. M.: Dynamic model of
phytoplankton growth and acclimation: responses of the balanced growth rate
and the chlorophyll a: Carbon ratio to light, nutrient-limitation and
temperature, Mar. Ecol.-Prog. Ser., 148, 187–200, 1997.
</mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>24</label><mixed-citation>
Giorgi, F., Pal, J. S., Bi, X., Sloan, L., Elguindi, N., and Solmon, F.:
Introduction to the TAC special issue: the RegCNET network, Theor. Appl.
Climatol., 86, 1–4, 2006
</mixed-citation></ref-html>
<ref-html id="bib1.bib25"><label>25</label><mixed-citation>
Haidvogel, D. B., Arango, H. G., Hedstrom, K., Beckmann, A.,
Malanotte-Rizzoli, P., and Shchepetkin, A. F.: Model evaluation experiments
in the North Atlantic Basin: Simulations in nonlinear terrain-following
coordinates, Dynam. Atmos. Oceans, 32, 239–281, 2000.
</mixed-citation></ref-html>
<ref-html id="bib1.bib26"><label>26</label><mixed-citation>
Hauck, J., Völker, C., Wang, T., Hoppema, M., Losch, M., and
Wolf-Gladrow, D. A.: Seasonally different carbon flux changes in the Southern
Ocean in response to the southern annular mode, Global Biogeochem. Cy., 27,
1236–1245, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib27"><label>27</label><mixed-citation>
Heavens, N. G., Ward, D. S., and Natalie, M. M.: Studying and Projecting
Climate Change with Earth System Models, Nature Education Knowledge, 4,
4, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib28"><label>28</label><mixed-citation>
Janeković, I., Mihanović, H., Vilibić, I., and Tudor, M.: Extreme
cooling and dense water formation estimates in open and coastal regions of
the Adriatic Sea during the winter of 2012, J. Geophys. Res.-Oceans, 119,
3200–3218, <a href="http://dx.doi.org/10.1002/2014JC009865" target="_blank">doi:10.1002/2014JC009865</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib29"><label>29</label><mixed-citation>
Jöckel, P., Kerkweg, A., Buchholz-Dietsch, J., Tost, H., Sander, R., and
Pozzer, A.: Technical Note: Coupling of chemical processes with the Modular
Earth Submodel System (MESSy) submodel TRACER, Atmos. Chem. Phys., 8,
1677–1687, <a href="http://dx.doi.org/10.5194/acp-8-1677-2008" target="_blank">doi:10.5194/acp-8-1677-2008</a>, 2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib30"><label>30</label><mixed-citation>
Large, W. G., McWilliams, J. C., and Doney, C. S.: Oceanic vertical mixing: a
review and a model with nonlocal boundary layer parameterization, Rev.
Geophys., 32, 363–403, 1994.
</mixed-citation></ref-html>
<ref-html id="bib1.bib31"><label>31</label><mixed-citation>
Lazzari, P., Teruzzi, A., Salon, S., Campagna, S., Calonaci, C., Colella, S.,
Tonani, M., and Crise, A.: Pre-operational short-term forecasts for
Mediterranean Sea biogeochemistry, Ocean Sci., 6, 25–39,
<a href="http://dx.doi.org/10.5194/os-6-25-2010" target="_blank">doi:10.5194/os-6-25-2010</a>, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib32"><label>32</label><mixed-citation>
Lazzari, P., Solidoro, C., Ibello, V., Salon, S., Teruzzi, A., Béranger,
K., Colella, S., and Crise, A.: Seasonal and inter-annual variability of
plankton chlorophyll and primary production in the Mediterranean Sea: a
modelling approach, Biogeosciences, 9, 217–233, <a href="http://dx.doi.org/10.5194/bg-9-217-2012" target="_blank">doi:10.5194/bg-9-217-2012</a>,
2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib33"><label>33</label><mixed-citation>
Lazzari, P., Solidoro, C., Salon, S., and Bolzon, G.: Spatial variability of
phosphate and nitrate in the Mediterranean Sea: A modeling approach, Deep-Sea
Res. Pt. I, 108, 39–52, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib34"><label>34</label><mixed-citation>
Legendre, L. and Rassoulzadegan, F.: Plankton and nutrient dynamics in marine
water, Ophelia, 41, 153–172, 1995.
</mixed-citation></ref-html>
<ref-html id="bib1.bib35"><label>35</label><mixed-citation>
Ludwig, W., Dumont, E., Meybeck, M., and Heussner, S.: River discharges of
water and nutrients to the Mediterranean and Black Sea: Major drivers for
ecosystem changes during past and future decades?, Progr. Oceanogr., 80,
199–217, 2009.
</mixed-citation></ref-html>
<ref-html id="bib1.bib36"><label>36</label><mixed-citation>
Madec, G.: “NEMO ocean engine” (Draft edition r6039), Note du Pôle de
modélisation, Institut Pierre-Simon Laplace (IPSL), France, No. 27 ISSN
No. 1288-1619, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib37"><label>37</label><mixed-citation>
Manca, B., Burca, M., Giorgetti, A., Coatanoan, C., Garcia, M. J., and Iona,
A.: Physical and biochemical averaged vertical profiles in the Mediterranean
regions: an important tool to trace the climatology of water masses and to
validate incoming data from operational oceanography, J. Marine Syst., 48,
83–116, 2004.
</mixed-citation></ref-html>
<ref-html id="bib1.bib38"><label>38</label><mixed-citation>
Mangoni, O., Modigh, M., Mozetič, P., Bergamasco, A., Rivaro, P., and
Saggiomo, V.: Structure and photosyntetic properties of phytoplankton
assemblages ina highly dynamic system, the northern Adriatic Sea, Estuar.
Coast. Shelf Sci., 77, 633–644, <a href="http://dx.doi.org/10.1016/j.ecss.2007.10.023" target="_blank">doi:10.1016/j.ecss.2007.10.023</a>, 2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib39"><label>39</label><mixed-citation>
Mann, K. H. and Lazier, J. R. N.: Dynamics of Marine Ecosystems, Blackwell
Publishing, 496 pp., 2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib40"><label>40</label><mixed-citation>
Marini, M., Grilli, F., Guarnieri, A., Jones, B. H., Klajic, Z., Pinardi, N.,
and Sanxhaku, M.: Is the southeastern Adriatic Sea coastal strip an eutrophic
area?, Estuar. Coast. Shelf Sci., 88, 395–406, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib41"><label>41</label><mixed-citation>
Marshall, J. C., Adcroft, A., Hill, C., Perelman, L., and Heisey, C.: A
finite-volume, incompressible Navier-Stokes model for the studies of the
ocean on parallel computers, J. Geophys. Res., 102, 5753–5766, 1997.
</mixed-citation></ref-html>
<ref-html id="bib1.bib42"><label>42</label><mixed-citation>
Melaku Canu, D., Ghermandi, A., Nunes, P. A., Lazzari, P., Cossarini, G., and
Solidoro, C.: Estimating the value of carbon sequestration ecosystem services
in the Mediterranean Sea: An ecological economics approach, Global Environ.
Chang., 32, 87–95, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib43"><label>43</label><mixed-citation>
Neumann, T.: Towards a 3D-ecosystem model of the Baltic Sea, J. Marine Syst.,
25, 405–419, 2000.
</mixed-citation></ref-html>
<ref-html id="bib1.bib44"><label>44</label><mixed-citation>
Parekh, P., Follows, M. J., and Boyle, E. A.: Decoupling of iron and
phosphate in the global ocean, Global Biogeochem. Cy., 19, GB2020,
<a href="http://dx.doi.org/10.1029/2004GB002280" target="_blank">doi:10.1029/2004GB002280</a>, 2005.
</mixed-citation></ref-html>
<ref-html id="bib1.bib45"><label>45</label><mixed-citation>
Patti, B., Guisande, C., Bonanno, A., Basilone, G., Cuttitta, A., and
Mazzola, S.: Role of physical forcings and nutrient availability on the
control of satellite-based chlorophyll a concentration in the coastal
upwelling area of the Sicilian Channel, Sci. Mar., 74, 577–588, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib46"><label>46</label><mixed-citation>
Polimene, L., Pinardi, N., Zavatarelli, M., and Colella, S.: The Adriatic Sea
ecosystem seasonal cycle: Validation of a threedimensional numerical model,
J. Geophys. Res.-Oceans, 111, C03S19, <a href="http://dx.doi.org/10.1029/2005JC003260" target="_blank">doi:10.1029/2005JC003260</a>, 2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib47"><label>47</label><mixed-citation>
Querin, S., Cossarini, G., and Solidoro, C.: Simulating the formation and
fate of dense water in a midlatitude marginal sea during normal and warm
winter conditions, J. Geophys. Res.-Oceans, 118, 885–900, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib48"><label>48</label><mixed-citation>
Querin, S., Bensi, M., Cardin, V., Solidoro, C., Bacer, S., Mariotti, L.,
Stel, F., and Malačič, V.: Saw-tooth modulation of the deep-water
thermohaline properties in the southern Adriatic Sea, J. Geophys.
Res.-Oceans, 121, 4585–4600, <a href="http://dx.doi.org/10.1002/2015JC011522" target="_blank">doi:10.1002/2015JC011522</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib49"><label>49</label><mixed-citation>
Rinaldi, E., Buongiorno Nardelli, B., Volpe, G., and Santoleri, R.:
Chlorophyll distribution and variability in the Sicily Channel (Mediterranean
Sea) as seen by remote sensing data, Cont. Shelf Res., 77, 61–68, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib50"><label>50</label><mixed-citation>
Robson, B. J.: State of the art in modelling of phosphorus in aquatic
systems: Review, criticisms and commentary, Environ. Model. Softw., 61,
339–359, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib51"><label>51</label><mixed-citation>
Salon, S., Cossarini, G., Lazzari, P., Teruzzi, A., Crise, A., and Solidoro,
C.: Reanalysis of Mediterranean Sea biogeochemistry and the quest for
biogeochemical seasonal forecasts, in: Operational Oceanography for
Sustainable Blue Growth, edited by: Buch, E., Antoniou, Y., Eparkhina, D.,
and Nolan, G., Proc. of the 7th EuroGOOS International Conference, EuroGOOS
Publication, ISBN: 9789082479904, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib52"><label>52</label><mixed-citation>
Solidoro, C., Bastianini, M., Bandelj, V., Codermatz, R., Cossarini, G.,
Melaku Canu, D., Ravagnan, E., Salon, S., and Trevisani, S.: Current state,
scales of variability, and trends of biogeochemical properties in the
northern Adriatic Sea, J. Geophys. Res., 114, C07S91,
<a href="http://dx.doi.org/10.1029/2008JC004838" target="_blank">doi:10.1029/2008JC004838</a>, 2009.
</mixed-citation></ref-html>
<ref-html id="bib1.bib53"><label>53</label><mixed-citation>
Sweby, P. K.: High resolution schemes using flux-limiters for hyperbolic
conservation laws, SIAM J. Numer. Anal., 21, 995–1011, <a href="http://dx.doi.org/10.1137/0721062" target="_blank">doi:10.1137/0721062</a>,
1984.
</mixed-citation></ref-html>
<ref-html id="bib1.bib54"><label>54</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, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib55"><label>55</label><mixed-citation>
Tonani, M., Pinardi, N., Dobricic, S., Pujol, I., and Fratianni, C.: A
high-resolution free-surface model of the Mediterranean Sea, Ocean Sci., 4,
1–14, <a href="http://dx.doi.org/10.5194/os-4-1-2008" target="_blank">doi:10.5194/os-4-1-2008</a>, 2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib56"><label>56</label><mixed-citation>
Vichi, M. and Masina, S.: Skill assessment of the PELAGOS global ocean
biogeochemistry model over the period 1980–2000, Biogeosciences, 6,
2333–2353, <a href="http://dx.doi.org/10.5194/bg-6-2333-2009" target="_blank">doi:10.5194/bg-6-2333-2009</a>, 2009.
</mixed-citation></ref-html>
<ref-html id="bib1.bib57"><label>57</label><mixed-citation>
Vichi, M., Lovato, T., Lazzari, P., Cossarini, G., Gutierrez, Mlot E.,
Mattia, G., Masina, S., McKiver, W. J., Pinardi, N., Solidoro, C., Tedesco,
L., and Zavatarelli, M.: The Biogeochemical Flux Model (BFM): Equation
Description and User Manual, BFM version 5.1, BFM Report series No. 1,
Release 1.1, Bologna, Italy, 104 pp., available
at:<a href="http://bfm-community.eu" target="_blank">http://bfm-community.eu</a>, 2015.

</mixed-citation></ref-html>
<ref-html id="bib1.bib58"><label>58</label><mixed-citation>
Volpe, G., Nardelli, B. B., Cipollini, P., Santoleri, R., and Robinson, I.
S.: Seasonal to interannual phytoplankton response to physical processes in
the Mediterranean Sea from satellite observations, Remote Sens. Environ.,
117, 223–235, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib59"><label>59</label><mixed-citation>
Wheeler, D. A.: SLOCCount software release 2.26, available at:
<a href="http://www.dwheeler.com/sloccount/" target="_blank">http://www.dwheeler.com/sloccount/</a>, last access: 25 August, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib60"><label>60</label><mixed-citation>
Zavatarelli, M., Raicich, F., Bregant, D., Russo, A., and Artegiani, A.:
Climatological biogeochemical characteristics of the Adriatic Sea, J. Mar.
Syst., 18, 227–263, 1998.
</mixed-citation></ref-html>--></article>
