<?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"><?xmltex \makeatother\@nolinetrue\makeatletter?>
  <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-12-4261-2019</article-id><title-group><article-title>Fast domain-aware neural network emulation of a planetary boundary layer parameterization in a numerical <?xmltex \hack{\break}?>weather forecast model</article-title><alt-title>Fast domain-aware neural network emulation</alt-title>
      </title-group><?xmltex \runningtitle{Fast domain-aware neural network emulation}?><?xmltex \runningauthor{J. Wang et al.}?>
      <contrib-group>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Wang</surname><given-names>Jiali</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff2">
          <name><surname>Balaprakash</surname><given-names>Prasanna</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="yes" rid="aff1">
          <name><surname>Kotamarthi</surname><given-names>Rao</given-names></name>
          <email>vrkotamarthi@anl.gov</email>
        <ext-link>https://orcid.org/0000-0002-2612-7590</ext-link></contrib>
        <aff id="aff1"><label>1</label><institution>Environmental Science Division, Argonne National Laboratory, 9700
South Cass Avenue,Lemont, IL 60439, USA</institution>
        </aff>
        <aff id="aff2"><label>2</label><institution>Mathematics and Computer Science Division, Argonne National
Laboratory, 9700 South Cass Avenue, <?xmltex \hack{\break}?>Lemont, IL 60439, USA</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">Rao Kotamarthi (vrkotamarthi@anl.gov)</corresp></author-notes><pub-date><day>10</day><month>October</month><year>2019</year></pub-date>
      
      <volume>12</volume>
      <issue>10</issue>
      <fpage>4261</fpage><lpage>4274</lpage>
      <history>
        <date date-type="received"><day>27</day><month>March</month><year>2019</year></date>
           <date date-type="rev-request"><day>29</day><month>April</month><year>2019</year></date>
           <date date-type="rev-recd"><day>10</day><month>August</month><year>2019</year></date>
           <date date-type="accepted"><day>1</day><month>September</month><year>2019</year></date>
      </history>
      <permissions>
        <copyright-statement>Copyright: © 2019 Jiali Wang et al.</copyright-statement>
        <copyright-year>2019</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/12/4261/2019/gmd-12-4261-2019.html">This article is available from https://gmd.copernicus.org/articles/12/4261/2019/gmd-12-4261-2019.html</self-uri><self-uri xlink:href="https://gmd.copernicus.org/articles/12/4261/2019/gmd-12-4261-2019.pdf">The full text article is available as a PDF file from https://gmd.copernicus.org/articles/12/4261/2019/gmd-12-4261-2019.pdf</self-uri>
      <abstract><title>Abstract</title>
    <p id="d1e108">Parameterizations for physical processes in weather and climate
models are computationally expensive. We use model output from the Weather
Research Forecast (WRF) climate model to train deep neural networks (DNNs)
and evaluate whether trained DNNs can provide an accurate alternative to the
physics-based parameterizations. Specifically, we develop an emulator using
DNNs for a planetary boundary layer (PBL) parameterization in the WRF model.
PBL parameterizations are used in atmospheric models to represent the
diurnal variation in the formation and collapse of the atmospheric boundary
layer – the lowest part of the atmosphere. The dynamics and turbulence, as
well as velocity, temperature, and humidity profiles within the boundary
layer are all critical for determining many of the physical processes in the
atmosphere. PBL parameterizations are used to represent these processes that
are usually unresolved in a typical climate model that operates at
horizontal spatial scales in the tens of kilometers. We demonstrate that a
domain-aware DNN, which takes account of underlying domain structure (e.g.,
nonlocal mixing), can successfully simulate the vertical profiles within the
boundary layer of velocities, temperature, and water vapor over the entire
diurnal cycle. Results also show that a single trained DNN from one location
can produce predictions of wind speed, temperature, and water vapor profiles
over nearby locations with similar terrain conditions with correlations
higher than 0.9 when compared with the WRF simulations used as the training
dataset.</p>
  </abstract>
    </article-meta>
  </front>
<body>
      

      <?xmltex \hack{\newpage}?>
<sec id="Ch1.S1" sec-type="intro">
  <label>1</label><title>Introduction</title>
      <p id="d1e122">Model developers use approximations to represent the physical processes
involved in climate and weather that cannot be resolved at the spatial
resolution of the model grids or in cases where the phenomena are not fully
understood (Williams, 2005). These approximations are referred to as
parameterizations (McFarlane, 2011). While these parameterizations are
designed to be computationally efficient, calculation of a model physics
package still takes a good portion of the total computational time. For
example, in the Community Atmospheric Model (CAM) developed by the National
Center for Atmospheric Research (NCAR), with a spatial resolution of
approximately 300 km and 26 vertical levels, the physical parameterizations
account for about 70 % of the total computational burden (Krasnopolsky and Fox-Rabinovitz, 2006). In the Weather Research Forecast (WRF) model, with
spatial resolution of tens of kilometers, time spent by physics is
approximately 40 % of the computational burden. The input and output
overhead is around 20 % of the computational time at low node count
(100s) and can increase significantly at higher node count as a percentage
of the total wall-clock time.</p>
      <p id="d1e125">An increasing need in the climate community is performing high spatial-resolution simulations (grid spacing of 4 km or less) to assess risk and
vulnerability due to climate variability at a local scale. Another emerging
desire of the climate community is generating large-ensemble simulations in
order to address uncertainty in the model projections. Developing process
emulators (Leeds et al., 2013; Lee et al.,<?pagebreak page4262?> 2011) that can reduce the time
spent in calculating the physical processes will lead to much faster model
simulations, enabling researchers to generate high spatial-resolution
simulations and a large number of ensemble members.</p>
      <p id="d1e128">A neural network (NN) is composed of multiple layers of simple computational
modules, where each module transforms its inputs to a nonlinear output.
Given sufficient data, an appropriate NN can model the underlying nonlinear
functional relationship between inputs and outputs with minimal human
effort. During the past 2 decades, NN techniques have found a variety of
applications in atmospheric science. For example, Collins and Tissot (2015)
developed an artificial NN by taking numerical weather prediction model
(e.g., WRF) output as input to predict thunderstorm occurrence within a few
hundreds of square kilometers about 12 h in advance. Krasnopolsky et al. (2016) used NN techniques for filling the gaps in satellite measurements of
ocean color data. Scher (2018) used deep learning to emulate the complete
physics and dynamics of a simple general circulation model and indicated a
potential capability of weather forecasts using this NN-based emulator. NNs
are particularly appealing for emulations of model physics parameterizations
in numerical weather and climate modeling, where the goal is to find
a nonlinear functional relationship between inputs and outputs (Cybenko, 1989;
Hornik, 1991; Chen and Chen, 1995a, b; Attali and Pagès, 1997). NN
techniques can be applied to weather and climate modeling in two ways. One
approach involves developing new parameterizations by using NNs. For
example, Chevallier et al. (1998, 2000) developed a new NN-based longwave
radiation parameterization, NeuroFlux, which has been used operationally in
the European Centre for Medium-Range Weather Forecasts four-dimensional
variational data assimilation system. NeuroFlux is found to be 8 times faster
than the previous parameterization. Krasnopolsky et al. (2013) developed a
stochastic convection parameterization based on learning from data simulated
by a cloud-resolving model (CRM), initialized with and forced by the
observed meteorological data. The NN convection parameterization was tested
in the NCAR Community Atmospheric Model (CAM) and produced reasonable and promising results for the
tropical Pacific region. Jiang et al. (2018) developed a deep NN-based
algorithm or parameterization to be used in the WRF model to provide
flow-dependent typhoon-induced sea surface temperature cooling. Results
based on four typhoon case studies showed that the algorithm reduced maximum
wind intensity error by 60 %–70 % compared with using the WRF model. The
other approach for applying NN to weather and climate modeling is to emulate
existing parameterizations in these models. For example, Krasnopolsky et al. (2005) developed an NN-based emulator for imitating an existing atmospheric
longwave radiation parameterization for the NCAR CAM. They used output from
the CAM simulations with the original parameterization for the NN training.
They found the NN-based emulator was 50–80 times faster than the original
parameterization and produced almost identical results.</p>
      <p id="d1e131">We study NNs to emulate existing physical parameterizations in atmospheric
