<?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" xml:lang="en" dtd-version="3.0" article-type="research-article">
  <front>
    <journal-meta><journal-id journal-id-type="publisher">GMD</journal-id><journal-title-group>
    <journal-title>Geoscientific Model Development</journal-title>
    <abbrev-journal-title abbrev-type="publisher">GMD</abbrev-journal-title><abbrev-journal-title abbrev-type="nlm-ta">Geosci. Model Dev.</abbrev-journal-title>
  </journal-title-group><issn pub-type="epub">1991-9603</issn><publisher>
    <publisher-name>Copernicus Publications</publisher-name>
    <publisher-loc>Göttingen, Germany</publisher-loc>
  </publisher></journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.5194/gmd-15-3923-2022</article-id><title-group><article-title>Stable climate simulations using a realistic general circulation model with neural network
parameterizations for atmospheric<?xmltex \hack{\break}?> moist physics and radiation processes</article-title><alt-title>Stable climate simulations using neural network parameterizations</alt-title>
      </title-group><?xmltex \runningtitle{Stable climate simulations using neural network parameterizations}?><?xmltex \runningauthor{X. Wang et al.}?>
      <contrib-group>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Wang</surname><given-names>Xin</given-names></name>
          
        <ext-link>https://orcid.org/0000-0002-9542-2710</ext-link></contrib>
        <contrib contrib-type="author" corresp="yes" rid="aff2">
          <name><surname>Han</surname><given-names>Yilun</given-names></name>
          <email>hanyl16@mails.tsinghua.edu.cn</email>
        </contrib>
        <contrib contrib-type="author" corresp="yes" rid="aff1">
          <name><surname>Xue</surname><given-names>Wei</given-names></name>
          <email>xuewei@tsinghua.edu.cn</email>
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Yang</surname><given-names>Guangwen</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff3">
          <name><surname>Zhang</surname><given-names>Guang J.</given-names></name>
          
        </contrib>
        <aff id="aff1"><label>1</label><institution>Department of Computer Science and Technology, Tsinghua University,
Beijing, 100084, China</institution>
        </aff>
        <aff id="aff2"><label>2</label><institution>Department of Earth System Science, Tsinghua University, Beijing,
100084, China</institution>
        </aff>
        <aff id="aff3"><label>3</label><institution>Scripps Institution of Oceanography, La Jolla, CA, USA</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">Wei Xue (xuewei@tsinghua.edu.cn) and Yilun Han
(hanyl16@mails.tsinghua.edu.cn)</corresp></author-notes><pub-date><day>16</day><month>May</month><year>2022</year></pub-date>
      
      <volume>15</volume>
      <issue>9</issue>
      <fpage>3923</fpage><lpage>3940</lpage>
      <history>
        <date date-type="received"><day>30</day><month>August</month><year>2021</year></date>
           <date date-type="rev-request"><day>29</day><month>September</month><year>2021</year></date>
           <date date-type="rev-recd"><day>19</day><month>April</month><year>2022</year></date>
           <date date-type="accepted"><day>22</day><month>April</month><year>2022</year></date>
      </history>
      <permissions>
        <copyright-statement>Copyright: © 2022 Xin Wang et al.</copyright-statement>
        <copyright-year>2022</copyright-year>
      <license license-type="open-access"><license-p>This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this licence, visit <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link></license-p></license></permissions><self-uri xlink:href="https://gmd.copernicus.org/articles/15/3923/2022/gmd-15-3923-2022.html">This article is available from https://gmd.copernicus.org/articles/15/3923/2022/gmd-15-3923-2022.html</self-uri><self-uri xlink:href="https://gmd.copernicus.org/articles/15/3923/2022/gmd-15-3923-2022.pdf">The full text article is available as a PDF file from https://gmd.copernicus.org/articles/15/3923/2022/gmd-15-3923-2022.pdf</self-uri>
      <abstract><title>Abstract</title>

      <p id="d1e135">In climate models, subgrid parameterizations of
convection and clouds are one of the main causes of the biases in
precipitation and atmospheric circulation simulations. In recent years, due
to the rapid development of data science, machine learning (ML)
parameterizations for convection and clouds have been demonstrated to have
the potential to perform better than conventional parameterizations. Most
previous studies were conducted on aqua-planet and idealized models, and the
problems of simulation instability and climate drift still exist. Developing
an ML parameterization scheme remains a challenging task in realistically
configured models. In this paper, a set of residual deep neural networks
(ResDNNs) with a strong nonlinear fitting ability is designed to emulate a
super-parameterization (SP) with different outputs in a hybrid ML–physical
general circulation model (GCM). It can sustain stable simulations for over
10 years under real-world geographical boundary conditions. We explore the
relationship between the accuracy and stability by validating multiple deep
neural network (DNN) and ResDNN sets in prognostic runs. In addition, there
are significant differences in the prognostic results of the stable ResDNN
sets. Therefore, trial and error is used to acquire the optimal ResDNN set
for both high skill and long-term stability, which we name the
neural network (NN) parameterization. In offline validation, the neural network parameterization can
emulate the SP in mid- to high-latitude regions with a high accuracy.
However, its prediction skill over tropical ocean areas still needs
improvement. In the multi-year prognostic test, the hybrid ML–physical GCM
simulates the tropical precipitation well over land and significantly
improves the frequency of the precipitation extremes, which are vastly
underestimated in the Community Atmospheric Model version 5 (CAM5), with a
horizontal resolution of 1.9<inline-formula><mml:math id="M1" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> <inline-formula><mml:math id="M2" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 2.5<inline-formula><mml:math id="M3" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>.
Furthermore, the hybrid ML–physical GCM simulates the robust signal of the
Madden–Julian oscillation with a more reasonable propagation speed than
CAM5. However, there are still substantial biases with the hybrid
ML–physical GCM in the mean states, including the temperature field in the
tropopause and at high latitudes and the precipitation over tropical oceanic
regions, which are larger than those in CAM5. This study is a pioneer in
achieving multi-year stable climate simulations using a hybrid ML–physical
GCM under actual land–ocean boundary conditions that become sustained over
30 times faster than the target SP. It demonstrates the emerging potential
of using ML parameterizations in climate simulations.</p>
  </abstract>
    </article-meta>
  </front>
<body>
      

<sec id="Ch1.S1" sec-type="intro">
  <label>1</label><title>Introduction</title>
      <p id="d1e172">General circulation models (GCMs) have been widely used to study climate
variability, prediction, and projections. Despite decades of GCM
development, most GCMs continue to suffer from many systematic biases,
especially in low-latitude regions. The prominent tropical bias of most
current GCMs is referred to as the double Intertropical Convergence Zone
(ITCZ) syndrome, which is characterized by two parallel zonal bands of
annual precipitation straddling the Equator over the central and eastern
Pacific (Lin, 2007; Zhang et al., 2019). Convectively coupled equatorial
waves and the Madden–Julian oscillation (MJO), which are characterized by
eastward-propagating convective cloud clusters, are also not well simulated
by GCMs (Ling et al., 2017; Cao and Zhang, 2017).</p>
      <p id="d1e175">Many studies have attributed most of these biases to deficiencies in the
parameterization schemes for atmospheric moist convection and cloud
processes in the current GCMs (Zhang and Song, 2010; Cao and Zhang, 2017;
Song and Zhang, 2018; Zhang et al., 2019). Cloud-related processes span a
large range of spatial scales, from micrometer-scale cloud nucleation to
meter-scale turbulence and from individual convective cells and organized
convective systems, which are a few kilometers to hundreds of kilometers in
size, to tropical disturbances, which have a spatial scale of thousands of
kilometers. They directly influence the radiation balance and hydrological
cycle of the Earth system and interact with the atmospheric circulation,
affecting the transport and distribution of energy (Emanuel et al., 1994).
Therefore, it is very important to simulate the cloud and convection
processes in GCMs correctly. However, the GCMs that are currently used for
climate simulations have a horizontal resolution of <inline-formula><mml:math id="M4" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">100</mml:mn></mml:mrow></mml:math></inline-formula> km
and a vertical hydrostatic coordinate. Thus, in most GCMs, in addition to
parameterized cloud microphysics, convection and its influence on
atmospheric circulation are represented by convective parameterization
schemes, which are usually based on simplified theories, limited
observations, and empirical relationships (Tiedtke, 1989; Zhang and
McFarlane, 1995; Lopez-Gomez et al., 2020). These schemes regard convective
heat and moisture transport as the collective effects of idealized
individual kilometer-scale convective cells. They cannot represent the
effects of many complicated convective structures, including organized
convective systems, which leads to large uncertainties and biases in climate
simulations (Bony et al., 2015).</p>
      <p id="d1e188">In contrast, cloud-resolving models (CRMs) have long been used to simulate
convection. Because CRMs have higher horizontal and vertical resolutions and
can explicitly resolve the thermodynamic processes involved in convection,
they simulate convection more accurately, including convective organization
(Feng et al., 2018). In recent years, CRMs have been used for
super-parameterization (SP) in low-resolution GCMs and have replaced
conventional cumulus convection and cloud parameterization schemes. The most
commonly used SP model is the super-parameterized Community Atmosphere Model
(SPCAM) developed by the National Center for Atmospheric Research (NCAR)
(Grabowski and Smolarkiewicz, 1999; Grabowski, 2001, 2004; Khairoutdinov and
Randall, 2001; Randall et al., 2003; Khairoutdinov et al., 2005). Compared
with conventional cumulus convection and cloud parameterization schemes,
SPCAM performs better in simulating mesoscale convective systems, diurnal
precipitation cycles, monsoons, the precipitation frequency distribution,
and the MJO (Khairoutdinov et al., 2005; Bretherton et al., 2014; Jiang et
al., 2015; Jin and Stan, 2016; Kooperman et al., 2016). However, when using a
2-D CRM for SP, the improvement of the climate mean states is not obvious
(Khairoutdinov et al., 2005). In addition, SPCAM requires far more computing
resources (i.e., an order of magnitude or more) than a Community Atmosphere
Model (CAM) with the same resolution. Thus, the use of SPCAM in long-term
climate simulations and ensemble predictions is restricted by the current
computing resources. Developing novel and computationally efficient schemes
for convection and cloud processes is highly desired in GCM development.</p>
      <p id="d1e191">In the last 5 years, the rapid development of machine learning (ML)
techniques, especially deep-learning techniques such as neural networks
(NNs), has provided novel approaches to constructing parameterization
schemes. Machine learning can identify, discover, and model complex
nonlinear relationships that exist in large datasets. Several studies have
used ML methods to develop convection and cloud parameterization schemes
(e.g., Gentine et al., 2018; Rasp et al., 2018). These studies followed a
similar approach. The first step is to derive a target dataset from a
reference simulation, which is later used to train the ML models. Following this, the
trained ML models are often evaluated offline against other independent
reference simulations, and they are finally implemented in a GCM to replace
the conventional parameterization schemes.</p>
      <p id="d1e195">Krasnopolsky et al. (2013) first proposed a proof of concept for developing
convection parameterization based on the NN technique. Specifically, an
ensemble of shallow NNs was applied to learn the convective temperature and
moisture tendencies, and the training data for the CRM simulations was
forced using observations in the tropical western Pacific. The resulting
convective parameterization scheme was able to simulate the main features of
the clouds and precipitation in the NCAR CAM4 diagnostically. However, the
key issue of prognostic validation in 3-D GCMs has not been addressed.
Recent studies have investigated ML parameterizations in prognostic mode in
simplified aqua-planet GCMs. For example, Rasp et al. (2018) developed a
fully connected deep NN (DNN) to predict convection and clouds, which was
trained using data from an aqua-planet SPCAM. The DNN-based parameterization
was then implemented in the corresponding aqua-planet CAM and produced
multi-year prognostic results that were close to the SPCAM data. For this
DNN-based parameterization, Rasp (2020) found that minor changes, either to
the training dataset or to the input/output vectors, can lead to model
integration instabilities. Brenowitz and Bretherton (2019) fitted a DNN for
convection and clouds to the coarse-grained data from a near-global
aqua-planet cloud-resolving simulation using the System for Atmospheric
Modeling (SAM). The NN scheme was then tested prognostically in a
coarse-grid SAM. Their results showed that non-physical correlations were
learned by the network, and the information in the upper levels obtained
from the input data had to be removed to produce stable long-term
simulations. Rather than using NNs, Yuval and O'Gorman (2020) used the
random forest algorithm to develop an ML parameterization based on training
data from a high-resolution idealized 3-D model with a setup on the
equatorial beta plane. They used two independent random forests to
separately emulate different processes. Later, Yuval et al. (2021) ensured
the physical constrains by using an NN parameterization with a special
structure to predict the subgrid fluxes instead of tendencies. Both methods
achieved stable simulations for coarse resolution aqua-planet GCMs. To
determine why some methods can achieve stable prognostic simulations and
others cannot. Brenowitz et al. (2020) also proposed methods for interpreting and
stabilizing ML parameterization for convection. In their study, a wave
spectra analysis tool was introduced to explain why the ML coupled GCMs blew up.</p>
      <p id="d1e198">In real-world climate models with varying underlying surfaces, convection
and clouds are more diverse under different climate backgrounds, which makes
the task of developing ML-based parameterizations more complicated. A few
earlier studies demonstrated the feasibility of using neural networks to
emulate cloud processes in real-world models. Han et al. (2020) used a 1-D
deep residual convolutional neural network (ResNet) to emulate moist physics
in SPCAM. This ResNet-based parameterization fit the targets with a high
accuracy and was successfully implemented in a single column model. Mooers
et al. (2021) developed a high-skill DNN using an automated ML technique and
forced an offline land model using DNN-emulated atmospheric fields. However,
neither of these studies tested their NNs prognostically for long-term
simulations. Similar to the idea of using several NNs for different
processes proposed by Yuval and O'Gorman (2020), in this study a set of NNs
was used to emulate convection and cloud processes in SPCAM with the actual
global land–ocean distribution. We used the residual connections of Han et al. (2020) to acquire super deep neural networks with a great nonlinear
fitting ability. Furthermore, we conducted systematic trial-and-error
analysis to filter out unstable NN parameterizations and to obtain the best
residual deep neural network (ResDNN) set in terms of both accuracy and
long-term stability. The NN parameterization scheme was then implemented in
a realistically configured CAM to obtain long-term stable simulations. NNs
are commonly implemented using high-level programming languages such as
Python and deep-learning libraries. However, GCMs are mainly written in
Fortran, making integrating them with deep-learning algorithms inconvenient.
Therefore, we introduced an NN–GCM coupling platform in which NN models and
GCMs can interact through data transmission. This coupling strategy
facilitates the development of ML–physical hybrid models with a high
flexibility. Under real geographic boundary conditions, we achieved more
than 10-year-long stable climate simulations in Atmospheric Model
Intercomparison Project (AMIP)-style experiments using a hybrid ML–physical
GCM. The simulation results exhibited some biases in the mean climate
fields, but they successfully reproduced the variability in SPCAM. To our
knowledge, this is the first time a decade-long stable real-world climate
simulation has been achieved using an NN-based parameterization.</p>
      <p id="d1e201">The remainder of this paper is organized as follows. Section 2 briefly
describes the model, the experiments, the NN algorithm, and the NN–GCM
coupling platform. Section 3 analyzes the simulation stability of the GCM using neural network parameterizations (NNCAM).
Section 4 presents the offline validation of the NN scheme, focusing on the
output temperature and moisture tendencies. The results of the multi-year
simulations conducted using the NN parameterization scheme are presented in
Sect. 5. A summary and the conclusions are presented in Sect. 6.</p>
</sec>
<sec id="Ch1.S2">
  <label>2</label><title>Methods and data</title>
      <p id="d1e212">In this study, we chose SPCAM as the reference model to generate the target
