<?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"><?xmltex \bartext{Development and technical paper}?>
  <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-16-1937-2023</article-id><title-group><article-title>Effects of complex terrain on the shortwave radiative balance: <?xmltex \hack{\break}?>a sub-grid-scale parameterization for the <?xmltex \hack{\break}?>GFDL Earth System Model version 4.1</article-title><alt-title>Effects of land heterogeneity</alt-title>
      </title-group><?xmltex \runningtitle{Effects of land heterogeneity}?><?xmltex \runningauthor{E. Zorzetto et al.}?>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes" rid="aff1">
          <name><surname>Zorzetto</surname><given-names>Enrico</given-names></name>
          <email>ez6263@princeton.edu</email>
        <ext-link>https://orcid.org/0000-0002-5813-4920</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff2">
          <name><surname>Malyshev</surname><given-names>Sergey</given-names></name>
          
        <ext-link>https://orcid.org/0000-0001-6259-1043</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff3">
          <name><surname>Chaney</surname><given-names>Nathaniel</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff2">
          <name><surname>Paynter</surname><given-names>David</given-names></name>
          
        <ext-link>https://orcid.org/0000-0002-7092-241X</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff2 aff4">
          <name><surname>Menzel</surname><given-names>Raymond</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff2">
          <name><surname>Shevliakova</surname><given-names>Elena</given-names></name>
          
        </contrib>
        <aff id="aff1"><label>1</label><institution>Program in Atmospheric and Oceanic Sciences, Princeton University, Princeton, NJ, USA</institution>
        </aff>
        <aff id="aff2"><label>2</label><institution>NOAA OAR Geophysical Fluid Dynamics Laboratory, Princeton, NJ, USA</institution>
        </aff>
        <aff id="aff3"><label>3</label><institution>Department of Civil and Environmental Engineering, Duke University, Durham, NC, USA</institution>
        </aff>
        <aff id="aff4"><label>4</label><institution>University Corporation for Atmospheric Research, Princeton, NJ, USA</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">Enrico Zorzetto (ez6263@princeton.edu)</corresp></author-notes><pub-date><day>6</day><month>April</month><year>2023</year></pub-date>
      
      <volume>16</volume>
      <issue>7</issue>
      <fpage>1937</fpage><lpage>1960</lpage>
      <history>
        <date date-type="received"><day>2</day><month>September</month><year>2022</year></date>
           <date date-type="rev-request"><day>27</day><month>September</month><year>2022</year></date>
           <date date-type="rev-recd"><day>11</day><month>March</month><year>2023</year></date>
           <date date-type="accepted"><day>13</day><month>March</month><year>2023</year></date>
      </history>
      <permissions>
        <copyright-statement>Copyright: © 2023 </copyright-statement>
        <copyright-year>2023</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/.html">This article is available from https://gmd.copernicus.org/articles/.html</self-uri><self-uri xlink:href="https://gmd.copernicus.org/articles/.pdf">The full text article is available as a PDF file from https://gmd.copernicus.org/articles/.pdf</self-uri>
      <abstract><title>Abstract</title>

      <p id="d1e152">Parameterizing incident solar radiation over complex topography regions in Earth system models (ESMs) remains a challenging task. In ESMs, downward solar radiative fluxes at the surface are typically computed using plane-parallel radiative transfer schemes, which do not explicitly account for the effects of a three-dimensional topography, such as shading and reflections. To improve the representation of these processes, we introduce and test a parameterization of radiation–topography interactions tailored to the Geophysical Fluid Dynamics Laboratory (GFDL) ESM land model. The approach presented here builds on an existing correction scheme for direct, diffuse, and reflected solar irradiance terms over three-dimensional terrain. Here we combine this correction with a novel hierarchical multivariate clustering algorithm that explicitly describes the spatially varying downward irradiance over mountainous terrain. Based on a high-resolution digital elevation model, this combined method first defines a set of sub-grid land units (“tiles”) by clustering together sites characterized by similar terrain–radiation interactions (e.g., areas with similar slope orientation, terrain, and sky view factors). Then, based on terrain parameters characteristic for each tile, correction terms are computed to account for the effects of local 3D topography on shortwave radiation over each land unit. We develop and test this procedure based on a set of Monte Carlo ray-tracing simulations approximating the true radiative transfer process over three-dimensional topography. Domains located in three distinct geographic regions (Alps, Andes, and Himalaya) are included in this study to allow for independent testing of the methodology over surfaces with differing topographic features. We find that accounting for the sub-grid spatial variability of solar irradiance originating from interactions with complex topography is important as these effects led to significant local differences with respect to the plane-parallel case, as well as with respect to grid-cell-scale average topographic corrections. We further quantify the importance of the topographic correction for a varying number of terrain clusters and for different radiation terms (direct, diffuse, and reflected radiative fluxes) in order to inform the application of this methodology in different ESMs with varying sub-grid tile structure. We find that even a limited number of sub-grid units such as 10 can lead to recovering more than <inline-formula><mml:math id="M1" display="inline"><mml:mrow><mml:mn mathvariant="normal">60</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="italic">%</mml:mi></mml:mrow></mml:math></inline-formula> of the spatial variability of solar irradiance over a mountainous area.</p>
  </abstract>
    
<funding-group>
<award-group id="gs1">
<funding-source>National Aeronautics and Space Administration</funding-source>
<award-id>80HQTR21T0015</award-id>
</award-group>
<award-group id="gs2">
<funding-source>National Oceanic and Atmospheric Administration</funding-source>
<award-id>NA18OAR4320123</award-id>
</award-group>
</funding-group>
</article-meta>
  </front>
<body>
      

<sec id="Ch1.S1" sec-type="intro">
  <label>1</label><title>Introduction</title>
      <?pagebreak page1938?><p id="d1e175">The presence of three-dimensional topography exerts an important control on the amount of solar radiation received by land. Over complex terrain, the incoming solar beam not only undergoes scattering and absorption within the atmospheric column but is also further modulated by the relative orientation of land surfaces and the potential shading and reflection effects of neighboring slopes <xref ref-type="bibr" rid="bib1.bibx40 bib1.bibx27 bib1.bibx21 bib1.bibx36" id="paren.1"/>. The effect of surface roughness was recently shown to have important effects over snow-covered surfaces, leading to a net decrease in surface reflectivity <xref ref-type="bibr" rid="bib1.bibx22" id="paren.2"/>.</p>
      <p id="d1e184">Together, these effects lead to a spatially heterogeneous distribution of the radiative fluxes received by the surface. In turn, this heterogeneity can have important consequences for the local energy and water balance and interact with other spatially varying land processes such as evaporation <xref ref-type="bibr" rid="bib1.bibx2" id="paren.3"/>, snow melting  <xref ref-type="bibr" rid="bib1.bibx33 bib1.bibx1 bib1.bibx41" id="paren.4"/>, and vegetation dynamics <xref ref-type="bibr" rid="bib1.bibx14 bib1.bibx15" id="paren.5"/>.</p>
      <p id="d1e196">Representing these processes at increasingly fine scales is the goal of state-of-the-art land components of Earth system models (ESMs) (i.e., land models). However, global circulation models (GCMs) routinely compute shortwave radiative fluxes based on plane-parallel (PP) radiative transfer schemes, which do not account for the effect of topography. This discrepancy poses a challenge for adequately capturing sub-grid-scale processes in land models.</p>
      <p id="d1e199">Several models have been proposed to account for the interaction of downward solar irradiance with complex topography, accounting for slope orientation and shading effects <xref ref-type="bibr" rid="bib1.bibx20 bib1.bibx18 bib1.bibx9" id="paren.6"/> and the effect of surrounding slopes <xref ref-type="bibr" rid="bib1.bibx6 bib1.bibx8 bib1.bibx7" id="paren.7"/>.</p>
      <p id="d1e209">A recently developed radiation parameterization was developed to predict radiative fluxes over mountainous terrain via multiple linear regression <xref ref-type="bibr" rid="bib1.bibx5 bib1.bibx23" id="paren.8"/>. This approach (henceforth termed LLH) links flux corrections over mountains to a set of grid-cell-average terrain variables, which summarize the three-dimensional nature of the land surface and are used as predictors for shortwave fluxes. The LLH parameterization for shortwave radiation over mountains has been implemented in Global Climate Models (GCMs) and the Weather Research and Forecasting (WRF) model; it has been extensively tested over the Tibetan Plateau and the western United States <xref ref-type="bibr" rid="bib1.bibx28 bib1.bibx11 bib1.bibx16 bib1.bibx24 bib1.bibx25 bib1.bibx26" id="paren.9"/>.</p>
      <p id="d1e218">However, it is expected that sub-grid variability of these topographic effects may play a relevant role given the heterogeneous nature of surface reflectivity and topographic features at scales smaller than the typical GCM grid cell. The importance of accounting for sub-grid-scale topography when correcting shortwave radiative fluxes over mountains was recently pointed out by an application of LLH to the DOE E3SM Exascale Earth System Model, varying model resolution over a range of scales relevant for land processes <xref ref-type="bibr" rid="bib1.bibx17" id="paren.10"/>.</p>
      <p id="d1e224">This problem is especially relevant since in recent years the development of land models has increasingly been focused on the description of sub-grid variability of terrain properties <xref ref-type="bibr" rid="bib1.bibx42 bib1.bibx4" id="paren.11"/>. For example, in the current iteration of the Geophysical Fluid Dynamics Laboratory (GFDL) land model, this objective is achieved by summarizing grid cell heterogeneity in sets of land units (termed “tiles”) characterized by approximately homogeneous physical features <xref ref-type="bibr" rid="bib1.bibx39 bib1.bibx35 bib1.bibx44 bib1.bibx10" id="paren.12"/>, including elevation, land cover, soil properties, and other environmental variables <xref ref-type="bibr" rid="bib1.bibx4" id="paren.13"/>. In the GFDL land model, such a sub-grid representation has not been yet tailored to describing the interaction of shortwave radiation with topography. The objective of this work is bridging this discrepancy and developing a sub-grid parameterization for the effects of radiation over complex topography in the GFDL land model.</p>
      <p id="d1e236">The sub-grid model structure is constructed using a hierarchical multivariate clustering approach <xref ref-type="bibr" rid="bib1.bibx3 bib1.bibx4" id="paren.14"/> to partition land domains in a set of clusters or tiles. Tiles are here defined as land units characterized by homogeneous topographic effects with respect to downward shortwave radiation. Thus, the terrain variables used for clustering land surfaces encode the physical mechanisms determining the spatial variability of radiative fluxes, such as shading and reflection from nearby slopes.</p>
      <p id="d1e242">This clustering approach provides a parsimonious way to include high-resolution terrain information in global ESM simulations while limiting the number of sub-grid element employed. For each terrain tile, characterized by homogeneous terrain properties, we then develop an average correction to the downward solar fluxes to account for the effects of local topography. This approach thus bridges the gap between the scale at which radiation and other physical processes are represented in the GFDL ESM and allows us to study how the sub-grid heterogeneity of these processes impacts the long-term evolution of the coupled physical system.</p>
      <p id="d1e245">In the following, we present this new methodology and test it over three mountainous sites located in different geographic regions (Alps, Andes, Himalayas), showing how model resolution and number of tiles impact the performance of the methodology. Given the wide range of spatial scale involved in the description of sub-grid topography, we evaluate the performance of the parameterization across scales, focusing in particular on the possible nonlinear dependence of incident radiation on topographic features and validating the model over independent sites.</p>
      <p id="d1e249">The paper is organized as follows: we first review the existing parameterization for radiation over rugged terrain <xref ref-type="bibr" rid="bib1.bibx23" id="paren.15"/> and tailor it to our problem. This in turn requires training a model to predict topography-driven corrections for radiative fluxes based on terrain properties. Finally, we present the clustering algorithm used to divide the domain study in tiles, so as to compute local flux corrections over homogeneous regions.</p>
      <p id="d1e255">The approach is then validated using different domains for independent training and testing of the methodology (Sect. <xref ref-type="sec" rid="Ch1.S3.SS2"/>), exploring the effects of terrain resolution and<?pagebreak page1939?> possible consequences of nonlinear radiation–topography interactions. Finally, we explore how different tiling structures with increasing resolution improve the representation of the spatially varying radiation fields over mountains (Sect. <xref ref-type="sec" rid="Ch1.S3.SS4"/>). We close by discussing assumptions and limitations of the proposed methodology and suggesting future developments.</p>
</sec>
<sec id="Ch1.S2">
  <label>2</label><title>Methods</title>
      <p id="d1e270">In order to properly account for the effects of land heterogeneity on the radiative transfer in ESMs, key variables must be obtained from high-resolution terrain datasets and properly summarized in order to capture their fine-scale effects on shortwave radiation fluxes. To this end, here we start by defining the radiative and terrain variables used to predict radiation over 3D topography. Then, we describe (i) the Monte Carlo ray-tracing algorithm used for training and testing the predictive model, (ii) the terrain-clustering algorithm used to classify land units based on the local topographic effects on radiation fluxes, and (iii) the predictive models used to link terrain properties to radiative fluxes in each land cluster. Together, these three steps provide a framework for computing fine-scale corrections to the shortwave radiation received by sub-grid land units in the GFDL land model.</p>