models. Process emulators that can reproduce physics parameterization can
ultimately lead to the development of a faster model emulator that can
operate at very high spatial resolution as compared with most current model
emulators that have tended to focus on simplified physics (Kheshgi   et al.,
1999). Specifically, this study involves the design and development of a
domain-aware NN to emulate a planetary boundary layer (PBL) parameterization using 22-year-long output
created by the WRF. To the best of our knowledge, we are among the first to
apply deep neural networks (DNNs) to the WRF model to explore the emulation
of physics parameterizations. As far as we know from the literature
available at the time of this writing, the only application of NNs for
emulating the parameterizations in the WRF model is by Krasnopolsky et al. (2017). In their study, a three-layer NN was trained to reproduce the
behavior of the Thompson microphysics (Thompson et al., 2008) scheme in the Weather Research and Forecasting (WRF) model using the Advanced Research WRF (ARW) core. While we focus on learning the PBL parameterization and developing
domain-aware NN for the emulation of PBL, the ultimate goal of our ongoing
project is to build an NN-based algorithm to empirically understand the
process in the numerical weather/climate models that could be used to
replace the physics parameterizations that were derived from observational
studies. This emulated model would be computationally efficient, making the
generation of large-ensemble simulations feasible at very high
spatial/temporal resolutions with limited computational resources. The key
objective of this study is to answer the following questions specifically
for PBL parameterization emulation: (1) What and how much data do we need to
train the model? (2) What type of NN should we apply for the PBL
parameterization studied here? (3) Is the NN emulator accurate compared with
the original physical parameterization? This paper is organized as follows.
Section 2 describes the data and the neural network developed in this study.
The efficacy of the neural network is investigated in Sect. 3. Discussion
and summary follow in Sect. 4.</p>
</sec>
<sec id="Ch1.S2">
  <label>2</label><title>Data and method</title>
<sec id="Ch1.S2.SS1">
  <label>2.1</label><title>Data</title>
      <p id="d1e149">The data we use in this study are the 22-year output from the regional climate
model WRF version 3.3.1, driven by NCEP-R2 for the period 1984–2005. WRF is
a fully compressible, nonhydrostatic, regional numerical prediction system
with proven suitability for a broad range of applications. The WRF model
configuration and evaluations are given by Wang and Kotamarthi (2014).
Covering all the troposphere<?pagebreak page4263?> are 38 vertical layers, between the surface and
approximately 16 km (100 hPa). The lowest 17 layers cover from the surface
to about 2 km above the ground. The PBL parameterization we used for this
WRF simulation is known as the Yonsei University (YSU) scheme (Hong et al., 2006). The YSU
scheme uses a nonlocal mixing scheme with an explicit treatment of
entrainment at the top of the boundary layer and a first-order closure for
the Reynolds-averaged turbulence equations of momentum of air within the
PBL.</p>