simulations. A set of NNs was trained using the target simulation data and
optimized hyperparameters. Following this, they were organized as a subgrid physics
emulator and were implemented in SPCAM, replacing both the CRM-based SP and
the radiation effects of the CRM. This NN-enabled GCM is hereinafter
referred to as NNCAM.</p>
<sec id="Ch1.S2.SS1">
  <label>2.1</label><title>SPCAM setup and data generation</title>
      <p id="d1e222">The GCMs used in this study were the CAM5.2 developed by the National Center
for Atmospheric Research and its super-parameterized version SPCAM
(Khairoutdinov and Randall, 2001; Khairoutdinov et al., 2005). A complete
description of CAM5 has been given by Neale et al. (2012). The dynamic core
of CAM5 has a horizontal resolution of 1.9<inline-formula><mml:math id="M5" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> <inline-formula><mml:math id="M6" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 2.5<inline-formula><mml:math id="M7" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> and 30 vertical levels with a model top at about 2 hPa. To
represent moist processes, CAM5 adopts a plume-based treatment for shallow
convection (Park and Bretherton, 2009), a mass-flux parameterization scheme
for deep convection (Zhang and McFarlane, 1995), and an advanced two-moment
representation for microphysical cloud processes (Morrison and Gettelman,
2008; Gettelman et al., 2010). In the AMIP experiments we conducted, CAM5
was coupled to the Community Land Model version 4.0 land surface model
(Oleson et al., 2010), and the prescribed sea surface temperatures and sea
ice concentrations were used.</p>
      <p id="d1e250">In this study, SPCAM was used to generate the training data. In SPCAM, a 2-D
CRM was embedded in each grid column of the host CAM as the SP. The 2-D CRM
contained 32 grid points in the zonal direction and 30 vertical levels that
were shared with the host CAM. The CRM handled the convection and cloud
microphysics and replaced the conventional parameterization schemes. The
radiation was calculated on the CRM subgrids in order to include the
cloud–radiation interactions at the cloud scale (Khairoutdinov et al.,
2005). Under a realistic configuration, the planetary boundary layer
processes, orographic gravity wave drags, and the dynamic core were computed
on the CAM grid. One conceptual advantage of using SPCAM as the reference
simulation is that the subgrid- and grid-scale processes are clearly
separated, which makes it easy to define the parameterization task for an ML
algorithm (Rasp, 2020).</p>