<sec id="Ch1.S2.SS1">
  <label>2.1</label><title>Characterizing shortwave radiation over mountainous terrain</title>
      <p id="d1e280">A parameterization explicitly accounting for the effects of 3D topography on the shortwave radiation budget was proposed by <xref ref-type="bibr" rid="bib1.bibx23" id="text.16"/> based on the results of Monte Carlo photon-tracing simulations <xref ref-type="bibr" rid="bib1.bibx5" id="paren.17"/>. Here we adopt a similar approach and, following the formalism introduced by  <xref ref-type="bibr" rid="bib1.bibx23" id="text.18"/>, classify the shortwave radiation incident at a target point at the surface into five distinct components: the direct and diffuse downward solar fluxes (<inline-formula><mml:math id="M2" display="inline"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">dir</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M3" display="inline"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">dif</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>), and their terrain-reflected counterparts (<inline-formula><mml:math id="M4" display="inline"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">rdir</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M5" display="inline"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">rdif</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>), which represent, respectively, direct beam or diffuse photons reaching the target site after a single reflection from neighboring terrain. Finally, a coupled flux component (<inline-formula><mml:math id="M6" display="inline"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">coup</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) consists of photons first reflected by the surface and then either back-scattered by the atmosphere or reflected multiple times by the surface before reaching the target site. For a flat surface <inline-formula><mml:math id="M7" display="inline"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">rdir</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">rdif</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>, while <inline-formula><mml:math id="M8" display="inline"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">dir</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">dif</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">coup</mml:mi></mml:msub><mml:mo>≠</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula> in general. We note that in the GFDL land model, diffuse radiation received by a flat surface with albedo <inline-formula><mml:math id="M9" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula> (<inline-formula><mml:math id="M10" display="inline"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mi mathvariant="normal">dif</mml:mi><mml:mo>,</mml:mo><mml:mo>[</mml:mo><mml:mi mathvariant="normal">LM</mml:mi><mml:mo>∣</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:mo>]</mml:mo></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>) corresponds here to the sum of <inline-formula><mml:math id="M11" display="inline"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">dif</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M12" display="inline"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">coup</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. We note that these quantities can be computed separately by first computing the diffuse flux corresponding to a black surface (<inline-formula><mml:math id="M13" display="inline"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mi mathvariant="normal">dif</mml:mi><mml:mo>,</mml:mo><mml:mo>[</mml:mo><mml:mi mathvariant="normal">LM</mml:mi><mml:mo>∣</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>]</mml:mo></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>), in which case the coupled flux is zero, and by then computing the coupled flux for the actual land surface as <inline-formula><mml:math id="M14" display="inline"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">coup</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mi mathvariant="normal">dif</mml:mi><mml:mo>,</mml:mo><mml:mo>[</mml:mo><mml:mi mathvariant="normal">LM</mml:mi><mml:mo>∣</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:mo>]</mml:mo></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mi mathvariant="normal">dif</mml:mi><mml:mo>,</mml:mo><mml:mo>[</mml:mo><mml:mi mathvariant="normal">LM</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>]</mml:mo></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. Conversely, the diffuse flux can be obtained as <inline-formula><mml:math id="M15" display="inline"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">dif</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mi mathvariant="normal">dif</mml:mi><mml:mo>,</mml:mo><mml:mo>[</mml:mo><mml:mi mathvariant="normal">LM</mml:mi><mml:mo>∣</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>]</mml:mo></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. Based on this formalism, the normalized flux differences between the traditional plane-parallel (PP) case and the topography-aware case (3D) are the object of our analysis, which can be used to correct the shortwave radiative balance in ESMs. Following <xref ref-type="bibr" rid="bib1.bibx23" id="text.19"/>, these quantities are expressed as follows.</p>
      <p id="d1e575"><disp-formula id="Ch1.E1" content-type="numbered"><label>1</label><mml:math id="M16" display="block"><mml:mtable class="split" rowspacing="0.2ex" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">dir</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msubsup><mml:mi>F</mml:mi><mml:mi mathvariant="normal">dir</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mi mathvariant="normal">D</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mi>F</mml:mi><mml:mi mathvariant="normal">dir</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="normal">PP</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:msubsup><mml:mi>F</mml:mi><mml:mi mathvariant="normal">dir</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="normal">PP</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>;</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">dif</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msubsup><mml:mi>F</mml:mi><mml:mi mathvariant="normal">dif</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mi mathvariant="normal">D</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mi>F</mml:mi><mml:mi mathvariant="normal">dif</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="normal">PP</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:msubsup><mml:mi>F</mml:mi><mml:mi mathvariant="normal">dif</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="normal">PP</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>;</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">rdir</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msubsup><mml:mi>F</mml:mi><mml:mi mathvariant="normal">rdir</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mi mathvariant="normal">D</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:msubsup><mml:mi>F</mml:mi><mml:mi mathvariant="normal">dir</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="normal">PP</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>;</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">rdif</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msubsup><mml:mi>F</mml:mi><mml:mi mathvariant="normal">rdif</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mi mathvariant="normal">D</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:msubsup><mml:mi>F</mml:mi><mml:mi mathvariant="normal">dif</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="normal">PP</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>;</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">coup</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msubsup><mml:mi>F</mml:mi><mml:mi mathvariant="normal">coup</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mi mathvariant="normal">D</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mi>F</mml:mi><mml:mi mathvariant="normal">coup</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="normal">PP</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:msubsup><mml:mi>F</mml:mi><mml:mi mathvariant="normal">coup</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="normal">PP</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
          Here the direct-reflected and diffuse-reflected components are normalized with respect to the corresponding non-reflected flux component since they are equal to zero in the plane-parallel case <xref ref-type="bibr" rid="bib1.bibx23" id="paren.20"/>. These quantities are defined in Eq. (<xref ref-type="disp-formula" rid="Ch1.E1"/>) for a given surface albedo value. While direct and diffuse component are independent of surface albedo, the reflected flux components are linearly dependent on albedo. Finally, the coupled flux is nonlinearly dependent on surface albedo. A schematic representation of these flux components is reported in Fig. <xref ref-type="fig" rid="Ch1.F1"/>. Predicting these five <inline-formula><mml:math id="M17" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> terms over land tiles representing heterogeneous terrain properties is the objective here. To this end, a predictive model linking the <inline-formula><mml:math id="M18" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> terms to tile terrain properties is necessary. To train such a model, we use ray-tracing simulations, which are discussed next.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F1"><?xmltex \currentcnt{1}?><?xmltex \def\figurename{Figure}?><label>Figure 1</label><caption><p id="d1e857">Conceptual representation of the five flux components used to characterize the nature of downward shortwave fluxes over rugged terrain, following the formalism used by <xref ref-type="bibr" rid="bib1.bibx5" id="text.21"/> and <xref ref-type="bibr" rid="bib1.bibx23" id="text.22"/>. The figure includes the direct radiation flux <bold>(a)</bold> and diffuse radiation <bold>(b)</bold>, consisting of photons which are absorbed at the surface target <inline-formula><mml:math id="M19" display="inline"><mml:mi>P</mml:mi></mml:math></inline-formula> after undergoing atmospheric scattering. Direct-reflected <bold>(c)</bold> and diffuse-reflected <bold>(d)</bold> fluxes represent photons that are reflected once at the surface. Finally, the coupled <bold>(e)</bold> flux component includes light undergoing multiple reflections at the surface or reflection at the surface and then atmospheric scattering. For all components, the figure shows paths incident at a point <inline-formula><mml:math id="M20" display="inline"><mml:mi>P</mml:mi></mml:math></inline-formula> at the surface.</p></caption>
          <?xmltex \igopts{width=227.622047pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/1937/2023/gmd-16-1937-2023-f01.png"/>

        </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F2" specific-use="star"><?xmltex \currentcnt{2}?><?xmltex \def\figurename{Figure}?><label>Figure 2</label><caption><p id="d1e905">Location of the three land domains selected for this study. For each location, the 90 m resolution digital elevation used in the study is shown.</p></caption>
          <?xmltex \igopts{width=441.017717pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/1937/2023/gmd-16-1937-2023-f02.png"/>

        </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F3" specific-use="star"><?xmltex \currentcnt{3}?><?xmltex \def\figurename{Figure}?><label>Figure 3</label><caption><p id="d1e916">Schematic representation of the land clustering workflow. The land elevation map <bold>(a)</bold> is used to compute the variables of interest (sky and terrain view factors and functions of terrain slope and aspect, <bold>d</bold>) which are then used in the hierarchical clustering steps, yielding a map of homogeneous land units needed to parameterize radiation–topography interactions. The delineation of channel networks <bold>(e)</bold>, watersheds <bold>(b, c)</bold>, and hillslopes <bold>(f)</bold> follows the approach developed by <xref ref-type="bibr" rid="bib1.bibx4" id="paren.23"/>. The resulting spatial distribution of hillslope clusters and land tiles (corresponding to the two stages of land clustering) are shown in <bold>(g)</bold> and <bold>(h)</bold>, respectively.</p></caption>
          <?xmltex \igopts{width=441.017717pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/1937/2023/gmd-16-1937-2023-f03.png"/>

        </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F4" specific-use="star"><?xmltex \currentcnt{4}?><?xmltex \def\figurename{Figure}?><label>Figure 4</label><caption><p id="d1e952">Normalized differences in downward fluxes obtained running Monte Carlo simulations using the real topography and a flat domain, respectively (<inline-formula><mml:math id="M21" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.40</mml:mn></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M22" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mi mathvariant="italic">π</mml:mi><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula>). Maps are shown using an equal-area Mollweide projection.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/1937/2023/gmd-16-1937-2023-f04.png"/>

        </fig>

</sec>
<?pagebreak page1940?><sec id="Ch1.S2.SS2">
  <label>2.2</label><title>A Monte Carlo ray-tracing algorithm</title>
      <p id="d1e1003">Due to the complex interactions involved, topographic effects on shortwave radiation are generally studied based on Monte Carlo (MC) ray-tracing techniques, which approximate the three-dimensional radiative transfer process by tracking the fate of a large number of photons <xref ref-type="bibr" rid="bib1.bibx34 bib1.bibx5 bib1.bibx32" id="paren.24"/>.</p>
      <p id="d1e1009">Here, in order to develop a predictive model for the 3D radiation correction terms, we employed a MC algorithm (sometimes referred to as photon-tracing or ray-tracing algorithm) to approximate the true physics of radiation–topography interactions. These high-resolution simulations are used to calibrate the predictive models for topographic effects over each tile and to validate the proposed parameterization. The MC scheme explicitly describes the interaction of downwelling shortwave radiation with a 3D surface corresponding to a region characterized by complex topography. The algorithm was implemented in a software package, which is made available online
(Zorzetto, 2022a). The MC method has been widely used to study radiation interaction with 3D surfaces <xref ref-type="bibr" rid="bib1.bibx5 bib1.bibx23 bib1.bibx31 bib1.bibx32 bib1.bibx43 bib1.bibx22" id="paren.25"/>. The MC model adopted here broadly follows previous models developed by <xref ref-type="bibr" rid="bib1.bibx5" id="text.26"/> and <xref ref-type="bibr" rid="bib1.bibx31" id="text.27"/>.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F5" specific-use="star"><?xmltex \currentcnt{5}?><?xmltex \def\figurename{Figure}?><label>Figure 5</label><caption><p id="d1e1023">Terrain variables computed for the same domain shown in the previous figure (eastern Alps). Solar incidence angle was computed for <inline-formula><mml:math id="M23" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.40</mml:mn></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M24" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mi mathvariant="italic">π</mml:mi><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula>. Maps are shown using an equal-area Mollweide projection.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/1937/2023/gmd-16-1937-2023-f05.png"/>

        </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F6" specific-use="star"><?xmltex \currentcnt{6}?><?xmltex \def\figurename{Figure}?><label>Figure 6</label><caption><p id="d1e1069">Histograms of the direct radiation correction <inline-formula><mml:math id="M25" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">dir</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> between the 3D and PP cases at varying zenith angles and spatial averaging scales for the Peru and eastern Alps domains.</p></caption>
          <?xmltex \igopts{width=398.338583pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/1937/2023/gmd-16-1937-2023-f06.png"/>

        </fig>

      <?pagebreak page1941?><p id="d1e1089">In our MC algorithm, photons are randomly released at the top of atmosphere (TOA) and travel in a direction determined by the Sun's zenith <inline-formula><mml:math id="M26" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and azimuth <inline-formula><mml:math id="M27" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> angles. After a path of random length, which depends on the optical properties of the medium, the photon encounters scattering or absorption based on the single-scattering albedo properties of the atmospheric constituents <xref ref-type="bibr" rid="bib1.bibx13 bib1.bibx29" id="paren.28"/>. In the present simulation, we used for each site optical properties computed from the RRTMGP radiation code <xref ref-type="bibr" rid="bib1.bibx37" id="paren.29"/> using the GFDL AM4 model <xref ref-type="bibr" rid="bib1.bibx44" id="paren.30"/>. We note that the Monte Carlo model is run offline, prescribing the atmospheric profile and solar position in each model run. The atmospheric column used in the model is composed of 34 layers characterized by optical properties, which encode the absorption and Rayleigh scattering of photons by gas molecules. We limit our analysis to aerosol-free and clear-sky conditions, similar to previous studies <xref ref-type="bibr" rid="bib1.bibx5 bib1.bibx23" id="paren.31"/>. Therefore,  atmospheric properties are completely determined by optical depths and single-scattering albedo at each level <xref ref-type="bibr" rid="bib1.bibx29" id="paren.32"/>. The lower boundary of the simulation domain is derived from high-resolution (<inline-formula><mml:math id="M28" display="inline"><mml:mn mathvariant="normal">90</mml:mn></mml:math></inline-formula> m) terrain model derived from the Shuttle Radar Topography Mission (SRTM) dataset <xref ref-type="bibr" rid="bib1.bibx12" id="paren.33"/>. SRTM elevation fields are used to construct a three-dimensional surface characterized by triangular mesh elements characterized by uniform albedo and Lambertian reflection. In the following we refer to “pixel” as the image elements of the high-resolution input digital elevation maps, to clarify the difference with land model grid cell and land model sub-grid units, termed “tiles” in the following.</p>
      <p id="d1e1140">In each MC simulation, photons are tracked from the TOA until they are absorbed or leave the simulation domain. For each photon, interactions with atmospheric constituents (scattering or absorption) and with land surface elements (absorption or reflection) are used to characterize the nature of radiation incident over surface elements. Tracking the path of each photon, the downward irradiance is then decomposed into the five flux terms introduced in Sect. <xref ref-type="sec" rid="Ch1.S2.SS1"/>. If <inline-formula><mml:math id="M29" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> is the<?pagebreak page1942?> radiation incident at the TOA with a cosine of the zenith angle <inline-formula><mml:math id="M30" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mi>cos⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, then the horizontal distribution of solar irradiance received by the land surface is given by <xref ref-type="bibr" rid="bib1.bibx31" id="paren.34"/></p>
      <p id="d1e1178"><disp-formula id="Ch1.E2" content-type="numbered"><label>2</label><mml:math id="M31" display="block"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>l</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mi>cos⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mi>N</mml:mi></mml:mfrac></mml:mstyle><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi>A</mml:mi><mml:mrow><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>l</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mrow><mml:msubsup><mml:mi>N</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mi>s</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:munderover><mml:msub><mml:mi>w</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M32" display="inline"><mml:mrow><mml:msub><mml:mi>w</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the energy of the <inline-formula><mml:math id="M33" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula>th incident photon, <inline-formula><mml:math id="M34" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula> is the total number of photons tracked in the simulation over a domain with area <inline-formula><mml:math id="M35" display="inline"><mml:mi>A</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="M36" display="inline"><mml:mrow><mml:msubsup><mml:mi>N</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>l</mml:mi></mml:mrow><mml:mrow><mml:mo>(</mml:mo><mml:mi>s</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula> is the number of photons absorbed by the surface within grid cell <inline-formula><mml:math id="M37" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>l</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> with area horizontal plane surface area <inline-formula><mml:math id="M38" display="inline"><mml:mrow><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>l</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. Photons are released with unit energy at the TOA and lose a fraction of this energy through absorption in each atmospheric layer <xref ref-type="bibr" rid="bib1.bibx31" id="paren.35"/> or through absorption at the ground. Therefore, Eq. (<xref ref-type="disp-formula" rid="Ch1.E2"/>) evaluates the spatial distribution of solar irradiance based on the density of photons that are absorbed at the surface. While a 3D mesh is used in the Monte Carlo simulations, the area of the cell <inline-formula><mml:math id="M39" display="inline"><mml:mrow><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:mi>l</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is defined as the area of the cell on the horizontal plane. Equation (<xref ref-type="disp-formula" rid="Ch1.E2"/>) expresses the radiation received by a<?pagebreak page1943?> single land surface cell as a fraction of the radiation flux at the top of the surface <inline-formula><mml:math id="M40" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> by summing the energy <inline-formula><mml:math id="M41" display="inline"><mml:mrow><mml:msub><mml:mi>w</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>  of all the photons absorbed by the surface over that area. Since the interactions of each photon are tagged (e.g., keeping track of atmospheric scattering and any previous reflections at the surface) the radiation received can be directly classified in one of the five flux components, as defined in Eq. (<xref ref-type="disp-formula" rid="Ch1.E1"/>).</p>
      <p id="d1e1406">For two independent domains located in the Alps and Peru (Fig. <xref ref-type="fig" rid="Ch1.F2"/>), the MC calculations were repeated for six solar zenith angle values (<inline-formula><mml:math id="M42" display="inline"><mml:mrow><mml:mi>cos⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>∈</mml:mo><mml:mfenced open="{" close="}"><mml:mrow><mml:mn mathvariant="normal">0.1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0.25</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0.4</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0.55</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0.7</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">0.85</mml:mn></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula>), four solar azimuth angles (<inline-formula><mml:math id="M43" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>∈</mml:mo><mml:mfenced open="{" close="}"><mml:mrow><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="italic">π</mml:mi><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="italic">π</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mi mathvariant="italic">π</mml:mi><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula>), and a uniform surface reflectivity value set to <inline-formula><mml:math id="M44" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.3</mml:mn></mml:mrow></mml:math></inline-formula>. While only two domains are used for MC calculations due to the computational expense of this procedure, an additional domain located in high mountain Asia (Fig. <xref ref-type="fig" rid="Ch1.F2"/>) is used to further test the results of the spatial clustering over areas with different topographic features.</p>
</sec>
<sec id="Ch1.S2.SS3">
  <label>2.3</label><title>Predicting radiative fluxes over complex terrain</title>
      <p id="d1e1515">Over mountainous regions, the local irradiance at the surface can exhibit significant departures from its areal-average value at spatial scales routinely resolved in ESMs due to the complexity of topography and surface properties. In order to develop a simple parameterization to explain the magnitudes of these departures over mountains areas, we need predictor variables encoding the interaction between downward radiation and topographic features. For this purpose, here we define a set of relevant variables following previous work by <xref ref-type="bibr" rid="bib1.bibx5" id="text.36"/> and <xref ref-type="bibr" rid="bib1.bibx23" id="text.37"/>. The terrain variables used to predict downward fluxes are (i) the sky view factor <inline-formula><mml:math id="M45" display="inline"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, which represents the ratio of diffuse sky irradiance at a point on an unobstructed horizontal surface under the assumption of isotropic diffuse radiation <xref ref-type="bibr" rid="bib1.bibx7 bib1.bibx19" id="paren.38"/>; (ii) the terrain configuration <inline-formula><mml:math id="M46" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mi mathvariant="normal">t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, which quantifies the contribution to the irradiance at a point originated by reflections from surrounding mutually visible slopes; and (iii) the solar incident angle <inline-formula><mml:math id="M47" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, which is the angle between the direct solar beam and the normal to the<?pagebreak page1944?> surface. These terrain variables are derived from the Shuttle Radar Topography Mission (SRTM, <xref ref-type="bibr" rid="bib1.bibx12" id="altparen.39"/>) high-resolution (<inline-formula><mml:math id="M48" display="inline"><mml:mn mathvariant="normal">90</mml:mn></mml:math></inline-formula> m) terrain information.</p>
      <p id="d1e1571">In order to compute the sky view factor, we use the rapid procedure proposed by <xref ref-type="bibr" rid="bib1.bibx7" id="text.40"/>, whereby the unobstructed fraction of sky hemisphere is approximated as
            <disp-formula id="Ch1.E3" content-type="numbered"><label>3</label><mml:math id="M49" display="block"><mml:mtable rowspacing="0.2ex" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>≃</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mi mathvariant="italic">π</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:munderover><mml:mo movablelimits="false">∫</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mi mathvariant="italic">π</mml:mi></mml:mrow></mml:munderover><mml:mfenced close="" open="["><mml:mrow><mml:mi>cos⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub><mml:msup><mml:mi>sin⁡</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:msub><mml:mi>H</mml:mi><mml:mi mathvariant="italic">ϕ</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:mi>sin⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub><mml:mi>cos⁡</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mfenced open="" close="]"><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>H</mml:mi><mml:mi mathvariant="italic">ϕ</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mi>sin⁡</mml:mi><mml:msub><mml:mi>H</mml:mi><mml:mi mathvariant="italic">ϕ</mml:mi></mml:msub><mml:mi>cos⁡</mml:mi><mml:msub><mml:mi>H</mml:mi><mml:mi mathvariant="italic">ϕ</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mfenced><mml:mi>d</mml:mi><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
          for a point with slope <inline-formula><mml:math id="M50" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, aspect <inline-formula><mml:math id="M51" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, and horizon angle <inline-formula><mml:math id="M52" display="inline"><mml:mrow><mml:msub><mml:mi>H</mml:mi><mml:mi mathvariant="italic">ϕ</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (i.e., angular distance between zenith and local horizon along the generic azimuth direction <inline-formula><mml:math id="M53" display="inline"><mml:mi mathvariant="italic">ϕ</mml:mi></mml:math></inline-formula>). The terrain configuration, which quantifies the reflected radiation received by surrounding slopes in direct sight, can then be obtained as <inline-formula><mml:math id="M54" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mi mathvariant="normal">t</mml:mi></mml:msub><mml:mo>≃</mml:mo><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>+</mml:mo><mml:mi>cos⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>-</mml:mo><mml:msub><mml:mi>V</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> following the approach by <xref ref-type="bibr" rid="bib1.bibx7" id="paren.41"/>.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F7" specific-use="star"><?xmltex \currentcnt{7}?><?xmltex \def\figurename{Figure}?><label>Figure 7</label><caption><p id="d1e1775">Coefficient of determination <inline-formula><mml:math id="M55" 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 two different predictive models: multiple linear regression (MLR, blue lines) and random forest regression (RFR, red lines). Results are reported for varying averaging scales and cosines of the solar zenith angle (<inline-formula><mml:math id="M56" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>). The models were trained over the Peru site and tested over the same site (SS, continuous lines) and over the independent eastern Alps site for cross validation (CV, dashed lines).</p></caption>
          <?xmltex \igopts{width=497.923228pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/1937/2023/gmd-16-1937-2023-f07.png"/>

        </fig>

      <p id="d1e1807">While fields of <inline-formula><mml:math id="M57" display="inline"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M58" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mi mathvariant="normal">t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> can be computed offline for any given elevation map, the Sun's incidence angle on a surface does depend on the Sun's position through the local zenith and azimuth angles (<inline-formula><mml:math id="M59" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>)
            <disp-formula id="Ch1.E4" content-type="numbered"><label>4</label><mml:math id="M60" display="block"><mml:mtable class="split" rowspacing="0.2ex" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>/</mml:mo><mml:mi>cos⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:mi>cos⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>+</mml:mo><mml:mi>sin⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub><mml:mi>tan⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mi>cos⁡</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>+</mml:mo><mml:mi>sin⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:msub><mml:mi>sin⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:msub><mml:mi>cos⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
          where topographic information is encoded in the two terms <inline-formula><mml:math id="M61" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>sin⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub><mml:mi>sin⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub><mml:mo>/</mml:mo><mml:mi>cos⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M62" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>sin⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub><mml:mi>cos⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub><mml:mo>/</mml:mo><mml:mi>cos⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. Here <inline-formula><mml:math id="M63" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the cosine of the solar incidence angle (i.e., angle between the incoming direct light beam and the normal to the land surface), while <inline-formula><mml:math id="M64" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> is the cosine of the solar zenith angle (i.e., the incidence angle with respect to a horizontal plane).  Additionally, for parameterizing the effect of topography on diffuse radiation, we use a standardized elevation <inline-formula><mml:math id="M65" display="inline"><mml:mrow><mml:msub><mml:mi>h</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mfenced close=")" open="("><mml:mrow><mml:mi>h</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mo>/</mml:mo><mml:msub><mml:mi mathvariant="italic">σ</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> obtained by normalizing elevation based on its grid cell average <inline-formula><mml:math id="M66" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and standard deviation <inline-formula><mml:math id="M67" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">σ</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>.</p>
      <?pagebreak page1945?><p id="d1e2129">For the purpose of parameterizing solar fluxes, we divide these terrain variables by the local terrain slope obtaining the normalized variables <inline-formula><mml:math id="M68" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="italic">μ</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>/</mml:mo><mml:mi>cos⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M69" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>V</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>V</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mo>/</mml:mo><mml:mi>cos⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, and <inline-formula><mml:math id="M70" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>C</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">t</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mi mathvariant="normal">t</mml:mi></mml:msub><mml:mo>/</mml:mo><mml:mi>cos⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> as recommended by <xref ref-type="bibr" rid="bib1.bibx24" id="paren.42"/>. Note that while <inline-formula><mml:math id="M71" display="inline"><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mo>∈</mml:mo><mml:mo>[</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula>, the ratio <inline-formula><mml:math id="M72" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>V</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>V</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mo>/</mml:mo><mml:mi>cos⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> can sometimes be larger than 1.
In previous work <xref ref-type="bibr" rid="bib1.bibx23" id="paren.43"/> these terrain predictors are averaged over an area representative of an entire model grid cell and used as predictors to derive average correction terms <inline-formula><mml:math id="M73" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> for the five flux components introduced in Sect. <xref ref-type="sec" rid="Ch1.S2.SS1"/>. Here, high-resolution fields of these predictor variables are first computed based on the original 90 m digital elevation maps. These fields are then employed to inform the partitioning of the land domain into a set of tiles for which we expect topography to have a similar effect on radiation. This step is achieved using a hierarchical clustering methodology described next. Based on this partitioning, relations to predict the topographic effects on radiation (the <inline-formula><mml:math id="M74" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>'s) will be applied to each tile independently.</p>
</sec>
<sec id="Ch1.S2.SS4">
  <label>2.4</label><title>Hierarchical clustering of terrain properties</title>
      <p id="d1e2315">In order to capture the spatial variability of radiative fluxes, here we employ a hierarchical multivariate clustering approach (HMC) which was recently introduced to study the role of heterogeneity in hydrological and land models <xref ref-type="bibr" rid="bib1.bibx3 bib1.bibx4" id="paren.44"/>. Here we tailor HMC to the case of shortwave radiative fluxes by performing the land clustering based on terrain properties (namely <inline-formula><mml:math id="M75" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="italic">μ</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M76" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>V</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, and <inline-formula><mml:math id="M77" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>C</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>), which are known to modulate the downwelling radiation over mountains as discussed in the previous section.</p>
      <?pagebreak page1946?><p id="d1e2363">The land fraction of the study sites, which are chosen to represent an ESM grid cell that is typical in size, is first divided into a maximum of three components: soil, glacier, and lake. The soil fraction is then subdivided into a set of tiles characterized by homogeneous terrain properties relevant for capturing the effects of topography on radiative transfer. Additionally, lake and glacier areas, where present, are treated as individual separate tiles. We note that in the domains selected for this study, lake and glacier areas constitute a small fraction of the total grid cell area. When applying the methodology to areas where glaciers cover a large fraction of the grid cell, it may be useful to also partition glacier areas into multiple clusters. This can be done following the same methodology described here, since for the purpose of radiation–terrain interactions the only relevant parameter would be the average albedo of each cluster (land or glacier). In our approach, the land clustering is based on four terrain variables: normalized sky view factor, terrain configuration, <inline-formula><mml:math id="M78" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, and <inline-formula><mml:math id="M79" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. Note that these variables are independent of the Sun's position. Once the direction of the incoming beam is given (<inline-formula><mml:math id="M80" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M81" display="inline"><mml:mrow><mml:mi>cos⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>),  average values of <inline-formula><mml:math id="M82" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M83" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> over any given tile uniquely identify the solar incident angle for each point on the land surface by means of Eq. (<xref ref-type="disp-formula" rid="Ch1.E4"/>).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F8" specific-use="star"><?xmltex \currentcnt{8}?><?xmltex \def\figurename{Figure}?><label>Figure 8</label><caption><p id="d1e2451">Histograms of the distribution of 3D–PP incident radiation differences for varying number of tiles. Average 3D correction over each tile (orange) compared with the frequency distribution of the high-resolution field (blue histograms). Results are shown for the eastern Alps domain, for a given solar angle (<inline-formula><mml:math id="M84" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.4</mml:mn></mml:mrow></mml:math></inline-formula>).</p></caption>
          <?xmltex \igopts{width=369.885827pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/1937/2023/gmd-16-1937-2023-f08.png"/>

        </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F9" specific-use="star"><?xmltex \currentcnt{9}?><?xmltex \def\figurename{Figure}?><label>Figure 9</label><caption><p id="d1e2478">Effect of a different number of tiles for modeling the sub-grid variability of terrain properties over the study site. <bold>(a, b)</bold> Spatial distribution of the tiles representing homogeneous land units. Note that for this domain, in addition to the <inline-formula><mml:math id="M85" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> land clusters, there are two additional tiles corresponding to glaciers (tile 0) and lakes (tile 1), so that the resulting number of land units is 7 and 27 for <bold>(a)</bold> and <bold>(b)</bold>, respectively. <bold>(c, d)</bold> Spatial distribution of the terrain view factor (<inline-formula><mml:math id="M86" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>C</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) locally averaged over each tile.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/1937/2023/gmd-16-1937-2023-f09.png"/>

        </fig>

      <p id="d1e2525">A conceptual summary of this clustering procedure is described in Fig. <xref ref-type="fig" rid="Ch1.F3"/>. The digital elevation map (Fig. <xref ref-type="fig" rid="Ch1.F3"/>a) is used to compute the drainage network (Fig. <xref ref-type="fig" rid="Ch1.F3"/>e) necessary to partition the domain in basins (Fig. <xref ref-type="fig" rid="Ch1.F3"/>b, c) based on a threshold area of <inline-formula><mml:math id="M87" 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:mn mathvariant="normal">5</mml:mn></mml:msup><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>. Basins are in turn subdivided into hillslopes (Fig. <xref ref-type="fig" rid="Ch1.F3"/>f) following <xref ref-type="bibr" rid="bib1.bibx4" id="text.45"/>: each basin is divided into up to three contiguous hillslope elements, corresponding to the left side, right side, and headwaters.</p>
      <p id="d1e2562">Then, hillslope elements are aggregated into <inline-formula><mml:math id="M88" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula> “characteristic hillslopes” via k-means clustering <xref ref-type="bibr" rid="bib1.bibx30" id="paren.46"/> in the four-dimensional space of the variables <inline-formula><mml:math id="M89" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>V</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M90" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>C</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M91" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, and <inline-formula><mml:math id="M92" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. This enables us to obtain land units characterized by similar radiation–topography interactions. Figure <xref ref-type="fig" rid="Ch1.F3"/>g shows the spatial distribution of these characteristic hillslope clusters for the case <inline-formula><mml:math id="M93" display="inline"><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:math></inline-formula>.</p>
      <p id="d1e2646">Finally, each of these <inline-formula><mml:math id="M94" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula> land units is further partitioned into <inline-formula><mml:math id="M95" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> sub-units by a second application of the k-means clustering algorithm based on the four variables <inline-formula><mml:math id="M96" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>V</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M97" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>C</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M98" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, and <inline-formula><mml:math id="M99" display="inline"><mml:mrow><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. In Fig. <xref ref-type="fig" rid="Ch1.F3"/>h we show the result of this procedure, which yields 25 tiles in this example.</p>
      <p id="d1e2722">In this application any areas covered by glaciers or lakes are treated as separate land units. Therefore, in the current configuration the number of tiles (<inline-formula><mml:math id="M100" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) used to describe land heterogeneity within a single land model grid cell varies between <inline-formula><mml:math id="M101" display="inline"><mml:mrow><mml:mi>k</mml:mi><mml:mo>⋅</mml:mo><mml:mi>p</mml:mi></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M102" display="inline"><mml:mrow><mml:mi>k</mml:mi><mml:mo>⋅</mml:mo><mml:mi>p</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula> depending on the presence of lake and glacier units. The reason for the first step (subdivision of land in characteristic hillslopes) originates from the desire of partitioning land in hydrologically coherent units. In the context of shortwave radiation received by land, it is important to understand what the effects and the benefits of this multilevel clustering are. Therefore, we will test the methodology for different tile configurations over the same domains.</p>
      <p id="d1e2764">A natural test for the ability of the tiled grid to reproduce the actual spatial distribution of solar radiation can be performed as follows. We here test the results for multiple HMC configurations obtained by varying the number of characteristic hillslopes (<inline-formula><mml:math id="M103" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>), as well as the number of land units within each characteristic hillslope (<inline-formula><mml:math id="M104" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula>). For illustration purposes, we consider the following two cases: a fixed value of <inline-formula><mml:math id="M105" display="inline"><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:math></inline-formula> and a varying <inline-formula><mml:math id="M106" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> and the opposite (varying <inline-formula><mml:math id="M107" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>, setting <inline-formula><mml:math id="M108" display="inline"><mml:mrow><mml:mi>p</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:math></inline-formula>). This experiment leads to a set of grid configurations with a number of tiles per grid cell varying from <inline-formula><mml:math id="M109" display="inline"><mml:mn mathvariant="normal">5</mml:mn></mml:math></inline-formula> to <inline-formula><mml:math id="M110" display="inline"><mml:mn mathvariant="normal">1000</mml:mn></mml:math></inline-formula>, with different weights given to the first level (partitioning of land in hillslopes) and the second level, in which each characteristic hillslope is further subdivided into <inline-formula><mml:math id="M111" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> homogeneous land units contributing to the overall number of tiles <inline-formula><mml:math id="M112" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. This experiment thus elucidates the relative performance of the two different levels of the hierarchical clustering approach in capturing the spatial heterogeneity of the domain.</p>
      <p id="d1e2853">Therefore, based on this procedure, the land model grid cells are subdivided into a number of tiles <inline-formula><mml:math id="M113" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. A maximum of two additional tiles can be included representing lake and a glacier areas if these are present in a given grid cell. Glacier boundaries are determined using the GLIMS database <xref ref-type="bibr" rid="bib1.bibx38" id="paren.47"/>. Each tile is characterized by statistically homogeneous values of the variables of interest for 3D radiative transfer. Over each tile <inline-formula><mml:math id="M114" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, we then compute the average value of each predictor variable. For a generic variable  <inline-formula><mml:math id="M115" display="inline"><mml:mrow><mml:mi mathvariant="normal">Θ</mml:mi><mml:mo>∈</mml:mo><mml:mfenced close="}" open="{"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>V</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>C</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">t</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula> we have</p>
      <p id="d1e2943"><disp-formula id="Ch1.E5" content-type="numbered"><label>5</label><mml:math id="M116" display="block"><mml:mrow><mml:mo>〈</mml:mo><mml:mi mathvariant="normal">Θ</mml:mi><mml:msub><mml:mo>〉</mml:mo><mml:mi mathvariant="normal">t</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msubsup><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:msubsup><mml:msub><mml:mi>A</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:msub><mml:mi mathvariant="normal">Θ</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:msub><mml:mn mathvariant="double-struck">1</mml:mn><mml:mrow><mml:mi mathvariant="normal">t</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msubsup><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:msubsup><mml:msub><mml:mi>A</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:msub><mml:mn mathvariant="double-struck">1</mml:mn><mml:mrow><mml:mi mathvariant="normal">t</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          with the <inline-formula><mml:math id="M117" display="inline"><mml:mrow><mml:mo>&lt;</mml:mo><mml:mo>⋅</mml:mo><mml:msub><mml:mo>&gt;</mml:mo><mml:mi mathvariant="normal">t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> operator representing the operation of average over the points classified as part of tile t, <inline-formula><mml:math id="M118" display="inline"><mml:mrow><mml:msub><mml:mn mathvariant="double-struck">1</mml:mn><mml:mi mathvariant="normal">t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the indicator function selecting tile t (<inline-formula><mml:math id="M119" display="inline"><mml:mrow><mml:msub><mml:mn mathvariant="double-struck">1</mml:mn><mml:mrow><mml:mi mathvariant="normal">t</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> if pixel <inline-formula><mml:math id="M120" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula> of the high-resolution terrain map belongs to tile t, <inline-formula><mml:math id="M121" display="inline"><mml:mrow><mml:msub><mml:mn mathvariant="double-struck">1</mml:mn><mml:mrow><mml:mi mathvariant="normal">t</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula> otherwise). <inline-formula><mml:math id="M122" display="inline"><mml:mrow><mml:msub><mml:mi>A</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M123" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="normal">Θ</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> are the area and value of the property <inline-formula><mml:math id="M124" display="inline"><mml:mi mathvariant="normal">Θ</mml:mi></mml:math></inline-formula> computed for the <inline-formula><mml:math id="M125" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula>th pixel in a high-resolution terrain map with <inline-formula><mml:math id="M126" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> pixels. For the solar incidence angle, once the solar position is known we can write its average value over a tile t as
            <disp-formula id="Ch1.E6" content-type="numbered"><label>6</label><mml:math id="M127" display="block"><mml:mrow><mml:mo>〈</mml:mo><mml:msub><mml:mover accent="true"><mml:mi mathvariant="italic">μ</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mi>i</mml:mi></mml:msub><mml:msub><mml:mo>〉</mml:mo><mml:mi mathvariant="normal">t</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>+</mml:mo><mml:mi>sin⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mfenced open="(" close=")"><mml:mrow><mml:mo>〈</mml:mo><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mo>〉</mml:mo><mml:mi mathvariant="normal">t</mml:mi></mml:msub><mml:mi>sin⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>+</mml:mo><mml:mo>〈</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>a</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mo>〉</mml:mo><mml:mi mathvariant="normal">t</mml:mi></mml:msub><mml:mi>cos⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p id="d1e3242">Therefore, the average values of these quantities over each tile represent the “characteristic” value of the properties over that tile and can be used to summarize the effect of multi-scale radiative transfer over mountainous regions.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F10" specific-use="star"><?xmltex \currentcnt{10}?><?xmltex \def\figurename{Figure}?><label>Figure 10</label><caption><p id="d1e3247">Normalized differences between 3D and PP direct fluxes for high-resolution predictions <bold>(a)</bold> and predictions for different numbers of tiles (5, 25, 250) in panels <bold>(b, c, d)</bold>. The sub-grid tile structure was obtained here by keeping constant the number of characteristic hillslopes (<inline-formula><mml:math id="M128" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>), while varying the number of clusters in each hillslope (<inline-formula><mml:math id="M129" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula>).</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/1937/2023/gmd-16-1937-2023-f10.png"/>

        </fig>

</sec>
<sec id="Ch1.S2.SS5">
  <label>2.5</label><title>A predictive model for the flux correction terms</title>
      <p id="d1e3284">The final step needed in order to parameterize the effect of complex topography on incident shortwave radiation is specifying a predictive model to link the terrain variables defined in Sect. <xref ref-type="sec" rid="Ch1.S2.SS3"/> to the five flux components (Sect. <xref ref-type="sec" rid="Ch1.S2.SS1"/>). This step will enable us to extend the results of costly ray-tracing simulations at the global scale and provide predictive equations that can be directly applied to high-resolution terrain maps as well as to the local averages from the tiling structure defined in Sect. <xref ref-type="sec" rid="Ch1.S2.SS4"/>.</p>
      <p id="d1e3293">Here we focus on two different approaches, namely a multiple linear regression model (MLR, based on the previous LLH parameterization) and an alternative approach based on random forest regression (RFR). We explore these two distinct families of statistical models in order to evaluate the potential role on nonlinearity for different radiation flux terms, keeping in mind that MLR, the simpler statistical model, is in general to be preferred due to the greater ease of interpretation it provides and its reduced computational expense when employed in Earth system models.</p>
      <p id="d1e3296">MC photon-tracing simulations are performed at the native <inline-formula><mml:math id="M130" display="inline"><mml:mn mathvariant="normal">90</mml:mn></mml:math></inline-formula> m resolution of terrain products available. In the following analysis, results are coarsened at a range of spatial scales up to <inline-formula><mml:math id="M131" display="inline"><mml:mn mathvariant="normal">10</mml:mn></mml:math></inline-formula> km in order to test the robustness of the proposed parameterization to the spatial scale of the terrain variable used as predictors, and explore potential dependencies<?pagebreak page1947?> of radiation–topography interaction on the spatial scale considered. In each case, both MC simulation results and terrain properties are averaged at the same spatial resolution in order to train and test the predictive model at that specific spatial scale. MC simulations corresponding to the 3D case (i.e., over a three-dimensional surface) and over a flat surface (plane-parallel case, PP) were subtracted in order to compare the “true” flux deviations as defined in Eq. (<xref ref-type="disp-formula" rid="Ch1.E1"/>). Additionally, given the finite extension of the domain used in the MC simulations, spurious effects may be present due to the periodic boundary conditions imposed, especially for the lower values of solar zenith angle. To mitigate this issue, only the central part of each simulation domain (of size  <inline-formula><mml:math id="M132" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mo>×</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula>) is used to train the predictive model. A fraction of size <inline-formula><mml:math id="M133" display="inline"><mml:mn mathvariant="normal">0.2</mml:mn></mml:math></inline-formula> times the linear dimension of the domain in discarded at each boundary.</p>
      <p id="d1e3344">The MC simulations were repeated for varying zenith angles (from <inline-formula><mml:math id="M134" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.1</mml:mn></mml:mrow></mml:math></inline-formula> to <inline-formula><mml:math id="M135" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.85</mml:mn></mml:mrow></mml:math></inline-formula>) and four azimuth angles. The results for each azimuth are pulled together so that a single predictive model for each zenith angle is derived. For application to ESMs, the results should be interpolated when predictions for a generic zenith angle are needed.</p>
      <?pagebreak page1948?><p id="d1e3378">After training each model for each solar zenith angle and flux component, we obtain a set of predictive equations linking the <inline-formula><mml:math id="M136" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>'s (i.e., the normalized deviation between 3D and PP case) to the terrain predictors at the same spatial scale:</p>
      <p id="d1e3392"><disp-formula specific-use="gather" content-type="numbered"><mml:math id="M137" display="block"><mml:mtable displaystyle="true"><mml:mlabeledtr id="Ch1.E7"><mml:mtd><mml:mtext>7</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">dir</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mi mathvariant="normal">dir</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi><mml:mo>,</mml:mo><mml:mi>cos⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub><mml:mfenced open="(" close=")"><mml:mrow><mml:mo>〈</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>V</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:msub><mml:mo>〉</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo>〈</mml:mo><mml:msub><mml:mover accent="true"><mml:mi mathvariant="italic">μ</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mi>i</mml:mi></mml:msub><mml:msub><mml:mo>〉</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E8"><mml:mtd><mml:mtext>8</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">dif</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mi mathvariant="normal">dif</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi><mml:mo>,</mml:mo><mml:mi>cos⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub><mml:mfenced close=")" open="("><mml:mrow><mml:mo>〈</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>V</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:msub><mml:mo>〉</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo>〈</mml:mo><mml:msub><mml:mover accent="true"><mml:mi mathvariant="italic">μ</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mi>i</mml:mi></mml:msub><mml:msub><mml:mo>〉</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo>〈</mml:mo><mml:msub><mml:mi>h</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:msub><mml:mo>〉</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E9"><mml:mtd><mml:mtext>9</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">rdir</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mi mathvariant="normal">rdir</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi><mml:mo>,</mml:mo><mml:mi>cos⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub><mml:mfenced close=")" open="("><mml:mrow><mml:mo>〈</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>V</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:msub><mml:mo>〉</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo>〈</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>C</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">t</mml:mi></mml:msub><mml:msub><mml:mo>〉</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo>〈</mml:mo><mml:msub><mml:mover accent="true"><mml:mi mathvariant="italic">μ</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi>i</mml:mi></mml:msub><mml:msub><mml:mo>〉</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E10"><mml:mtd><mml:mtext>10</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">rdif</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mi mathvariant="normal">rdif</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi><mml:mo>,</mml:mo><mml:mi>cos⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub><mml:mfenced open="(" close=")"><mml:mrow><mml:mo>〈</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>V</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:msub><mml:mo>〉</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo>〈</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>C</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">t</mml:mi></mml:msub><mml:msub><mml:mo>〉</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr><mml:mlabeledtr id="Ch1.E11"><mml:mtd><mml:mtext>11</mml:mtext></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">coup</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mi mathvariant="normal">coup</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi><mml:mo>,</mml:mo><mml:mi>cos⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub><mml:mfenced open="(" close=")"><mml:mrow><mml:mo>〈</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>V</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">d</mml:mi></mml:msub><mml:msub><mml:mo>〉</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo>〈</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>C</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">t</mml:mi></mml:msub><mml:msub><mml:mo>〉</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo>〈</mml:mo><mml:msub><mml:mover accent="true"><mml:mi mathvariant="italic">μ</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi>i</mml:mi></mml:msub><mml:msub><mml:mo>〉</mml:mo><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

            where <inline-formula><mml:math id="M138" display="inline"><mml:mi>g</mml:mi></mml:math></inline-formula> represents the parametric relations linking flux correction terms to terrain variables for different predictive models (<inline-formula><mml:math id="M139" display="inline"><mml:mrow><mml:mi mathvariant="normal">m</mml:mi><mml:mo>=</mml:mo><mml:mi mathvariant="normal">MLR</mml:mi></mml:mrow></mml:math></inline-formula> or <inline-formula><mml:math id="M140" display="inline"><mml:mrow><mml:mi mathvariant="normal">m</mml:mi><mml:mo>=</mml:mo><mml:mi mathvariant="normal">RFR</mml:mi></mml:mrow></mml:math></inline-formula>). These equations are derived for each flux component, solar zenith angle <inline-formula><mml:math id="M141" display="inline"><mml:mrow><mml:mi>cos⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, and spatial scale <inline-formula><mml:math id="M142" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:math></inline-formula>. We note that these equations were derived for a single surface reflectivity value. The direct and diffuse flux components are independent of albedo. Reflected fluxes are linearly dependent on albedo, meaning that the predicted value can be rescaled by the surface albedo. Finally, <inline-formula><mml:math id="M143" display="inline"><mml:mrow><mml:msub><mml:mi>g</mml:mi><mml:mi mathvariant="normal">coup</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is nonlinearly dependent on the surface albedo, meaning that predictions for different albedo values can, e.g., be obtained by interpolation <xref ref-type="bibr" rid="bib1.bibx23" id="paren.48"/>. Once the <inline-formula><mml:math id="M144" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> dimensionless predictions are available, the dimensional value of shortwave fluxes over rugged terrain can finally be obtained from Eq. (<xref ref-type="disp-formula" rid="Ch1.E1"/>). In general, simply applying a correction to the downward radiation received by land will not ensure energy conservation. This is expected in general, as some of the 3D topographic effects parameterized here would in general lead to energy fluxes between neighboring land model grid cells. A procedure was proposed by <xref ref-type="bibr" rid="bib1.bibx25" id="paren.49"/> that can be used to address this issue. In this approach, an effective albedo <inline-formula><mml:math id="M145" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mrow><mml:mn mathvariant="normal">3</mml:mn><mml:mi mathvariant="normal">D</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is computed for each land grid cell, such that a grid cell characterized by this <inline-formula><mml:math id="M146" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mrow><mml:mn mathvariant="normal">3</mml:mn><mml:mi mathvariant="normal">D</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and forced by plane-parallel radiation (PP) absorbs the same amount of radiation as in the case of a surface characterized by actual land albedo <inline-formula><mml:math id="M147" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula>, while forced by the 3D-corrected downward radiation fluxes. By returning the 3D albedo (which effectively represents the reflectivity of a “rough” but flat land surface) to the atmosphere, energy is conserved while accounting for the 3D topographic correction.</p>
</sec>
</sec>
<?pagebreak page1949?><sec id="Ch1.S3">
  <label>3</label><title>Results and discussion</title>
<sec id="Ch1.S3.SS1">
  <label>3.1</label><title>Spatial distribution of solar irradiance</title>
      <p id="d1e3999">A representative output obtained from Monte Carlo ray-tracing simulations for the eastern Alps (EastAlps in Fig. 2) domain is portrayed in Fig. <xref ref-type="fig" rid="Ch1.F4"/>, featuring the spatial distribution of differences between 3D topography and  the PP case for a given incoming solar beam direction, while fields of the corresponding terrain variables for the same domain are reported in Fig. <xref ref-type="fig" rid="Ch1.F5"/>.</p>
      <p id="d1e4006">The direct flux appears to be prominently modulated by the presence of topography, with the distribution of shaded slopes following that of solar incident angles computed based on the solar angles for the current simulation (Fig. <xref ref-type="fig" rid="Ch1.F5"/>). In the case of the diffuse flux, differences between the 3D and PP simulations are less apparent, while a similar behavior is observed for the reflected flux components.</p>
      <p id="d1e4011">From visual inspection of these simulation results, it is apparent that the spatial variation in the direct flux is primarily controlled by the solar incident angle. The diffuse flux, on the other hand, shows a spatial variability primarily consistent with that of the sky view factor, as expected based on previous studies <xref ref-type="bibr" rid="bib1.bibx5" id="paren.50"/>. Reflected and coupled flux spatial variability appear to be more complex, potentially controlled by the terrain configuration. This exploratory analysis reveals that, with the sole exception of the direct flux component, variations in downward fluxes are arguably not explained by a single linear relation but can in general involve multiple terrain predictors and potentially nonlinear effects. This hypothesis will be tested in the next section by examining the skill of a linear and nonlinear model when describing these relationships.</p>
      <p id="d1e4017">For the direct flux, histograms of the normalized differences between PP and 3D simulations are featured in Fig. <xref ref-type="fig" rid="Ch1.F6"/>, where the simulation results have been aggregated at a range of increasing spatial averaging scales. For low solar zenith angles, the frequency distribution of <inline-formula><mml:math id="M148" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">dir</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> tends to have an atom at <inline-formula><mml:math id="M149" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>, a lower boundary value corresponding to the case of complete shade. This is clearly a limitation for the linear model approach, since this behavior imposes a nonlinear relation between <inline-formula><mml:math id="M150" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">dir</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and terrain variables (solar incident angle and sky view). However, averaging the results at increasing spatial scales we see this effect progressively diminishes, as the probability of a complete shade decreases. For both the domains examined in Fig. <xref ref-type="fig" rid="Ch1.F6"/>, this behavior is similar and similarly decreases with the cosine of the solar<?pagebreak page1950?> zenith angle. We note that at spatial scales larger than approximately <inline-formula><mml:math id="M151" display="inline"><mml:mn mathvariant="normal">5</mml:mn></mml:math></inline-formula> km the effect disappears. We note that it is a this range of scales that previous parameterization of 3D radiation over mountains were trained <xref ref-type="bibr" rid="bib1.bibx23" id="paren.51"/>.</p>
</sec>
<sec id="Ch1.S3.SS2">
  <label>3.2</label><title>Model evaluation: sensitivity to the spatial scale and role of nonlinear effects</title>
      <p id="d1e4075">To quantify the sensitivity of the proposed methodology on the resolution of terrain data, we aggregate the MC-simulated radiation fields and corresponding terrain variables fields at increasing spatial scales (<inline-formula><mml:math id="M152" display="inline"><mml:mrow><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub><mml:mo>∈</mml:mo><mml:mfenced open="{" close="}"><mml:mrow><mml:mn mathvariant="normal">0.5</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">5</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">10</mml:mn></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M153" display="inline"><mml:mrow><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula>), and in each case the predictive models are fit as described in Sect. <xref ref-type="sec" rid="Ch1.S2.SS5"/>, comparing the relative performance of multiple linear regressor and random forest predictions.</p>
      <p id="d1e4126">As shown in Fig. <xref ref-type="fig" rid="Ch1.F7"/>, the difference between RFR and MLR prediction skills is most relevant for the direct and direct-reflected flux components in the case of low solar zenith angles, and are also significant in the case of diffuse and coupled fluxes. In these two latter cases, the difference between RFR and MLR skills persists for all <inline-formula><mml:math id="M154" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> values and is thus not limited to cases where the Sun is relatively low on the horizon, as is the case for direct and direct-reflected fluxes. The reflected diffuse component is quite linear, as shown by the small difference between random forest and linear regressor predictive skills. For the direct-reflected flux this only happens for large enough values of the cosine of the solar zenith angle (<inline-formula><mml:math id="M155" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">0.55</mml:mn></mml:mrow></mml:math></inline-formula>).</p>
      <p id="d1e4157">The predictive model for the direct flux shows high values of coefficients of determination (<inline-formula><mml:math id="M156" 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>), with similar performance for RFR and MLR, indicating that a linear model is well suited to describe this quantity. The only discrepancy is observed for very low solar angles (<inline-formula><mml:math id="M157" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.1</mml:mn></mml:mrow></mml:math></inline-formula>), a case in which RFR outperforms the MLR. We believe this is primarily due to the effect of completely shaded areas in the domain, which are characterized by sharp transitions better described by an ensemble of decision trees due to the nonlinear behavior. We note that this effect is relevant only for comparatively small spatial scales (<inline-formula><mml:math id="M158" display="inline"><mml:mrow><mml:msub><mml:mi>L</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula>) and low solar angles and similarly impacts the direct-reflected flux, which as expected is modulated by the amount of direct light received at the surface. In the case of larger spatial averaging scales and larger solar angles, the MLR describes the direct flux with great accuracy. Moreover, the poorer model performance at the low solar angles is mitigated by the fact that these conditions (e.g., dusk and dawn) generally account for a small fraction of the irradiance received by land over most geographic locations and times of the year.</p>
      <p id="d1e4204">Reflected direct and reflected diffuse fluxes also exhibit a clear linear dependence on the terrain predictors, with MLR and RFR having similar <inline-formula><mml:math id="M159" 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 at all averaging scales and solar angles, with the only difference between the two approaches again appearing for the reflected direct flux for very small solar angles.</p>
      <p id="d1e4219">Appreciable differences between MLR and RFR are observed for diffuse and coupled fluxes. In these cases, it appears that diffuse radiation is better described by a nonlinear model, as is the case for irradiance originating from multiple reflections at the ground and atmospheric scattering (<inline-formula><mml:math id="M160" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">coup</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>). In these cases, consistent with previous findings by <xref ref-type="bibr" rid="bib1.bibx23" id="paren.52"/>, the predictive ability of linear models is lower.</p>
      <p id="d1e4236">These out-of-sample results were obtained using training data from the Peru domain and testing data from the eastern Alps domain. For completeness, we also ran the opposite configuration (switching training and testing domains) and found similar results.</p>
      <p id="d1e4239">In all cases in which predictive skills of MLR and RFR diverge, we observe that when comparing in-sample and out-of-sample performance the loss of predictive skill is larger in the case of RFR. This finding is not surprising. Given the additional model complexity of the RFR approach with respect to MLR, our analysis confirms that it is more prone to overfitting the calibration dataset. Once this overfitting tendency is accounted for, our analysis selects the MLR as model of choice since applications of the methodology do inevitably require extrapolation of the results to new domains.</p>
      <p id="d1e4242">Based on these results, we generally recommend the adoption of the linear regression models at least for direct and reflected fluxes, given the good performance and model simplicity. Applications of RFR are in principle possible in ESMs, and it has been shown here to have good predictive performance for this specific problem. However, this comes at the cost of a lower interpretability, and based on the present analysis here RFR is not the model of choice, given the limited increase in predictive skill with respect to MLR, especially when tested in cross validation.</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="d1e4247">Normalized differences between 3D and PP diffuse fluxes for high-resolution predictions <bold>(a)</bold> and predictions for different numbers of tiles (5, 25, 250) in panels <bold>(b, c, d)</bold>. The sub-grid tile structure was obtained here by keeping constant the number of characteristic hillslopes (<inline-formula><mml:math id="M161" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>), while varying the number of clusters in each hillslope (<inline-formula><mml:math id="M162" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula>).</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/1937/2023/gmd-16-1937-2023-f11.png"/>

        </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F12" specific-use="star"><?xmltex \currentcnt{12}?><?xmltex \def\figurename{Figure}?><label>Figure 12</label><caption><p id="d1e4279">Convergence to the high-resolution terrain properties (slope orientation, sky view, and terrain view) obtained by increasing the number of tiles used in the parameterization. Two different tiling schemes are shown, obtained by fixing the number of hillslopes (<inline-formula><mml:math id="M163" display="inline"><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:math></inline-formula>) and varying that of sub-grid units <inline-formula><mml:math id="M164" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> (continuous lines) or by fixing <inline-formula><mml:math id="M165" display="inline"><mml:mrow><mml:mi>p</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:math></inline-formula> and varying <inline-formula><mml:math id="M166" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula> (dashed lines). Results are reported for terrain variables.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/1937/2023/gmd-16-1937-2023-f12.png"/>

        </fig>

</sec>
<sec id="Ch1.S3.SS3">
  <label>3.3</label><title>Nonlinearity and effect of averaging for the direct flux</title>
      <p id="d1e4334">The direct flux component is characterized by a nonlinear behavior in the case of completely shaded areas.</p>
      <p id="d1e4337">This behavior should be taken into account in our model, as averaging terrain properties over tiles with varying characteristic size and spatial configuration would lead in general to changes in the average predicted <inline-formula><mml:math id="M167" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">dir</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> for a given tile if model predictions are averaged over areas that include partial shades in the high-resolution true field. One possible way to capture this behavior is to predict <inline-formula><mml:math id="M168" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">dir</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> first over an entire grid cell to obtain its average value and then impose the rule that tile-by-tile predictions must match the average value of the direct flux correction over the entire grid cell (<inline-formula><mml:math id="M169" display="inline"><mml:mrow><mml:mo>〈</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>f</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">dir</mml:mi></mml:msub><mml:mo>〉</mml:mo></mml:mrow></mml:math></inline-formula>). This can be achieved through the following transformation for a generic tile <inline-formula><mml:math id="M170" display="inline"><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. We define the corrected value <inline-formula><mml:math id="M171" display="inline"><mml:mover accent="true"><mml:mrow><mml:msubsup><mml:mi>f</mml:mi><mml:mi mathvariant="normal">dir</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>i</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover></mml:math></inline-formula> as
            <disp-formula id="Ch1.E12" content-type="numbered"><label>12</label><mml:math id="M172" display="block"><mml:mrow><mml:msubsup><mml:mover accent="true"><mml:mi>f</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">dir</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>i</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mo>〈</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">dir</mml:mi></mml:msub><mml:mo>〉</mml:mo><mml:mo>+</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:mo>〈</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>f</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">dir</mml:mi></mml:msub><mml:mo>〉</mml:mo><mml:mo>-</mml:mo><mml:msubsup><mml:mover accent="true"><mml:mi>f</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">dir</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="normal">min</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:mfenced><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msubsup><mml:mi>f</mml:mi><mml:mi mathvariant="normal">dir</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>i</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:mo>〈</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">dir</mml:mi></mml:msub><mml:mo>〉</mml:mo></mml:mrow><mml:mrow><mml:mo>〈</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">dir</mml:mi></mml:msub><mml:mo>〉</mml:mo><mml:mo>-</mml:mo><mml:msubsup><mml:mi>f</mml:mi><mml:mi mathvariant="normal">dir</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="normal">min</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <?pagebreak page1951?><p id="d1e4539">This correction was obtained by imposing the rule that the <inline-formula><mml:math id="M173" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>f</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">dir</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> values predicted by the model for each tile conserve the grid-cell-average value, by correcting the original value <inline-formula><mml:math id="M174" display="inline"><mml:mrow><mml:mo>〈</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">dir</mml:mi></mml:msub><mml:mo>〉</mml:mo><mml:mo>=</mml:mo><mml:msubsup><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">t</mml:mi></mml:msub></mml:mrow></mml:msubsup><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:msubsup><mml:mi>f</mml:mi><mml:mi mathvariant="normal">dir</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>i</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula>, with <inline-formula><mml:math id="M175" display="inline"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> the fractional area of the grid cell assigned to tile <inline-formula><mml:math id="M176" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula>. This transformation also preserves the minimum value over the grid cells, meaning that <inline-formula><mml:math id="M177" display="inline"><mml:mrow><mml:msubsup><mml:mover accent="true"><mml:mi>f</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">dir</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="normal">min</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mi>f</mml:mi><mml:mi mathvariant="normal">dir</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="normal">min</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mi mathvariant="normal">min</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">t</mml:mi></mml:msub></mml:mrow></mml:msubsup><mml:msubsup><mml:mi>f</mml:mi><mml:mi mathvariant="normal">dir</mml:mi><mml:mrow><mml:mo>(</mml:mo><mml:mi>i</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:msubsup></mml:mrow></mml:math></inline-formula>. For other flux variables this correction is not necessary if a linear model is used for predicting their average values over tiles (as done here).</p>
      <p id="d1e4689">Figure <xref ref-type="fig" rid="Ch1.F8"/> shows the frequency distribution of corrections for the various flux terms that vary in their number of tiles. In particular, for the direct flux the distribution of tile-by-tile estimates is shown to converge with the histograms of the full high-resolution results for <inline-formula><mml:math id="M178" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">t</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">250</mml:mn></mml:mrow></mml:math></inline-formula> tiles. Thus, application of the correction given in Eq. (<xref ref-type="disp-formula" rid="Ch1.E12"/>) allows us to preserve the grid-cell-average correction while adequately representing the sub-grid-scale variability of <inline-formula><mml:math id="M179" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">dir</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>.</p>
</sec>
<sec id="Ch1.S3.SS4">
  <label>3.4</label><title>Model sensitivity to the number of tiles used</title>
      <p id="d1e4730">The predictive model can be used to produce tile-by-tile estimate of flux differences and compare results with those predicted for the original high-resolution terrain map. We repeat this analysis for different configurations of the hierarchical clustering scheme to test the sensitivity of the results to the number of tiles used to characterize domain heterogeneity. While the MC simulations were performed over two domains only, here we perform the clustering analysis over all three domains, comparing predictions obtained by applying the 3D radiation corrections to the original high-resolution terrain data with the same approach to the sub-grid tiling structures for a varying number of land clusters. We expect a larger number of tiles to lead to a better representation of the flux component over rugged terrain. However, a number of tiles that is too high would not be feasible for running ESMs over large domains or the entire globe.</p>
      <p id="d1e4733">An example of the spatial distribution of tiles obtained by applying the HMC algorithm is reported in Fig. <xref ref-type="fig" rid="Ch1.F9"/> for the eastern Alps domain, where the land domain is partitioned into 5 and 25 clusters. Two additional tiles are used to represent lakes and glaciers, which are present over this domain, albeit accounting for a small fraction of the surface. Once the tiled grid is defined using the HMC method, local averages of terrain parameters can be computed directly over each land unit. For example, the lower panels in Fig. <xref ref-type="fig" rid="Ch1.F9"/> show the spatial distributions of the terrain view factor <inline-formula><mml:math id="M180" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>C</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) averaged over each tile, showing that the larger number of tiles greatly improves the representation of the spatial variability of topography.</p>
      <?pagebreak page1952?><p id="d1e4754">We then tested the ability of the tiled grid when reproducing the actual spatial distribution of solar radiation by first examining the results obtained by separately varying the number of characteristic hillslopes <inline-formula><mml:math id="M181" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula> (while keeping <inline-formula><mml:math id="M182" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> fixed) and comparing the results with the results for variable <inline-formula><mml:math id="M183" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> and fixed <inline-formula><mml:math id="M184" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>. This analysis is intended to test the robustness of the method to different sub-grid land partitioning schemes.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F13" specific-use="star"><?xmltex \currentcnt{13}?><?xmltex \def\figurename{Figure}?><label>Figure 13</label><caption><p id="d1e4788">Convergence to the high-resolution radiation fields (direct, diffuse, reflected direct, and reflected diffuse differences between 3D and PP cases). Results are obtained by increasing the number of tiles used in the parameterization. Two different tiling schemes are shown obtained by fixing the number of hillslopes (<inline-formula><mml:math id="M185" display="inline"><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:math></inline-formula>) and varying that of sub-grid units <inline-formula><mml:math id="M186" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> (continuous lines) or fixing <inline-formula><mml:math id="M187" display="inline"><mml:mrow><mml:mi>p</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:math></inline-formula> and varying <inline-formula><mml:math id="M188" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula> (dashed lines). Results are reported for normalized flux differences.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/1937/2023/gmd-16-1937-2023-f13.png"/>

        </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F14" specific-use="star"><?xmltex \currentcnt{14}?><?xmltex \def\figurename{Figure}?><label>Figure 14</label><caption><p id="d1e4837">Downward radiation differences between 3D and PP fluxes for high-resolution predictions <bold>(a, c)</bold> and predictions using five tiles <bold>(b, d)</bold> for each flux component. Results are shown for a representative case of clear-sky conditions, and <inline-formula><mml:math id="M189" display="inline"><mml:mrow><mml:mi>cos⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.4</mml:mn></mml:mrow></mml:math></inline-formula> is used for direct flux <bold>(a, b)</bold> and reflected direct flux <bold>(c, d)</bold>.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/1937/2023/gmd-16-1937-2023-f14.png"/>

        </fig>

      <p id="d1e4875">Figures <xref ref-type="fig" rid="Ch1.F10"/> and <xref ref-type="fig" rid="Ch1.F11"/> show how increasing the number of land tiles improves the description of the direct flux and diffuse flux components, respectively, over the eastern Alps domain. Note that the same disaggregation of the domain in tiles is used for predicting the distribution of both variables. Even in the case of a fairly low number of tiles (e.g., five tiles in Figs.<xref ref-type="fig" rid="Ch1.F10"/>b and <xref ref-type="fig" rid="Ch1.F11"/>b) the sub-grid structure is able to capture the main feature of both direct and diffuse radiation fields, even though their variations are known to be controlled by different terrain properties (primarily aspect and sky view, respectively, as can be seen by the spatial distribution of direct<?pagebreak page1953?> and diffuse fluxes in the high-resolution results). For both <inline-formula><mml:math id="M190" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">dir</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M191" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">dif</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, the tile-by-tile predictions appear to converge to the original high-resolution field when increasing the number of tiles (results for <inline-formula><mml:math id="M192" display="inline"><mml:mn mathvariant="normal">25</mml:mn></mml:math></inline-formula> and <inline-formula><mml:math id="M193" display="inline"><mml:mn mathvariant="normal">250</mml:mn></mml:math></inline-formula> tiles are shown in the lower panels of Figs. <xref ref-type="fig" rid="Ch1.F10"/> and <xref ref-type="fig" rid="Ch1.F11"/>). Note that this result is quite significant, since for the domain examined here the number of points needed to obtain the high-resolution field without using a clustering approach would be on the order of <inline-formula><mml:math id="M194" display="inline"><mml:mrow><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">6</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> (for a <inline-formula><mml:math id="M195" display="inline"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mo>×</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> grid cell at the native <inline-formula><mml:math id="M196" display="inline"><mml:mrow><mml:mn mathvariant="normal">90</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> resolution of SRTM data).</p>
      <p id="d1e4970">To obtain a more quantitative description of the convergence to the high-resolution fields, we show how spatial statistics of the radiation fields (spatial standard deviation <inline-formula><mml:math id="M197" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">σ</mml:mi><mml:mi>x</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, skewness <inline-formula><mml:math id="M198" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">γ</mml:mi><mml:mi>x</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, and kurtosis <inline-formula><mml:math id="M199" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ξ</mml:mi><mml:mi>x</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) vary with increasing tile count with respect to the same statistics computed for the reference high-resolution field.</p>
      <p id="d1e5006">For all the terrain predictors (Fig. <xref ref-type="fig" rid="Ch1.F12"/>) we find that when increasing the number of tiles, the spatial variability of terrain predictors converges to that of original high-resolution<?pagebreak page1954?> fields as expected. However, this convergence appears to be faster for the solar incidence angle when compared to <inline-formula><mml:math id="M200" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>V</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M201" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>C</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi mathvariant="normal">t</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. Higher-order statistics of the spatial fields (skewness and kurtosis) also tend to converge to the high-resolution field values, albeit with a larger variability. While spatial standard deviation is generally used as a metric for assessing spatial variability, examining skewness and kurtosis helps to make sure the entire distribution of tile-by-tile results converges to the high-resolution benchmark, since they better capture asymmetry and extremes in tile values. However, we note that these metrics are not very meaningful for the smallest number of tiles shown in Fig. <xref ref-type="fig" rid="Ch1.F12"/>) due to the small sample size. However, the fact that for a large enough number of tiles (e.g., <inline-formula><mml:math id="M202" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">t</mml:mi></mml:msub><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">20</mml:mn></mml:mrow></mml:math></inline-formula>) these metrics appear to converge to the true values increases our confidence that the hierarchical clustering scheme provides a good description of the topography heterogeneity.</p>
      <p id="d1e5057">For the flux variables (Fig. <xref ref-type="fig" rid="Ch1.F13"/>) we find a similar behavior, with convergence of the spatial standard deviation being generally faster than that of higher-order statistics. In this case, the convergence is faster for the direct flux and slower for all other flux component, as expected since <inline-formula><mml:math id="M203" display="inline"><mml:mrow><mml:msub><mml:mi>F</mml:mi><mml:mi mathvariant="normal">dir</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is primarily controlled by <inline-formula><mml:math id="M204" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="italic">μ</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, while the other flux components show a relevant dependence on either the sky view factor or terrain configurations.</p>
      <p id="d1e5087">To further analyze the configuration of the tiling structure used, we also tested different tiling configurations obtained by fixing the number of characteristic hillslopes (<inline-formula><mml:math id="M205" display="inline"><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:math></inline-formula>) and varying the number of lower-level land units in each hillslope (<inline-formula><mml:math id="M206" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula>) or conversely varying <inline-formula><mml:math id="M207" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula> with <inline-formula><mml:math id="M208" display="inline"><mml:mrow><mml:mi>p</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:math></inline-formula> fixed. Results from both of these approaches are reported in Figs. <xref ref-type="fig" rid="Ch1.F12"/> and <xref ref-type="fig" rid="Ch1.F13"/>. We find that generally convergence is faster using a larger <inline-formula><mml:math id="M209" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula>, i.e., dividing each characteristic slope in a larger number of tiles as opposed to increasing the number of characteristic hillslopes. This is not surprising. However, differences are generally small, and therefore the model proposed appears flexible and can in principle be applied with tiling that has been predefined in order to also accommodate for other physical processes.</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="d1e5142">The same as Fig. <xref ref-type="fig" rid="Ch1.F14"/> for diffuse, reflected diffuse, and coupled flux components.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/1937/2023/gmd-16-1937-2023-f15.png"/>

        </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F16" specific-use="star"><?xmltex \currentcnt{16}?><?xmltex \def\figurename{Figure}?><label>Figure 16</label><caption><p id="d1e5155">Downward radiation differences between 3D and PP fluxes for high-resolution predictions <bold>(a, c, e)</bold> and predictions using five tiles <bold>(b, d, f)</bold> for each flux component. Results are shown for a representative case of cloudy-sky conditions and <inline-formula><mml:math id="M210" display="inline"><mml:mrow><mml:mi>cos⁡</mml:mi><mml:msub><mml:mi mathvariant="italic">θ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.4</mml:mn></mml:mrow></mml:math></inline-formula>. Direct and reflected direct fluxes are zero in this case.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/1937/2023/gmd-16-1937-2023-f16.png"/>

        </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F17"><?xmltex \currentcnt{17}?><?xmltex \def\figurename{Figure}?><label>Figure 17</label><caption><p id="d1e5190">Comparison between grid average estimates of <inline-formula><mml:math id="M211" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">dir</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> obtained by averaging the tile-by-tile corrections and by applying the predictive model for <inline-formula><mml:math id="M212" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">dir</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> to the grid-cell-average terrain parameter predictors. Results are shown for the eastern Alps site for <inline-formula><mml:math id="M213" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> varying from 0.1 to 0.85 and solar azimuth <inline-formula><mml:math id="M214" display="inline"><mml:mrow><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mo>=</mml:mo><mml:mi mathvariant="italic">π</mml:mi><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula>.</p></caption>
          <?xmltex \igopts{width=227.622047pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/16/1937/2023/gmd-16-1937-2023-f17.png"/>

        </fig>

</sec>
<sec id="Ch1.S3.SS5">
  <label>3.5</label><title>Magnitude of predicted fluxes over varying atmospheric conditions</title>
      <p id="d1e5257">The presence of clouds adds considerable complexity to the problem of radiation–topography interactions and has not been considered in our work. A complete understanding of 3D land–atmosphere interactions would require us to<?pagebreak page1955?> extend our analysis to a large range of atmospheric conditions, which would be computationally costly, requiring a large number of ray-tracing simulations, and would arguably lead to a more complex parameterization requiring a larger number of parameters to estimate 3D topographic radiation corrections. Previous work such as <xref ref-type="bibr" rid="bib1.bibx23" id="paren.53"/> also focused on clear-sky conditions. Although obtained assuming fixed atmospheric properties, the 3D terrain corrections for radiation fluxes have been formulated in dimensionless form (Eq. <xref ref-type="disp-formula" rid="Ch1.E1"/>) so that they can be applied as a first-order correction to radiation received by land over varying atmospheric conditions. In different atmospheric conditions (clear vs. cloudy sky), the relative magnitude of the five radiation flux components can vary substantially. To show the magnitude of these changes, here we compute the magnitude of the flux 3D effects in dimensional form for the case of “clear sky” (i.e., aerosols but not clouds) and “total sky”, i.e., atmospheric column with cloud cover and aerosol. These computations were made using the Fu–Liou radiative transfer scheme <xref ref-type="bibr" rid="bib1.bibx13" id="paren.54"/> using a standard midlatitude summer atmospheric profile.</p>
      <p id="d1e5268">Results for clear-sky conditions are shown in Figs. <xref ref-type="fig" rid="Ch1.F14"/> and <xref ref-type="fig" rid="Ch1.F15"/>, while the case of cloudy sky is shown in Fig. <xref ref-type="fig" rid="Ch1.F16"/>. While the overall downward flux is smaller in the case of cloudy sky, the direct and reflected direct fluxes are zero, meaning that the entire downward flux is comprised of diffuse,<?pagebreak page1956?> reflected diffuse, and coupled components. For the coupled flux, the spatial variations are similar in the two cases, with the most frequent values in the range <inline-formula><mml:math id="M215" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula> to <inline-formula><mml:math id="M216" display="inline"><mml:mrow><mml:mn mathvariant="normal">8</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">Wm</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>. For diffuse fluxes the clear-sky case is characterized by larger magnitude of 3D topographic effects, and this difference is even more marked in the case of reflected diffuse fluxes.</p>
</sec>
<sec id="Ch1.S3.SS6">
  <label>3.6</label><title>Compatibility with existing sub-grid tiling schemes</title>
      <?pagebreak page1957?><p id="d1e5312">The approach proposed in this paper to design a sub-grid structure was developed keeping in mind the necessity of describing not only radiation but also other physical processes at the sub-grid scale. The GFDL model, as with several current-generation ESMs, resolves each sub-grid tile as a single “column” coupled with the atmosphere. Therefore, these tiles should be flexible enough to meet the constraints posed by different physical processes. In our case, a single-level terrain clustering would suffice for the purpose of parameterizing 3D radiation–topography interactions. However, the multi-level clustering used here is flexible enough to accommodate multiple physical processes. For example, the outer-level clustering (i.e., the partition of the domain in <inline-formula><mml:math id="M217" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula> characteristic hillslopes) is designed to obtain hydrologically coherent units so that processes like runoff and groundwater flow can be resolved in each homogeneous land unit <xref ref-type="bibr" rid="bib1.bibx4" id="paren.55"/>. Here we include this flexible sub-grid structure, and in our sensitivity study (Fig. <xref ref-type="fig" rid="Ch1.F13"/>) we compare different specifications of <inline-formula><mml:math id="M218" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M219" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> (number of characteristic hillslopes and number of inner clusters within each hillslope, respectively) to test the sensitivity of our parameterization to these changes in sub-grid structure, finding that our results are robust to the specific tile structure selected. Finally, it is possible that other variables may need to be added to the clustering to account for sub-grid heterogeneity of other processes (e.g., land use or soil properties). This can be directly done with the framework used here at the price of an increase in the number of tiles used. Producing an effective global-scale model grid able to meet these demands is possible but requires inevitable tradeoffs. The analysis in this paper contributes to this effort by quantifying the number of tiles needed over mountainous terrain for the sole purpose of capturing the spatial variability in shortwave radiation. We note that in the case of the GFDL ESM, the model infrastructure is already suited for grids of this type, which can be characterized by an uneven number of sub-grid units in different grid cells depending on the local terrain properties. At the model start, the land grid cells can be distributed among available processors based on the estimated workload needed for each of the cells, assuming that computational cost is proportional to the number of sub-grid units. Therefore, the work per processor is roughly the same, and the imbalance resulting from this uneven grid structure is minimized.</p>
</sec>
<sec id="Ch1.S3.SS7">
  <label>3.7</label><title>Comparison with grid-cell-average correction</title>
      <p id="d1e5349">The parameterization developed here can in principle be applied both to high-resolution terrain partitioned into tiles and to the original grid cell area. However, our analysis of the model goodness of fit (Fig. <xref ref-type="fig" rid="Ch1.F7"/>) shows that the predictive models at different spatial resolutions (i.e., spatial averaging scales) show varying performance that improves with spatial scale. Therefore, according to this analysis, the model predictions for 3D effects over an entire grid cell have the best performance. However, this comes at the cost of losing information about the sub-grid scales. Based on these considerations, it would be desirable to have a model with the best accuracy over an entire grid cell that is at the same time able to describe tile-by-tile spatial variations in radiation fluxes received at the surface. In order for this to be possible, the parameterization developed here should be able to yield the same results when (i) applied to each tile separately and then averaged over the grid cell and (ii) applied to the grid average terrain predictors. We found that the parameterizations proposed here have this property for four flux components (diffuse, coupled, and reflected fluxes) but not for the direct flux. This is because the behavior of the parameterization in the case of completely shaded areas (for which <inline-formula><mml:math id="M220" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">dir</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> assumes the lower bound value <inline-formula><mml:math id="M221" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>) is not constant across averaging scales due to the varying area of hill shades. We show this behavior in Fig. <xref ref-type="fig" rid="Ch1.F17"/>, where once averaged over an entire grid cell, the results of the tile-by-tile parameterization for the direct flux appear to overestimate the grid-cell-average 3D topographic effect with respect to the grid-cell-average estimate of <inline-formula><mml:math id="M222" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">dir</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. This discrepancy can be resolved by the use of Eq. (<xref ref-type="disp-formula" rid="Ch1.E12"/>) which, once applied to the direct flux, allows us to impose the tile-by-tile correction to match the grid-cell-average correction. The result of this correction is shown in Fig. <xref ref-type="fig" rid="Ch1.F17"/>. Therefore, once this correction is employed for the direct flux, this approach can at the same time conserve the area-average effect while providing information about the sub-grid variability of the radiative fluxes.</p>
</sec>
<sec id="Ch1.S3.SS8">
  <label>3.8</label><title>Discussion of the dependence on albedo and its spatial variability</title>
      <p id="d1e5401">The methodology described here has been developed for a surface with a uniform and fixed albedo value. For applying the methodology to an ESM, the radiation corrections which are albedo dependent (reflected and coupled fluxes) should be evaluated for the specific surface albedo value as discussed in Sect. <xref ref-type="sec" rid="Ch1.S2.SS5"/>. However, in the presence of surfaces with spatially varying reflectivity, it is inevitable that different land tiles in the same grid cell will be characterized by different albedo values. For example, this can happen in the case of partial snow cover or in the case of different<?pagebreak page1958?> vegetation types along a gradient in elevation. While here the 3D radiation correction is applied to each tile independently, it is expected that reflected and coupled fluxes should include contributions from nearby tiles characterized by different albedo values. At present our methodology does not explicitly address these interactions between tiles with different albedo. We note here two main difficulties in constructing such a model. First, its validation would require an extensive set of costly MC simulations to train the model over surfaces with varying reflectivity. Second, explicitly accounting for the reflectivity of nearby slopes may require a more complex statistical model, and it would not be easy task given the complex geometry of the tile structure adopted in our work. Solving these two important challenges should be object of future research.</p>
</sec>
</sec>
<sec id="Ch1.S4" sec-type="conclusions">
  <label>4</label><title>Conclusions</title>
      <p id="d1e5415">Here we describe a methodology to compute solar fluxes over mountainous terrain, accounting for the sub-grid variability of topographic properties within a characteristic ESM grid cell. Topographic parameters modulating the incident solar irradiance, combined with results from Monte Carlo radiation simulation over 3D surface, are used to train a predictive model and cluster land surface based on topography–radiation interactions. The methodology as presented here is tailored to a tiling structure scheme recently introduced in the GFDL land model LM4.1 to describe the heterogeneity of hydrological properties. However, we believe this approach could be suitable for applications to other land surface models, as the clustering technique used here allows for a parsimonious description of the spatially varying solar fluxes. For this reason, we tested the sensitivity of the approach to the number of tiles used over independent sites characterized by complex topography. The results appear consistent over different geographical domains and indicate that even a limited number of tiles can reproduce a significant fraction of the spatial variability observed in the high-resolution fields. This result is particularly relevant when compared with standard approaches focused on increasing the land model resolution without adopting a clustering-based approach to construct a sub-grid land structure. Increasing the number of tiles improves not only the representation of spatial variances but also the convergence of higher-order statistics. However, even when using a lower number of tiles, the results remain consistent with previously developed grid-cell-average corrections (i.e., the methodology can ensure that the grid-cell-average correction is downward radiation is conserved) and thus are to be considered an improvement with respect to current plane-parallel radiative transfer. Here we found that even a limited number of tiles (<inline-formula><mml:math id="M223" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">t</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">10</mml:mn></mml:mrow></mml:math></inline-formula>) recovers a large fraction (<inline-formula><mml:math id="M224" display="inline"><mml:mrow><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">60</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="italic">%</mml:mi></mml:mrow></mml:math></inline-formula>) of the spatial variance of irradiance over high-elevation mountain domains. However, we find that a larger number of sub-grid units (on the order of <inline-formula><mml:math id="M225" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">t</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">100</mml:mn></mml:mrow></mml:math></inline-formula>) would lead to a further significant improvement. Further increasing the number of tiles above <inline-formula><mml:math id="M226" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">t</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">100</mml:mn></mml:mrow></mml:math></inline-formula> would lead to more modest improvements at the price of a much larger number of tiles required, as shown by the convergence analysis. Therefore, an optimal number of tiles could be between 10 and 100. Using such a large number of tiles in a global model would be ambitious at present due to its computational cost. However, we note that a global grid can be constructed by coarsening the sub-grid tile structure in an area with little or no topography and using more tiles in areas of complex terrain. Following this approach, constructing a global grid with a global average number of tiles between <inline-formula><mml:math id="M227" display="inline"><mml:mn mathvariant="normal">5</mml:mn></mml:math></inline-formula> and <inline-formula><mml:math id="M228" display="inline"><mml:mn mathvariant="normal">20</mml:mn></mml:math></inline-formula> (over land <inline-formula><mml:math id="M229" display="inline"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mo>×</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:mrow></mml:math></inline-formula> grid cells) is certainly in reach.</p>
      <p id="d1e5511">The current methodology, as well as previous studies on the topic (e.g., <xref ref-type="bibr" rid="bib1.bibx5 bib1.bibx23" id="altparen.56"/>), employed Monte Carlo simulations based on clear-sky conditions. Studying the effects of aerosols and cloud on the radiative transfer over complex terrain remains an open research avenue. In particular, the presence of spatially varying cloud cover could profoundly influence the spatial distribution of irradiance over mountainous terrain. However, in addition to the numerical challenges connected to the radiative transfer problem, including a spatially varying cloud cover would inevitably increase the number of parameters needed to parameterize the radiation received by the surface, thus posing a relevant parameterization challenge.</p>
      <p id="d1e5517">Studying the relationship between terrain predictors and irradiance differences between 3D and PP cases allowed us to quantify the importance of nonlinear effects and the relative skill of linear models and random forest predictors in capturing these relationships. We found that nonlinear effects are relevant primarily at the finer spatial scales and decrease drastically with spatial averages at increasing spatial scales. This result is consistent with previous investigations at coarser spatial scales based on linear models.</p>
      <p id="d1e5520">Based on our simulation study over a set mountainous domains, we quantified the difference in downward fluxes originating from topographic effects with respect to those obtained from traditional plane-parallel radiative transfer schemes for varying numbers of sub-grid tiles. Our results support the implementation of this methodology in the GFDL ESMs, which will be pursued as the next step to evaluate the effects of this correction of water and energy fluxes at the surface.</p>
</sec>

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

      <p id="d1e5528">The code used in this project is available in a Zenodo repository with the following DOI: <ext-link xlink:href="https://doi.org/10.5281/zenodo.7714735" ext-link-type="DOI">10.5281/zenodo.7714735</ext-link> <xref ref-type="bibr" rid="bib1.bibx45" id="paren.57"/>. The preprocessing software used to construct the land database for the GFDL land model v4.1 is included as supplementary material in the Zenodo repository <ext-link xlink:href="https://doi.org/10.5281/zenodo.7720281" ext-link-type="DOI">10.5281/zenodo.7720281</ext-link> <xref ref-type="bibr" rid="bib1.bibx47" id="paren.58"/>. A model dataset necessary to run the analysis is available in a Zenodo repository with the following DOI:  <ext-link xlink:href="https://doi.org/10.5281/zenodo.6975857" ext-link-type="DOI">10.5281/zenodo.6975857</ext-link> <xref ref-type="bibr" rid="bib1.bibx46" id="paren.59"/>.</p>
  </notes><notes notes-type="authorcontribution"><title>Author contributions</title>

      <p id="d1e5553">All authors contributed to research design. EZ developed the software, performed the simulations, and drafted the first version of the manuscript. All authors contributed to the manuscript.</p>
  </notes><notes notes-type="competinginterests"><title>Competing interests</title>

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

      <p id="d1e5565">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="d1e5571">Lucas Harris and Linjiong Zhou are acknowledged for their
comments and suggestions during an internal review of the manuscript.</p></ack><notes notes-type="financialsupport"><title>Financial support</title>

      <p id="d1e5576">This research has been supported by the National Aeronautics and Space Administration, Earth Sciences Division (grant no. 80HQTR21T0015) and the National Oceanic and Atmospheric Administration (grant no. NA18OAR4320123).</p>
  </notes><notes notes-type="reviewstatement"><title>Review statement</title>

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

      <ref id="bib1.bibx1"><?xmltex \def\ref@label{{Bales et~al.(2006)Bales, Molotch, Painter, Dettinger, Rice, and
Dozier}}?><label>Bales et al.(2006)Bales, Molotch, Painter, Dettinger, Rice, and
Dozier</label><?label bales2006mountain?><mixed-citation>Bales, R. C., Molotch, N. P., Painter, T. H., Dettinger, M. D., Rice, R., and
Dozier, J.: Mountain hydrology of the western United States, Water Resour. Res., 42, 8, <ext-link xlink:href="https://doi.org/10.1029/2005WR004387" ext-link-type="DOI">10.1029/2005WR004387</ext-link>, 2006.</mixed-citation></ref>
      <ref id="bib1.bibx2"><?xmltex \def\ref@label{{Brutsaert(2013)}}?><label>Brutsaert(2013)</label><?label brutsaert2013evaporation?><mixed-citation>
Brutsaert, W.: Evaporation into the atmosphere: theory, history and
applications, vol. 1, Springer Dordrecht, ISBN 978-94-017-1497-6, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx3"><?xmltex \def\ref@label{{Chaney et~al.(2016)Chaney, Metcalfe, and
Wood}}?><label>Chaney et al.(2016)Chaney, Metcalfe, and
Wood</label><?label chaney2016hydroblocks?><mixed-citation>
Chaney, N. W., Metcalfe, P., and Wood, E. F.: HydroBlocks: a field-scale
resolving land surface model for application over continental extents,
Hydrol. Process., 30, 3543–3559, 2016.</mixed-citation></ref>
      <ref id="bib1.bibx4"><?xmltex \def\ref@label{{Chaney et~al.(2018)Chaney, Van~Huijgevoort, Shevliakova, Malyshev,
Milly, Gauthier, and Sulman}}?><label>Chaney et al.(2018)Chaney, Van Huijgevoort, Shevliakova, Malyshev,
Milly, Gauthier, and Sulman</label><?label chaney2018harnessing?><mixed-citation>Chaney, N. W., Van Huijgevoort, M. H. J., Shevliakova, E., Malyshev, S., Milly, P. C. D., Gauthier, P. P. G., and Sulman, B. N.: Harnessing big data to rethink land heterogeneity in Earth system models, Hydrol. Earth Syst. Sci., 22, 3311–3330, <ext-link xlink:href="https://doi.org/10.5194/hess-22-3311-2018" ext-link-type="DOI">10.5194/hess-22-3311-2018</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx5"><?xmltex \def\ref@label{{Chen et~al.(2006)Chen, Hall, and Liou}}?><label>Chen et al.(2006)Chen, Hall, and Liou</label><?label chen2006application?><mixed-citation>Chen, Y., Hall, A., and Liou, K.: Application of three-dimensional solar
radiative transfer to mountains, J. Geophys. Res.-Atmos., 111, D21, <ext-link xlink:href="https://doi.org/10.1029/2006JD007163" ext-link-type="DOI">10.1029/2006JD007163</ext-link>, 2006.</mixed-citation></ref>
      <ref id="bib1.bibx6"><?xmltex \def\ref@label{{Dozier(1980)}}?><label>Dozier(1980)</label><?label dozier1980clear?><mixed-citation>
Dozier, J.: A clear-sky spectral solar radiation model for snow-covered
mountainous terrain, Water Resour. Res., 16, 709–718, 1980.</mixed-citation></ref>
      <ref id="bib1.bibx7"><?xmltex \def\ref@label{{Dozier and Frew(1990)}}?><label>Dozier and Frew(1990)</label><?label dozier1990rapid?><mixed-citation>
Dozier, J. and Frew, J.: Rapid calculation of terrain parameters for radiation
modeling from digital elevation data, IEEE T. Geosci. Remote, 28, 963–969, 1990.</mixed-citation></ref>
      <ref id="bib1.bibx8"><?xmltex \def\ref@label{{Dubayah et~al.(1990)Dubayah, Dozier, and
Davis}}?><label>Dubayah et al.(1990)Dubayah, Dozier, and
Davis</label><?label dubayah1990topographic?><mixed-citation>
Dubayah, R., Dozier, J., and Davis, F. W.: Topographic distribution of
clear-sky radiation over the Konza Prairie, Kansas, Water Resour. Res.,
26, 679–690, 1990.</mixed-citation></ref>
      <ref id="bib1.bibx9"><?xmltex \def\ref@label{{Duguay(1993)}}?><label>Duguay(1993)</label><?label duguay1993radiation?><mixed-citation>
Duguay, C. R.: Radiation modeling in mountainous terrain review and status,
Mountain research and development, 13, 339–357, 1993.</mixed-citation></ref>
      <ref id="bib1.bibx10"><?xmltex \def\ref@label{{Dunne et~al.(2020)Dunne, Horowitz, Adcroft, Ginoux, Held, John,
Krasting, Malyshev, Naik, Paulot et~al.}}?><label>Dunne et al.(2020)Dunne, Horowitz, Adcroft, Ginoux, Held, John,
Krasting, Malyshev, Naik, Paulot et al.</label><?label dunne2020gfdl?><mixed-citation>Dunne, J. P., Horowitz, L. W., Adcroft, A. J., Ginoux, P., Held, I. M., John, J.
G., Krasting, J. P., Malyshev, S., Naik, V., Paulot, F., Shevliakova, E., Stock, C. A., Zadeh, N., Balaji, V., Blanton, C., Dunne, K. A., Dupuis, C.,
Durachta, J., Dussin, R., Gauthier, P. P. G., Griffies, S. M., Guo, H., Hallberg,
R. W., Harrison, M., He, J., Hurlin, W., McHugh, C., Menzel, R., Milly, P.
C. D., Nikonov, S., Paynter, D. J., Ploshay, J., Radhakrishnan, A., Rand, K., Reichl, B. G., Robinson, T., Schwarzkopf, D. M., Sentman, L. T., Underwood,
S., Vahlenkamp, H., Winton, M., Wittenberg, A. T., Wyman, B., Zeng, Y., and
Zhao, M.: The GFDL Earth System Model
version 4.1 (GFDL-ESM 4.1): Overall coupled model description and simulation
characteristics, J. Adv. Model. Earth Sy., 12,
e2019MS002015, <ext-link xlink:href="https://doi.org/10.1029/2019MS002015" ext-link-type="DOI">10.1029/2019MS002015</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bibx11"><?xmltex \def\ref@label{{Essery and Marks(2007)}}?><label>Essery and Marks(2007)</label><?label essery2007scaling?><mixed-citation>Essery, R. and Marks, D.: Scaling and parametrization of clear-sky solar
radiation over complex topography, J. Geophys. Res.-Atmos., 112, D10, <ext-link xlink:href="https://doi.org/10.1029/2006JD007650" ext-link-type="DOI">10.1029/2006JD007650</ext-link>, 2007.</mixed-citation></ref>
      <ref id="bib1.bibx12"><?xmltex \def\ref@label{{Farr et~al.(2007)Farr, Rosen, Caro, Crippen, Duren, Hensley, Kobrick,
Paller, Rodriguez, Roth et~al.}}?><label>Farr et al.(2007)Farr, Rosen, Caro, Crippen, Duren, Hensley, Kobrick,
Paller, Rodriguez, Roth et al.</label><?label farr2007shuttle?><mixed-citation>Farr, T. G., Rosen, P. A., Caro, E., Crippen, R., Duren, R.,
Hensley, S., Kobrick, M., Paller, M., Rodriguez, E., Roth,
L., Seal, D., Shaffer, S., Shimada, J., Umland, J.,
Werner, M., Oskin, M., Burbank, D., and Alsdorf, D.: The shuttle radar
topography mission, Rev. Geophys., 45, 11, <ext-link xlink:href="https://doi.org/10.1029/2005RG000183" ext-link-type="DOI">10.1029/2005RG000183</ext-link>, 2007.</mixed-citation></ref>
      <ref id="bib1.bibx13"><?xmltex \def\ref@label{{Fu and Liou(1992)}}?><label>Fu and Liou(1992)</label><?label fu1992correlated?><mixed-citation>
Fu, Q. and Liou, K.: On the correlated k-distribution method for radiative
transfer in nonhomogeneous atmospheres, J. Atmos. Sci., 49,
2139–2156, 1992.</mixed-citation></ref>
      <ref id="bib1.bibx14"><?xmltex \def\ref@label{{Granger and Schulze(1977)}}?><label>Granger and Schulze(1977)</label><?label granger1977incoming?><mixed-citation>
Granger, J. and Schulze, R.: Incoming solar radiation patterns and vegetation
response: examples from the Natal Drakensberg, Vegetatio, 35, 47–54, 1977.</mixed-citation></ref>
      <ref id="bib1.bibx15"><?xmltex \def\ref@label{{Gu et~al.(2002)Gu, Baldocchi, Verma, Black, Vesala, Falge, and
Dowty}}?><label>Gu et al.(2002)Gu, Baldocchi, Verma, Black, Vesala, Falge, and
Dowty</label><?label gu2002advantages?><mixed-citation>Gu, L., Baldocchi, D., Verma, S. B., Black, T., Vesala, T., Falge, E. M., and
Dowty, P. R.: Advantages of diffuse radiation for terrestrial ecosystem
productivity, J. Geophys. Res.-Atmos., 107, ACL 2-1–ACL 2-23, <ext-link xlink:href="https://doi.org/10.1029/2001JD001242" ext-link-type="DOI">10.1029/2001JD001242</ext-link>,
2002.</mixed-citation></ref>
      <ref id="bib1.bibx16"><?xmltex \def\ref@label{{Gu et~al.(2012)Gu, Liou, Lee, and Leung}}?><label>Gu et al.(2012)Gu, Liou, Lee, and Leung</label><?label gu2012simulating?><mixed-citation>Gu, Y., Liou, K. N., Lee, W.-L., and Leung, L. R.: Simulating 3-D radiative transfer effects over the Sierra Nevada Mountains using WRF, Atmos. Chem. Phys., 12, 9965–9976, <ext-link xlink:href="https://doi.org/10.5194/acp-12-9965-2012" ext-link-type="DOI">10.5194/acp-12-9965-2012</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bibx17"><?xmltex \def\ref@label{{Hao et~al.(2021)Hao, Bisht, Gu, Lee, Liou, and
Leung}}?><label>Hao et al.(2021)Hao, Bisht, Gu, Lee, Liou, and
Leung</label><?label hao2021parameterization?><mixed-citation>Hao, D., Bisht, G., Gu, Y., Lee, W.-L., Liou, K.-N., and Leung, L. R.: A parameterization of sub-grid topographical effects on solar radiation in the E3SM Land Model (version 1.0): implementation and evaluation over the Tibetan Plateau, Geosci. Model Dev., 14, 6273–6289, <ext-link xlink:href="https://doi.org/10.5194/gmd-14-6273-2021" ext-link-type="DOI">10.5194/gmd-14-6273-2021</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bibx18"><?xmltex \def\ref@label{{Hay and McKay(1985)}}?><label>Hay and McKay(1985)</label><?label hay1985estimating?><mixed-citation>
Hay, J. E. and McKay, D. C.: Estimating solar irradiance on inclined surfaces:
a review and assessment of methodologies, International Journal of Solar
Energy, 3, 203–240, 1985.</mixed-citation></ref>
      <ref id="bib1.bibx19"><?xmltex \def\ref@label{{Helbig et~al.(2009)Helbig, L{\"{o}}we, and
Lehning}}?><label>Helbig et al.(2009)Helbig, Löwe, and
Lehning</label><?label helbig2009radiosity?><mixed-citation>
Helbig, N., Löwe, H., and Lehning, M.: Radiosity approach for the shortwave
surface radiation balance in complex terrain, J. Atmos. Sci., 66, 2900–2912, 2009.</mixed-citation></ref>
      <ref id="bib1.bibx20"><?xmltex \def\ref@label{{Isard(1986)}}?><label>Isard(1986)</label><?label isard1986evaluation?><mixed-citation>
Isard, S.: Evaluation of models for predicting insolation on slopes within the
Colorado alpine tundra, Sol. Energy, 36, 559–564, 1986.</mixed-citation></ref>
      <?pagebreak page1960?><ref id="bib1.bibx21"><?xmltex \def\ref@label{{Lamare et~al.(2020)Lamare, Dumont, Picard, Larue, Tuzet, Delcourt,
and Arnaud}}?><label>Lamare et al.(2020)Lamare, Dumont, Picard, Larue, Tuzet, Delcourt,
and Arnaud</label><?label lamare2020simulating?><mixed-citation>Lamare, M., Dumont, M., Picard, G., Larue, F., Tuzet, F., Delcourt, C., and Arnaud, L.: Simulating optical top-of-atmosphere radiance satellite images over snow-covered rugged terrain, The Cryosphere, 14, 3995–4020, <ext-link xlink:href="https://doi.org/10.5194/tc-14-3995-2020" ext-link-type="DOI">10.5194/tc-14-3995-2020</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bibx22"><?xmltex \def\ref@label{{Larue et~al.(2020)Larue, Picard, Arnaud, Ollivier, Delcourt, Lamare,
Tuzet, Revuelto, and Dumont}}?><label>Larue et al.(2020)Larue, Picard, Arnaud, Ollivier, Delcourt, Lamare,
Tuzet, Revuelto, and Dumont</label><?label larue2020snow?><mixed-citation>Larue, F., Picard, G., Arnaud, L., Ollivier, I., Delcourt, C., Lamare, M., Tuzet, F., Revuelto, J., and Dumont, M.: Snow albedo sensitivity to macroscopic surface roughness using a new ray-tracing model, The Cryosphere, 14, 1651–1672, <ext-link xlink:href="https://doi.org/10.5194/tc-14-1651-2020" ext-link-type="DOI">10.5194/tc-14-1651-2020</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bibx23"><?xmltex \def\ref@label{{Lee et~al.(2011)Lee, Liou, and Hall}}?><label>Lee et al.(2011)Lee, Liou, and Hall</label><?label lee2011parameterization?><mixed-citation>Lee, W.-L., Liou, K., and Hall, A.: Parameterization of solar fluxes over
mountain surfaces for application to climate models, J. Geophys. Res.-Atmos., 116, D01101, <ext-link xlink:href="https://doi.org/10.1029/2010JD014722" ext-link-type="DOI">10.1029/2010JD014722</ext-link>, 2011.</mixed-citation></ref>
      <ref id="bib1.bibx24"><?xmltex \def\ref@label{{Lee et~al.(2013)Lee, Liou, and Wang}}?><label>Lee et al.(2013)Lee, Liou, and Wang</label><?label lee2013impact?><mixed-citation>
Lee, W.-L., Liou, K., and Wang, C.-c.: Impact of 3-D topography on surface
radiation budget over the Tibetan Plateau, Theor. Appl. Climatol., 113, 95–103, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx25"><?xmltex \def\ref@label{{Lee et~al.(2015)Lee, Gu, Liou, Leung, and Hsu}}?><label>Lee et al.(2015)Lee, Gu, Liou, Leung, and Hsu</label><?label lee2015global?><mixed-citation>Lee, W.-L., Gu, Y., Liou, K. N., Leung, L. R., and Hsu, H.-H.: A global model simulation for 3-D radiative transfer impact on surface hydrology over the Sierra Nevada and Rocky Mountains, Atmos. Chem. Phys., 15, 5405–5413, <ext-link xlink:href="https://doi.org/10.5194/acp-15-5405-2015" ext-link-type="DOI">10.5194/acp-15-5405-2015</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bibx26"><?xmltex \def\ref@label{{Lee et~al.(2019)Lee, Liou, Wang, Gu, Hsu, and Li}}?><label>Lee et al.(2019)Lee, Liou, Wang, Gu, Hsu, and Li</label><?label lee2019impact?><mixed-citation>
Lee, W.-L., Liou, K.-N., Wang, C.-c., Gu, Y., Hsu, H.-H., and Li, J.-L. F.:
Impact of 3-D Radiation-Topography Interactions on Surface Temperature and
Energy Budget Over the Tibetan Plateau in Winter, J. Geophys. Res.-Atmos., 124, 1537–1549, 2019.</mixed-citation></ref>
      <ref id="bib1.bibx27"><?xmltex \def\ref@label{{Lenot et~al.(2009)Lenot, Achard, and Poutier}}?><label>Lenot et al.(2009)Lenot, Achard, and Poutier</label><?label lenot2009sierra?><mixed-citation>
Lenot, X., Achard, V., and Poutier, L.: SIERRA: A new approach to atmospheric
and topographic corrections for hyperspectral imagery, Remote Sens. Environ., 113, 1664–1677, 2009.</mixed-citation></ref>
      <ref id="bib1.bibx28"><?xmltex \def\ref@label{{Liou et~al.(2007)Liou, Lee, and Hall}}?><label>Liou et al.(2007)Liou, Lee, and Hall</label><?label liou2007radiative?><mixed-citation>Liou, K., Lee, W.-L., and Hall, A.: Radiative transfer in mountains:
Application to the Tibetan Plateau, Geophys. Res. Lett., 34, L23809, <ext-link xlink:href="https://doi.org/10.1029/2007GL031762" ext-link-type="DOI">10.1029/2007GL031762</ext-link>, 2007.</mixed-citation></ref>
      <ref id="bib1.bibx29"><?xmltex \def\ref@label{{Liou(2002)}}?><label>Liou(2002)</label><?label liou2002introduction?><mixed-citation>
Liou, K.-N.: An introduction to atmospheric radiation, Elsevier, ISBN 9780080491677, 2002.</mixed-citation></ref>
      <ref id="bib1.bibx30"><?xmltex \def\ref@label{{MacQueen et~al.(1967)}}?><label>MacQueen et al.(1967)</label><?label macqueen1967some?><mixed-citation>
MacQueen, J.: Some methods for classification and analysis of
multivariate observations, in: Proceedings of the fifth Berkeley symposium on
mathematical statistics and probability, vol. 1, 281–297, Oakland, CA,
USA, MR0214227, 1967.</mixed-citation></ref>
      <ref id="bib1.bibx31"><?xmltex \def\ref@label{{Mayer(2009)}}?><label>Mayer(2009)</label><?label mayer2009radiative?><mixed-citation>Mayer, B.: Radiative transfer in the cloudy atmosphere, in: EPJ Web of
Conferences, vol. 1, 75–99, EDP Sciences, <ext-link xlink:href="https://doi.org/10.1140/epjconf/e2009-00912-1" ext-link-type="DOI">10.1140/epjconf/e2009-00912-1</ext-link>, 2009.</mixed-citation></ref>
      <ref id="bib1.bibx32"><?xmltex \def\ref@label{{Mayer et~al.(2010)Mayer, Hoch, and Whiteman}}?><label>Mayer et al.(2010)Mayer, Hoch, and Whiteman</label><?label mayer2010validating?><mixed-citation>Mayer, B., Hoch, S. W., and Whiteman, C. D.: Validating the MYSTIC three-dimensional radiative transfer model with observations from the complex topography of Arizona's Meteor Crater, Atmos. Chem. Phys., 10, 8685–8696, <ext-link xlink:href="https://doi.org/10.5194/acp-10-8685-2010" ext-link-type="DOI">10.5194/acp-10-8685-2010</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bibx33"><?xmltex \def\ref@label{{McCabe and Clark(2005)}}?><label>McCabe and Clark(2005)</label><?label mccabe2005trends?><mixed-citation>
McCabe, G. J. and Clark, M. P.: Trends and variability in snowmelt runoff in
the western United States, J. Hydrometeorol., 6, 476–482, 2005.</mixed-citation></ref>
      <ref id="bib1.bibx34"><?xmltex \def\ref@label{{Miesch et~al.(1999)Miesch, Briottet, Kerr, and
Cabot}}?><label>Miesch et al.(1999)Miesch, Briottet, Kerr, and
Cabot</label><?label miesch1999monte?><mixed-citation>
Miesch, C., Briottet, X., Kerr, Y. H., and Cabot, F.: Monte Carlo approach for
solving the radiative transfer equation over mountainous and heterogeneous
areas, Appl. Opt., 38, 7419–7430, 1999.</mixed-citation></ref>
      <ref id="bib1.bibx35"><?xmltex \def\ref@label{{Milly et~al.(2014)Milly, Malyshev, Shevliakova, Dunne, Findell,
Gleeson, Liang, Phillipps, Stouffer, and Swenson}}?><label>Milly et al.(2014)Milly, Malyshev, Shevliakova, Dunne, Findell,
Gleeson, Liang, Phillipps, Stouffer, and Swenson</label><?label milly2014enhanced?><mixed-citation>
Milly, P. C., Malyshev, S. L., Shevliakova, E., Dunne, K. A., Findell, K. L.,
Gleeson, T., Liang, Z., Phillipps, P., Stouffer, R. J., and Swenson, S.: An
enhanced model of land water and energy for global hydrologic and
earth-system studies, J. Hydrometeorol., 15, 1739–1761, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx36"><?xmltex \def\ref@label{{Picard et~al.(2020)Picard, Dumont, Lamare, Tuzet, Larue, Pirazzini,
and Arnaud}}?><label>Picard et al.(2020)Picard, Dumont, Lamare, Tuzet, Larue, Pirazzini,
and Arnaud</label><?label picard2020spectral?><mixed-citation>Picard, G., Dumont, M., Lamare, M., Tuzet, F., Larue, F., Pirazzini, R., and Arnaud, L.: Spectral albedo measurements over snow-covered slopes: theory and slope effect corrections, The Cryosphere, 14, 1497–1517, <ext-link xlink:href="https://doi.org/10.5194/tc-14-1497-2020" ext-link-type="DOI">10.5194/tc-14-1497-2020</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bibx37"><?xmltex \def\ref@label{{Pincus et~al.(2019)Pincus, Mlawer, and
Delamere}}?><label>Pincus et al.(2019)Pincus, Mlawer, and
Delamere</label><?label pincus2019balancing?><mixed-citation>
Pincus, R., Mlawer, E. J., and Delamere, J. S.: Balancing accuracy, efficiency,
and flexibility in radiation calculations for dynamical models, J. Adv. Model. Earth Sy., 11, 3074–3089, 2019.</mixed-citation></ref>
      <ref id="bib1.bibx38"><?xmltex \def\ref@label{{Raup et~al.(2007)Raup, Racoviteanu, Khalsa, Helm, Armstrong, and
Arnaud}}?><label>Raup et al.(2007)Raup, Racoviteanu, Khalsa, Helm, Armstrong, and
Arnaud</label><?label raup2007glims?><mixed-citation>
Raup, B., Racoviteanu, A., Khalsa, S. J. S., Helm, C., Armstrong, R., and
Arnaud, Y.: The GLIMS geospatial glacier database: a new tool for studying
glacier change, Global Planet. Change, 56, 101–110, 2007.</mixed-citation></ref>
      <ref id="bib1.bibx39"><?xmltex \def\ref@label{{Shevliakova et~al.(2009)Shevliakova, Pacala, Malyshev, Hurtt, Milly,
Caspersen, Sentman, Fisk, Wirth, and Crevoisier}}?><label>Shevliakova et al.(2009)Shevliakova, Pacala, Malyshev, Hurtt, Milly,
Caspersen, Sentman, Fisk, Wirth, and Crevoisier</label><?label shevliakova2009carbon?><mixed-citation>Shevliakova, E., Pacala, S. W., Malyshev, S., Hurtt, G. C., Milly, P.,
Caspersen, J. P., Sentman, L. T., Fisk, J. P., Wirth, C., and Crevoisier, C.:
Carbon cycling under 300 years of land use change: Importance of the
secondary vegetation sink, Global Biogeochem. Cy., 23, GB2022, <ext-link xlink:href="https://doi.org/10.1029/2007GB003176" ext-link-type="DOI">10.1029/2007GB003176</ext-link>, 2009.</mixed-citation></ref>
      <ref id="bib1.bibx40"><?xmltex \def\ref@label{{Sirguey(2009)}}?><label>Sirguey(2009)</label><?label sirguey2009simple?><mixed-citation>
Sirguey, P.: Simple correction of multiple reflection effects in rugged
terrain, Int. J. Remote Sens., 30, 1075–1081, 2009.</mixed-citation></ref>
      <ref id="bib1.bibx41"><?xmltex \def\ref@label{{Sirguey et~al.(2009)Sirguey, Mathieu, and
Arnaud}}?><label>Sirguey et al.(2009)Sirguey, Mathieu, and
Arnaud</label><?label sirguey2009subpixel?><mixed-citation>
Sirguey, P., Mathieu, R., and Arnaud, Y.: Subpixel monitoring of the seasonal
snow cover with MODIS at 250 m spatial resolution in the Southern Alps of New
Zealand: Methodology and accuracy assessment, Remote Sens. Environ.,
113, 160–181, 2009.</mixed-citation></ref>
      <ref id="bib1.bibx42"><?xmltex \def\ref@label{{Tesfa and Leung(2017)}}?><label>Tesfa and Leung(2017)</label><?label tesfa2017exploring?><mixed-citation>Tesfa, T. K. and Leung, L.-Y. R.: Exploring new topography-based subgrid spatial structures for improving land surface modeling, Geosci. Model Dev., 10, 873–888, <ext-link xlink:href="https://doi.org/10.5194/gmd-10-873-2017" ext-link-type="DOI">10.5194/gmd-10-873-2017</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx43"><?xmltex \def\ref@label{{Villefranque et~al.(2019)Villefranque, Fournier, Couvreux, Blanco,
Cornet, Eymet, Forest, and Tregan}}?><label>Villefranque et al.(2019)Villefranque, Fournier, Couvreux, Blanco,
Cornet, Eymet, Forest, and Tregan</label><?label villefranque2019path?><mixed-citation>
Villefranque, N., Fournier, R., Couvreux, F., Blanco, S., Cornet, C., Eymet,
V., Forest, V., and Tregan, J.-M.: A Path-Tracing Monte Carlo Library for 3-D
Radiative Transfer in Highly Resolved Cloudy Atmospheres, J. Adv. Model. Earth Sy., 11, 2449–2473, 2019.</mixed-citation></ref>
      <ref id="bib1.bibx44"><?xmltex \def\ref@label{{Zhao et~al.(2018)Zhao, Golaz, Held, Guo, Balaji, Benson, Chen, Chen,
Donner, Dunne et~al.}}?><label>Zhao et al.(2018)Zhao, Golaz, Held, Guo, Balaji, Benson, Chen, Chen,
Donner, Dunne et al.</label><?label zhao2018gfdl?><mixed-citation>
Zhao, M., Golaz, J.-C., Held, I. M., Guo, H., Balaji, V., Benson, R., Chen,
J.-H., Chen, X., Donner, L. J., Dunne, J. P., Dunne, K., Durachta, J., Fan,
S.-M., Freidenreich, S. M., Garner, S. T., Ginoux, P., Harris, L. M., Horowitz,
L. W., Krasting, J. P., Langenhorst, A. R., Liang, Z., Lin, P., Lin, S.-J.,
Malyshev, S. L., Mason, E., Milly, P. C. D., Ming, Y., Naik, V., Paulot, F.,
Paynter, D., Phillipps, P., Radhakrishnan, A., Ramaswamy, V., Robinson, T.,
Schwarzkopf, D., Seman, C. J., Shevliakova, E., Shen, Z., Shin, H., Silvers, L.
G., Wilson, J. R., Winton, M., Wittenberg, A. T., Wyman, B., and Xiang, B.: The GFDL global atmosphere and land
model AM4. 0/LM4. 0: 2. Model description, sensitivity studies, and tuning
strategies, J. Adv. Model. Earth Sy., 10, 735–769,
2018.</mixed-citation></ref>
      <ref id="bib1.bibx45"><?xmltex \def\ref@label{Zorzetto(2022a)}?><label>Zorzetto(2022a)</label><?label Zorzetto2022a?><mixed-citation>Zorzetto, E.: Code for analyzing the sub–grid distribution of shortwave radiation over mountainous terrain, <ext-link xlink:href="https://doi.org/10.5281/zenodo.7714735" ext-link-type="DOI">10.5281/zenodo.7714735</ext-link>, 2022a.</mixed-citation></ref>
      <ref id="bib1.bibx46"><?xmltex \def\ref@label{Zorzetto(2022b)}?><label>Zorzetto(2022b)</label><?label Zorzetto2022b?><mixed-citation>Zorzetto, E.: Data used for developing a parameterization for spatial distribution of solar irradiance over rugged terrain, Zenodo [data set], <ext-link xlink:href="https://doi.org/10.5281/zenodo.6975857" ext-link-type="DOI">10.5281/zenodo.6975857</ext-link>, 2022b.</mixed-citation></ref>
      <ref id="bib1.bibx47"><?xmltex \def\ref@label{Zorzetto(2023)}?><label>Zorzetto(2023)</label><?label Zorzetto2023?><mixed-citation>Zorzetto, E.: Software for constructing topography-aware subgrid land tiled datasets, Zenodo [code], <ext-link xlink:href="https://doi.org/10.5281/zenodo.7720281" ext-link-type="DOI">10.5281/zenodo.7720281</ext-link>, 2023.</mixed-citation></ref>

  </ref-list></back>
    <!--<article-title-html>Effects of complex terrain on the shortwave radiative balance: a sub-grid-scale parameterization for the GFDL Earth System Model version 4.1</article-title-html>
<abstract-html/>
<ref-html id="bib1.bib1"><label>Bales et al.(2006)Bales, Molotch, Painter, Dettinger, Rice, and
Dozier</label><mixed-citation>
      
Bales, R. C., Molotch, N. P., Painter, T. H., Dettinger, M. D., Rice, R., and
Dozier, J.: Mountain hydrology of the western United States, Water Resour. Res., 42, 8, <a href="https://doi.org/10.1029/2005WR004387" target="_blank">https://doi.org/10.1029/2005WR004387</a>, 2006.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>Brutsaert(2013)</label><mixed-citation>
      
Brutsaert, W.: Evaporation into the atmosphere: theory, history and
applications, vol. 1, Springer Dordrecht, ISBN 978-94-017-1497-6, 2013.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>Chaney et al.(2016)Chaney, Metcalfe, and
Wood</label><mixed-citation>
      
Chaney, N. W., Metcalfe, P., and Wood, E. F.: HydroBlocks: a field-scale
resolving land surface model for application over continental extents,
Hydrol. Process., 30, 3543–3559, 2016.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>Chaney et al.(2018)Chaney, Van Huijgevoort, Shevliakova, Malyshev,
Milly, Gauthier, and Sulman</label><mixed-citation>
      
Chaney, N. W., Van Huijgevoort, M. H. J., Shevliakova, E., Malyshev, S., Milly, P. C. D., Gauthier, P. P. G., and Sulman, B. N.: Harnessing big data to rethink land heterogeneity in Earth system models, Hydrol. Earth Syst. Sci., 22, 3311–3330, <a href="https://doi.org/10.5194/hess-22-3311-2018" target="_blank">https://doi.org/10.5194/hess-22-3311-2018</a>, 2018.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>Chen et al.(2006)Chen, Hall, and Liou</label><mixed-citation>
      
Chen, Y., Hall, A., and Liou, K.: Application of three-dimensional solar
radiative transfer to mountains, J. Geophys. Res.-Atmos., 111, D21, <a href="https://doi.org/10.1029/2006JD007163" target="_blank">https://doi.org/10.1029/2006JD007163</a>, 2006.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>Dozier(1980)</label><mixed-citation>
      
Dozier, J.: A clear-sky spectral solar radiation model for snow-covered
mountainous terrain, Water Resour. Res., 16, 709–718, 1980.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>Dozier and Frew(1990)</label><mixed-citation>
      
Dozier, J. and Frew, J.: Rapid calculation of terrain parameters for radiation
modeling from digital elevation data, IEEE T. Geosci. Remote, 28, 963–969, 1990.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>Dubayah et al.(1990)Dubayah, Dozier, and
Davis</label><mixed-citation>
      
Dubayah, R., Dozier, J., and Davis, F. W.: Topographic distribution of
clear-sky radiation over the Konza Prairie, Kansas, Water Resour. Res.,
26, 679–690, 1990.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>Duguay(1993)</label><mixed-citation>
      
Duguay, C. R.: Radiation modeling in mountainous terrain review and status,
Mountain research and development, 13, 339–357, 1993.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib10"><label>Dunne et al.(2020)Dunne, Horowitz, Adcroft, Ginoux, Held, John,
Krasting, Malyshev, Naik, Paulot et al.</label><mixed-citation>
      
Dunne, J. P., Horowitz, L. W., Adcroft, A. J., Ginoux, P., Held, I. M., John, J.
G., Krasting, J. P., Malyshev, S., Naik, V., Paulot, F., Shevliakova, E., Stock, C. A., Zadeh, N., Balaji, V., Blanton, C., Dunne, K. A., Dupuis, C.,
Durachta, J., Dussin, R., Gauthier, P. P. G., Griffies, S. M., Guo, H., Hallberg,
R. W., Harrison, M., He, J., Hurlin, W., McHugh, C., Menzel, R., Milly, P.
C. D., Nikonov, S., Paynter, D. J., Ploshay, J., Radhakrishnan, A., Rand, K., Reichl, B. G., Robinson, T., Schwarzkopf, D. M., Sentman, L. T., Underwood,
S., Vahlenkamp, H., Winton, M., Wittenberg, A. T., Wyman, B., Zeng, Y., and
Zhao, M.: The GFDL Earth System Model
version 4.1 (GFDL-ESM 4.1): Overall coupled model description and simulation
characteristics, J. Adv. Model. Earth Sy., 12,
e2019MS002015, <a href="https://doi.org/10.1029/2019MS002015" target="_blank">https://doi.org/10.1029/2019MS002015</a>, 2020.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>Essery and Marks(2007)</label><mixed-citation>
      
Essery, R. and Marks, D.: Scaling and parametrization of clear-sky solar
radiation over complex topography, J. Geophys. Res.-Atmos., 112, D10, <a href="https://doi.org/10.1029/2006JD007650" target="_blank">https://doi.org/10.1029/2006JD007650</a>, 2007.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>Farr et al.(2007)Farr, Rosen, Caro, Crippen, Duren, Hensley, Kobrick,
Paller, Rodriguez, Roth et al.</label><mixed-citation>
      
Farr, T. G., Rosen, P. A., Caro, E., Crippen, R., Duren, R.,
Hensley, S., Kobrick, M., Paller, M., Rodriguez, E., Roth,
L., Seal, D., Shaffer, S., Shimada, J., Umland, J.,
Werner, M., Oskin, M., Burbank, D., and Alsdorf, D.: The shuttle radar
topography mission, Rev. Geophys., 45, 11, <a href="https://doi.org/10.1029/2005RG000183" target="_blank">https://doi.org/10.1029/2005RG000183</a>, 2007.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>Fu and Liou(1992)</label><mixed-citation>
      
Fu, Q. and Liou, K.: On the correlated k-distribution method for radiative
transfer in nonhomogeneous atmospheres, J. Atmos. Sci., 49,
2139–2156, 1992.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>Granger and Schulze(1977)</label><mixed-citation>
      
Granger, J. and Schulze, R.: Incoming solar radiation patterns and vegetation
response: examples from the Natal Drakensberg, Vegetatio, 35, 47–54, 1977.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>Gu et al.(2002)Gu, Baldocchi, Verma, Black, Vesala, Falge, and
Dowty</label><mixed-citation>
      
Gu, L., Baldocchi, D., Verma, S. B., Black, T., Vesala, T., Falge, E. M., and
Dowty, P. R.: Advantages of diffuse radiation for terrestrial ecosystem
productivity, J. Geophys. Res.-Atmos., 107, ACL 2-1–ACL 2-23, <a href="https://doi.org/10.1029/2001JD001242" target="_blank">https://doi.org/10.1029/2001JD001242</a>,
2002.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib16"><label>Gu et al.(2012)Gu, Liou, Lee, and Leung</label><mixed-citation>
      
Gu, Y., Liou, K. N., Lee, W.-L., and Leung, L. R.: Simulating 3-D radiative transfer effects over the Sierra Nevada Mountains using WRF, Atmos. Chem. Phys., 12, 9965–9976, <a href="https://doi.org/10.5194/acp-12-9965-2012" target="_blank">https://doi.org/10.5194/acp-12-9965-2012</a>, 2012.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>Hao et al.(2021)Hao, Bisht, Gu, Lee, Liou, and
Leung</label><mixed-citation>
      
Hao, D., Bisht, G., Gu, Y., Lee, W.-L., Liou, K.-N., and Leung, L. R.: A parameterization of sub-grid topographical effects on solar radiation in the E3SM Land Model (version 1.0): implementation and evaluation over the Tibetan Plateau, Geosci. Model Dev., 14, 6273–6289, <a href="https://doi.org/10.5194/gmd-14-6273-2021" target="_blank">https://doi.org/10.5194/gmd-14-6273-2021</a>, 2021.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>Hay and McKay(1985)</label><mixed-citation>
      
Hay, J. E. and McKay, D. C.: Estimating solar irradiance on inclined surfaces:
a review and assessment of methodologies, International Journal of Solar
Energy, 3, 203–240, 1985.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>Helbig et al.(2009)Helbig, Löwe, and
Lehning</label><mixed-citation>
      
Helbig, N., Löwe, H., and Lehning, M.: Radiosity approach for the shortwave
surface radiation balance in complex terrain, J. Atmos. Sci., 66, 2900–2912, 2009.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>Isard(1986)</label><mixed-citation>
      
Isard, S.: Evaluation of models for predicting insolation on slopes within the
Colorado alpine tundra, Sol. Energy, 36, 559–564, 1986.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>Lamare et al.(2020)Lamare, Dumont, Picard, Larue, Tuzet, Delcourt,
and Arnaud</label><mixed-citation>
      
Lamare, M., Dumont, M., Picard, G., Larue, F., Tuzet, F., Delcourt, C., and Arnaud, L.: Simulating optical top-of-atmosphere radiance satellite images over snow-covered rugged terrain, The Cryosphere, 14, 3995–4020, <a href="https://doi.org/10.5194/tc-14-3995-2020" target="_blank">https://doi.org/10.5194/tc-14-3995-2020</a>, 2020.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>Larue et al.(2020)Larue, Picard, Arnaud, Ollivier, Delcourt, Lamare,
Tuzet, Revuelto, and Dumont</label><mixed-citation>
      
Larue, F., Picard, G., Arnaud, L., Ollivier, I., Delcourt, C., Lamare, M., Tuzet, F., Revuelto, J., and Dumont, M.: Snow albedo sensitivity to macroscopic surface roughness using a new ray-tracing model, The Cryosphere, 14, 1651–1672, <a href="https://doi.org/10.5194/tc-14-1651-2020" target="_blank">https://doi.org/10.5194/tc-14-1651-2020</a>, 2020.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>Lee et al.(2011)Lee, Liou, and Hall</label><mixed-citation>
      
Lee, W.-L., Liou, K., and Hall, A.: Parameterization of solar fluxes over
mountain surfaces for application to climate models, J. Geophys. Res.-Atmos., 116, D01101, <a href="https://doi.org/10.1029/2010JD014722" target="_blank">https://doi.org/10.1029/2010JD014722</a>, 2011.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>Lee et al.(2013)Lee, Liou, and Wang</label><mixed-citation>
      
Lee, W.-L., Liou, K., and Wang, C.-c.: Impact of 3-D topography on surface
radiation budget over the Tibetan Plateau, Theor. Appl. Climatol., 113, 95–103, 2013.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib25"><label>Lee et al.(2015)Lee, Gu, Liou, Leung, and Hsu</label><mixed-citation>
      
Lee, W.-L., Gu, Y., Liou, K. N., Leung, L. R., and Hsu, H.-H.: A global model simulation for 3-D radiative transfer impact on surface hydrology over the Sierra Nevada and Rocky Mountains, Atmos. Chem. Phys., 15, 5405–5413, <a href="https://doi.org/10.5194/acp-15-5405-2015" target="_blank">https://doi.org/10.5194/acp-15-5405-2015</a>, 2015.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib26"><label>Lee et al.(2019)Lee, Liou, Wang, Gu, Hsu, and Li</label><mixed-citation>
      
Lee, W.-L., Liou, K.-N., Wang, C.-c., Gu, Y., Hsu, H.-H., and Li, J.-L. F.:
Impact of 3-D Radiation-Topography Interactions on Surface Temperature and
Energy Budget Over the Tibetan Plateau in Winter, J. Geophys. Res.-Atmos., 124, 1537–1549, 2019.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib27"><label>Lenot et al.(2009)Lenot, Achard, and Poutier</label><mixed-citation>
      
Lenot, X., Achard, V., and Poutier, L.: SIERRA: A new approach to atmospheric
and topographic corrections for hyperspectral imagery, Remote Sens. Environ., 113, 1664–1677, 2009.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib28"><label>Liou et al.(2007)Liou, Lee, and Hall</label><mixed-citation>
      
Liou, K., Lee, W.-L., and Hall, A.: Radiative transfer in mountains:
Application to the Tibetan Plateau, Geophys. Res. Lett., 34, L23809, <a href="https://doi.org/10.1029/2007GL031762" target="_blank">https://doi.org/10.1029/2007GL031762</a>, 2007.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib29"><label>Liou(2002)</label><mixed-citation>
      
Liou, K.-N.: An introduction to atmospheric radiation, Elsevier, ISBN 9780080491677, 2002.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib30"><label>MacQueen et al.(1967)</label><mixed-citation>
      
MacQueen, J.: Some methods for classification and analysis of
multivariate observations, in: Proceedings of the fifth Berkeley symposium on
mathematical statistics and probability, vol. 1, 281–297, Oakland, CA,
USA, MR0214227, 1967.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib31"><label>Mayer(2009)</label><mixed-citation>
      
Mayer, B.: Radiative transfer in the cloudy atmosphere, in: EPJ Web of
Conferences, vol. 1, 75–99, EDP Sciences, <a href="https://doi.org/10.1140/epjconf/e2009-00912-1" target="_blank">https://doi.org/10.1140/epjconf/e2009-00912-1</a>, 2009.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib32"><label>Mayer et al.(2010)Mayer, Hoch, and Whiteman</label><mixed-citation>
      
Mayer, B., Hoch, S. W., and Whiteman, C. D.: Validating the MYSTIC three-dimensional radiative transfer model with observations from the complex topography of Arizona's Meteor Crater, Atmos. Chem. Phys., 10, 8685–8696, <a href="https://doi.org/10.5194/acp-10-8685-2010" target="_blank">https://doi.org/10.5194/acp-10-8685-2010</a>, 2010.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib33"><label>McCabe and Clark(2005)</label><mixed-citation>
      
McCabe, G. J. and Clark, M. P.: Trends and variability in snowmelt runoff in
the western United States, J. Hydrometeorol., 6, 476–482, 2005.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib34"><label>Miesch et al.(1999)Miesch, Briottet, Kerr, and
Cabot</label><mixed-citation>
      
Miesch, C., Briottet, X., Kerr, Y. H., and Cabot, F.: Monte Carlo approach for
solving the radiative transfer equation over mountainous and heterogeneous
areas, Appl. Opt., 38, 7419–7430, 1999.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib35"><label>Milly et al.(2014)Milly, Malyshev, Shevliakova, Dunne, Findell,
Gleeson, Liang, Phillipps, Stouffer, and Swenson</label><mixed-citation>
      
Milly, P. C., Malyshev, S. L., Shevliakova, E., Dunne, K. A., Findell, K. L.,
Gleeson, T., Liang, Z., Phillipps, P., Stouffer, R. J., and Swenson, S.: An
enhanced model of land water and energy for global hydrologic and
earth-system studies, J. Hydrometeorol., 15, 1739–1761, 2014.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib36"><label>Picard et al.(2020)Picard, Dumont, Lamare, Tuzet, Larue, Pirazzini,
and Arnaud</label><mixed-citation>
      
Picard, G., Dumont, M., Lamare, M., Tuzet, F., Larue, F., Pirazzini, R., and Arnaud, L.: Spectral albedo measurements over snow-covered slopes: theory and slope effect corrections, The Cryosphere, 14, 1497–1517, <a href="https://doi.org/10.5194/tc-14-1497-2020" target="_blank">https://doi.org/10.5194/tc-14-1497-2020</a>, 2020.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib37"><label>Pincus et al.(2019)Pincus, Mlawer, and
Delamere</label><mixed-citation>
      
Pincus, R., Mlawer, E. J., and Delamere, J. S.: Balancing accuracy, efficiency,
and flexibility in radiation calculations for dynamical models, J. Adv. Model. Earth Sy., 11, 3074–3089, 2019.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib38"><label>Raup et al.(2007)Raup, Racoviteanu, Khalsa, Helm, Armstrong, and
Arnaud</label><mixed-citation>
      
Raup, B., Racoviteanu, A., Khalsa, S. J. S., Helm, C., Armstrong, R., and
Arnaud, Y.: The GLIMS geospatial glacier database: a new tool for studying
glacier change, Global Planet. Change, 56, 101–110, 2007.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib39"><label>Shevliakova et al.(2009)Shevliakova, Pacala, Malyshev, Hurtt, Milly,
Caspersen, Sentman, Fisk, Wirth, and Crevoisier</label><mixed-citation>
      
Shevliakova, E., Pacala, S. W., Malyshev, S., Hurtt, G. C., Milly, P.,
Caspersen, J. P., Sentman, L. T., Fisk, J. P., Wirth, C., and Crevoisier, C.:
Carbon cycling under 300 years of land use change: Importance of the
secondary vegetation sink, Global Biogeochem. Cy., 23, GB2022, <a href="https://doi.org/10.1029/2007GB003176" target="_blank">https://doi.org/10.1029/2007GB003176</a>, 2009.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib40"><label>Sirguey(2009)</label><mixed-citation>
      
Sirguey, P.: Simple correction of multiple reflection effects in rugged
terrain, Int. J. Remote Sens., 30, 1075–1081, 2009.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib41"><label>Sirguey et al.(2009)Sirguey, Mathieu, and
Arnaud</label><mixed-citation>
      
Sirguey, P., Mathieu, R., and Arnaud, Y.: Subpixel monitoring of the seasonal
snow cover with MODIS at 250&thinsp;m spatial resolution in the Southern Alps of New
Zealand: Methodology and accuracy assessment, Remote Sens. Environ.,
113, 160–181, 2009.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib42"><label>Tesfa and Leung(2017)</label><mixed-citation>
      
Tesfa, T. K. and Leung, L.-Y. R.: Exploring new topography-based subgrid spatial structures for improving land surface modeling, Geosci. Model Dev., 10, 873–888, <a href="https://doi.org/10.5194/gmd-10-873-2017" target="_blank">https://doi.org/10.5194/gmd-10-873-2017</a>, 2017.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib43"><label>Villefranque et al.(2019)Villefranque, Fournier, Couvreux, Blanco,
Cornet, Eymet, Forest, and Tregan</label><mixed-citation>
      
Villefranque, N., Fournier, R., Couvreux, F., Blanco, S., Cornet, C., Eymet,
V., Forest, V., and Tregan, J.-M.: A Path-Tracing Monte Carlo Library for 3-D
Radiative Transfer in Highly Resolved Cloudy Atmospheres, J. Adv. Model. Earth Sy., 11, 2449–2473, 2019.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib44"><label>Zhao et al.(2018)Zhao, Golaz, Held, Guo, Balaji, Benson, Chen, Chen,
Donner, Dunne et al.</label><mixed-citation>
      
Zhao, M., Golaz, J.-C., Held, I. M., Guo, H., Balaji, V., Benson, R., Chen,
J.-H., Chen, X., Donner, L. J., Dunne, J. P., Dunne, K., Durachta, J., Fan,
S.-M., Freidenreich, S. M., Garner, S. T., Ginoux, P., Harris, L. M., Horowitz,
L. W., Krasting, J. P., Langenhorst, A. R., Liang, Z., Lin, P., Lin, S.-J.,
Malyshev, S. L., Mason, E., Milly, P. C. D., Ming, Y., Naik, V., Paulot, F.,
Paynter, D., Phillipps, P., Radhakrishnan, A., Ramaswamy, V., Robinson, T.,
Schwarzkopf, D., Seman, C. J., Shevliakova, E., Shen, Z., Shin, H., Silvers, L.
G., Wilson, J. R., Winton, M., Wittenberg, A. T., Wyman, B., and Xiang, B.: The GFDL global atmosphere and land
model AM4. 0/LM4. 0: 2. Model description, sensitivity studies, and tuning
strategies, J. Adv. Model. Earth Sy., 10, 735–769,
2018.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib45"><label>Zorzetto(2022a)</label><mixed-citation>
      
Zorzetto, E.: Code for analyzing the sub–grid distribution of shortwave radiation over mountainous terrain, <a href="https://doi.org/10.5281/zenodo.7714735" target="_blank">https://doi.org/10.5281/zenodo.7714735</a>, 2022a.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib46"><label>Zorzetto(2022b)</label><mixed-citation>
      
Zorzetto, E.: Data used for developing a parameterization for spatial distribution of solar irradiance over rugged terrain, Zenodo [data set], <a href="https://doi.org/10.5281/zenodo.6975857" target="_blank">https://doi.org/10.5281/zenodo.6975857</a>, 2022b.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib47"><label>Zorzetto(2023)</label><mixed-citation>
      
Zorzetto, E.: Software for constructing topography-aware subgrid land tiled datasets, Zenodo [code], <a href="https://doi.org/10.5281/zenodo.7720281" target="_blank">https://doi.org/10.5281/zenodo.7720281</a>, 2023.

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