<?xmltex \floatpos{t}?><table-wrap id="Ch1.T1"><?xmltex \currentcnt{1}?><label>Table 1</label><caption><p id="d1e155">Inputs and outputs for the DNNs developed in this study. The
variable names from the WRF output are shown in the parentheses.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="1">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Input variables</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">2 m water vapor mixing ratio (<inline-formula><mml:math id="M1" display="inline"><mml:mrow><mml:mi>Q</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">2 m  air temperature (<inline-formula><mml:math id="M2" display="inline"><mml:mrow><mml:mi>T</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">10 m zonal and meridional wind (<inline-formula><mml:math id="M3" display="inline"><mml:mrow><mml:mi>U</mml:mi><mml:mn mathvariant="normal">10</mml:mn></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M4" display="inline"><mml:mrow><mml:mi>V</mml:mi><mml:mn mathvariant="normal">10</mml:mn></mml:mrow></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Ground heat flux (GRDFLX)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Downward short wave flux (SWDOWN)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Downward long wave flux (GLW)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Latent heat flux (LH)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Upward heat flux (HFX)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Planetary boundary layer height (PBLH)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Surface friction velocity (UST)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Ground temp (TSK)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Soil temperature at 2 m below ground (TSLB)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Soil moisture for 0–0.3 cm below ground (SMOIS)</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Geostrophic wind component at 700 hPa (<inline-formula><mml:math id="M5" display="inline"><mml:mrow><mml:msub><mml:mi>U</mml:mi><mml:mi>g</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M6" display="inline"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mi>g</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Output variables</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Zonal wind (<inline-formula><mml:math id="M7" display="inline"><mml:mi>U</mml:mi></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Meridional wind (<inline-formula><mml:math id="M8" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Vertical velocity (<inline-formula><mml:math id="M9" display="inline"><mml:mi>W</mml:mi></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Temperature (tk)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Water vapor mixing ratio (QVAPOR)</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

      <p id="d1e383">The goal of this study is to develop an NN-based emulator that can be used
to replace the PBL parameterization in the WRF model. Thus, we expect the NN
to receive a set of inputs that are equivalent to the inputs provided to the
YSU scheme at each time step. Table 1 shows the architecture in terms of
inputs and outputs used in our experiments. The inputs are near-surface
characteristics including 2 m water vapor and air temperature, 10 m
zonal and meridional wind, ground heat flux, incoming shortwave radiation,
incoming longwave radiation, PBL height, sensible heat flux, latent heat
flux, surface friction velocity, ground temperature, soil temperature at 2 m
below the ground, soil moisture at 0–0.3 cm below the ground, and a geostrophic wind component at 700 hPa. The outputs for the NN architecture
are the vertical profiles of the following five model prognostic and
diagnostic fields: temperature, water vapor mixing ratio, zonal and
meridional wind (including speed and direction), as well as vertical
motions. In this study we develop an NN emulation of the PBL
parameterization; hence we focus only on predicting the profiles within the
PBL, which is on average around 200   and 400 m during the night and
afternoon of winter, respectively, and around 400  and 1300 m during the
night and afternoon of summer, respectively, for the locations studied here.
The middle and upper troposphere (all layers above the PBL) are considered
fully resolved by the dynamics simulated by the model and hence are not
parameterized. Therefore, we do not consider the levels above PBL height
because (1) they carry no information about input/output functional
dependence that affects the PBL and (2), if not removed, they introduce
additional noise in the training. Specifically, we use the WRF output from
the first 17 layers, which are within 1900 m.</p>
</sec>
<sec id="Ch1.S2.SS2">
  <label>2.2</label><title>Deep neural networks for PBL parameterization emulation</title>
      <p id="d1e394">A class of machine learning approaches that is particularly suitable for
the emulation of PBL parameterization is supervised learning. This approach
models the relationship between the outputs and independent input variables
by using training data (<inline-formula><mml:math id="M10" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M11" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>), for <inline-formula><mml:math id="M12" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>∈</mml:mo><mml:mi mathvariant="normal">T</mml:mi><mml:mo>⊂</mml:mo></mml:mrow></mml:math></inline-formula> D, where T is a set of training points, D is the full dataset, and <inline-formula><mml:math id="M13" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>
and <inline-formula><mml:math id="M14" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mi>f</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> are inputs and their corresponding output <inline-formula><mml:math id="M15" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>,
respectively. The function <inline-formula><mml:math id="M16" display="inline"><mml:mi>f</mml:mi></mml:math></inline-formula> that maps the inputs to the outputs is typically
unknown and hard to derive analytically. The goal of the supervised learning
approach is to find a surrogate function <inline-formula><mml:math id="M17" display="inline"><mml:mi>h</mml:mi></mml:math></inline-formula> for <inline-formula><mml:math id="M18" display="inline"><mml:mi>f</mml:mi></mml:math></inline-formula> such that the difference
between <inline-formula><mml:math id="M19" display="inline"><mml:mrow><mml:mi>f</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M20" display="inline"><mml:mrow><mml:mi>h</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is minimal for all <inline-formula><mml:math id="M21" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>∈</mml:mo></mml:mrow></mml:math></inline-formula> T.</p>
      <p id="d1e552">Many supervised learning algorithms exist in the machine learning
literature. This study focuses on DNNs. DNNs are composed of an input layer,
a series of hidden layers, and an output layer. The input layer receives the
input <inline-formula><mml:math id="M22" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, which is connected to the hidden layers. Each hidden layer
receives inputs from the previous hidden layer (except the first hidden
layer that is connected to the input layer) and performs certain nonlinear
transformations through a system of weighted connections and a nonlinear
activation function on the received input values. The last hidden layer is
connected to the output layer from which the predicted values are obtained.
The training data are given to the DNN through the input neural layer. The
training procedure consists of modifying the weights of the connections in
the network to minimize a user-defined objective function that measures the
prediction error of the network. Each iteration of the training procedure
comprises two phases: forward pass and backward pass. In the forward pass,
the training data are passed to the network and the prediction error is
computed; in the backward pass, the gradients of the error function with
respect to all the weights in the network is computed and used to update the
weights in order to minimize the error. Once the entire dataset passes both
forward and backward through the DNN (with many iterations), one epoch is
completed.</p>
      <?pagebreak page4264?><p id="d1e566"><italic>Deep feed-forward neural network (FFN)</italic>. This is a fully connected
feed-forward DNN constructed as a sequence of <inline-formula><mml:math id="M23" display="inline"><mml:mi>K</mml:mi></mml:math></inline-formula> hidden layers, where the
input of the <inline-formula><mml:math id="M24" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula>th hidden layer is from the <inline-formula><mml:math id="M25" display="inline"><mml:mrow><mml:mo mathvariant="italic">{</mml:mo><mml:mi>i</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo mathvariant="italic">}</mml:mo></mml:mrow></mml:math></inline-formula>th
hidden layer and the output of the <inline-formula><mml:math id="M26" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula>th hidden layer is given as the input of
the <inline-formula><mml:math id="M27" display="inline"><mml:mrow><mml:mo mathvariant="italic">{</mml:mo><mml:mi>i</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo mathvariant="italic">}</mml:mo></mml:mrow></mml:math></inline-formula>th hidden layer. The sizes of the
input and output neural layers are 16 (<inline-formula><mml:math id="M28" display="inline"><mml:mo lspace="0mm">=</mml:mo></mml:math></inline-formula> near-surface variables) and 85
(<inline-formula><mml:math id="M29" display="inline"><mml:mrow><mml:mo>=</mml:mo><mml:mn mathvariant="normal">17</mml:mn></mml:mrow></mml:math></inline-formula> vertical levels <inline-formula><mml:math id="M30" display="inline"><mml:mrow><mml:mo>×</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:math></inline-formula> output variables). See Fig. 1a for an
illustration.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F1" specific-use="star"><?xmltex \currentcnt{1}?><label>Figure 1</label><caption><p id="d1e655">Three variants of DNN developed in this study. Red, yellow, and
purple indicate the input layer (16 near-surface variables), output layers,
and hidden layers, respectively. <bold>(a)</bold> Fully connected feed-forward neural
network (FFN), which has only one output layer with 85 variables (five variables for each of the 17 WRF model vertical levels), and 17 hidden
layers which only consider the near-surface variables as inputs. <bold>(b)</bold> Hierarchically connected network with previous layer only connection (HPC),
which has 17 output layers (corresponding to the PBL levels) with each of
them having five variables, and 17 hidden layers with each of them considering
both near-surface variables and five output variables from previous output
layer as inputs. (c) Hierarchically connected network with all previous
layers connected (HAC); same as HPC, but each hidden layer also considers
output variables from <italic>all</italic> previous output layers as inputs.</p></caption>
          <?xmltex \igopts{width=497.923228pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/12/4261/2019/gmd-12-4261-2019-f01.png"/>

        </fig>

      <p id="d1e673">While the FFN is a typical way of applying NN for finding the nonlinear
relationship between input and output, a key drawback is that it does not
consider the underlying PBL structure, such as the connection between
different vertical levels within the PBL. In fact, the FFN does not know
which data (among the 85 variables) belong to which vertical level in a
certain profile. This is not typically needed for NNs in general and in fact
is usually avoided because, for classification and regression, one can find
visual features regardless of their locations. For example, a picture can be
classified as a certain object even if that object has never appeared in the
given location in the training set. In our case, however, the location is
fixed and the profiles over that location are distinguishable from the
profiles over other locations if they are far from each other or have
different terrain conditions. Consequently, it is desired to learn about vertical
connection between multiple altitude levels within each particular PBL in
the forecast. For example, the feature at a lower level of a profile plays a
role in the feature at a higher level and can help refine the output at the
higher level and accordingly the entire profile. This dependence may inform
the NN and provide better accuracy and data efficiency. To that end, we
develop two variants of DNNs for PBL emulation.</p>
      <p id="d1e676"><italic>Hierarchically connected network with previous layer only connection (HPC)</italic>.
We assume that the outputs at each altitude level depend not only on the 16
near-surface variables but also on the <italic>adjacent</italic> altitude level below it. To model
this explicitly, we develop a DNN variant as follows: the input layer is
connected to the first hidden layer followed by the output layer of size 5
(five variables at each layer: temperature, water vapor, zonal and
meridional wind, and vertical motions) that corresponds to the first PBL.
This output layer along with the input layer is connected to a second hidden
layer, which is connected to the second output layer of size 5 that
corresponds to the second PBL. Thus, the input to an <inline-formula><mml:math id="M31" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula>th hidden layer
comprises the input layer of the 16 near-surface variables and the <inline-formula><mml:math id="M32" display="inline"><mml:mrow><mml:mi>i</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>th
output layer below it. See Figure 1b for an example.</p>
      <p id="d1e703"><italic>Hierarchically connected network with all previous layers connected (HAC)</italic>.
We assume that the outputs at each PBL depend not only on the 16
near-surface variables but also on <italic>all</italic> altitude levels below it. To model this
explicitly, we modify HPC DNN as follows: the input to an <inline-formula><mml:math id="M33" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula>th hidden layer
comprises the input layer of the 16 near-surface variables and <italic>all</italic> output
layers <inline-formula><mml:math id="M34" display="inline"><mml:mrow><mml:mo mathvariant="italic">{</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mo mathvariant="italic">}</mml:mo></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M35" display="inline"><mml:mrow><mml:mi>i</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo mathvariant="italic">}</mml:mo></mml:mrow></mml:math></inline-formula> below it. See
Fig. 1c for an example.</p>
      <p id="d1e753">From the physical process perspective, HPC and HAC consider both local and
nonlocal mixing processes within the PBL by taking into account not only
the connection between a given point and its adjacent point (local mixing)
but also the connections from multiple altitude levels (e.g., surface and
all the points that below the given points). Compared with solely local
mixing processes, nonlocal mixing processes are shown to perform more
accurately in simulating deeper mixing within an unstable PBL (Cohen et al.,
2015). From the neural network perspective, the key advantage of HPC and HAC
over FFN is effective back-propagation while training. In HPC and HAC, each
hidden layer has an output layer; consequently, during the back-propagation,
the gradients from each of the output layer can be used to update the
weights of the hidden layer directly to minimize the error for PBL specific
outputs.</p>
</sec>
<sec id="Ch1.S2.SS3">
  <label>2.3</label><title>Setup</title>
      <p id="d1e764">For preprocessing, we applied StandardScaler (removes the mean and scales
each variable to unit variance) and MinMaxScaler (scales each variable
between 0 and 1) transformations before training, and we applied the inverse
transformation after prediction so that the evaluation metrics are computed
on the original scale.</p>
      <p id="d1e767">We note that there is no default value for <inline-formula><mml:math id="M36" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula> units in a dense hidden layer.
We conducted an experimental study on FFN and found that setting <inline-formula><mml:math id="M37" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula> to 16
results in good predictions. Therefore, we used the same value of <inline-formula><mml:math id="M38" display="inline"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">16</mml:mn></mml:mrow></mml:math></inline-formula> in
HPC and HAC.</p>
      <p id="d1e796">For the implementation of DNN, we used Keras (version 2.0.8), a high-level
neural network Python library that runs on top of the TensorFlow library
(version 1.3.0). We used the scikit-learn library (version 0.19.0) for the
preprocessing module. The experiments were run in a Python (Intel
distribution, version 3.6.3) environment.</p>
      <p id="d1e799">All three DNNs used the following setup for training: optimizer: adam; learning rate <inline-formula><mml:math id="M39" display="inline"><mml:mrow><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.001</mml:mn></mml:mrow></mml:math></inline-formula>; epochs <inline-formula><mml:math id="M40" display="inline"><mml:mrow><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1000</mml:mn></mml:mrow></mml:math></inline-formula>; batch size <inline-formula><mml:math id="M41" display="inline"><mml:mrow><mml:mo>=</mml:mo><mml:mn mathvariant="normal">64</mml:mn></mml:mrow></mml:math></inline-formula>. Note that batch
size defines the number of randomly sampled training
points required before updating the model parameters, and the number of epoches defines the number of
times that training will work through the entire training dataset. To avoid
overfitting issues in DNNs, we use an early stopping criterion in which the
training stops when the validation error does not reduce for 10 subsequent
epochs.</p>
      <p id="d1e833">The 22-year data from the WRF simulation was partitioned into three parts: a
training set consisting of 20 years (1984–2003) of 3-hourly data to train
the NN; a development set (also called validation set) consisting of 1 year (2004) of 3-hourly data used to tune the algorithm's hyperparameters and to
control overfitting (the situation where the trained network predicts well
on the training data but not on the test data); and a test set consisting of
1 year of records (2005) for prediction and evaluations.</p>
      <?pagebreak page4265?><p id="d1e836">We ran training and inference on a NVIDIA DGX-1 platform: a dual 20-Core Intel
Xeon E5-2698 v4 2.2 GHz processor with 8 NVIDIA P100 GPUs with 512 GB of
memory. The DNN's training and inference leveraged only a single GPU.</p>
</sec>
</sec>
<sec id="Ch1.S3">
  <label>3</label><title>Results</title>
      <p id="d1e848">In the following discussion we evaluate the efficacy of the three DNNs by
comparing their prediction results with WRF model simulations. We refer to
the results of WRF model simulations as observations because the DNN learns
all the knowledge from the WRF model output, not from in situ measurements.
We refer to the values from the DNN models as predictions. We initiate our
DNN development at one grid cell from WRF output that is close to a site in
the midwestern United States (Logan, Kansas; 38.8701<inline-formula><mml:math id="M42" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">100.9627</mml:mn></mml:mrow></mml:math></inline-formula><inline-formula><mml:math id="M43" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> W) and another grid cell at a site in
Alaska (Kenai Peninsula Borough; 60.7237<inline-formula><mml:math id="M44" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi>N</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">150.4484</mml:mn></mml:mrow></mml:math></inline-formula><inline-formula><mml:math id="M45" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> W) to evaluate the robustness of the
developed DNNs. We then apply our DNNs to an area with a size of
<inline-formula><mml:math id="M46" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">1100</mml:mn></mml:mrow></mml:math></inline-formula> km <inline-formula><mml:math id="M47" display="inline"><mml:mrow><mml:mo>×</mml:mo><mml:mn mathvariant="normal">1100</mml:mn></mml:mrow></mml:math></inline-formula> km, centered at the Logan site to assess the
spatial transferability of the DNNs. In other words, we train our DNNs using
data from a single location and then apply the DNNs to multiple grid points
nearby. While the Alaska site has different vertical profiles, especially
for wind directions, and lower PBL heights in both January and July (not
illustrated), the conclusion in terms of the model performance is similar to
the site over Logan, Kansas.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F2" specific-use="star"><?xmltex \currentcnt{2}?><label>Figure 2</label><caption><p id="d1e923">Temperature and water vapor mixing ratio from the observation and
three DNN predictions: FFN, HPC, and HAC in January and July of 2005 at 15:00
and 00:00 local time of Logan, Kansas. The <inline-formula><mml:math id="M48" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula> axis uses a log scale. The
training data are from the 3-hourly output of WRF from 1984 to 2003. The
lower and upper dashed lines show the lowest and highest (5th and
95th percentile) PBL heights at that particular time. For example, the
lowest PBL height is about 19 m, while the  highest PBL height is about 365 m
at 00:00 in January.</p></caption>
        <?xmltex \igopts{width=455.244094pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/12/4261/2019/gmd-12-4261-2019-f02.png"/>

      </fig>

<sec id="Ch1.S3.SS1">
  <label>3.1</label><title>DNN performance in temperature and water vapor</title>
      <p id="d1e946">Figure 2 shows the diurnal variation (explicitly 15:00 and 00:00 local time
at Logan, Kansas) of temperature and water vapor mixing ratio vertical
profiles in the first 17 layers from the observation and three DNN model
predictions. The figures present results for both January and July of 2005.
The dashed lines show the lowest and highest (5th and 95th
percentile, respectively) PBL heights for that particular time. In general,
the DNNs are able to produce similar shapes of the observed profiles,
especially within the PBL. Both the temperature and water vapor mixing ratio
are lower in January and higher in July. Within the PBL, the temperature and
water vapor do not change much with height; above the PBL to the entrainment
zone, the temperature and water vapor start decreasing. Among the three
DNNs, HAC and HPC show<?pagebreak page4266?> very low bias and high accuracy in the PBL; the FFN
shows a relatively large discrepancy from the observation. Figure 3 shows
the root-mean-square error (RMSE) and Pearson correlation coefficient (COR)
between observation and three DNN predictions in the afternoon and midnight
in January and July. The RMSE and COR consider not only the time series of
observation and prediction but also their vertical profiles below the PBL
heights for each particular time. Among the three DNNs, HPC and HAC always
show better skill with smaller RMSEs and higher CORs than does FFN. The
reason is that the FFN uses only the 16 near-surface variables as inputs;
FFN uses all the 85 variables (17 layers <inline-formula><mml:math id="M49" display="inline"><mml:mrow><mml:mo>×</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:math></inline-formula> variables/layer) as
output without knowing the vertical connections between each of the altitude
levels. In contrast, HPC and HAC use both the near-surface variables and the
five output variables of one previous vertical level (HPC) or all previous
vertical levels (HAC) as inputs for predicting a certain altitude level of
each field. This architecture is helpful for reducing errors of each hidden
layer during the backward propagation. It is also important because PBL
parameterizations are used to represent the vertical mixing of heat, moisture,
and momentum within the PBL, and this mixing can be across a larger scale
than just the adjacent altitude levels. This process is usually unresolved
in a typical climate and in weather models that operate at horizontal spatial
scales in the tens of kilometers. We found in general that HAC and HPC perform
similarly; the RMSE of temperature predicted by HAC is larger than that
predicted by HPC during midnight of winter when the PBL is shallow. In
contrast, during the afternoon of summer when the PBL is deep, the RMSE of
temperature predicted by HAC is smaller than that predicted by HPC. This
emphasizes the importance of considering a multi-level vertical
connection for deep PBL cases in the DNNs.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F3" specific-use="star"><?xmltex \currentcnt{3}?><label>Figure 3</label><caption><p id="d1e961">RMSE and correlations for time series of temperature and  water
vapor vertical profiles within the PBL predicted by the three DNNs compared
with the observations. The vertical lines show the range of RMSEs and
correlations when considering the lowest and highest PBL heights (shown by
the dashed horizontal lines in Fig. 2).</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/12/4261/2019/gmd-12-4261-2019-f03.png"/>

        </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F4" specific-use="star"><?xmltex \currentcnt{4}?><label>Figure 4</label><caption><p id="d1e972">Same as Fig. 2 but for wind direction and wind speed.</p></caption>
          <?xmltex \igopts{width=455.244094pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/12/4261/2019/gmd-12-4261-2019-f04.png"/>

        </fig>

</sec>
<sec id="Ch1.S3.SS2">
  <label>3.2</label><title>DNN performance in wind component</title>
      <p id="d1e990">Figure 4 shows the diurnal variation in zonal and meridional wind (including
wind speed and direction) profiles in January and July 2005 from observation
and three DNN predictions. Compared with the temperature and water vapor
profiles, the wind profiles are more difficult to predict, especially<?pagebreak page4267?> for
days (e.g., summer) that have a higher PBL. The wind direction does not
change much below the majority of the PBL, and it turns to westerly winds
when going up and beyond the PBL. The DNN has difficulty predicting the
profile above the PBL height, as is expected because these layers are
considered fully resolved by the dynamics simulated by the WRF model and
hence not parameterized. Therefore, we do not consider DNN performance at
the levels above PBL height. The wind speed increases with height in both
January and July within the PBL. Above the PBL heights, the wind speed still
increases in January but decreases in July. The reason is that in January
the zonal wind, especially the westerly wind, is dominant in the atmosphere and
the wind speed increases with height; in July, however, the zonal wind is
relatively weak, and the meridional wind is dominant with southerly wind
below <inline-formula><mml:math id="M50" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula> km and northerly wind above 2 km. The decrease in
wind speed above the PBL is just about the transition of wind direction from
southerly to northerly wind. Figure 5 shows the RMSEs and CORs between the
observed and predicted wind component within the PBL. The wind component is
fairly well predicted by the HAC and HPC networks with correlation above 0.8
for wind speed and 0.7 for wind direction except in July at midnight, which
is near 0.5. Similar to the predictions for temperature and water vapor, the
FFN shows the poorest prediction accuracy with large RMSEs and low CORs,
especially for wind direction in July at midnight, the COR is below zero. For
accurately predicting the wind direction, we found that using the
geostrophic wind at 700 hPa as one of the inputs for the DNNs is important.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F5" specific-use="star"><?xmltex \currentcnt{5}?><label>Figure 5</label><caption><p id="d1e1005">Same as  Fig. 3 but for wind direction and wind speed.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/12/4261/2019/gmd-12-4261-2019-f05.png"/>

        </fig>

</sec>
<sec id="Ch1.S3.SS3">
  <label>3.3</label><title>DNN dependence on length of training period</title>
      <p id="d1e1022">Next, we evaluate how sensitive the DNN is to the amount of available
training data and how much data one would need in order to train a DNN.
While we present Figs. 2–5 using 20-year (1984–2003) training data, here
we gradually decrease the length of the training set to 12 (1992–2003), 6 (1998–2003), and 2 (2002–2003) years and 1 (2003) year. The validation data
(for tuning hyper-parameters and controlling overfit) and the test data (for
prediction) are kept the same as in our standard training dataset, which is
the year 2004 and 2005, respectively. Figures 6 and 7 show the RMSE and CORs
between observed and predicted profiles of temperature, water vapor, and the wind component for January midnight. Overall, the FFN network depends
heavily on the length of the training dataset. For example, the RMSE of FFN
predicted temperature decreases from 7.2 K using 1 year of training data
to 3.0 K using 20-year training data. HAC<?pagebreak page4268?> and HPC also depend on the length
of training data especially when less than 6 years of training data is
available, but even their worst prediction accuracy (using 1 year of
training data) is still better than FFN using 20-year training data. The
RMSEs of HPC and HAC predicted a temperature decrease from <inline-formula><mml:math id="M51" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">2.4</mml:mn></mml:mrow></mml:math></inline-formula> K using 1 year of training data to <inline-formula><mml:math id="M52" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">1.5</mml:mn></mml:mrow></mml:math></inline-formula> K using 20 years of
training data. The CORs of FFN predicted a temperature increase from 0.73
using 1 year of training data to 0.92 using 20 years of training data. The
CORs for HPC and HAC increase slightly with more training data, but overall
they are above 0.85 using 1 year to 20 years of training data.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F6" specific-use="star"><?xmltex \currentcnt{6}?><label>Figure 6</label><caption><p id="d1e1047">RMSEs for temperature, water vapor, and wind components at
midnight in January using three DNNs. Left <inline-formula><mml:math id="M53" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula> axis is for RMSEs of HAC and
HPC; right <inline-formula><mml:math id="M54" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula> axis is for RMSEs of FFN. The RMSEs are calculated along the
time series below the PBL height for January midnight at local time. The
lower and upper end of the dashed lines are RMSEs that consider the lowest and
highest PBL heights as shown in Fig. 2.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/12/4261/2019/gmd-12-4261-2019-f06.png"/>

        </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F7" specific-use="star"><?xmltex \currentcnt{7}?><label>Figure 7</label><caption><p id="d1e1072">Same as  Fig. 6 but for Pearson correlations.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/12/4261/2019/gmd-12-4261-2019-f07.png"/>

        </fig>

      <p id="d1e1082">Regarding the question about how much data one would need to train a DNN,
for FFN, at least from this study, the performance is not stable until one
has 12 or more years of training data, which is significantly better than
having only 6 years or less of training data. For HAC and HPC, however,
having 6 years of training data seems sufficient to show a stable
prediction. Increasing the amount of training data shows only a marginal
improvement in predictive accuracy. In fact, in contrast to HAC and HPC, the
performance of FFN has not reached a plateau even with the 20 years of
training data. This suggests that with longer training sets the predicting
skill of FFN could be further improved even though it does not explicitly
consider the physical process within a PBL.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F8"><?xmltex \currentcnt{8}?><label>Figure 8</label><caption><p id="d1e1087"><bold>(a)</bold> Terrain height (in meters) over the tested area; <bold>(b)</bold> normalized RMSEs in percent (relative to their corresponding
observations) of HAC-predicted temperature, water vapor mixing ratio, wind
direction, and speed at midnight in January. The star shows where the DNNs
are developed (Logan, Kansas).</p></caption>
          <?xmltex \igopts{width=241.848425pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/12/4261/2019/gmd-12-4261-2019-f08.png"/>

        </fig>

</sec>
<sec id="Ch1.S3.SS4">
  <label>3.4</label><title>DNN performance for nearby locations</title>
      <p id="d1e1109">This section assesses the spatial transferability of the domain-aware DNNs
(specifically HAC and HPC) by using a trained NN from one location (Logan, Kansas, as presented above) in other locations within an area with
size of 1100 km <inline-formula><mml:math id="M55" display="inline"><mml:mrow><mml:mo>×</mml:mo><mml:mn mathvariant="normal">1100</mml:mn></mml:mrow></mml:math></inline-formula> km, covering latitude from 33.431 to
44.086<inline-formula><mml:math id="M56" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> N and longitude from 107.418 to 93.6975<inline-formula><mml:math id="M57" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula> W,
centered at the Logan site with different terrain and vegetation conditions
(Fig. 8a). To reduce the computational burden, we pick every other seven
grid points in this area and use the <inline-formula><mml:math id="M58" display="inline"><mml:mrow><mml:mn mathvariant="normal">13</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">13</mml:mn></mml:mrow></mml:math></inline-formula> grid points (which can
still capture the terrain variability) to test the spatial transferability
of the DNNs developed based on the single location at Logan, Kansas. For
each of the <inline-formula><mml:math id="M59" display="inline"><mml:mrow><mml:mn mathvariant="normal">13</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">13</mml:mn></mml:mrow></mml:math></inline-formula> grid points, we calculate the differences and
correlations between observations and predictions. Different from the
preceding section, here we calculate normalized RMSEs relative to each grid
point's observations averaged over a particular time period, in order to
make the comparison feasible between different grid points over the area. As
shown in Figs. 8 and 9 by the normalized RMSEs and CORs,<?pagebreak page4269?> in general, for
temperature, water vapor, and wind speed, the domain-aware DNNs (HAC and
HPC) still work fairly well for surrounding locations and even far locations
with similar terrain height, except over the grid points where the terrain
height is much higher than the Logan site, and the prediction skill gets
worse with larger RMSEs. This suggests the DNNs developed based on the Logan
site are not applicable for these locations. However, for wind direction,
the prediction skill is good over the western part of the tested area, but it is not so good over the far eastern part of the area. One of the reasons is
perhaps because the drivers of the wind direction over the western and
the eastern part of the area are different (complex terrain versus
large-scale system). Overall, the results indicate that, at least for this
study, as long as the terrain conditions (slope, elevation, and orientation)
are similar, the DNNs developed based on one single location can be applied
with similar prediction skill for locations that are as far as 520 km away (equal
to more than 40 grid cells in the WRF output used in this study) to predict
the variables assessed in this study. The results also suggest that when
implementing the NN-based algorithm into the WRF model, if a number of grid
cells are over a homogenous region, one may not need to train the NN over
every grid cell. This will save a significant amount of computing resource
because the training process takes up the majority of the computing resources
(see below). While we show results predicted by HAC in January here, we find a similar conclusion from HPC prediction and both HAC and HPC predictions in
July, expect that the prediction skills are even better in July for the
adjacent locations.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F9"><?xmltex \currentcnt{9}?><label>Figure 9</label><caption><p id="d1e1166">Person correlations between observed and HAC-predicted
temperature, water mixing ratio, wind direction, and speed for midnight in January in 2005.</p></caption>
          <?xmltex \igopts{width=241.848425pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/12/4261/2019/gmd-12-4261-2019-f09.png"/>

        </fig>

<?xmltex \floatpos{t}?><table-wrap id="Ch1.T2" specific-use="star"><?xmltex \currentcnt{2}?><label>Table 2</label><caption><p id="d1e1178">Training and prediction time (unit: seconds) for the three DNNs
using a different number of years for training. The predicted period is for
1 year (2005).</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="6">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="right"/>
     <oasis:colspec colnum="3" colname="col3" align="right"/>
     <oasis:colspec colnum="4" colname="col4" align="right"/>
     <oasis:colspec colnum="5" colname="col5" align="right"/>
     <oasis:colspec colnum="6" colname="col6" align="right"/>
     <oasis:thead>
       <oasis:row>
         <oasis:entry colname="col1">DNN type</oasis:entry>
         <oasis:entry colname="col2">Training data</oasis:entry>
         <oasis:entry colname="col3">Training</oasis:entry>
         <oasis:entry colname="col4">Number of</oasis:entry>
         <oasis:entry colname="col5">Training time</oasis:entry>
         <oasis:entry colname="col6">Prediction</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">(years)</oasis:entry>
         <oasis:entry colname="col3">time</oasis:entry>
         <oasis:entry colname="col4">epochs</oasis:entry>
         <oasis:entry colname="col5">per epoch</oasis:entry>
         <oasis:entry colname="col6">time</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">FNN</oasis:entry>
         <oasis:entry colname="col2">1</oasis:entry>
         <oasis:entry colname="col3">85.969</oasis:entry>
         <oasis:entry colname="col4">61</oasis:entry>
         <oasis:entry colname="col5">1.409</oasis:entry>
         <oasis:entry colname="col6">0.197</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">FNN</oasis:entry>
         <oasis:entry colname="col2">2</oasis:entry>
         <oasis:entry colname="col3">137.359</oasis:entry>
         <oasis:entry colname="col4">47</oasis:entry>
         <oasis:entry colname="col5">2.923</oasis:entry>
         <oasis:entry colname="col6">0.196</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">FNN</oasis:entry>
         <oasis:entry colname="col2">6</oasis:entry>
         <oasis:entry colname="col3">376.209</oasis:entry>
         <oasis:entry colname="col4">70</oasis:entry>
         <oasis:entry colname="col5">5.374</oasis:entry>
         <oasis:entry colname="col6">0.171</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">FNN</oasis:entry>
         <oasis:entry colname="col2">12</oasis:entry>
         <oasis:entry colname="col3">199.468</oasis:entry>
         <oasis:entry colname="col4">23</oasis:entry>
         <oasis:entry colname="col5">8.673</oasis:entry>
         <oasis:entry colname="col6">0.193</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">FNN</oasis:entry>
         <oasis:entry colname="col2">20</oasis:entry>
         <oasis:entry colname="col3">306.665</oasis:entry>
         <oasis:entry colname="col4">27</oasis:entry>
         <oasis:entry colname="col5">11.358</oasis:entry>
         <oasis:entry colname="col6">0.199</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">HPC</oasis:entry>
         <oasis:entry colname="col2">1</oasis:entry>
         <oasis:entry colname="col3">199.152</oasis:entry>
         <oasis:entry colname="col4">178</oasis:entry>
         <oasis:entry colname="col5">1.119</oasis:entry>
         <oasis:entry colname="col6">0.336</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">HPC</oasis:entry>
         <oasis:entry colname="col2">2</oasis:entry>
         <oasis:entry colname="col3">454.225</oasis:entry>
         <oasis:entry colname="col4">91</oasis:entry>
         <oasis:entry colname="col5">4.991</oasis:entry>
         <oasis:entry colname="col6">0.343</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">HPC</oasis:entry>
         <oasis:entry colname="col2">6</oasis:entry>
         <oasis:entry colname="col3">1233.908</oasis:entry>
         <oasis:entry colname="col4">133</oasis:entry>
         <oasis:entry colname="col5">9.278</oasis:entry>
         <oasis:entry colname="col6">0.317</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">HPC</oasis:entry>
         <oasis:entry colname="col2">12</oasis:entry>
         <oasis:entry colname="col3">1225.880</oasis:entry>
         <oasis:entry colname="col4">88</oasis:entry>
         <oasis:entry colname="col5">13.930</oasis:entry>
         <oasis:entry colname="col6">0.302</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">HPC</oasis:entry>
         <oasis:entry colname="col2">20</oasis:entry>
         <oasis:entry colname="col3">1181.716</oasis:entry>
         <oasis:entry colname="col4">68</oasis:entry>
         <oasis:entry colname="col5">17.378</oasis:entry>
         <oasis:entry colname="col6">0.331</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">HAC</oasis:entry>
         <oasis:entry colname="col2">1</oasis:entry>
         <oasis:entry colname="col3">131.104</oasis:entry>
         <oasis:entry colname="col4">95</oasis:entry>
         <oasis:entry colname="col5">1.380</oasis:entry>
         <oasis:entry colname="col6">0.366</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">HAC</oasis:entry>
         <oasis:entry colname="col2">2</oasis:entry>
         <oasis:entry colname="col3">468.884</oasis:entry>
         <oasis:entry colname="col4">85</oasis:entry>
         <oasis:entry colname="col5">5.516</oasis:entry>
         <oasis:entry colname="col6">0.411</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">HAC</oasis:entry>
         <oasis:entry colname="col2">6</oasis:entry>
         <oasis:entry colname="col3">870.753</oasis:entry>
         <oasis:entry colname="col4">80</oasis:entry>
         <oasis:entry colname="col5">10.884</oasis:entry>
         <oasis:entry colname="col6">0.406</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">HAC</oasis:entry>
         <oasis:entry colname="col2">12</oasis:entry>
         <oasis:entry colname="col3">737.921</oasis:entry>
         <oasis:entry colname="col4">47</oasis:entry>
         <oasis:entry colname="col5">15.700</oasis:entry>
         <oasis:entry colname="col6">0.420</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">HAC</oasis:entry>
         <oasis:entry colname="col2">20</oasis:entry>
         <oasis:entry colname="col3">1351.898</oasis:entry>
         <oasis:entry colname="col4">69</oasis:entry>
         <oasis:entry colname="col5">19.593</oasis:entry>
         <oasis:entry colname="col6">0.381</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

</sec>
<sec id="Ch1.S3.SS5">
  <label>3.5</label><title>DNN training and prediction time</title>
      <p id="d1e1588">Table 2 shows the number of epochs and the time required for training FNN, HPC,
and HAC for various numbers of training years. Because of the early stopping
criterion, the number of training epochs performed by different methods is
not the same. Despite setting the maximum epochs to 1000, all these methods
terminate within 178 epochs. We observed that HPC performs more training
epochs than do FFN and HAC: given the same optimizer and learning rate for
all the methods, HPC has a better learning capability because it can improve
the validation error more than HAC and FNN can. For a given set of training
data, the difference in the training time per epoch can be attributed to the
number of trainable parameters in FNN, HPC, and HAC (10 693, 16 597, and
26 197, respectively). As we increase the size of training data, the
training time per epoch increases significantly for all three DNN models.
The increase also depends on the number of parameters in the model. For
example, increasing the training data from 1   to 20 years increases the
training time per epoch from 1.4, 1.1, and 1.4 s to 11.4, 17.4, and
19.6 s for FNN, HPC, and HAC, respectively.</p>
      <?pagebreak page4271?><p id="d1e1591"><?xmltex \hack{\newpage}?>The prediction times of FNN, HPC, and HAC are within 0.5 s for
1-year data, making these models promising for PBL emulation deployment.
The difference in the prediction time between models can be attributed to
the number of parameters in the DNNs: the larger the number of parameters,
the longer the prediction time. For example, the prediction times for FFN
are below 0.2 s when using different numbers of years for training,
while those for HAC are around 0.4 s. Despite the difference in the
number of training years, the number of parameters for a given model is
fixed. Therefore, once the model is trained, the DNN prediction time depends
only on the model and the number of points in the test data (1 year in this
study). Theoretically, for the given model and the test data, the prediction
time should be constant even with different amounts of training dataset.
However, we observed slight variations in the prediction times that range
from 0.17 to 0.29 s for FNN, 0.30 to 0.34 s for HPC, and 0.36 to
0.42 s for HAC, which can be attributed to the system software.</p>
</sec>
</sec>
<sec id="Ch1.S4" sec-type="conclusions">
  <label>4</label><title>Summary and discussion</title>
      <p id="d1e1605">This study developed DNNs for emulating the YSU PBL parameterization that is
used by the WRF model. Two of the DDNs take into account the domain-specific
features (e.g., nonlocal mixing in terms of vertical dependence between
multiple PBLs). The input and output data for the DNNs are taken from
a set of 22-year-long WRF simulations. We developed the DNNs based on a
midwestern location in the United States. We found that the domain-aware
DNNs (e.g., HPC and HAC) can reproduce the vertical profiles of wind,
temperature, and water vapor mixing ratio with higher accuracy yet require
fewer data than the traditional DNN (e.g., FFN), which does not consider the
domain-specific features. The training process takes the majority of the
computing time. Once trained, the model can quickly predict the variables
with decent accuracy. This ability makes the deep neural network appealing
for parameterization emulator.</p>
      <p id="d1e1608">Following the same architecture that we developed for Logan, Kansas, we also
built DNNs for one location in Alaska. The results share the same conclusion
as we have seen for the Logan site. For example, among the three DNNs, HPC
and HAC show much better skill with smaller RMSEs and higher<?pagebreak page4272?> correlations
than does FFN. The wind profiles are more difficult to predict than the
profiles of temperature and water vapor. For FFN, the prediction accuracy
increases with more training data; for HPC and HAC, the prediction skill
stays similar when having 6 or more years of training data.</p>
      <p id="d1e1611">While we trained our DNNs over individual locations in this study using only
one computing node (with multiple processors), there are 300 000 grid cells
over our WRF model domain, which simulated the North American continent at a
horizontal resolution of 12 km. To train a model for all the grid cells or
all the homogenous regions over this large domain, we will need to scale up
the algorithm to hundreds if not thousands of computing nodes to accelerate
the training time and the make the entire NN-based simulation faster than
the original parameterization.</p>
      <p id="d1e1614">The ultimate goal of this project is to build an NN-based algorithm to
empirically understand the process in the numerical weather and climate
models and to replace the PBL parameterization and other time-consuming
parameterizations that were derived from observational studies. The DNNs
developed in this study can provide numerically efficient solutions for a
wide range of problems in environmental numerical models where lengthy and
complicated calculations describing physical processes must be repeated
frequently or a large ensemble of simulations needs to be done to represent
uncertainty. A possible future direction for this research is implementing
these NN-based schemes in WRF for a new generation of hybrid regional-scale
weather/climate models that fully represent the physics<?pagebreak page4273?> at a very high
spatial resolution with a short computing time period so as to provide the
means for generating large-ensemble model runs.</p>
</sec>

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

      <p id="d1e1621">The data used and the code developed in this study are available at
<uri>https://github.com/pbalapra/dl-pbl</uri> (last access: 25 March 2019).</p>
  </notes><notes notes-type="authorcontribution"><title>Author contributions</title>

      <p id="d1e1630">JW participated in the entire project by providing domain expertise and
analyzing the results from the DNNs. PB developed and conducted all the DNN
experiments. RK proposed the idea of this project and provided high-level
guidance and insight for the entire study.</p>
  </notes><notes notes-type="competinginterests"><title>Competing interests</title>

      <p id="d1e1636">The authors declare that they have no conflict of interest.</p>
  </notes><ack><title>Acknowledgements</title><p id="d1e1642">The WRF model output was developed through computational support by the
Argonne National Laboratory Computing Resource Center and National Energy Research Scientific Computing Center.</p></ack><notes notes-type="financialsupport"><title>Financial support</title>

      <p id="d1e1647">This research has been supported by the U.S. Department of Energy, Office of Science (grant no. DE-AC02-06CH11357).</p>
  </notes><notes notes-type="reviewstatement"><title>Review statement</title>

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

      <ref id="bib1.bib1"><label>1</label><?label 1?><mixed-citation>
Attali, J. G. and Pagès, G.: Approximations of functions by a
multilayer perception: A new approach, Neural Networks, 6, 1069–1081, 1997.</mixed-citation></ref>
      <ref id="bib1.bib2"><label>2</label><?label 1?><mixed-citation>
Chen, T. and Chen, H.: Approximation capability to functions of several
variables, nonlinear functionals and operators by radial basis function
neural networks, Neural Networks, 6, 904–910, 1995a.</mixed-citation></ref>
      <ref id="bib1.bib3"><label>3</label><?label 1?><mixed-citation>
Chen, T. and Chen, H.: Universal approximation to nonlinear operators by
neural networks with arbitrary activation function and its application to
dynamical systems, Neural Networks, 6, 911–917, 1995b.</mixed-citation></ref>
      <ref id="bib1.bib4"><label>4</label><?label 1?><mixed-citation>
Chevallier, F., Chéruy, F., Scott, N. A., and Chédin, A.: A neural
network approach for a fast and accurate computation of longwave radiative
budget, J. Appl. Meteorol., 37, 1385–1397, 1998.</mixed-citation></ref>
      <ref id="bib1.bib5"><label>5</label><?label 1?><mixed-citation>
Chevallier, F., Morcrette, J.-J., Chéruy, F., and Scott, N. A.: Use of a
neural-network-based longwave radiative transfer scheme in the EMCWF
atmospheric model, Q. J. Roy. Meteor. Soc., 126, 761–776, 2000.</mixed-citation></ref>
      <ref id="bib1.bib6"><label>6</label><?label 1?><mixed-citation>Collins, W. and Tissot, P.: An artificial neural network model to predict
thunderstorms within 400 km<inline-formula><mml:math id="M60" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula> South Texas domains, Meteorol. Appl., 22, 650–665, 2015.</mixed-citation></ref>
      <ref id="bib1.bib7"><label>7</label><?label 1?><mixed-citation>
Cohen, A. E., Cavallo, S. M., Coniglio, M. C., and Brooks, H. E.: A review of
planetary boundary layer parameterization schemes and their sensitivity in
simulating a southeast U.S. cold season severe weather environment, Weather
Forecast., 30, 591–612, 2015.</mixed-citation></ref>
      <ref id="bib1.bib8"><label>8</label><?label 1?><mixed-citation>
Cybenko, G.: Approximation by superposition of sigmoidal functions, Math.
Control Signal., 2, 303–314, 1989.</mixed-citation></ref>
      <ref id="bib1.bib9"><label>9</label><?label 1?><mixed-citation>
Hong, S.-Y., Noh, S. Y., and Dudhia, J.: A new vertical diffusion package
with an explicit treatment of entrainment processes, Mon. Weather Rev., 134,
2318–2341, 2006.</mixed-citation></ref>
      <ref id="bib1.bib10"><label>10</label><?label 1?><mixed-citation>
Hornik, K.: Approximation capabilities of multilayer feedforward network,
Neural Networks, 4, 251–257, 1991.</mixed-citation></ref>
      <ref id="bib1.bib11"><label>11</label><?label 1?><mixed-citation>
Jiang, G.-Q., Xu, J., and Wei, J.: A deep learning algorithm of neural
network for the parameterization of typhoon-ocean feedback in typhoon
forecast models, Geophys. Res. Lett., 45, 3706–3716, 2018.</mixed-citation></ref>
      <ref id="bib1.bib12"><label>12</label><?label 1?><mixed-citation>
Kheshgi, H. S., Jain, A. K., Kotamarthi, V. R., and Wuebbles, D. J.: Future
atmospheric methane concentrations in the context of the stabilization of
greenhouse gas concentrations, J. Geophys. Res.-Atmos.,
104,  19183–19190, 1999.</mixed-citation></ref>
      <ref id="bib1.bib13"><label>13</label><?label 1?><mixed-citation>
Krasnopolsky, V. M. and Fox-Rabinovitz, M. S.: Complex hybrid models
combining deterministic and machine learning components for numerical
climate modeling and weather prediction, Neural Networks, 19, 122–134,
2006.</mixed-citation></ref>
      <ref id="bib1.bib14"><label>14</label><?label 1?><mixed-citation>
Krasnopolsky, V. M., Fox-Rabinovitz, M. S., and Chalikov, D. V.: New
approach to calculation of atmospheric model physics: Accurate and fast
neural network emulation of long wave radiation in a climate model, Mon.
Weather Rev., 133, 1370–1383, 2005.</mixed-citation></ref>
      <ref id="bib1.bib15"><label>15</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.bib16"><label>16</label><?label 1?><mixed-citation>Krasnopolsky, V. M., Nadiga, S., Mehra, A., Bayler, E., and Behringer, D.:
Neural networks technique for filling gaps in satellite measurements:
Application to ocean color observations, Comput. Intel.
Neurosc., 2016,  6156513,
<ext-link xlink:href="https://doi.org/10.1155/2016/6156513" ext-link-type="DOI">10.1155/2016/6156513</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bib17"><label>17</label><?label 1?><mixed-citation>
Krasnopolsky, V. M., Middlecoff, J., Beck, J., Geresdi, I., and Toth, Z.: A
neural network emulator for microphysics schemes, 97th AMS annual
meeting, Seattle, WA, 24 January 2017.</mixed-citation></ref>
      <ref id="bib1.bib18"><label>18</label><?label 1?><mixed-citation>Lee, L. A., Carslaw, K. S., Pringle, K. J., Mann, G. W., and Spracklen, D. V.: Emulation of a complex global aerosol model to quantify sensitivity to uncertain parameters, Atmos. Chem. Phys., 11, 12253–12273, <ext-link xlink:href="https://doi.org/10.5194/acp-11-12253-2011" ext-link-type="DOI">10.5194/acp-11-12253-2011</ext-link>, 2011.</mixed-citation></ref>
      <ref id="bib1.bib19"><label>19</label><?label 1?><mixed-citation>
Leeds, W. B., Wikle, C. K., Fiechter, J., Brown, J., and Milliff, R. F.: Modeling 3D spatio-temporal biogeochemical processes with a forest of 1D statistical
emulators, Environmetrics, 24, 1–12, 2013.</mixed-citation></ref>
      <ref id="bib1.bib20"><label>20</label><?label 1?><mixed-citation>
McFarlane, N.: Parameterizations: representing key processes in climate
models without resolving them, Wiley Interdisciplinary Reviews: Climate
Change, 2, 482–497, 2011.</mixed-citation></ref>
      <?pagebreak page4274?><ref id="bib1.bib21"><label>21</label><?label 1?><mixed-citation>
Scher, S.: Toward data-driven weather and climate forecasting: Approximating
a simple general circulation model with deep learning, Geophys. Res.
Lett., 45, 12616–12622, 2018.</mixed-citation></ref>
      <ref id="bib1.bib22"><label>22</label><?label 1?><mixed-citation>Thompson, G., Field, P. R., Rasmussen, R. M., and Hall, W. D.: Explicit forecasts
of winter precipitation using an improved bulk microphysics scheme. Part II:
Implementationof a new snow parameterization, Mon. Weather Rev., 136,
5095–5115, 2008.
 </mixed-citation></ref><?xmltex \hack{\newpage}?>
      <ref id="bib1.bib23"><label>23</label><?label 1?><mixed-citation>
Wang, J. and Kotamarthi, V. R.: Downscaling with a nested regional climate
model in near-surface fields over the contiguous United States, J.
Geophys. Res.-Atmos., 119, 8778–8797, 2014.</mixed-citation></ref>
      <ref id="bib1.bib24"><label>24</label><?label 1?><mixed-citation>
Williams, P. D.: Modelling climate change: the role of unresolved processes,
Philos. T. Roy. Soc. A, 363, 2931–2946, 2005.</mixed-citation></ref>

  </ref-list></back>
    <!--<article-title-html>Fast domain-aware neural network emulation of a planetary boundary layer parameterization in a numerical weather forecast model</article-title-html>
<abstract-html><p>Parameterizations for physical processes in weather and climate
models are computationally expensive. We use model output from the Weather
Research Forecast (WRF) climate model to train deep neural networks (DNNs)
and evaluate whether trained DNNs can provide an accurate alternative to the
physics-based parameterizations. Specifically, we develop an emulator using
DNNs for a planetary boundary layer (PBL) parameterization in the WRF model.
PBL parameterizations are used in atmospheric models to represent the
diurnal variation in the formation and collapse of the atmospheric boundary
layer – the lowest part of the atmosphere. The dynamics and turbulence, as
well as velocity, temperature, and humidity profiles within the boundary
layer are all critical for determining many of the physical processes in the
atmosphere. PBL parameterizations are used to represent these processes that
are usually unresolved in a typical climate model that operates at
horizontal spatial scales in the tens of kilometers. We demonstrate that a
domain-aware DNN, which takes account of underlying domain structure (e.g.,
nonlocal mixing), can successfully simulate the vertical profiles within the
boundary layer of velocities, temperature, and water vapor over the entire
diurnal cycle. Results also show that a single trained DNN from one location
can produce predictions of wind speed, temperature, and water vapor profiles
over nearby locations with similar terrain conditions with correlations
higher than 0.9 when compared with the WRF simulations used as the training
dataset.</p></abstract-html>
<ref-html id="bib1.bib1"><label>1</label><mixed-citation>
Attali, J. G. and Pagès, G.: Approximations of functions by a
multilayer perception: A new approach, Neural Networks, 6, 1069–1081, 1997.
</mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>2</label><mixed-citation>
Chen, T. and Chen, H.: Approximation capability to functions of several
variables, nonlinear functionals and operators by radial basis function
neural networks, Neural Networks, 6, 904–910, 1995a.
</mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>3</label><mixed-citation>
Chen, T. and Chen, H.: Universal approximation to nonlinear operators by
neural networks with arbitrary activation function and its application to
dynamical systems, Neural Networks, 6, 911–917, 1995b.
</mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>4</label><mixed-citation>
Chevallier, F., Chéruy, F., Scott, N. A., and Chédin, A.: A neural
network approach for a fast and accurate computation of longwave radiative
budget, J. Appl. Meteorol., 37, 1385–1397, 1998.
</mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>5</label><mixed-citation>
Chevallier, F., Morcrette, J.-J., Chéruy, F., and Scott, N. A.: Use of a
neural-network-based longwave radiative transfer scheme in the EMCWF
atmospheric model, Q. J. Roy. Meteor. Soc., 126, 761–776, 2000.
</mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>6</label><mixed-citation>
Collins, W. and Tissot, P.: An artificial neural network model to predict
thunderstorms within 400&thinsp;km<sup>2</sup> South Texas domains, Meteorol. Appl., 22, 650–665, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>7</label><mixed-citation>
Cohen, A. E., Cavallo, S. M., Coniglio, M. C., and Brooks, H. E.: A review of
planetary boundary layer parameterization schemes and their sensitivity in
simulating a southeast U.S. cold season severe weather environment, Weather
Forecast., 30, 591–612, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>8</label><mixed-citation>
Cybenko, G.: Approximation by superposition of sigmoidal functions, Math.
Control Signal., 2, 303–314, 1989.
</mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>9</label><mixed-citation>
Hong, S.-Y., Noh, S. Y., and Dudhia, J.: A new vertical diffusion package
with an explicit treatment of entrainment processes, Mon. Weather Rev., 134,
2318–2341, 2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib10"><label>10</label><mixed-citation>
Hornik, K.: Approximation capabilities of multilayer feedforward network,
Neural Networks, 4, 251–257, 1991.
</mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>11</label><mixed-citation>
Jiang, G.-Q., Xu, J., and Wei, J.: A deep learning algorithm of neural
network for the parameterization of typhoon-ocean feedback in typhoon
forecast models, Geophys. Res. Lett., 45, 3706–3716, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>12</label><mixed-citation>
Kheshgi, H. S., Jain, A. K., Kotamarthi, V. R., and Wuebbles, D. J.: Future
atmospheric methane concentrations in the context of the stabilization of
greenhouse gas concentrations, J. Geophys. Res.-Atmos.,
104,  19183–19190, 1999.
</mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>13</label><mixed-citation>
Krasnopolsky, V. M. and Fox-Rabinovitz, M. S.: Complex hybrid models
combining deterministic and machine learning components for numerical
climate modeling and weather prediction, Neural Networks, 19, 122–134,
2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>14</label><mixed-citation>
Krasnopolsky, V. M., Fox-Rabinovitz, M. S., and Chalikov, D. V.: New
approach to calculation of atmospheric model physics: Accurate and fast
neural network emulation of long wave radiation in a climate model, Mon.
Weather Rev., 133, 1370–1383, 2005.
</mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>15</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.bib16"><label>16</label><mixed-citation>
Krasnopolsky, V. M., Nadiga, S., Mehra, A., Bayler, E., and Behringer, D.:
Neural networks technique for filling gaps in satellite measurements:
Application to ocean color observations, Comput. Intel.
Neurosc., 2016,  6156513,
<a href="https://doi.org/10.1155/2016/6156513" target="_blank">https://doi.org/10.1155/2016/6156513</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>17</label><mixed-citation>
Krasnopolsky, V. M., Middlecoff, J., Beck, J., Geresdi, I., and Toth, Z.: A
neural network emulator for microphysics schemes, 97th AMS annual
meeting, Seattle, WA, 24 January 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>18</label><mixed-citation>
Lee, L. A., Carslaw, K. S., Pringle, K. J., Mann, G. W., and Spracklen, D. V.: Emulation of a complex global aerosol model to quantify sensitivity to uncertain parameters, Atmos. Chem. Phys., 11, 12253–12273, <a href="https://doi.org/10.5194/acp-11-12253-2011" target="_blank">https://doi.org/10.5194/acp-11-12253-2011</a>, 2011.
</mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>19</label><mixed-citation>
Leeds, W. B., Wikle, C. K., Fiechter, J., Brown, J., and Milliff, R. F.: Modeling 3D spatio-temporal biogeochemical processes with a forest of 1D statistical
emulators, Environmetrics, 24, 1–12, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>20</label><mixed-citation>
McFarlane, N.: Parameterizations: representing key processes in climate
models without resolving them, Wiley Interdisciplinary Reviews: Climate
Change, 2, 482–497, 2011.
</mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>21</label><mixed-citation>
Scher, S.: Toward data-driven weather and climate forecasting: Approximating
a simple general circulation model with deep learning, Geophys. Res.
Lett., 45, 12616–12622, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>22</label><mixed-citation>
Thompson, G., Field, P. R., Rasmussen, R. M., and Hall, W. D.: Explicit forecasts
of winter precipitation using an improved bulk microphysics scheme. Part II:
Implementationof a new snow parameterization, Mon. Weather Rev., 136,
5095–5115, 2008.

</mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>23</label><mixed-citation>
Wang, J. and Kotamarthi, V. R.: Downscaling with a nested regional climate
model in near-surface fields over the contiguous United States, J.
Geophys. Res.-Atmos., 119, 8778–8797, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>24</label><mixed-citation>
Williams, P. D.: Modelling climate change: the role of unresolved processes,
Philos. T. Roy. Soc. A, 363, 2931–2946, 2005.
</mixed-citation></ref-html>--></article>