<?xmltex \floatpos{t}?><table-wrap id="Ch1.T1" specific-use="star"><?xmltex \currentcnt{1}?><label>Table 1</label><caption><p id="d1e256">Input and output variables. For the inputs,
<inline-formula><mml:math id="M8" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mi>v</mml:mi></mml:msub><mml:mfenced open="(" close=")"><mml:mi>z</mml:mi></mml:mfenced></mml:mrow></mml:math></inline-formula> is the vertical water
vapor profile. <inline-formula><mml:math id="M9" display="inline"><mml:mrow><mml:mi>T</mml:mi><mml:mfenced close=")" open="("><mml:mi>z</mml:mi></mml:mfenced></mml:mrow></mml:math></inline-formula> is the temperature
profile. <inline-formula><mml:math id="M10" display="inline"><mml:mrow><mml:mi mathvariant="normal">d</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mrow><mml:mi>v</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">l</mml:mi><mml:mo>.</mml:mo><mml:mi mathvariant="normal">s</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:msub><mml:mfenced open="(" close=")"><mml:mi mathvariant="bold">z</mml:mi></mml:mfenced></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M11" display="inline"><mml:mrow><mml:mi mathvariant="normal">d</mml:mi><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">l</mml:mi><mml:mo>.</mml:mo><mml:mi mathvariant="normal">s</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> are the large-scale
forcings of the water vapor and temperature, respectively.
<inline-formula><mml:math id="M12" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the surface pressure, and Solin is the TOA solar
insolation. For the outputs, <inline-formula><mml:math id="M13" display="inline"><mml:mrow><mml:mi mathvariant="normal">d</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>
and <inline-formula><mml:math id="M14" display="inline"><mml:mrow><mml:mi mathvariant="normal">d</mml:mi><mml:mi>s</mml:mi><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> are the tendencies of the water vapor and dry static
energy due to moist physics and radiative processes calculated using the
NN parameterization. The net longwave and shortwave fluxes at the surface
and the TOA are the surface net longwave flux (FLNS), surface net shortwave
flux (FLNT), TOA net longwave flux (FLNT), and TOA net shortwave fluxes
(FSNT). The four downwelling shortwave solar radiation fluxes are the solar
downward visible direct to surface (SOLS), solar downward near-infrared
direct to surface (SOLL), solar downward visible diffuse to surface (SOLSD),
and solar downward near-infrared diffuse to surface (SOLLD) fluxes reaching
the surface.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="2">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Inputs</oasis:entry>
         <oasis:entry colname="col2">Outputs</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M15" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M16" display="inline"><mml:mrow><mml:mi>T</mml:mi><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, dq<inline-formula><mml:math id="M17" display="inline"><mml:mrow><mml:msub><mml:mi/><mml:mi mathvariant="normal">vls</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, d<inline-formula><mml:math id="M18" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">ls</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M19" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, Solin</oasis:entry>
         <oasis:entry colname="col2">d<inline-formula><mml:math id="M20" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>z</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, d<inline-formula><mml:math id="M21" display="inline"><mml:mi>s</mml:mi></mml:math></inline-formula> (<inline-formula><mml:math id="M22" display="inline"><mml:mrow><mml:mi>z</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, FLNS, FSNS, FLNT, FSNT, SOLS, SOLL, SOLSD, SOLLD</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

</sec>
<sec id="Ch1.S2.SS2">
  <label>2.2</label><title>NN parameterization</title>
<sec id="Ch1.S2.SS2.SSS1">
  <label>2.2.1</label><title>Datasets</title>
      <p id="d1e533">The NN parameterization is a deep-learning emulator of the SP and its
cloud-scale radiation effects in SPCAM. Therefore, the inputs of this
emulator are borrowed from the SP input variables, such as the grid-scale
state variables and forcings, including the specific humidity <inline-formula><mml:math id="M23" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>,
temperature <inline-formula><mml:math id="M24" display="inline"><mml:mi>T</mml:mi></mml:math></inline-formula>, large-scale water vapor forcing <inline-formula><mml:math id="M25" display="inline"><mml:mrow><mml:msub><mml:mfenced close=")" open="("><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mo>∂</mml:mo><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mi mathvariant="normal">ls</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, and temperature forcing <inline-formula><mml:math id="M26" display="inline"><mml:mrow><mml:msub><mml:mfenced open="(" close=")"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>T</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mi mathvariant="normal">ls</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. Additionally, we selected the
surface pressure <inline-formula><mml:math id="M27" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and solar insolation (SOLIN) at the top of the
model from the radiation module. The outputs of the NN parameterization are
subgrid-scale tendencies of the moisture <inline-formula><mml:math id="M28" display="inline"><mml:mrow><mml:mfenced close=")" open="("><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mo>∂</mml:mo><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced></mml:mrow></mml:math></inline-formula> and dry static energy <inline-formula><mml:math id="M29" display="inline"><mml:mrow><mml:mfenced open="(" close=")"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced></mml:mrow></mml:math></inline-formula> at each model level. It should be noted that <inline-formula><mml:math id="M30" display="inline"><mml:mrow><mml:mfenced open="(" close=")"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced></mml:mrow></mml:math></inline-formula> is the sum of the heating from the
moist processes in the SP and the heating from the SP radiation (shortwave
heating plus longwave heating). To complete the emulation of the cloud
radiation process, apart from the commonly used net shortwave and longwave
radiative fluxes at both the surface and the top of the atmosphere (TOA)
(Rasp et al., 2018; Mooers et al., 2021), it is essential to include direct
and diffuse downwelling solar radiation fluxes as output variables in order
to force the coupled land surface model. Specifically, they are the solar
downward visible direct to surface (SOLS), solar downward near-infrared
direct to surface (SOLL), solar downward visible diffuse to surface (SOLSD),
and solar downward near-infrared diffuse to surface (SOLLD) fluxes. In the
end, the precipitation is derived from column integration of the predicted
moisture tendency to ensure basic water conservation.</p>
      <p id="d1e673">The large-scale forcings were often not included in previous studies that
used an aqua-planet configuration. However, under a realistic configuration,
such forcings are composed of the dynamics and the planetary boundary layer
diffusion, and thus they carry critical information about the complex
background circulations and surface conditions. Similarly, the downwelling
solar radiation fluxes with direct separation versus diffusion record the
solar energy received by the coupled surface model for different land cover
types and processes (Mooers et al., 2021). If they are not included, the
land surface is not heated by the sun, which seriously weakens the sea and
land breeze and monsoon circulations. In this study, we used the vertical
integration of the NN-predicted moisture tendency as an approximation of the
surface precipitation, which has also been used in previous studies (e.g.,
O'Gorman and Dwyer, 2018; and Han et al., 2020). In the offline validation
test, we observed negative precipitation events (27 % occurrence in 1 year
of results). Nonetheless, 93 % of the negative precipitation events had a
magnitude of less than 1 mm d<inline-formula><mml:math id="M31" 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 the online prognostic runs, reasonable
rainfall results (more details will be provided in Sect. 5) were achieved
using this approximation scheme.</p>
      <p id="d1e688">Table 1 lists the input and output variables and their normalization
factors. There are 30 model levels for each profile variable. Therefore, the
input vector consists of 122 elements for four profile variables and two scalars,
while the 68-element output vector is composed of two profiles and eight scalars.
All of the input and output variables are normalized to ensure that they are
of the same magnitude before they are input into the NN parameterization for
the training, testing, and prognostic model validation. It should be noted
that each variable is normalized as a whole at all levels. The normalization
factor for each variable shown in the supplemental codebase was determined
by the maximum of its absolute value.</p>
      <p id="d1e691">The training dataset used by all of the considered NNs consisted of 40 %
of the temporally randomly sampled data from the 2-year SPCAM simulation
from 1 January 1997 to 31 December 1998. It should be noted that random
sampling was only done in the time dimension and not in the latitude and
longitude dimensions, including all 13 824 samples from the global grid
points for each selected time step. To avoid any mixing or temporal
connection between the training set and the offline validation set, we
randomly sampled 40 % of the time steps from the SPCAM simulation in 2000
to produce the offline validation set used for the sensitivity test.</p>
</sec>
<sec id="Ch1.S2.SS2.SSS2">
  <label>2.2.2</label><title>A ResDNN set</title>
      <p id="d1e702">During the development of the NN parameterization scheme, it was found that
when different variables are used as the output of the neural network, the
difficulty of the training is quite different. In particular, the neural
network's ability to fit the radiation heating and scalar fluxes is
significantly stronger than the tendencies variables. Gentine et al. (2018)
also reported this, and they found that the coefficient of determination
(<inline-formula><mml:math id="M32" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> of the radiative heating tendency was higher than that of the
moisture tendency at most model levels. We think that using a single NN with
one output to train all of the variables (i.e., the moisture tendency, dry
static energy tendency, and radiation fluxes) is possible to cause mutual
interference. Since gradient descending is applied to optimize the network
during the training, mutual interference between different outputs will
cause the gradient directions used for the descending to cancel out (Yu et
al., 2020), which will ultimately affect the convergence of the network.
Thus, we used three different neural networks with the same hyperparameters
to train the following variables:<?xmltex \hack{\newpage}?>
<list list-type="order"><list-item>
      <p id="d1e722">the tendency of the moisture,</p></list-item><list-item>
      <p id="d1e726">the tendency of the dry static energy,</p></list-item><list-item>
      <p id="d1e730">the radiation fluxes at the surface and TOA.</p></list-item></list>
It should be noted that the radiation fluxes include the net shortwave and
longwave radiative fluxes at the surface (FSNS and FLNS, respectively) and
at the TOA (FSNT and FLNT, respectively) and four solar radiation fluxes
(SOLS, SOLL, SOLSD, and SOLLD). By doing so, we avoided the gradient
cancellation and improved the convergence speed and fitting accuracy when
training the network. As will be described in Sect. 3.1, when using the
same network configuration, the radiation fluxes are trained more easily and
have a higher accuracy than the tendencies of the moisture and temperature.
We admit that putting the heating and moistening rates in two different NNs
arbitrarily cuts the physical connections between them. However, this
separation makes the training easier in the development stage.</p>
      <p id="d1e734">In this study, to mimic the column-independent SP and its radiation effects,
the input and output of the NN parameterization both had to be 1-D vectors.
This means that the input and output of the NN parameterization are much
simpler than those in existing mainstream ML problems, such as image
recognition and text–speech recognition. Thus, it is impossible to directly
apply most of the existing complex neural networks. Hornik et al. (1989)
demonstrated that a single-layer neural network can approximate any
function. According to the universal approximation theorem, it is feasible
for a DNN to map from a 122-element 1-D vector to a 1-D vector with a length
of 68, which is what the NN parameterization does. Therefore, when
constructing the NN parametrization, we first tried to use a DNN for the
fitting and introduced residual connections to extend the DNN in to a
ResDNN.</p>
      <p id="d1e737">After numerous experiments, we obtained the best hyperparameters for the DNN
and ResDNN. When training a fully connected DNN, the hidden layer width of
the network should be set to 512, and the network's depth should not exceed
7; otherwise, the convergence of the DNN will be affected. In order to make
the neural network capture more nonlinear information, the fitting ability
was enhanced. We introduces skip connections to extend the 7-layer DNN to a
14-layer ResDNN. The network structure of the ResDNN is shown in Fig. 1.
In the training process, both the DNN and ResDNN use an initial learning
rate of 0.001 and a learning rate decaying strategy for the cosine annealing
(Loshchilov and Hutter, 2016) without dropout and L2 regularization. Adam
(Kingma and Ba, 2014) was chosen as the optimizer to minimize the mean
square errors (MSEs). The specific hyperparameter searching space of the DNN
and ResDNN is documented in Table S1 in the Supplement.</p>
      <p id="d1e740">Figure 2 shows that the ResDNN fits the data significantly better than the
DNN. We chose ResDNN sets as stable candidates to build the
NN parameterization. After obtaining well-fitted ResDNN sets, the next step is
to couple the candidates into NNCAM one by one for the prognostic tests and
to find the sets that can support a stable simulation. All of the
experiments and analyses related to the stability will be introduced in
Sect. 3.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F1"><?xmltex \currentcnt{1}?><?xmltex \def\figurename{Figure}?><label>Figure 1</label><caption><p id="d1e746">Schematic diagram of the structure of the ResDNN. It
consists of seven residual blocks, each of which (dashed box) contains two
512-node-wide dense (fully connected) layers with a Rectified Linear Unit (ReLU) (Glorot et al., 2011) as the activation
and a layer jump. The inputs and outputs are discussed in Sect. 2.2.2.</p></caption>
            <?xmltex \igopts{width=199.169291pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/15/3923/2022/gmd-15-3923-2022-f01.png"/>

          </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F2"><?xmltex \currentcnt{2}?><?xmltex \def\figurename{Figure}?><label>Figure 2</label><caption><p id="d1e757">Fitting accuracies (<inline-formula><mml:math id="M33" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> of both the proposed ResDNN
(solid orange lines) and the DNN (dashed blue lines) for different outputs.
<bold>(a)</bold> The <inline-formula><mml:math id="M34" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> of the moist static energy changing rate (d<inline-formula><mml:math id="M35" display="inline"><mml:mi>h</mml:mi></mml:math></inline-formula>) versus the
training epochs and <bold>(b)</bold> the fitting accuracy of the average <inline-formula><mml:math id="M36" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> for the
eight radiation fluxes are shown. Note that the <inline-formula><mml:math id="M37" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> values are calculated for both
space and time in the validation dataset.</p></caption>
            <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/15/3923/2022/gmd-15-3923-2022-f02.png"/>

          </fig>

</sec>
<sec id="Ch1.S2.SS2.SSS3">
  <label>2.2.3</label><title>Implementation of NN parameterization</title>
      <p id="d1e834">The NN parameterization is implemented into SPCAM to replace both the
CRM-based super-parameterization and its radiation effects based on the
average of the coarse grid. At the beginning of each time step, NNCAM calls
the NN parameterization and predicts the moisture tendency <inline-formula><mml:math id="M38" display="inline"><mml:mrow><mml:mfenced close=")" open="("><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mo>∂</mml:mo><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced></mml:mrow></mml:math></inline-formula>, the dry static energy tendency
<inline-formula><mml:math id="M39" display="inline"><mml:mrow><mml:mfenced close=")" open="("><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:mo>∂</mml:mo><mml:mi>s</mml:mi></mml:mrow><mml:mrow><mml:mo>∂</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced></mml:mrow></mml:math></inline-formula> from the moist physics and
radiative heating, and all of the radiation fluxes at the surface and the
TOA. Following this, the DNN predictions are returned to NNCAM, and the model states
and radiation fluxes are updated. Additionally, the total surface
precipitation is derived from the column integration of the predicted
moisture tendency. The near-surface conditions of the atmosphere and the
downwelling radiation fluxes are transferred to the land surface model.
After the land surface model and the prescribed sea surface temperature
(SST) are coupled, the host CAM5 performs the planetary boundary layer
diffusion and lets its dynamic core complete a time step integration. In the
next time step, the dynamic core returns the new model states to the
NN parameterization as inputs again. During the entire process, the
NN parameterization and GCM constantly update each other's status.
Determining a way to couple the NN parameterization with the GCM and to run
them efficiently and effectively is the key to the implementation of NNCAM.
To solve these problems, we developed the NN–GCM coupler, which integrates
the NNs into NNCAM. This process will be introduced in the next section.</p>
</sec>
</sec>
<sec id="Ch1.S2.SS3">
  <label>2.3</label><title>NN–GCM coupler</title>
      <p id="d1e887">Deep-learning research mainly uses ML frameworks based on Python interfaces
to train neural network models, and they are deployed through C<inline-formula><mml:math id="M40" display="inline"><mml:mrow><mml:mo>+</mml:mo><mml:mo>+</mml:mo></mml:mrow></mml:math></inline-formula> or
Python programs. In contrast, GCMs are mainly developed in Fortran, which
makes it very challenging to call a neural network model based on a
Python or C<inline-formula><mml:math id="M41" display="inline"><mml:mrow><mml:mo>+</mml:mo><mml:mo>+</mml:mo></mml:mrow></mml:math></inline-formula> interface in GCM codes written in Fortran. Solving the
problem of code compatibility between the NN and GCM can significantly help
develop NN-based parameterizations for climate models.</p>
      <p id="d1e910">To implement an NN-based parameterization in the current climate models,
which are mostly developed in Fortran, many researchers have attempted to
obtain the network parameters (e.g., the weight and bias) from the ML models
and implement the NN models (e.g., DNNs) using hard coding in Fortran. At
the runtime, NNCAM will call an NN parametrization as a function (Rasp et
al., 2018; Brenowitz and Bretherton, 2019). Recently, some researchers have
developed a Fortran–neural network interface that can be used to deploy DNNs
in GCMs (Ott et al., 2020). This interface can import neural network
parameters from outside of the Fortran program, and the Fortran-based
implementation ensures that it can be flexibly deployed in GCMs. However,
embedding an NN parameterization in NNCAM is still a troublesome task, and
there is no existing coupling framework to support many of the latest
network structures. This problem prevents researchers from building more
powerful NNs and deploying them in NNCAM.</p>
      <p id="d1e913">We developed a coupler to bridge the NN parameterization with the host CAM5.
Through this coupler, the neural network can communicate with the dynamic
core and other physical schemes in NNCAM in each time step. When NNCAM is
running (step 1 in Fig. 3), the coupler receives the state and forcing output
from the dynamic core in the Fortran-based CAM5. For each input variable, we
used the native Message Passing Interface (MPI) interface in CAM5 to gather
the data for all of the processes into the master process into a tensor.
Following this, the coupler transmits the gathered tensor through the data buffer to
the NN parameterization running on the same node as the master process (step 2 in
Fig. 3). The NN parameterization obtains the input, infers the outputs,
and transmits them back to the coupler. As shown in step 3 in Fig. 3, the
coupler writes these tendencies and radiation fluxes back to the master
process and then broadcasts the data to the CAM5 processes running on
the computing nodes through the MPI transmission interface. Therefore, other
parameterizations obtain the predictions from the NN parameterization to
complete the follow-up procedures (step 4 in Fig. 3).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F3"><?xmltex \currentcnt{3}?><?xmltex \def\figurename{Figure}?><label>Figure 3</label><caption><p id="d1e919">A flowchart of NNCAM, including the NN–GCM coupler.
NNCAM runs in the direction of the arrow, and each box represents a module.
Among them, the NN–GCM coupler is indicated by the pink box. The
NN parameterization is shown in the box on the right. In step (1), the dynamic core
transmits data to the NN–GCM coupler. In steps (2) and (3), the data communication between
the NN–GCM coupler and the NN parameterization takes place. In step (4), the host GCM accepts
the results from the NN parameterization.</p></caption>
          <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/15/3923/2022/gmd-15-3923-2022-f03.png"/>

        </fig>

      <p id="d1e928">In practice, the NN–GCM coupler introduces a data buffer that supports a
system-level interface, which is accessible by both the Fortran-based GCM
and the Python-based NN without supplementary foreign codes. This can avoid
code compatibility issues when building ML coupled numerical models. It
supports all mainstream ML frameworks, including native PyTorch and
TensorFlow. Using the coupler, one can efficiently and flexibly deploy the
deep-learning model in NNCAM and can even take advantage of the latest
developed neural networks.</p>
      <p id="d1e931">All neural network models deployed using the NN–GCM coupler can support a
GPU-accelerated inference to achieve excellent
computing performance. In this study, we ran SPCAM and NNCAM on 192 CPU
cores. NNCAM also used two GPUs for acceleration. During the NNCAM runtime,
each time step of NNCAM requires the NN parameterization to complete an
inference and conduct data communication with NNCAM. This is a typical
high-frequency communication scenario. We evaluated the amount of data
(about 20 MB for CAM5 with a horizontal resolution of 1.9<inline-formula><mml:math id="M42" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> <inline-formula><mml:math id="M43" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 2.5<inline-formula><mml:math id="M44" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>) that needs to be transmitted for each
communication and decided to establish a data buffer on a high-speed
solid-state drive to ensure a balance between performance and compatibility.
It takes about <inline-formula><mml:math id="M45" display="inline"><mml:mrow><mml:mn mathvariant="normal">1</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">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> s to access the data buffer in each time
step, which is enough to support the efficient simulation of NNCAM. The
simulation years per day (SYPD) of NNCAM based on the NN–GCM coupler
represents an impressive performance improvement. When using 192 Intel CPU
cores, the SYPD of SPCAM is 0.3, the SYPD of CAM5 is 20, and the SYPD of
NNCAM is 10. It should be noted that NNCAM based on the NN–GCM coupler uses
an additional GPU to accelerate the NN parameterization. When the NN–GCM
coupler is not used, the NN parameterization is implemented using Fortran
and is accelerated by the Fortran-based Math Kernel Library and the SYPD is 1.5.</p>
</sec>
</sec>
<sec id="Ch1.S3">
  <label>3</label><title>A road to stability</title>
<sec id="Ch1.S3.SS1">
  <label>3.1</label><title>Trial and error</title>
      <p id="d1e993">To develop a stable NN parameterization, we propose the use of a set of
three ResDNNs, in which each neural network is responsible for predicting a
class of variables (see Sect. 2.2.2). Ott et al. (2020) demonstrated that
there is a negative correlation between the offline MSE and online stability
when using tendencies as outputs in aqua-planet simulations. Since we also
used tendencies as outputs in the real-world simulations, we conclude that
an NN-based parameterization that can support long-term integration should
have a high accuracy regarding training and validation. As was described in
Sect. 2.2.2, we tried DNNs first and then extended the DNNs to
ResDNNs to achieve a high offline accuracy (Fig. 2). Even though more
accurate ResDNNs have a higher probability of becoming stable
parameterizations (Fig. 4), we still do not have a way to determine the
stability a priori. Therefore, we still used the trial-and-error method to
filter out unstable ones and then selected the best ResDNN set that could
reduplicate the total energy time evolution of SPCAM with the least
deviation, i.e., the NN parameterization.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F4"><?xmltex \currentcnt{4}?><?xmltex \def\figurename{Figure}?><label>Figure 4</label><caption><p id="d1e998">The mean square error of the offline moist static energy
versus the prognostic steps. The inverted black triangles (the three
inverted black triangles are above the infinity line to avoid overlapping) denote
stable NN coupled prognostic simulations that last for more than 10 years.
The blue dots denote unstable simulations, and the blue triangles denote
unstable DNNs. The dots with colored outlines are shown in Fig. 5 for the
time evolution of the globally averaged energy.</p></caption>
          <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/15/3923/2022/gmd-15-3923-2022-f04.png"/>

        </fig>

</sec>
<sec id="Ch1.S3.SS2">
  <label>3.2</label><title>Sensitivity tests</title>
      <p id="d1e1015">We conducted prognostic runs of all three neural networks in each NN set
using the NN–GCM coupler. To demonstrate the reality behind the
relationships between the offline accuracy and online stability under a
real-world configuration, we conducted sensitivity tests using 10 DNN sets
and 27 ResDNN sets and conducted the training and evaluation using the
settings described in Sect. 2.2.2. In the sensitivity tests, we conducted
prognostic runs (see details in Sect. 3.2) using all three neural networks
in each NN set using the NN–GCM coupler.</p>
      <p id="d1e1018">First, we selected the best ResDNN for the radiation fluxes at the surface,
and the TOA that was shared in every NN set since their offline validation
was exceptionally accurate with <inline-formula><mml:math id="M46" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">0.98</mml:mn></mml:mrow></mml:math></inline-formula> over 50
training epochs (Fig. 2b). In contrast to the accurately trained radiation
fluxes, the tendencies of the dry static energy and moisture are less
accurate and can affect the prognostic performance. To evaluate those two
tendencies using one metric, we introduced the MSE of the rate of change of
the moist static energy (<inline-formula><mml:math id="M47" display="inline"><mml:mrow><mml:mi mathvariant="normal">d</mml:mi><mml:mi>h</mml:mi><mml:mo>=</mml:mo><mml:mi mathvariant="normal">d</mml:mi><mml:mi>s</mml:mi><mml:mo>+</mml:mo><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mi mathvariant="normal">d</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>:
            <disp-formula id="Ch1.E1" content-type="numbered"><label>1</label><mml:math id="M48" display="block"><mml:mrow><mml:msub><mml:mi mathvariant="normal">MSE</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mfenced open="∥" close="∥"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mi>g</mml:mi></mml:mfrac></mml:mstyle><mml:mo>(</mml:mo><mml:mi mathvariant="normal">d</mml:mi><mml:msub><mml:mi>h</mml:mi><mml:mi mathvariant="normal">NN</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mi mathvariant="normal">d</mml:mi><mml:msub><mml:mi>h</mml:mi><mml:mi mathvariant="normal">SPCAM</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:mfenced><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M49" display="inline"><mml:mi>g</mml:mi></mml:math></inline-formula> is the acceleration due to gravity, <inline-formula><mml:math id="M50" display="inline"><mml:mrow><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the latent heat of
water vapor, and <inline-formula><mml:math id="M51" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:math></inline-formula> is the layer thickness. Multiple ResDNN
pairs and DNN pairs for d<inline-formula><mml:math id="M52" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">v</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and d<inline-formula><mml:math id="M53" display="inline"><mml:mi>s</mml:mi></mml:math></inline-formula> were trained from 5 to 50
epochs, resulting in different offline validation accuracies. We used the
maximum number of steps until the model crashed to measure the prognostic
performance.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F5"><?xmltex \currentcnt{5}?><?xmltex \def\figurename{Figure}?><label>Figure 5</label><caption><p id="d1e1167">Time evolution of the globally averaged column of the
integral total energy of NNCAM with different ResDNN parameterizations
(marked with the same colors as in Fig. 4), SPCAM target (black line), and
CAM5 control run (dashed grey line). The blue line indicates the stable and
accurate ResDNN, the green line indicates the stable but deviating ResDNN,
and the orange and red lines indicate unstable ResDNNs.</p></caption>
          <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/15/3923/2022/gmd-15-3923-2022-f05.png"/>

        </fig>

      <p id="d1e1177">Figure 4 shows the offline validation MSE<inline-formula><mml:math id="M54" display="inline"><mml:msub><mml:mi/><mml:mi>h</mml:mi></mml:msub></mml:math></inline-formula> versus the maximum
prognostic steps. The DNN parameterizations (blue triangles) are
systematically less accurate than the ResDNN parameterizations (blue dots
and inverted black triangles), which is consistent with Fig. 2a. They
could not sustain half a year of simulation in the prognostic tests with the
best DNN parameterization. For the ResDNNs, the less well-trained ones with
high MSEs also crashed after short simulation periods. However, when the
offline MSE decreased to a certain level (e.g., 290 W<inline-formula><mml:math id="M55" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula> m<inline-formula><mml:math id="M56" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">4</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>), 10 of the
ResDNN parameterizations were stable in long-term simulations of over 10 years (black inverted triangles). We speculate that the more accurate ResDNN
sets have a higher probability of becoming stable NN parameterizations since
all of the stable NN parameterizations are ResDNNs.</p>
      <p id="d1e1210">A few unstable ResDNN sets are equally or more accurate than the stable
ones. Previous studies have shown that high-capacity (more hidden layers and
more weights and biases) models are harder to train and are more likely to
produce overfitting (Goodfellow et al., 2016). Some overly trained ResDNNs
with lowest validation loss are speculated to produce overfitting, and
they are therefore less likely to generalize to unknown backgrounds caused
by accumulated errors in the ML–GCM system, causing the model to crash.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F6"><?xmltex \currentcnt{6}?><?xmltex \def\figurename{Figure}?><label>Figure 6</label><caption><p id="d1e1215">Latitude–pressure cross sections of the annual and zonal
mean heating (top) and moistening (bottom) due to moist physics during the
year 2000 for <bold>(a, c)</bold> SPCAM simulations and <bold>(b, d)</bold> the offline test using
the NN parameterizations.</p></caption>
          <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/15/3923/2022/gmd-15-3923-2022-f06.png"/>

        </fig>

      <p id="d1e1230">In the time evolution of the globally averaged total energy (Fig. 5), the
system energy grows exponentially and then blows up for unstable
ResDNN parameterizations (the red and orange lines). In contrast, the stable
ones can keep the total energy at a certain level and reproduce the annual
cycle of fluctuations in SPCAM. Among the stable ResDNN sets, some can
almost perfectly reproduce the total energy evolution of SPCAM (the blue
line). However, some inaccurately simulate the climate state with a
significant deviation (green line). Apart from global averages, the
prognostic results of the 10 stable ResDNN sets vary from each other in
terms of the global distribution. Figure S1 shows the precipitation spread
across all of the stable NN sets for the prognostic simulation from 1999 to
2003. The obvious standard deviation centers coincide with the heavy
tropical precipitation areas.</p>
</sec>
<sec id="Ch1.S3.SS3">
  <label>3.3</label><title>Gravity wave diagnosis</title>
      <p id="d1e1241">It is still unclear why unstable NN parameterizations blow up models. The
fast-growing energy of the unstable runs indicates a possible underlying
unrealistic energy amplifying mechanism in the coupled NN–GCM system.
Brenowitz et al. (2020) offered several interpretations. When an unstable
NN parameterization is coupled with dynamics, it tends to amplify any
unrealistic perturbations caused by emulation errors and pass it to the
entire system through gravity waves. In contrast, the stable
NN parameterizations tend to dump all of the perturbations quickly. This was
found to be true in our study for the realistic configuration. Such unstable
gravity waves were observed in the prognostic simulation of an unstable
ResDNN (red line in Fig. 5). The animation in Movie S1 records the first
unrealistic wave, and Movie S2 documents the more intense waves with a
perfectly round shape after this point in time. Additionally, we found that
our instable waves mostly occurred in the tropics, which is different from
the mid-latitude instability that occurs when using ML parameterizations in
aqua-planet simulations (Brenowitz et al., 2020).</p>
      <p id="d1e1244">Brenowitz et al. (2020) also introduced an analysis tool that calculates the
wave energy spectra of a hierarchy model that couples the linear response
functions (LRF) of an NN-based parameterization to a simplified
two-dimensional linear dynamic system, in which perturbations can propagate
in 2-D gravity waves. We applied the tool in this study and detected similar
results in the unstable mode for the unstable ResDNN with a positive energy
growth rate across all wave numbers at phase speeds of 5–20 m s<inline-formula><mml:math id="M57" 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> (Fig. S2b). In contrast, the stable ResDNN exhibited a stable mode for the growth
rate of nearly all wave numbers and phases below zero (Fig. S2a).</p>
</sec>
</sec>
<sec id="Ch1.S4">
  <label>4</label><title>Offline validation of NN parameterization</title>
      <p id="d1e1268">Before evaluating the prognostic results, the offline performance with
geographic information needs to be demonstrated for the following purposes:
(1) to show how well our NN parameterization emulates the SP for a realistic
configuration compared with the baseline CAM5 physics and previous studies
and (2) to reveal the strengths and weaknesses of the NN emulations with the
correct input and to provide clues to the analysis of the prognostic results
in the following section. We performed offline testing using a realistically
configured SPCAM from 1 January 1999 to 31 December 2000, in which the
NN parameterization was diagnostically run parallel to the SP in addition to the
CAM5 physics. The results for the entire second year of the simulation
period were chosen for evaluation, which was completely independent from the
training dataset. Following the conventions of Han et al. (2020) and Mooers
et al. (2021), we used the mean fields and the coefficient of determination
(<inline-formula><mml:math id="M58" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> as the evaluation metrics. It should be noted that the
NN parameterization was tuned to emulate the SP, and the CAM's
parameterization was tuned to obtain close results to the observations. The
latter is merely introduced as a baseline.</p>
      <p id="d1e1284">The mean diabatic heating and drying rates produced by convection,
large-scale condensation, and cloud radiation effects in SPCAM and the
NN parameterization are in close agreement. Figure 6 shows the
latitude–height cross sections of the annual mean heating and moistening
rates in SPCAM and the corresponding NN parameterization. At 5<inline-formula><mml:math id="M59" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> N, SPCAM exhibits the maximum latent heating in the deep troposphere,
corresponding to the deep convection in the ITCZ. In the subtropics, heating
and moistening occur in the lower troposphere, corresponding to the
stratocumulus and shallow convection in the subtropics. In the
mid-latitudes, there is a secondary heating maximum below 400 hPa due to the
mid-latitude storm tracks. All of these features are well reproduced by the
NN parameterization. It should be noted that the
peak in the drying rate in the ITCZ in the mid-troposphere is slightly weaker in the
NN parameterization than in SPCAM (Fig. 6c and d).</p>
      <p id="d1e1296">In addition to the mean fields, the high prediction skill of the
NN parameterization is also demonstrated by the spatial distribution of the
<inline-formula><mml:math id="M60" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> values. To illustrate the <inline-formula><mml:math id="M61" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> values of the 3-D variables, such
as the diabatic heating and moistening, the
zonal averages were calculated in advance before the <inline-formula><mml:math id="M62" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> calculation for
each location in the pressure–latitude cross section following Mooers et al. (2021). For the diabatic
heating, the <inline-formula><mml:math id="M63" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> value is <inline-formula><mml:math id="M64" display="inline"><mml:mrow><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">0.7</mml:mn></mml:mrow></mml:math></inline-formula> throughout the middle and
lower troposphere, and the high-skill regions with <inline-formula><mml:math id="M65" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> values of greater
than 0.9 are concentrated in the low levels but extend into the
mid-troposphere in the storm tracks (Fig. 7a). For the moistening rate,
the high skill zones are concentrated in the middle and upper troposphere
(Fig. 7b), with low skill areas below. The regions with lower accuracies
are generally located in the middle and lower troposphere in the tropics and
subtropics, which correspond to the deep convection in the ITCZ and the
shallow convection in the subtropics. Nonetheless, the tendencies of the
diagnostic CAM5 parameterization are not similar to those simulated by the
SP, except for a few locations in the middle and upper troposphere in the
tropics and polar regions (Fig. 7c and d).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F7"><?xmltex \currentcnt{7}?><?xmltex \def\figurename{Figure}?><label>Figure 7</label><caption><p id="d1e1368">Latitude–pressure cross sections of the coefficient of
determination (<inline-formula><mml:math id="M66" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> for the zonally averaged heating <bold>(a, c)</bold> and
moistening <bold>(b, d)</bold> predicted using <bold>(a, b)</bold> the NN parameterization
in the offline 1-year SPCAM run, and <bold>(c, d)</bold> the offline CAM5
parameterizations. Both were evaluated at a 30 min time step interval. Note that
the areas where <inline-formula><mml:math id="M67" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> is greater than 0.7 are contoured in pink, whereas the
areas where <inline-formula><mml:math id="M68" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> is greater than 0.9 are contoured in orange.</p></caption>
        <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/15/3923/2022/gmd-15-3923-2022-f07.png"/>

      </fig>

      <p id="d1e1425">The global distribution of the <inline-formula><mml:math id="M69" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> values of the precipitation
predictions is shown in Fig. 8. Our NN parameterization produced excellent
predictions in most of the in mid- and high-latitude regions, especially in
the storm tracks. However, the prediction skill is relatively low in many of
the ocean areas between  30<inline-formula><mml:math id="M70" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> S and 30<inline-formula><mml:math id="M71" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> N and in some
mid-latitude areas over continents (Fig. 8a). In particular, the results
are not ideal along the equatorial regions, in the subtropical Eastern
Pacific, and in the subtropical Eastern Atlantic. These areas correspond to
the low skill zones of the moistening rate in the middle and lower
troposphere from the Equator to the subtropics (Fig. 7b). As a baseline,
the total precipitation simulated using the CAM5 parameterizations is much
less analogous to the SP than the NN parameterization and has a
systematically lower accuracy globally. The CAM5 precipitation can achieve a
relatively high accuracy along the mid-latitude storm tracks, but it fails
in most regions in the tropics (Fig. 8b).</p>
      <p id="d1e1457">Generally, the NN parameterization performed far better than the CAM5
parameterization in the 1-year period in the offline testing, and it had an
accuracy similar to that of the DNN used by Mooers et al. (2021). The use of
real geographic data can significantly decrease the emulation skill of a
deep-learning model (Mooers et al., 2021). This is because the convection
backgrounds of real geographic data are much more complex with meridional
and zonal asymmetric and seasonally varying circulations. In addition, the
orography and various types of underlying land surfaces also add complexity.
In this case, the ResDNN is a valuable NN architecture that performs well as
an automated hyperparameter tuning algorithm that does not need to search
for hundreds of NN candidates. Our NN parameterization still produced low-accuracy predictions along the Equator over the oceans where the convection
is complex and vigorous and in subtropical ocean areas where the convection
is weak and concentrated at low levels. This indicates that the
NN parameterization is still inadequate in rems of its emulation skill when
simulating various types of deep and shallow convection in the tropics.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F8"><?xmltex \currentcnt{8}?><?xmltex \def\figurename{Figure}?><label>Figure 8</label><caption><p id="d1e1462">Latitude–pressure cross sections of the coefficient of
determination (<inline-formula><mml:math id="M72" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> for the time sequence at each location for <bold>(a)</bold> the
derived precipitation predicted using the NN parameterization and <bold>(b)</bold> the
total precipitation from the CAM5 parameterization compared to the offline
1-year SPCAM run. The predictions and SPCAM targets are for a 30 min time
step interval. Note that the areas where <inline-formula><mml:math id="M73" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> is greater than 0.7 are
contoured in pink, whereas the areas where <inline-formula><mml:math id="M74" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> is greater than 0.9 are
contoured in orange.</p></caption>
        <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/15/3923/2022/gmd-15-3923-2022-f08.png"/>

      </fig>

</sec>
<sec id="Ch1.S5">
  <label>5</label><title>Long-term prognostic validation</title>
      <p id="d1e1521">The NN parameterization produced the best prognostic performance in Sect. 3.1. It was coupled in the realistically configured SPCAM to replace the SP
and its cloud-scale radiation effects. This coupled model is referred
to as NNCAM hereinafter and is compared with SPCAM and CAM5. The start time
of all three models was 1 January 1998. They were all run for 6 years, with
the first year used as spin up and the next 5 years (1 January 1999 to
31 December 2003) used for evaluation and comparison. Later, the simulation of
NNCAM was extended for another 5 years (to 31 December 2008) to demonstrate
its stability. Due to the excessive computing resources required, the SPCAM
simulation was not extended. In the analysis of the prognostic results, the
following variables were selected to demonstrate the multi-year climatology and
variability:
<list list-type="order"><list-item>
      <p id="d1e1526">the mean temperature and humidity fields,</p></list-item><list-item>
      <p id="d1e1530">the mean precipitation field,</p></list-item><list-item>
      <p id="d1e1534">the precipitation frequency distribution,</p></list-item><list-item>
      <p id="d1e1538">the Madden–Julian Oscillation.</p></list-item></list>
As was mentioned in the Sect. 1, SPCAM, which uses the 2-D SAM
as the SP, does not simulate mean climate states better than its host
coarse-grid model CAM5, but it excels in climate variability. What is
remarkable about NNCAM is not its performance in simulating the mean
climate but its ability to achieve a stable multi-year prognostic
simulation under a real-world global land–ocean distribution. The
advantages and problems of this study will provide important references for
future research on NN-based stable long-term model integrations.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F9"><?xmltex \currentcnt{9}?><?xmltex \def\figurename{Figure}?><label>Figure 9</label><caption><p id="d1e1544">Latitude–pressure cross sections of the zonal mean
temperature <bold>(a, c, e)</bold> and specific humidity <bold>(b, d, f)</bold> averaged from
1999 to 2003 predicted using <bold>(a, b)</bold> SPCAM, <bold>(c, d)</bold> NNCAM, and <bold>(e, f)</bold> CAM5.</p></caption>
        <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/15/3923/2022/gmd-15-3923-2022-f09.png"/>

      </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F10"><?xmltex \currentcnt{10}?><?xmltex \def\figurename{Figure}?><label>Figure 10</label><caption><p id="d1e1570">Latitude–pressure cross section of the zonal and annual
mean differences in the temperature <bold>(a, b)</bold> and specific humidity
<bold>(c, d)</bold> between <bold>(a, c)</bold> NNCAM and SPCAM and <bold>(b, d)</bold> CAM5 and
SPCAM. The simulation period for all of the models was from 1999 to 2003.</p></caption>
        <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/15/3923/2022/gmd-15-3923-2022-f10.png"/>

      </fig>

<sec id="Ch1.S5.SS1">
  <label>5.1</label><title>Climatology</title>
<sec id="Ch1.S5.SS1.SSS1">
  <label>5.1.1</label><title>Vertical profiles of temperature and humidity</title>
      <p id="d1e1606">In this section, we evaluate the vertical structures of the mean temperature
and humidity fields. Figure 9 shows the zonally averaged vertical profiles
of the air temperature and specific humidity simulated using NNCAM and CAM5
compared to the SPCAM simulations. Overall, NNCAM simulated reasonable
thermal and moisture structures. However, the multi-year mean temperature
and moisture fields produced by NNCAM are more biased than those produced by
CAM5, which is reflected by the larger root-mean-square errors (RMSEs)
(Fig. 9) and larger differences compared to those of CAM5 (Fig. 10). The
larger deviations are temperature biases in the tropopause. In this region,
the cold-point region is thinner and warmer in NNCAM than in SPCAM and CAM5.
In addition, there are cold biases above 200 hPa and warm biases blow over
the polar regions in NNCAM. For the humidity field, there are slight dry
biases over the Equator and wet biases elsewhere in NNCAM. Even with these
biases, the mean climate states are consistent with those in the last 5 years of the simulation for NNCAM (Fig. S3), which indicates that the
climate states simulated by NNCAM are constant in the long-term simulation.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F11" specific-use="star"><?xmltex \currentcnt{11}?><?xmltex \def\figurename{Figure}?><label>Figure 11</label><caption><p id="d1e1611">The mean precipitation rate (mm d<inline-formula><mml:math id="M75" 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> averaged
from 1999 to 2003 for June–July–August <bold>(a, c, e)</bold> and
December–January–February <bold>(b, d, f)</bold> predicted using <bold>(a, b)</bold> SPCAM, <bold>(c, d)</bold> NNCAM, and <bold>(e, f)</bold> CAM5.</p></caption>
            <?xmltex \igopts{width=398.338583pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/15/3923/2022/gmd-15-3923-2022-f11.png"/>

          </fig>

</sec>
<sec id="Ch1.S5.SS1.SSS2">
  <label>5.1.2</label><title>Precipitation</title>
      <p id="d1e1659">Figure 11 shows the spatial distributions of the winter
(December–January–February) and summer (June–July–August) mean precipitation
simulated using SPCAM, NNCAM, and CAM5. The SPCAM simulation results are
regarded as the reference precipitation. In SPCAM (Fig. 11a and b),
massive precipitation can be observed in the Asian monsoon region and the
mid-latitude storm tracks over the northwest Pacific and Atlantic oceans. In
the tropics, the primary peaks in the rainfall occur in the eastern Indian
Ocean and Maritime Continent regions. In addition, two zonal precipitation
bands are located at 0–10<inline-formula><mml:math id="M76" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> N in the equatorial Pacific and
Atlantic oceans, constituting the northern ITCZ. The southern South Pacific
Convergence Zone (SPCZ) is mainly located at around 5–10<inline-formula><mml:math id="M77" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> S near
the western Pacific warm pool region and tilts southeastward as it extends
eastward into the central Pacific. The main spatial patterns of the SPCAM
precipitation are properly reproduced by both NNCAM and CAM5. For NNCAM, the
strong rainfall centers are well simulated over the tropical land regions of
the Maritime Continent, the Asian monsoon region, South America, and Africa
(Fig. 11c and d). In addition, the heavy summertime precipitation over
the Northwestern Pacific simulated by SPCAM is well represented by NNCAM
(Fig. 11a and c). For CAM5, there is too little precipitation over this
area (Fig. 11e). Moreover, NNCAM maintained the spatial pattern and global
average of the precipitation in the next 5 years of the simulation,
demonstrating its long-term stability (Fig. S4).</p>
      <p id="d1e1680">Generally, the NNCAM results are more similar to SPCAM than the CAM5 results
in terms of the spatial distribution of the summertime multi-year
precipitation, with smaller RMSEs and globally averaged biases. However, on
a difference plot (Fig. S5), NNCAM moderately underestimates the
precipitation along the Equator, in the Indian monsoon region, and over the
Maritime Continent in the summer (Fig. S5a). In the boreal winter, NNCAM
simulates a weak SPCZ that is excessively separated from the ITCZ, with both
precipitation centers shifted away from each other. As a result,
underestimation occurs in the equatorial regions of the Maritime Continent
and in the SPCZ, while overestimation occurs to the north of the Equator in
the western Pacific (Fig. S5b); thus, NNCAM resembles SPCAM less than
CAM5 in this season. This underestimation of the precipitation along the
Equator can also be observed in the zonal mean multi-year precipitation
plots (Fig. 12). There is a more significant minimum zone in the
equatorial precipitation near the Equator compared with in SPCAM and CAM5
for the annual average (Fig. 12a) and the boreal winter average (Fig. 12c).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F12"><?xmltex \currentcnt{12}?><?xmltex \def\figurename{Figure}?><label>Figure 12</label><caption><p id="d1e1685">The zonal mean precipitation rate (mm d<inline-formula><mml:math id="M78" 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>) averaged from
1999 to 2003 for <bold>(a, d)</bold> the annual mean, <bold>(b, e)</bold> June–July–August, and <bold>(c, f)</bold> December–January–February. The black, blue, and red solid lines denote
SPCAM, NNCAM, and CAM5, respectively. The dashed dark green line denotes the
averaged results of the TRMM 3B42 daily rainfall product.</p></caption>
            <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/15/3923/2022/gmd-15-3923-2022-f12.png"/>

          </fig>

      <p id="d1e1716">In contrast to the oceanic rainfall, NNCAM predicts the precipitation over
the land surfaces with good skill in the tropics (land fraction equal to 1),
which resembles the tropical land rainfall intensity of SPCAM and Tropical
Rainfall Measuring Mission (TRMM) (Huffmann et al., 2007) observations of the annual and boreal
summer averages (Fig. 12d and e). According to Kooperman et al. (2016),
SPCAM predicts the Asian and African monsoon activity better, which leads to
the more accurate land rainfall in such areas. This is related to the
stronger convective variability in the SP than the conventional
parameterizations. As an emulator of SPCAM, NNCAM inherits this strength.</p>
</sec>
</sec>
<sec id="Ch1.S5.SS2">
  <label>5.2</label><title>Variability</title>
<sec id="Ch1.S5.SS2.SSS1">
  <label>5.2.1</label><title>Frequency distribution of precipitation</title>
      <p id="d1e1735">Moreover, NNCAM exhibited a better performance in simulating the
precipitation extremes. Figure 13 shows the probability density function of
the simulated daily precipitation in the tropics (30<inline-formula><mml:math id="M79" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> S–30<inline-formula><mml:math id="M80" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> N) with a precipitation intensity interval of 1 mm d<inline-formula><mml:math id="M81" 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 CAM5, the heavy precipitation events exceeding 20 mm d<inline-formula><mml:math id="M82" 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> are greatly underestimated. In addition, for CAM5, the light to
moderate precipitation events (2–20 mm d<inline-formula><mml:math id="M83" 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> are overestimated, with
an unreal probability peak around 10 mm d<inline-formula><mml:math id="M84" 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>, which is a typical
simulation bias found in simulations with parameterized convection and no
explicitly resolved convection (Holloway et al., 2012). Compared with CAM5,
the spectral distribution of the precipitation for NNCAM is much closer to
that of SPCAM. The heavy rainfall events are substantially enhanced, and the
overestimated moderate precipitation (2–20 mm d<inline-formula><mml:math id="M85" 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> is
reduced, with no spurious peak at around 10 mm d<inline-formula><mml:math id="M86" 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>.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F13"><?xmltex \currentcnt{13}?><?xmltex \def\figurename{Figure}?><label>Figure 13</label><caption><p id="d1e1837">Probability densities of the daily mean precipitation in
the tropics (30<inline-formula><mml:math id="M87" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> S–30<inline-formula><mml:math id="M88" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> N) obtained from the three
model simulations. The black, blue, and red solid lines denote SPCAM, NNCAM,
and CAM5, respectively.</p></caption>
            <?xmltex \igopts{width=199.169291pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/15/3923/2022/gmd-15-3923-2022-f13.png"/>

          </fig>

</sec>
<sec id="Ch1.S5.SS2.SSS2">
  <label>5.2.2</label><title>The MJO</title>
      <p id="d1e1872">The MJO is a crucial tropical intraseasonal variability that occurs on a
timescale of 20–100 d (Wheeler and Kiladis, 1999). Figure 14 presents
the wavenumber and frequency spectra for the daily equatorial precipitation
anomalies for SPCAM, NNCAM, and CAM5 in four consecutive boreal winters from
1999 to 2003. SPCAM shows widespread power signals over zones 1–4 and
periods of 20–100 d, as well as a peak around zone numbers 1–3 and
periods of 70–100 d for the eastward propagation (Fig. 14a).
Similarly, for NNCAM, there is a spectral peak at wavenumbers of 1–2 and
periods of 50–80 d for the eastward propagation (Fig. 14b), exhibiting
intense intraseasonal signals. For CAM5 (Fig. 14c), the spectral power is
concentrated around 30 d and exhibits more extended periods (greater than
80 d) at a wavenumber of 1 for the eastward propagation. In addition,
CAM5 also shows signals of westward propagation with a 30 d period.
Compared with CAM5, NNCAM exhibits stronger intraseasonal power and
resembles SPCAM better. To quantify this similarity, we calculated the
coefficients of determination <inline-formula><mml:math id="M89" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> for the precipitation spectra of NNCAM
and CAM5 using the spectrum of SPCAM as the target value. The <inline-formula><mml:math id="M90" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> value
of the precipitation spectrum NNCAM (0.51) is much higher than that for CAM5 (0.40).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F14" specific-use="star"><?xmltex \currentcnt{14}?><?xmltex \def\figurename{Figure}?><label>Figure 14</label><caption><p id="d1e1899">The wavenumber–frequency spectra for the daily
precipitation anomalies at 10<inline-formula><mml:math id="M91" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> S–10<inline-formula><mml:math id="M92" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> N for <bold>(a)</bold> SPCAM, <bold>(b)</bold> NNCAM, and <bold>(c)</bold> CAM5 simulations in boreal winter.</p></caption>
            <?xmltex \igopts{width=398.338583pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/15/3923/2022/gmd-15-3923-2022-f14.png"/>

          </fig>

      <p id="d1e1935">The MJO is characterized by the eastward propagation of deep-convective
structures along the Equator. Generally, it forms over the Indian Ocean,
strengthens over the Pacific Ocean, and weakens over the eastern Pacific Ocean due to
interactions with cooler SSTs (Madden and Julian, 1972). Figure 15 presents
the longitude-time lag evolution for the 10<inline-formula><mml:math id="M93" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> S–10<inline-formula><mml:math id="M94" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> N
meridional averaged daily anomalies of the intraseasonal (filtered using a
20–100 d bandpass) precipitation and 200 hPa zonal wind (U200) in the
boreal winter. The results show that both SPCAM and NNCAM reasonably
reproduce the eastward propagation of the convection from the Indian Ocean
across the Maritime Continent and into the Pacific (Fig. 15a and b).
This is confirmed by both the precipitation field and U200 field. Therefore,
we conclude that NNCAM captures the key MJO propagation simulated by SPCAM.
In contrast, the time lag plot for CAM5 depicts an inaccurate westward
propagation. Similar to the precipitation spectrum, the <inline-formula><mml:math id="M95" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> value of the
time lag coefficient is shown to quantify the similarities between the
simulations. The time lag coefficient of the U200 field for NNCAM is much
closer to that for SPCAM than CAM5, with a much higher <inline-formula><mml:math id="M96" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> value,
indicating that the NN parameterization successfully emulates the convection
variability of the SP, which is reflected in the dynamic fields.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F15" specific-use="star"><?xmltex \currentcnt{15}?><?xmltex \def\figurename{Figure}?><label>Figure 15</label><caption><p id="d1e1981">Longitude–time evolution of the lagged correlation coefficient for the 20–100 d bandpass-filtered precipitation anomalies (averaged over 10<inline-formula><mml:math id="M97" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> S-−10<inline-formula><mml:math id="M98" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> N) against the regionally averaged precipitation (shading) and zonal wind at 200 hPa (contours) over the equatorial eastern Indian Ocean (10<inline-formula><mml:math id="M99" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> S−-10<inline-formula><mml:math id="M100" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> N, 80−-100<inline-formula><mml:math id="M101" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> E) for <bold>(a)</bold> SPCAM, <bold>(b)</bold> NNCAM, and <bold>(c)</bold> CAM5.</p></caption>
            <?xmltex \igopts{width=398.338583pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/15/3923/2022/gmd-15-3923-2022-f15.png"/>

          </fig>

</sec>
</sec>
</sec>
<sec id="Ch1.S6" sec-type="conclusions">
  <label>6</label><title>Summary and conclusions</title>
      <p id="d1e2055">In this study, the potential of deep neural network-based parameterizations
in SPCAM to reproduce long-term climatology and climate variability was
investigated. We developed an NN parameterization via a ResDNN set to
emulate the SP with a 2-D CRM and its cloud-scale radiation for a
realistically configured SPCAM with a true land–ocean distribution and
orography. The input variables of the NN parameterization include the
specific humidity, temperature, large-scale water vapor and temperature
forcings, surface pressure, and solar insolation. The output variables of
the NN parameterization include the subgrid tendencies of the moisture and
dry static energy and the radiation fluxes. We propose a set of 14-layer
deep residual neural networks, in which each NN is in charge of one group of
output variables. With such a design, we gained a best emulation accuracy
for each predictor. Through systematic trial-and-error searching, we were
able to select sets of ResDNNs that support stable prognostic climate
simulations, and we then chose the best set with the lowest climate errors
as the formal NN parameterization. Moreover, the mechanism of the unreal
perturbation amplification was identified in the GCM simulations with
unstable NN parameterizations using the spectrum diagnostic tool invented by
Brenowitz et al. (2020).</p>
      <p id="d1e2058">The offline tests demonstrated the good skills of the NN parameterization in
emulating the SP outputs and the cloud scale radiation effects of SPCAM. The
overall diabatic heating and drying rates in the NN parameterization and
SPCAM are in close agreement. When implemented in the host SPCAM to replace
its time-consuming SP and its radiation effects, the NN parameterization
successfully produced an extensive stable long-term prognostic simulation
and predicted reasonable mean vertical temperature and humidity structures
and precipitation distributions. Compared with the SPCAM target simulation,
NNCAM still produces some biases in the mean fields, such as a warmer
troposphere over the polar regions and in the tropopause and underestimation
of strong precipitation in the equatorial regions. In addition, the better
climate variability of SPCAM compared to CAM5 was learned well by our
NN parameterization and was reproduced by NNCAM, with better frequency for
extreme rainfall and a similar MJO spectrum, propagation direction, and
speed. Despite the current biases in the climate states, NNCAM can still be
regarded as a first attempt to couple a NN-based parameterization and a
realistically configured 3-D GCM.</p>
      <p id="d1e2061">Many previous studies have investigated ML parameterizations implemented in
aqua-planet configured 3-D GCMs. Some faced instability problems in coupled
simulations (Brenowitz and Bretherton, 2019), while others succeeded in
producing stable long-term prognostic simulations with deep fully connected
neural networks (Rasp et al., 2018; Yuval et al., 2021), as well as random
forest algorithms (Yuval and O'Gorman, 2020). In contrast to aqua-planet
simulations, the spatial heterogeneity is prominent over the land in GCMs,
which are configured using real geographic boundary conditions. The
convection, clouds, and interactions with the radiation in the CRM and the
real geographic boundary conditions are without a doubt far more complicated
than in idealized models. To meet the new demand for realistic
configurations, we designed a ResDNN with sufficient depth to further
improve the nonlinear fitting ability of the NN parameterization. With the
skip connections, the 7-layer DNN models can be extended to 14 layers,
thereby significantly improving the offline accuracy. In the prognostic
tests, a dozen ResDNN parameterizations supported a stable long-term run,
while all of the DNN parameterizations tested were found to be unstable.</p>
      <p id="d1e2064">Trial and error is still our only way to find stable NN-based
parameterizations. Thus far, we have not developed an a priori method that
guarantees stability. However, we did find some clues in the sensitivity
tests. We believe sufficient offline accuracy is essential for online
stability and can be achieved by confirming all of the inaccurate
NN parameterizations as unstable. In addition, some of the highly accurate
ones still crash the prognostic simulation. In this case, the total energy
was found to increase rapidly. This mechanism is that unstable NNs cannot
damp the neural network emulation errors, and they amplify and propagate
them to the entire system through gravity waves.</p>
      <p id="d1e2068">The prognostic biases of the mean fields are speculated to be a result of
the combined effect of the emulation errors of all of the
NN parameterization prediction fields. Further study is required. Still, it
may be related to the spatially non-uniform accuracy of the
NN parameterization, such as the relatively low fitting accuracy in the
tropical deep-convective regions and the shallow subtropical convection and
stratiform cloud regions. Such problems have also been reported in previous
studies (Gentine et al., 2018; Mooers et al., 2021). We believe that an
NN parameterization with heterogeneous characteristics across different
regions, rather than a globally uniform scheme, can further improve the
fitting accuracy in these tropical and subtropical regions.</p>
      <p id="d1e2071">Embedding deep neural networks into Fortran-based atmospheric models is
still a handicap. Before this study, researchers mainly used hard coding to
build neural networks (Rasp et al., 2018; Brenowitz and Bretherton, 2019).
An easier method is to use Fortran-based neural network libraries that can
flexibly import network parameters (Ott et al., 2020). These methods have
been used to successfully implement NNs in GCMs, but they can only support
dense, layer-based NNs. As a result, developers cannot take advantage of the
most advanced neural network structures, such as convolution, shortcut,
self-attention, and variational autoencoder structures, to build powerful
ML-based parameterizations. In this study, using an NN–GCM coupler, the
NN parameterization could support the mainstream GPU-enabled ML frameworks.
Thanks to the simple and effective implementation of the NN–GCM coupler, our
NNCAM achieved an SYPD 30 times that of SPCAM by using a ResDNN set and
NN parameterization, even though these DNNs are much deeper than the
previous state-of-the-art fully connected NNs in this field.</p>
</sec>

      
      </body>
    <back><notes notes-type="codedataavailability"><title>Code and data availability</title>

      <p id="d1e2078">In this study, all NN parameterizations are developed using Pytorch (Paszke et al., 2019). The original training and testing data can be accessed at <ext-link xlink:href="https://doi.org/10.5281/zenodo.5625616" ext-link-type="DOI">10.5281/zenodo.5625616</ext-link> (Wang and Han, 2021a). The source codes of SPCAM version 2 and NNCAM have been archived and made publicly available for downloading from <ext-link xlink:href="https://doi.org/10.5281/zenodo.5596273" ext-link-type="DOI">10.5281/zenodo.5596273</ext-link> (Wang and Han, 2021b).</p>
  </notes><app-group>
        <supplementary-material position="anchor"><p id="d1e2087">The supplement related to this article is available online at: <inline-supplementary-material xlink:href="https://doi.org/10.5194/gmd-15-3923-2022-supplement" xlink:title="zip">https://doi.org/10.5194/gmd-15-3923-2022-supplement</inline-supplementary-material>.</p></supplementary-material>
        </app-group><notes notes-type="authorcontribution"><title>Author contributions</title>

      <p id="d1e2096">XW trained the deep learning models, constructed the NN–GCM coupler, performed the NNCAM and CAM5 experiments, and wrote the main part of the paper. YH conducted the SPCAM simulations, offered valuable suggestions on the development of the NN parameterization, and participated in the writing of the paper and revision. WX supervised this work, provided critical comments on this work, and participated in the writing of the paper. GJZ provided key points for this research and participated in the revision of the paper. GWY supported this research and gave important opinions. All of the authors discussed the model development and the results.</p>
  </notes><notes notes-type="competinginterests"><title>Competing interests</title>

      <p id="d1e2102">The contact author has declared that neither they nor their co-authors have any competing interests.</p>
  </notes><notes notes-type="disclaimer"><title>Disclaimer</title>

      <p id="d1e2108">Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.</p>
  </notes><ack><title>Acknowledgements</title><p id="d1e2114">Yilun Han is supported by National Key R&amp;D Program of China (grant no. 2017YFA0604000). This work is also supported by National Key R&amp;D Program of China (grant no. 2017YFA0604500) and the National Natural Science Foundation of China (grant no. 42130603). We thank Yong Wang for his guidance regarding SPCAM simulations and valuable discussions on this work. We also thank Yixiong Lu for providing advice on the evaluation of the simulation results of NNCAM. We thank the editor Po-Lun Ma and two anonymous reviewers for their insightful and constructive comments that helped improve the manuscript.</p></ack><notes notes-type="financialsupport"><title>Financial support</title>

      <p id="d1e2119">Yilun Han is supported by National Key R&amp;D Program of China (grant no. 2017YFA0604000). This work is also supported by National Key R&amp;D Program of China (grant no. 2017YFA0604500) and the National Natural Science Foundation of China (grant no. 42130603).</p>
  </notes><notes notes-type="reviewstatement"><title>Review statement</title>

      <p id="d1e2126">This paper was edited by Po-Lun Ma and reviewed by two anonymous referees.</p>
  </notes><ref-list>
    <title>References</title>

      <ref id="bib1.bib1"><label>1</label><?label 1?><mixed-citation>Bony, S., Stevens, B., Frierson, D. M. W., Jakob, C., Kageyama, M., Pincus,
R., Shepherd, T. G., Sherwood, S. C., Siebesma, A. P., Sobel, A. H.,
Watanabe, M., and Webb, M. J.: Clouds, circulation and climate sensitivity,
Nat. Geosci., 8, 261–268, <ext-link xlink:href="https://doi.org/10.1038/ngeo2398" ext-link-type="DOI">10.1038/ngeo2398</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bib2"><label>2</label><?label 1?><mixed-citation>Brenowitz, N. D. and Bretherton, C. S.: Spatially Extended Tests of a Neural
Network Parametrization Trained by Coarse-Graining, J. Adv.
Model. Earth Syst., 11, 2728–2744, <ext-link xlink:href="https://doi.org/10.1029/2019ms001711" ext-link-type="DOI">10.1029/2019ms001711</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bib3"><label>3</label><?label 1?><mixed-citation>Brenowitz, N. D., Beucler, T., Pritchard, M., and Bretherton, C. S.:
Interpreting and Stabilizing Machine-Learning Parametrizations of
Convection, J. Atmos. Sci., 77, 4357–4375,
<ext-link xlink:href="https://doi.org/10.1175/jas-d-20-0082.1" ext-link-type="DOI">10.1175/jas-d-20-0082.1</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bib4"><label>4</label><?label 1?><mixed-citation>Bretherton, C. S., Blossey, P. N., and Stan, C.: Cloud feedbacks on
greenhouse warming in the superparameterized climate model SP-CCSM4, J. Adv. Model. Earth Syst., 6, 1185–1204,
<ext-link xlink:href="https://doi.org/10.1002/2014MS000355" ext-link-type="DOI">10.1002/2014MS000355</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bib5"><label>5</label><?label 1?><mixed-citation>Cao, G. and Zhang, G. J.: Role of Vertical Structure of Convective Heating
in MJO Simulation in NCAR CAM5.3, J. Climate, 30, 7423–7439,
<ext-link xlink:href="https://doi.org/10.1175/jcli-d-16-0913.1" ext-link-type="DOI">10.1175/jcli-d-16-0913.1</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bib6"><label>6</label><?label 1?><mixed-citation>Emanuel, K. A., David Neelin, J., and Bretherton, C. S.: On large-scale
circulations in convecting atmospheres, Q. J. Roy.
Meteorol. Soc., 120, 1111–1143, <ext-link xlink:href="https://doi.org/10.1002/qj.49712051902" ext-link-type="DOI">10.1002/qj.49712051902</ext-link>, 1994.</mixed-citation></ref>
      <ref id="bib1.bib7"><label>7</label><?label 1?><mixed-citation>Feng, Z., Leung, L. R., Houze Jr., R. A., Hagos, S., Hardin, J., Yang, Q., Han, B., and Fan, J.: Structure and Evolution of Mesoscale Convective Systems: Sensitivity to Cloud Microphysics in Convection-Permitting Simulations Over the United States, J. Adv. Model. Earth Syst., 10, 1470–1494, <ext-link xlink:href="https://doi.org/10.1029/2018ms001305" ext-link-type="DOI">10.1029/2018ms001305</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bib8"><label>8</label><?label 1?><mixed-citation>
Gentine, P., Pritchard, M., Rasp, S., Reinaudi, G., and Yacalis, G.: Could
machine learning break the convection parameterization deadlock?,
Geophys. Res. Lett., 45, 5742–5751, 2018.</mixed-citation></ref>
      <ref id="bib1.bib9"><label>9</label><?label 1?><mixed-citation>Gettelman, A., Liu, X., Ghan, S. J., Morrison, H., Park, S., Conley, A. J.,
Klein, S. A., Boyle, J., Mitchell, D. L., and Li, J.-L. F.: Global
simulations of ice nucleation and ice supersaturation with an improved cloud
scheme in the Community Atmosphere Model, J. Geophys. Res.-Atmos., 115, <ext-link xlink:href="https://doi.org/10.1029/2009JD013797" ext-link-type="DOI">10.1029/2009JD013797</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bib10"><label>10</label><?label 1?><mixed-citation>Goodfellow, I., Bengio, Y., and Courville, A.: Deep learning, MIT
press, <uri>http://www.deeplearningbook.org</uri> (last access: 9 May 2022), 2016.</mixed-citation></ref>
      <ref id="bib1.bib11"><label>11</label><?label 1?><mixed-citation>Grabowski, W. W.: Coupling Cloud Processes with the Large-Scale Dynamics
Using the Cloud-Resolving Convection Parameterization (CRCP), J.
Atmos. Sci., 58, 978–997, <ext-link xlink:href="https://doi.org/10.1175/1520-0469(2001)058&lt;0978:Ccpwtl&gt;2.0.Co;2" ext-link-type="DOI">10.1175/1520-0469(2001)058&lt;0978:Ccpwtl&gt;2.0.Co;2</ext-link>, 2001.</mixed-citation></ref>
      <ref id="bib1.bib12"><label>12</label><?label 1?><mixed-citation>Grabowski, W. W.: An Improved Framework for Superparameterization, J. Atmos. Sci., 61, 1940–1952,
<ext-link xlink:href="https://doi.org/10.1175/1520-0469(2004)061&lt;1940:Aiffs&gt;2.0.Co;2" ext-link-type="DOI">10.1175/1520-0469(2004)061&lt;1940:Aiffs&gt;2.0.Co;2</ext-link>, 2004.</mixed-citation></ref>
      <ref id="bib1.bib13"><label>13</label><?label 1?><mixed-citation>Grabowski, W. W. and Smolarkiewicz, P. K.: CRCP: a Cloud Resolving
Convection Parameterization for modeling the tropical convecting atmosphere,
Physica D, 133, 171–178,
<ext-link xlink:href="https://doi.org/10.1016/S0167-2789(99)00104-9" ext-link-type="DOI">10.1016/S0167-2789(99)00104-9</ext-link>, 1999.</mixed-citation></ref>
      <ref id="bib1.bib14"><label>14</label><?label 1?><mixed-citation>Han, Y., Zhang, G. J., Huang, X., and Wang, Y.: A Moist Physics
Parameterization Based on Deep Learning, J. Adv. Model.
Earth Syst., 12, e2020MS002076, <ext-link xlink:href="https://doi.org/10.1029/2020ms002076" ext-link-type="DOI">10.1029/2020ms002076</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bib15"><label>15</label><?label 1?><mixed-citation>Holloway, C. E., Woolnough, S. J., and Lister, G. M. S.: Precipitation
distributions for explicit versus parametrized convection in a large-domain
high-resolution tropical case study, Q. J. Roy.
Meteorol. Soc., 138, 1692–1708, <ext-link xlink:href="https://doi.org/10.1002/qj.1903" ext-link-type="DOI">10.1002/qj.1903</ext-link>,
2012.</mixed-citation></ref>
      <ref id="bib1.bib16"><label>16</label><?label 1?><mixed-citation>Hornik, K., Stinchcombe, M., and White, H.: Multilayer feedforward networks
are universal approximators, Neural Net., 2, 359–366,
<ext-link xlink:href="https://doi.org/10.1016/0893-6080(89)90020-8" ext-link-type="DOI">10.1016/0893-6080(89)90020-8</ext-link>, 1989.</mixed-citation></ref>
      <ref id="bib1.bib17"><label>17</label><?label 1?><mixed-citation>
Huffman, G. J., Alder, R. F., Bolvin, D. T., Gu, G., Nelkin, E. J., Bowman, K. P., Hong, Y., Stocker, E. F., and Wolff, D. B.: The TRMM multisatellite image precipitation analysis (TMPA). Quasi-global, multi-year, combined-sensor precipitation estimates at fine scales, J. Hydrometeor., 8, 38–55, 2007.</mixed-citation></ref>
      <ref id="bib1.bib18"><label>18</label><?label 1?><mixed-citation>Jiang, X., Waliser, D. E., Xavier, P. K., Petch, J., Klingaman, N. P.,
Woolnough, S. J., Guan, B., Bellon, G., Crueger, T., DeMott, C., Hannay, C.,
Lin, H., Hu, W., Kim, D., Lappen, C.-L., Lu, M.-M., Ma, H.-Y., Miyakawa, T.,
Ridout, J. A., Schubert, S. D., Scinocca, J., Seo, K.-H., Shindo, E., Song,
X., Stan, C., Tseng, W.-L., Wang, W., Wu, T., Wu, X., Wyser, K., Zhang, G.
J., and Zhu, H.: Vertical structure and physical processes of the
Madden-Julian oscillation: Exploring key model physics in climate
simulations, J. Geophys. Res.-Atmos., 120, 4718–4748,
<ext-link xlink:href="https://doi.org/10.1002/2014jd022375" ext-link-type="DOI">10.1002/2014jd022375</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bib19"><label>19</label><?label 1?><mixed-citation>Jin, Y. and Stan, C.: Simulation of East Asian Summer Monsoon (EASM) in SP-CCSM4: Part I – Seasonal mean state and intraseasonal variability, J. Geophys. Res.-Atmos., 121, 7801–7818, <ext-link xlink:href="https://doi.org/10.1002/2015JD024035" ext-link-type="DOI">10.1002/2015JD024035</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bib20"><label>20</label><?label 1?><mixed-citation>Khairoutdinov, M., Randall, D., and DeMott, C.: Simulations of the
Atmospheric General Circulation Using a Cloud-Resolving Model as a
Superparameterization of Physical Processes, J. Atmos.
Sci., 62, 2136–2154, <ext-link xlink:href="https://doi.org/10.1175/jas3453.1" ext-link-type="DOI">10.1175/jas3453.1</ext-link>, 2005.</mixed-citation></ref>
      <ref id="bib1.bib21"><label>21</label><?label 1?><mixed-citation>Khairoutdinov, M. F. and Randall, D. A.: A cloud resolving model as a cloud
parameterization in the NCAR Community Climate System Model: Preliminary
results, Geophys. Res. Lett., 28, 3617–3620, <ext-link xlink:href="https://doi.org/10.1029/2001gl013552" ext-link-type="DOI">10.1029/2001gl013552</ext-link>,
2001.</mixed-citation></ref>
      <ref id="bib1.bib22"><label>22</label><?label 1?><mixed-citation>
Kingma, D. P. and Ba, J.: Adam: A method for stochastic optimization, arXiv
preprint arXiv:1412.6980, 2014.</mixed-citation></ref>
      <ref id="bib1.bib23"><label>23</label><?label 1?><mixed-citation>Kooperman, G. J., Pritchard, M. S., Burt, M. A., Branson, M. D., and
Randall, D. A.: Robust effects of cloud superparameterization on simulated
daily rainfall intensity statistics across multiple versions of the
Community Earth System Model, J. Adv. Model. Earth Syst.,
8, 140–165, <ext-link xlink:href="https://doi.org/10.1002/2015ms000574" ext-link-type="DOI">10.1002/2015ms000574</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bib24"><label>24</label><?label 1?><mixed-citation>Krasnopolsky, V. M., Fox-Rabinovitz, M. S., and Belochitski, A. A.: Using
ensemble of neural networks to learn stochastic convection parameterizations
for climate and numerical weather prediction models from data simulated by a
cloud resolving model, Adv. Artif. Neural Syst., 2013, 485913, <ext-link xlink:href="https://doi.org/10.1155/2013/485913" ext-link-type="DOI">10.1155/2013/485913</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bib25"><label>25</label><?label 1?><mixed-citation>Lin, J.-L.: The Double-ITCZ Problem in IPCC AR4 Coupled GCMs:
Ocean–Atmosphere Feedback Analysis, J. Climate, 20, 4497–4525,
<ext-link xlink:href="https://doi.org/10.1175/jcli4272.1" ext-link-type="DOI">10.1175/jcli4272.1</ext-link>, 2007.</mixed-citation></ref>
      <ref id="bib1.bib26"><label>26</label><?label 1?><mixed-citation>Ling, J., Li, C., Li, T., Jia, X., Khouider, B., Maloney, E., Vitart, F.,
Xiao, Z., and Zhang, C.: Challenges and Opportunities in MJO Studies,
B. Am. Meteorol. Soc., 98, ES53–ES56,
<ext-link xlink:href="https://doi.org/10.1175/bams-d-16-0283.1" ext-link-type="DOI">10.1175/bams-d-16-0283.1</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bib27"><label>27</label><?label 1?><mixed-citation>Lopez-Gomez, I., Cohen, Y., He, J., Jaruga, A., and Schneider, T.: A
Generalized Mixing Length Closure for Eddy-Diffusivity Mass-Flux Schemes of
Turbulence and Convection, J. Adv. Model. Earth Sys.,
12, e2020MS002161, <ext-link xlink:href="https://doi.org/10.1029/2020MS002161" ext-link-type="DOI">10.1029/2020MS002161</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bib28"><label>28</label><?label 1?><mixed-citation>
Loshchilov, I. and Hutter, F.: Sgdr: Stochastic gradient descent with warm
restarts, arXiv preprint arXiv:1608.03983, 2016.</mixed-citation></ref>
      <ref id="bib1.bib29"><label>29</label><?label 1?><mixed-citation>Madden, R. A. and Julian, P. R.: Description of Global-Scale Circulation
Cells in the Tropics with a 40–50 Day Period, J. Atmos.
Sciences, 29, 1109–1123, <ext-link xlink:href="https://doi.org/10.1175/1520-0469(1972)029&lt;1109:Dogscc&gt;2.0.Co;2" ext-link-type="DOI">10.1175/1520-0469(1972)029&lt;1109:Dogscc&gt;2.0.Co;2</ext-link>, 1972.</mixed-citation></ref>
      <ref id="bib1.bib30"><label>30</label><?label 1?><mixed-citation>Mooers, G., Pritchard, M., Beucler, T., Ott, J., Yacalis, G., Baldi, P., and
Gentine, P.: Assessing the Potential of Deep Learning for Emulating Cloud
Superparameterization in Climate Models With Real-Geography Boundary
Conditions, J. Adv. Model. Earth Syst., 13,
e2020MS002385, <ext-link xlink:href="https://doi.org/10.1029/2020MS002385" ext-link-type="DOI">10.1029/2020MS002385</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bib31"><label>31</label><?label 1?><mixed-citation>Morrison, H. and Gettelman, A.: A New Two-Moment Bulk Stratiform Cloud
Microphysics Scheme in the Community Atmosphere Model, Version 3 (CAM3).
Part I: Description and Numerical Tests, J. Climate, 21, 3642–3659,
<ext-link xlink:href="https://doi.org/10.1175/2008jcli2105.1" ext-link-type="DOI">10.1175/2008jcli2105.1</ext-link>, 2008.</mixed-citation></ref>
      <ref id="bib1.bib32"><label>32</label><?label 1?><mixed-citation>
Neale, R. B., Chen, C.-C., Gettelman, A., Lauritzen, P. H., Park, S.,
Williamson, D. L., Conley, A. J., Garcia, R., Kinnison, D., and Lamarque,
J.-F.: Description of the NCAR community atmosphere model (CAM 5.0), NCAR
Technical Note, 1, 1–12, 2012.</mixed-citation></ref>
      <ref id="bib1.bib33"><label>33</label><?label 1?><mixed-citation>O'Gorman, P. A. and Dwyer, J. G.: Using Machine Learning to Parameterize Moist Convection: Potential for Modeling of Climate, Climate Change, and Extreme Events, J. Adv. Model. Earth Syst., 10, 2548–2563, <ext-link xlink:href="https://doi.org/10.1029/2018ms001351" ext-link-type="DOI">10.1029/2018ms001351</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bib34"><label>34</label><?label 1?><mixed-citation>Oleson, K. W., Lawrence, D. M., B, G., Flanner, M. G., Kluzek, E., J, P., Levis, S., Swenson, S. C., Thornton, E., Feddema, J., Heald, C. L., Lamarque, J., Niu, G., Qian, T., Running, S., Sakaguchi, K., Yang, L., Zeng, X., Zeng, X., and Decker, M.: Technical Description of version 4.0 of the Community Land Model (CLM), 266, <ext-link xlink:href="https://doi.org/10.5065/D6FB50WZ" ext-link-type="DOI">10.5065/D6FB50WZ</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bib35"><label>35</label><?label 1?><mixed-citation>Ott, J., Pritchard, M., Best, N., Linstead, E., Curcic, M., and Baldi, P.: A
Fortran-Keras Deep Learning Bridge for Scientific Computing, Sci.
Programm., 2020, 8888811, <ext-link xlink:href="https://doi.org/10.1155/2020/8888811" ext-link-type="DOI">10.1155/2020/8888811</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bib36"><label>36</label><?label 1?><mixed-citation>Park, S. and Bretherton, C. S.: The University of Washington Shallow
Convection and Moist Turbulence Schemes and Their Impact on Climate
Simulations with the Community Atmosphere Model, J. Climate, 22,
3449–3469, <ext-link xlink:href="https://doi.org/10.1175/2008jcli2557.1" ext-link-type="DOI">10.1175/2008jcli2557.1</ext-link>, 2009.</mixed-citation></ref>
      <ref id="bib1.bib37"><label>37</label><?label 1?><mixed-citation>Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., and Desmaison, A.: Pytorch: An imperative style, high-performance deep learning library, Adv. Neural Inform. Process. Syst., 32, <ext-link xlink:href="https://doi.org/10.48550/arXiv.1912.01703" ext-link-type="DOI">10.48550/arXiv.1912.01703</ext-link>, arxiv, Cornell University, 2019.</mixed-citation></ref>
      <ref id="bib1.bib38"><label>38</label><?label 1?><mixed-citation>Randall, D., Khairoutdinov, M., Arakawa, A., and Grabowski, W.: Breaking the
Cloud Parameterization Deadlock, B. Am. Meteorol.
Soc., 84, 1547–1564, <ext-link xlink:href="https://doi.org/10.1175/bams-84-11-1547" ext-link-type="DOI">10.1175/bams-84-11-1547</ext-link>, 2003.</mixed-citation></ref>
      <ref id="bib1.bib39"><label>39</label><?label 1?><mixed-citation>Rasp, S.: Coupled online learning as a way to tackle instabilities and biases in neural network parameterizations: general algorithms and Lorenz 96 case study (v1.0), Geosci. Model Dev., 13, 2185–2196, <ext-link xlink:href="https://doi.org/10.5194/gmd-13-2185-2020" ext-link-type="DOI">10.5194/gmd-13-2185-2020</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bib40"><label>40</label><?label 1?><mixed-citation>Rasp, S., Pritchard, M. S., and Gentine, P.: Deep learning to represent
subgrid processes in climate models, P. Natl. Acad.
Sci. USA, 115, 9684–9689, <ext-link xlink:href="https://doi.org/10.1073/pnas.1810286115" ext-link-type="DOI">10.1073/pnas.1810286115</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bib41"><label>41</label><?label 1?><mixed-citation>Song, X. and Zhang, G. J.: The Roles of Convection Parameterization in the
Formation of Double ITCZ Syndrome in the NCAR CESM: I. Atmospheric
Processes, J. Adv. Model. Earth Syst., 10, 842–866,
<ext-link xlink:href="https://doi.org/10.1002/2017MS001191" ext-link-type="DOI">10.1002/2017MS001191</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bib42"><label>42</label><?label 1?><mixed-citation>Tiedtke, M.: A Comprehensive Mass Flux Scheme for Cumulus Parameterization
in Large-Scale Models, Mon. Weather Rev., 117, 1779–1800,
<ext-link xlink:href="https://doi.org/10.1175/1520-0493(1989)117&lt;1779:Acmfsf&gt;2.0.Co;2" ext-link-type="DOI">10.1175/1520-0493(1989)117&lt;1779:Acmfsf&gt;2.0.Co;2</ext-link>, 1989.</mixed-citation></ref>
      <ref id="bib1.bib43"><label>43</label><?label 1?><mixed-citation>Wang, X. and Han, Y.: Data for “Stable climate simulations using a realistic GCM with neural network parameterizations for atmospheric moist physics and radiation processes”, Zenodo [data set], <ext-link xlink:href="https://doi.org/10.5281/zenodo.5625616" ext-link-type="DOI">10.5281/zenodo.5625616</ext-link>, 2021a.</mixed-citation></ref>
      <ref id="bib1.bib44"><label>44</label><?label 1?><mixed-citation>Wang, X. and Han, Y.: Codes for “Stable climate simulations using a realistic GCM with neural network parameterizations for atmospheric moist physics and radiation processes”, Zenodo [code], <ext-link xlink:href="https://doi.org/10.5281/zenodo.5596273" ext-link-type="DOI">10.5281/zenodo.5596273</ext-link>, 2021b.</mixed-citation></ref>
      <ref id="bib1.bib45"><label>45</label><?label 1?><mixed-citation>Wheeler, M. and Kiladis, G. N.: Convectively Coupled Equatorial Waves:
Analysis of Clouds and Temperature in the Wavenumber–Frequency Domain,
J. Atmos. Sci., 56, 374–399,
<ext-link xlink:href="https://doi.org/10.1175/1520-0469(1999)056&lt;0374:Ccewao&gt;2.0.Co;2" ext-link-type="DOI">10.1175/1520-0469(1999)056&lt;0374:Ccewao&gt;2.0.Co;2</ext-link>, 1999.
</mixed-citation></ref><?xmltex \hack{\newpage}?>
      <ref id="bib1.bib46"><label>46</label><?label 1?><mixed-citation>
Yu, T., Kumar, S., Gupta, A., Levine, S., Hausman, K., and Finn, C.: Gradient surgery for multi-task learning, Adv. Neural Info. Process. Syst., 33, 5824–5836, 2020.</mixed-citation></ref>
      <ref id="bib1.bib47"><label>47</label><?label 1?><mixed-citation>Yuval, J. and O'Gorman, P. A.: Stable machine-learning parameterization of
subgrid processes for climate modeling at a range of resolutions, Nat.
Commun., 11, 3295, <ext-link xlink:href="https://doi.org/10.1038/s41467-020-17142-3" ext-link-type="DOI">10.1038/s41467-020-17142-3</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bib48"><label>48</label><?label 1?><mixed-citation>Yuval, J., O'Gorman, P. A., and Hill, C. N.: Use of Neural Networks for
Stable, Accurate and Physically Consistent Parameterization of Subgrid
Atmospheric Processes With Good Performance at Reduced Precision,
Geophys. Res. Lett., 48, e2020GL091363,
<ext-link xlink:href="https://doi.org/10.1029/2020GL091363" ext-link-type="DOI">10.1029/2020GL091363</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bib49"><label>49</label><?label 1?><mixed-citation>Zhang, G. J. and McFarlane, N. A.: Sensitivity of climate simulations to the
parameterization of cumulus convection in the Canadian climate centre
general circulation model, Atmos.-Ocean, 33, 407–446,
<ext-link xlink:href="https://doi.org/10.1080/07055900.1995.9649539" ext-link-type="DOI">10.1080/07055900.1995.9649539</ext-link>, 1995.</mixed-citation></ref>
      <ref id="bib1.bib50"><label>50</label><?label 1?><mixed-citation>Zhang, G. J. and Song, X.: Convection Parameterization, Tropical Pacific
Double ITCZ, and Upper-Ocean Biases in the NCAR CCSM3. Part II: Coupled
Feedback and the Role of Ocean Heat Transport, J. Climate, 23,
800–812, <ext-link xlink:href="https://doi.org/10.1175/2009jcli3109.1" ext-link-type="DOI">10.1175/2009jcli3109.1</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bib51"><label>51</label><?label 1?><mixed-citation>Zhang, G. J., Song, X., and Wang, Y.: The double ITCZ syndrome in GCMs: A
coupled feedback problem among convection, clouds, atmospheric and ocean
circulations, Atmos. Res., 229, 255–268,
<ext-link xlink:href="https://doi.org/10.1016/j.atmosres.2019.06.023" ext-link-type="DOI">10.1016/j.atmosres.2019.06.023</ext-link>, 2019.</mixed-citation></ref>

  </ref-list></back>
    <!--<article-title-html>Stable climate simulations using a realistic general circulation model with neural network parameterizations for atmospheric moist physics and radiation processes</article-title-html>
<abstract-html/>
<ref-html id="bib1.bib1"><label>1</label><mixed-citation>
Bony, S., Stevens, B., Frierson, D. M. W., Jakob, C., Kageyama, M., Pincus,
R., Shepherd, T. G., Sherwood, S. C., Siebesma, A. P., Sobel, A. H.,
Watanabe, M., and Webb, M. J.: Clouds, circulation and climate sensitivity,
Nat. Geosci., 8, 261–268, <a href="https://doi.org/10.1038/ngeo2398" target="_blank">https://doi.org/10.1038/ngeo2398</a>, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>2</label><mixed-citation>
Brenowitz, N. D. and Bretherton, C. S.: Spatially Extended Tests of a Neural
Network Parametrization Trained by Coarse-Graining, J. Adv.
Model. Earth Syst., 11, 2728–2744, <a href="https://doi.org/10.1029/2019ms001711" target="_blank">https://doi.org/10.1029/2019ms001711</a>, 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>3</label><mixed-citation>
Brenowitz, N. D., Beucler, T., Pritchard, M., and Bretherton, C. S.:
Interpreting and Stabilizing Machine-Learning Parametrizations of
Convection, J. Atmos. Sci., 77, 4357–4375,
<a href="https://doi.org/10.1175/jas-d-20-0082.1" target="_blank">https://doi.org/10.1175/jas-d-20-0082.1</a>, 2020.
</mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>4</label><mixed-citation>
Bretherton, C. S., Blossey, P. N., and Stan, C.: Cloud feedbacks on
greenhouse warming in the superparameterized climate model SP-CCSM4, J. Adv. Model. Earth Syst., 6, 1185–1204,
<a href="https://doi.org/10.1002/2014MS000355" target="_blank">https://doi.org/10.1002/2014MS000355</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>5</label><mixed-citation>
Cao, G. and Zhang, G. J.: Role of Vertical Structure of Convective Heating
in MJO Simulation in NCAR CAM5.3, J. Climate, 30, 7423–7439,
<a href="https://doi.org/10.1175/jcli-d-16-0913.1" target="_blank">https://doi.org/10.1175/jcli-d-16-0913.1</a>, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>6</label><mixed-citation>
Emanuel, K. A., David Neelin, J., and Bretherton, C. S.: On large-scale
circulations in convecting atmospheres, Q. J. Roy.
Meteorol. Soc., 120, 1111–1143, <a href="https://doi.org/10.1002/qj.49712051902" target="_blank">https://doi.org/10.1002/qj.49712051902</a>, 1994.
</mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>7</label><mixed-citation>
Feng, Z., Leung, L. R., Houze Jr., R. A., Hagos, S., Hardin, J., Yang, Q., Han, B., and Fan, J.: Structure and Evolution of Mesoscale Convective Systems: Sensitivity to Cloud Microphysics in Convection-Permitting Simulations Over the United States, J. Adv. Model. Earth Syst., 10, 1470–1494, <a href="https://doi.org/10.1029/2018ms001305" target="_blank">https://doi.org/10.1029/2018ms001305</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>8</label><mixed-citation>
Gentine, P., Pritchard, M., Rasp, S., Reinaudi, G., and Yacalis, G.: Could
machine learning break the convection parameterization deadlock?,
Geophys. Res. Lett., 45, 5742–5751, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>9</label><mixed-citation>
Gettelman, A., Liu, X., Ghan, S. J., Morrison, H., Park, S., Conley, A. J.,
Klein, S. A., Boyle, J., Mitchell, D. L., and Li, J.-L. F.: Global
simulations of ice nucleation and ice supersaturation with an improved cloud
scheme in the Community Atmosphere Model, J. Geophys. Res.-Atmos., 115, <a href="https://doi.org/10.1029/2009JD013797" target="_blank">https://doi.org/10.1029/2009JD013797</a>, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib10"><label>10</label><mixed-citation>
Goodfellow, I., Bengio, Y., and Courville, A.: Deep learning, MIT
press, <a href="http://www.deeplearningbook.org" target="_blank"/> (last access: 9 May 2022), 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>11</label><mixed-citation>
Grabowski, W. W.: Coupling Cloud Processes with the Large-Scale Dynamics
Using the Cloud-Resolving Convection Parameterization (CRCP), J.
Atmos. Sci., 58, 978–997, <a href="https://doi.org/10.1175/1520-0469(2001)058&lt;0978:Ccpwtl&gt;2.0.Co;2" target="_blank">https://doi.org/10.1175/1520-0469(2001)058&lt;0978:Ccpwtl&gt;2.0.Co;2</a>, 2001.
</mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>12</label><mixed-citation>
Grabowski, W. W.: An Improved Framework for Superparameterization, J. Atmos. Sci., 61, 1940–1952,
<a href="https://doi.org/10.1175/1520-0469(2004)061&lt;1940:Aiffs&gt;2.0.Co;2" target="_blank">https://doi.org/10.1175/1520-0469(2004)061&lt;1940:Aiffs&gt;2.0.Co;2</a>, 2004.
</mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>13</label><mixed-citation>
Grabowski, W. W. and Smolarkiewicz, P. K.: CRCP: a Cloud Resolving
Convection Parameterization for modeling the tropical convecting atmosphere,
Physica D, 133, 171–178,
<a href="https://doi.org/10.1016/S0167-2789(99)00104-9" target="_blank">https://doi.org/10.1016/S0167-2789(99)00104-9</a>, 1999.
</mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>14</label><mixed-citation>
Han, Y., Zhang, G. J., Huang, X., and Wang, Y.: A Moist Physics
Parameterization Based on Deep Learning, J. Adv. Model.
Earth Syst., 12, e2020MS002076, <a href="https://doi.org/10.1029/2020ms002076" target="_blank">https://doi.org/10.1029/2020ms002076</a>, 2020.
</mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>15</label><mixed-citation>
Holloway, C. E., Woolnough, S. J., and Lister, G. M. S.: Precipitation
distributions for explicit versus parametrized convection in a large-domain
high-resolution tropical case study, Q. J. Roy.
Meteorol. Soc., 138, 1692–1708, <a href="https://doi.org/10.1002/qj.1903" target="_blank">https://doi.org/10.1002/qj.1903</a>,
2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib16"><label>16</label><mixed-citation>
Hornik, K., Stinchcombe, M., and White, H.: Multilayer feedforward networks
are universal approximators, Neural Net., 2, 359–366,
<a href="https://doi.org/10.1016/0893-6080(89)90020-8" target="_blank">https://doi.org/10.1016/0893-6080(89)90020-8</a>, 1989.
</mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>17</label><mixed-citation>
Huffman, G. J., Alder, R. F., Bolvin, D. T., Gu, G., Nelkin, E. J., Bowman, K. P., Hong, Y., Stocker, E. F., and Wolff, D. B.: The TRMM multisatellite image precipitation analysis (TMPA). Quasi-global, multi-year, combined-sensor precipitation estimates at fine scales, J. Hydrometeor., 8, 38–55, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>18</label><mixed-citation>
Jiang, X., Waliser, D. E., Xavier, P. K., Petch, J., Klingaman, N. P.,
Woolnough, S. J., Guan, B., Bellon, G., Crueger, T., DeMott, C., Hannay, C.,
Lin, H., Hu, W., Kim, D., Lappen, C.-L., Lu, M.-M., Ma, H.-Y., Miyakawa, T.,
Ridout, J. A., Schubert, S. D., Scinocca, J., Seo, K.-H., Shindo, E., Song,
X., Stan, C., Tseng, W.-L., Wang, W., Wu, T., Wu, X., Wyser, K., Zhang, G.
J., and Zhu, H.: Vertical structure and physical processes of the
Madden-Julian oscillation: Exploring key model physics in climate
simulations, J. Geophys. Res.-Atmos., 120, 4718–4748,
<a href="https://doi.org/10.1002/2014jd022375" target="_blank">https://doi.org/10.1002/2014jd022375</a>, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>19</label><mixed-citation>
Jin, Y. and Stan, C.: Simulation of East Asian Summer Monsoon (EASM) in SP-CCSM4: Part I – Seasonal mean state and intraseasonal variability, J. Geophys. Res.-Atmos., 121, 7801–7818, <a href="https://doi.org/10.1002/2015JD024035" target="_blank">https://doi.org/10.1002/2015JD024035</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>20</label><mixed-citation>
Khairoutdinov, M., Randall, D., and DeMott, C.: Simulations of the
Atmospheric General Circulation Using a Cloud-Resolving Model as a
Superparameterization of Physical Processes, J. Atmos.
Sci., 62, 2136–2154, <a href="https://doi.org/10.1175/jas3453.1" target="_blank">https://doi.org/10.1175/jas3453.1</a>, 2005.
</mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>21</label><mixed-citation>
Khairoutdinov, M. F. and Randall, D. A.: A cloud resolving model as a cloud
parameterization in the NCAR Community Climate System Model: Preliminary
results, Geophys. Res. Lett., 28, 3617–3620, <a href="https://doi.org/10.1029/2001gl013552" target="_blank">https://doi.org/10.1029/2001gl013552</a>,
2001.
</mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>22</label><mixed-citation>
Kingma, D. P. and Ba, J.: Adam: A method for stochastic optimization, arXiv
preprint arXiv:1412.6980, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>23</label><mixed-citation>
Kooperman, G. J., Pritchard, M. S., Burt, M. A., Branson, M. D., and
Randall, D. A.: Robust effects of cloud superparameterization on simulated
daily rainfall intensity statistics across multiple versions of the
Community Earth System Model, J. Adv. Model. Earth Syst.,
8, 140–165, <a href="https://doi.org/10.1002/2015ms000574" target="_blank">https://doi.org/10.1002/2015ms000574</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>24</label><mixed-citation>
Krasnopolsky, V. M., Fox-Rabinovitz, M. S., and Belochitski, A. A.: Using
ensemble of neural networks to learn stochastic convection parameterizations
for climate and numerical weather prediction models from data simulated by a
cloud resolving model, Adv. Artif. Neural Syst., 2013, 485913, <a href="https://doi.org/10.1155/2013/485913" target="_blank">https://doi.org/10.1155/2013/485913</a>, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib25"><label>25</label><mixed-citation>
Lin, J.-L.: The Double-ITCZ Problem in IPCC AR4 Coupled GCMs:
Ocean–Atmosphere Feedback Analysis, J. Climate, 20, 4497–4525,
<a href="https://doi.org/10.1175/jcli4272.1" target="_blank">https://doi.org/10.1175/jcli4272.1</a>, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib26"><label>26</label><mixed-citation>
Ling, J., Li, C., Li, T., Jia, X., Khouider, B., Maloney, E., Vitart, F.,
Xiao, Z., and Zhang, C.: Challenges and Opportunities in MJO Studies,
B. Am. Meteorol. Soc., 98, ES53–ES56,
<a href="https://doi.org/10.1175/bams-d-16-0283.1" target="_blank">https://doi.org/10.1175/bams-d-16-0283.1</a>, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib27"><label>27</label><mixed-citation>
Lopez-Gomez, I., Cohen, Y., He, J., Jaruga, A., and Schneider, T.: A
Generalized Mixing Length Closure for Eddy-Diffusivity Mass-Flux Schemes of
Turbulence and Convection, J. Adv. Model. Earth Sys.,
12, e2020MS002161, <a href="https://doi.org/10.1029/2020MS002161" target="_blank">https://doi.org/10.1029/2020MS002161</a>, 2020.
</mixed-citation></ref-html>
<ref-html id="bib1.bib28"><label>28</label><mixed-citation>
Loshchilov, I. and Hutter, F.: Sgdr: Stochastic gradient descent with warm
restarts, arXiv preprint arXiv:1608.03983, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib29"><label>29</label><mixed-citation>
Madden, R. A. and Julian, P. R.: Description of Global-Scale Circulation
Cells in the Tropics with a 40–50 Day Period, J. Atmos.
Sciences, 29, 1109–1123, <a href="https://doi.org/10.1175/1520-0469(1972)029&lt;1109:Dogscc&gt;2.0.Co;2" target="_blank">https://doi.org/10.1175/1520-0469(1972)029&lt;1109:Dogscc&gt;2.0.Co;2</a>, 1972.
</mixed-citation></ref-html>
<ref-html id="bib1.bib30"><label>30</label><mixed-citation>
Mooers, G., Pritchard, M., Beucler, T., Ott, J., Yacalis, G., Baldi, P., and
Gentine, P.: Assessing the Potential of Deep Learning for Emulating Cloud
Superparameterization in Climate Models With Real-Geography Boundary
Conditions, J. Adv. Model. Earth Syst., 13,
e2020MS002385, <a href="https://doi.org/10.1029/2020MS002385" target="_blank">https://doi.org/10.1029/2020MS002385</a>, 2021.
</mixed-citation></ref-html>
<ref-html id="bib1.bib31"><label>31</label><mixed-citation>
Morrison, H. and Gettelman, A.: A New Two-Moment Bulk Stratiform Cloud
Microphysics Scheme in the Community Atmosphere Model, Version 3 (CAM3).
Part I: Description and Numerical Tests, J. Climate, 21, 3642–3659,
<a href="https://doi.org/10.1175/2008jcli2105.1" target="_blank">https://doi.org/10.1175/2008jcli2105.1</a>, 2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib32"><label>32</label><mixed-citation>
Neale, R. B., Chen, C.-C., Gettelman, A., Lauritzen, P. H., Park, S.,
Williamson, D. L., Conley, A. J., Garcia, R., Kinnison, D., and Lamarque,
J.-F.: Description of the NCAR community atmosphere model (CAM 5.0), NCAR
Technical Note, 1, 1–12, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib33"><label>33</label><mixed-citation>
O'Gorman, P. A. and Dwyer, J. G.: Using Machine Learning to Parameterize Moist Convection: Potential for Modeling of Climate, Climate Change, and Extreme Events, J. Adv. Model. Earth Syst., 10, 2548–2563, <a href="https://doi.org/10.1029/2018ms001351" target="_blank">https://doi.org/10.1029/2018ms001351</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib34"><label>34</label><mixed-citation>
Oleson, K. W., Lawrence, D. M., B, G., Flanner, M. G., Kluzek, E., J, P., Levis, S., Swenson, S. C., Thornton, E., Feddema, J., Heald, C. L., Lamarque, J., Niu, G., Qian, T., Running, S., Sakaguchi, K., Yang, L., Zeng, X., Zeng, X., and Decker, M.: Technical Description of version 4.0 of the Community Land Model (CLM), 266, <a href="https://doi.org/10.5065/D6FB50WZ" target="_blank">https://doi.org/10.5065/D6FB50WZ</a>, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib35"><label>35</label><mixed-citation>
Ott, J., Pritchard, M., Best, N., Linstead, E., Curcic, M., and Baldi, P.: A
Fortran-Keras Deep Learning Bridge for Scientific Computing, Sci.
Programm., 2020, 8888811, <a href="https://doi.org/10.1155/2020/8888811" target="_blank">https://doi.org/10.1155/2020/8888811</a>, 2020.
</mixed-citation></ref-html>
<ref-html id="bib1.bib36"><label>36</label><mixed-citation>
Park, S. and Bretherton, C. S.: The University of Washington Shallow
Convection and Moist Turbulence Schemes and Their Impact on Climate
Simulations with the Community Atmosphere Model, J. Climate, 22,
3449–3469, <a href="https://doi.org/10.1175/2008jcli2557.1" target="_blank">https://doi.org/10.1175/2008jcli2557.1</a>, 2009.
</mixed-citation></ref-html>
<ref-html id="bib1.bib37"><label>37</label><mixed-citation>
Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., and Desmaison, A.: Pytorch: An imperative style, high-performance deep learning library, Adv. Neural Inform. Process. Syst., 32, <a href="https://doi.org/10.48550/arXiv.1912.01703" target="_blank">https://doi.org/10.48550/arXiv.1912.01703</a>, arxiv, Cornell University, 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib38"><label>38</label><mixed-citation>
Randall, D., Khairoutdinov, M., Arakawa, A., and Grabowski, W.: Breaking the
Cloud Parameterization Deadlock, B. Am. Meteorol.
Soc., 84, 1547–1564, <a href="https://doi.org/10.1175/bams-84-11-1547" target="_blank">https://doi.org/10.1175/bams-84-11-1547</a>, 2003.
</mixed-citation></ref-html>
<ref-html id="bib1.bib39"><label>39</label><mixed-citation>
Rasp, S.: Coupled online learning as a way to tackle instabilities and biases in neural network parameterizations: general algorithms and Lorenz 96 case study (v1.0), Geosci. Model Dev., 13, 2185–2196, <a href="https://doi.org/10.5194/gmd-13-2185-2020" target="_blank">https://doi.org/10.5194/gmd-13-2185-2020</a>, 2020.
</mixed-citation></ref-html>
<ref-html id="bib1.bib40"><label>40</label><mixed-citation>
Rasp, S., Pritchard, M. S., and Gentine, P.: Deep learning to represent
subgrid processes in climate models, P. Natl. Acad.
Sci. USA, 115, 9684–9689, <a href="https://doi.org/10.1073/pnas.1810286115" target="_blank">https://doi.org/10.1073/pnas.1810286115</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib41"><label>41</label><mixed-citation>
Song, X. and Zhang, G. J.: The Roles of Convection Parameterization in the
Formation of Double ITCZ Syndrome in the NCAR CESM: I. Atmospheric
Processes, J. Adv. Model. Earth Syst., 10, 842–866,
<a href="https://doi.org/10.1002/2017MS001191" target="_blank">https://doi.org/10.1002/2017MS001191</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib42"><label>42</label><mixed-citation>
Tiedtke, M.: A Comprehensive Mass Flux Scheme for Cumulus Parameterization
in Large-Scale Models, Mon. Weather Rev., 117, 1779–1800,
<a href="https://doi.org/10.1175/1520-0493(1989)117&lt;1779:Acmfsf&gt;2.0.Co;2" target="_blank">https://doi.org/10.1175/1520-0493(1989)117&lt;1779:Acmfsf&gt;2.0.Co;2</a>, 1989.
</mixed-citation></ref-html>
<ref-html id="bib1.bib43"><label>43</label><mixed-citation>
Wang, X. and Han, Y.: Data for “Stable climate simulations using a realistic GCM with neural network parameterizations for atmospheric moist physics and radiation processes”, Zenodo [data set], <a href="https://doi.org/10.5281/zenodo.5625616" target="_blank">https://doi.org/10.5281/zenodo.5625616</a>, 2021a.
</mixed-citation></ref-html>
<ref-html id="bib1.bib44"><label>44</label><mixed-citation>
Wang, X. and Han, Y.: Codes for “Stable climate simulations using a realistic GCM with neural network parameterizations for atmospheric moist physics and radiation processes”, Zenodo [code], <a href="https://doi.org/10.5281/zenodo.5596273" target="_blank">https://doi.org/10.5281/zenodo.5596273</a>, 2021b.
</mixed-citation></ref-html>
<ref-html id="bib1.bib45"><label>45</label><mixed-citation>
Wheeler, M. and Kiladis, G. N.: Convectively Coupled Equatorial Waves:
Analysis of Clouds and Temperature in the Wavenumber–Frequency Domain,
J. Atmos. Sci., 56, 374–399,
<a href="https://doi.org/10.1175/1520-0469(1999)056&lt;0374:Ccewao&gt;2.0.Co;2" target="_blank">https://doi.org/10.1175/1520-0469(1999)056&lt;0374:Ccewao&gt;2.0.Co;2</a>, 1999.

</mixed-citation></ref-html>
<ref-html id="bib1.bib46"><label>46</label><mixed-citation>
Yu, T., Kumar, S., Gupta, A., Levine, S., Hausman, K., and Finn, C.: Gradient surgery for multi-task learning, Adv. Neural Info. Process. Syst., 33, 5824–5836, 2020.
</mixed-citation></ref-html>
<ref-html id="bib1.bib47"><label>47</label><mixed-citation>
Yuval, J. and O'Gorman, P. A.: Stable machine-learning parameterization of
subgrid processes for climate modeling at a range of resolutions, Nat.
Commun., 11, 3295, <a href="https://doi.org/10.1038/s41467-020-17142-3" target="_blank">https://doi.org/10.1038/s41467-020-17142-3</a>, 2020.
</mixed-citation></ref-html>
<ref-html id="bib1.bib48"><label>48</label><mixed-citation>
Yuval, J., O'Gorman, P. A., and Hill, C. N.: Use of Neural Networks for
Stable, Accurate and Physically Consistent Parameterization of Subgrid
Atmospheric Processes With Good Performance at Reduced Precision,
Geophys. Res. Lett., 48, e2020GL091363,
<a href="https://doi.org/10.1029/2020GL091363" target="_blank">https://doi.org/10.1029/2020GL091363</a>, 2021.
</mixed-citation></ref-html>
<ref-html id="bib1.bib49"><label>49</label><mixed-citation>
Zhang, G. J. and McFarlane, N. A.: Sensitivity of climate simulations to the
parameterization of cumulus convection in the Canadian climate centre
general circulation model, Atmos.-Ocean, 33, 407–446,
<a href="https://doi.org/10.1080/07055900.1995.9649539" target="_blank">https://doi.org/10.1080/07055900.1995.9649539</a>, 1995.
</mixed-citation></ref-html>
<ref-html id="bib1.bib50"><label>50</label><mixed-citation>
Zhang, G. J. and Song, X.: Convection Parameterization, Tropical Pacific
Double ITCZ, and Upper-Ocean Biases in the NCAR CCSM3. Part II: Coupled
Feedback and the Role of Ocean Heat Transport, J. Climate, 23,
800–812, <a href="https://doi.org/10.1175/2009jcli3109.1" target="_blank">https://doi.org/10.1175/2009jcli3109.1</a>, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib51"><label>51</label><mixed-citation>
Zhang, G. J., Song, X., and Wang, Y.: The double ITCZ syndrome in GCMs: A
coupled feedback problem among convection, clouds, atmospheric and ocean
circulations, Atmos. Res., 229, 255–268,
<a href="https://doi.org/10.1016/j.atmosres.2019.06.023" target="_blank">https://doi.org/10.1016/j.atmosres.2019.06.023</a>, 2019.
</mixed-citation></ref-html>--></article>
