<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing with OASIS Tables v3.0 20080202//EN" "https://jats.nlm.nih.gov/nlm-dtd/publishing/3.0/journalpub-oasis3.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:oasis="http://docs.oasis-open.org/ns/oasis-exchange/table" xml:lang="en" dtd-version="3.0" article-type="research-article">
  <front>
    <journal-meta><journal-id journal-id-type="publisher">GMD</journal-id><journal-title-group>
    <journal-title>Geoscientific Model Development</journal-title>
    <abbrev-journal-title abbrev-type="publisher">GMD</abbrev-journal-title><abbrev-journal-title abbrev-type="nlm-ta">Geosci. Model Dev.</abbrev-journal-title>
  </journal-title-group><issn pub-type="epub">1991-9603</issn><publisher>
    <publisher-name>Copernicus Publications</publisher-name>
    <publisher-loc>Göttingen, Germany</publisher-loc>
  </publisher></journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.5194/gmd-19-5139-2026</article-id><title-group><article-title>A local terrain smoothing approach for stabilizing microscale  and high-resolution mesoscale simulations: a case  study using FastEddy<sup>®</sup> (v3.0) and WRF (v4.6.0)</article-title><alt-title>Local terrain smoothing for stabilizing high-resolution simulations</alt-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes" rid="aff1">
          <name><surname>Raluy-López</surname><given-names>Eloisa</given-names></name>
          <email>eloisa.raluyl@um.es</email>
        <ext-link>https://orcid.org/0000-0001-6071-867X</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff2">
          <name><surname>Muñoz-Esparza</surname><given-names>Domingo</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="yes" rid="aff1">
          <name><surname>Montávez</surname><given-names>Juan Pedro</given-names></name>
          <email>montavez@um.es</email>
        <ext-link>https://orcid.org/0000-0001-6117-3528</ext-link></contrib>
        <aff id="aff1"><label>1</label><institution>Physics of the Earth, Regional Campus of International Excellence (CEIR) “Campus Mare Nostrum”,  University of Murcia, Murcia, Spain</institution>
        </aff>
        <aff id="aff2"><label>2</label><institution>Research Applications Laboratory, NSF National Center for Atmospheric Research (NCAR), Boulder, CO, USA</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">Eloisa Raluy-López (eloisa.raluyl@um.es) and Juan Pedro Montávez (montavez@um.es)</corresp></author-notes><pub-date><day>15</day><month>June</month><year>2026</year></pub-date>
      
      <volume>19</volume>
      <issue>11</issue>
      <fpage>5139</fpage><lpage>5154</lpage>
      <history>
        <date date-type="received"><day>1</day><month>August</month><year>2025</year></date>
           <date date-type="rev-request"><day>23</day><month>September</month><year>2025</year></date>
           <date date-type="rev-recd"><day>19</day><month>May</month><year>2026</year></date>
           <date date-type="accepted"><day>1</day><month>June</month><year>2026</year></date>
      </history>
      <permissions>
        <copyright-statement>Copyright: © 2026 Eloisa Raluy-López et al.</copyright-statement>
        <copyright-year>2026</copyright-year>
      <license license-type="open-access"><license-p>This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this licence, visit <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link></license-p></license></permissions><self-uri xlink:href="https://gmd.copernicus.org/articles/19/5139/2026/gmd-19-5139-2026.html">This article is available from https://gmd.copernicus.org/articles/19/5139/2026/gmd-19-5139-2026.html</self-uri><self-uri xlink:href="https://gmd.copernicus.org/articles/19/5139/2026/gmd-19-5139-2026.pdf">The full text article is available as a PDF file from https://gmd.copernicus.org/articles/19/5139/2026/gmd-19-5139-2026.pdf</self-uri>
      <abstract><title>Abstract</title>

      <p id="d2e116">High-resolution simulations at both mesoscale and microscale increasingly rely on detailed terrain datasets, but terrain-following coordinate models can suffer from numerical instabilities in steep-slope regions. To address this issue, terrain smoothing is typically applied in numerical weather prediction models, though conventional global smoothing unnecessarily reduces resolution across the entire domain. This study presents a localized terrain smoothing approach designed to prevent numerical instabilities while preserving terrain details. Different smoothing strategies were tested for efficiency, computational cost, and terrain preservation. The final approach applies a Gaussian filter with adaptive standard deviation within a localized 3 <inline-formula><mml:math id="M1" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 3 grid, with a blending factor of 0.2, and treating all the steep-slope points simultaneously. Integrated into the NCAR's FastEddy<sup>®</sup> LES and WRF mesoscale community models, this technique effectively prevents terrain-driven instabilities in high-resolution simulations over complex terrain. The proposed local filtering method helps minimizing loss of terrain detail and avoiding the need for excessively strong numerical filtering during run time to stabilize the simulations. This method is computationally efficient, easy to implement, and adaptable to other models, providing a robust solution to improve numerical stability while maintaining high-resolution terrain features.</p>
  </abstract>
    </article-meta>
  </front>
<body>
      

<sec id="Ch1.S1" sec-type="intro">
  <label>1</label><title>Introduction</title>
      <p id="d2e138">The accurate representation of terrain is essential in atmospheric modeling. It influences wind patterns, turbulence, boundary layer development, orographic precipitation and other key meteorological processes <xref ref-type="bibr" rid="bib1.bibx28 bib1.bibx10 bib1.bibx16 bib1.bibx31 bib1.bibx38" id="paren.1"><named-content content-type="pre">e.g.,</named-content></xref>. Many numerical models rely on terrain-following coordinate systems to capture these effects, such as the Weather Research and Forecasting model <xref ref-type="bibr" rid="bib1.bibx35" id="paren.2"><named-content content-type="pre">WRF;</named-content></xref>, and the FastEddy<sup>®</sup> large-eddy simulation (LES) model <xref ref-type="bibr" rid="bib1.bibx32 bib1.bibx26" id="paren.3"/>. However, when working with high-resolution datasets, steep terrain slopes can introduce numerical instabilities, adversely affecting the accuracy of the simulations <xref ref-type="bibr" rid="bib1.bibx19 bib1.bibx33 bib1.bibx15 bib1.bibx39 bib1.bibx18" id="paren.4"/>. This issue is of particular concern when terrain slopes exceed empirical critical values of around 30–40°. In such cases, numerical instabilities can primarily arise from the interaction between steep orography and terrain-following coordinates at finite grid resolution, which amplifies pressure-gradient discretization errors and spurious vertical velocities <xref ref-type="bibr" rid="bib1.bibx33 bib1.bibx15" id="paren.5"><named-content content-type="pre">e.g.,</named-content></xref>. The effective stability also depends on local resolution and time-integration settings (e.g., Courant number), so tolerable slopes may vary across models and configurations.</p>
      <p id="d2e166">To address numerical instabilities over steep terrain, it is common to apply terrain smoothing <xref ref-type="bibr" rid="bib1.bibx4 bib1.bibx35" id="paren.6"><named-content content-type="pre">e.g.,</named-content></xref>, or to increase damping constants <xref ref-type="bibr" rid="bib1.bibx1" id="paren.7"/> and time off-centering parameters for vertically propagating sound waves <xref ref-type="bibr" rid="bib1.bibx20" id="paren.8"><named-content content-type="pre">see e.g.,</named-content></xref>. However, increasing these values may lead to unphysical results, thus its implementation is not advised <xref ref-type="bibr" rid="bib1.bibx1" id="paren.9"/>. Current approaches usually involve applying global smoothing methods across the entire domain, which inevitably results in a loss of terrain detail and resolution in regions where the smoothing was not needed. Moreover, as the model resolution increases, so does the number of grid points with steep slopes, underscoring the need for alternative terrain smoothing strategies.</p>
      <p id="d2e185">Some recent works tried to address the loss of terrain properties when a smoothing approach is applied. For instance, <xref ref-type="bibr" rid="bib1.bibx3" id="text.10"/> developed a smoothing method that preserves the orographic features of the terrain. However, this method is still based on a global approach that modifies the whole domain. <xref ref-type="bibr" rid="bib1.bibx34" id="text.11"/> proposed a targeted smoothing method that partially addresses the limitations of uniformly applied global approaches. It blends a minimally smoothed terrain with a strongly smoothed one, with the latter being dominant over the localized steep-slope points. Nevertheless, this method still modifies the entire domain to some extent.</p>
      <p id="d2e194">This study presents the development and implementation of a local terrain smoothing approach designed to mitigate numerical instabilities in a mesoscale model (WRF) and a microscale LES model (FastEddy<sup>®</sup>; hereafter referred to simply as FastEddy), and that is easily adaptable to other models. In this context, “local” refers to a smoothing strategy that selectively modifies only the grid points where terrain slopes exceed predefined thresholds associated with numerical stability, while leaving the rest of the domain unchanged. Various smoothing techniques were evaluated, including both simultaneous and sequential approaches. The most effective method was selected and implemented, following a performance analysis, considering the number of iterations required for convergence, computational cost, and, most importantly, the degree of terrain distortion.  This methodology is described in Sect. <xref ref-type="sec" rid="Ch1.S2"/>. Section <xref ref-type="sec" rid="Ch1.S3"/> presents the results, including the application of the selected method to a case study where the simulation failed due to CFL-related instabilities in both WRF and FastEddy. Finally, Sect. <xref ref-type="sec" rid="Ch1.S4"/> summarizes the main conclusions.</p>
</sec>
<sec id="Ch1.S2">
  <label>2</label><title>Methodology</title>
<sec id="Ch1.S2.SS1">
  <label>2.1</label><title>Model setup and terrain representation</title>
      <p id="d2e221">The city of Murcia, located in southeastern Spain, was selected as the study area. This region lies within a valley bordered by mountains to the north and south, featuring areas of complex orography. The WRF mesoscale model, version 4.6.0, and the FastEddy LES model, version 3.0, were employed in combination to analyze terrain-driven instabilities across both mesoscale and microscale domains.</p>
<sec id="Ch1.S2.SS1.SSS1">
  <label>2.1.1</label><title>WRF configuration</title>
      <p id="d2e231">The WRF configuration consists of four one-way nested domains with horizontal resolutions of 9, 3, 1, and 0.2 <inline-formula><mml:math id="M2" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> (Fig. <xref ref-type="fig" rid="FA1"/>), approximately centered over the city of Murcia.  The vertical grid includes 45 eta levels explicitly defined in the model configuration (see Appendix <xref ref-type="sec" rid="App1.Ch1.S1"/>), with enhanced resolution near the surface, and the model top set at 50 <inline-formula><mml:math id="M3" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">hPa</mml:mi></mml:mrow></mml:math></inline-formula>. The cell center of the lowest model layer is located at approximately 15 <inline-formula><mml:math id="M4" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> above ground level (domain average). Subsequent model-layer centers are located at approximately 46, 78, 110, 144, and 180 <inline-formula><mml:math id="M5" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula>, with a vertical spacing that gradually increases with height.</p>

      <fig id="F1" specific-use="star"><label>Figure 1</label><caption><p id="d2e273"><bold>(a)</bold> Innermost WRF domain consisting on a 60 <inline-formula><mml:math id="M6" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M7" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 60 <inline-formula><mml:math id="M8" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> area at 200 <inline-formula><mml:math id="M9" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> resolution centered on the city of Murcia. The steep-slope points (sspts; slopes higher than 30°) are represented with red dots. The orange square represents the extended FastEddy domain. <bold>(b)</bold> Extended FastEddy domain of 20 <inline-formula><mml:math id="M10" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M11" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 20 <inline-formula><mml:math id="M12" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> at 10 <inline-formula><mml:math id="M13" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> resolution centered on the city of Murcia. The steep-slope points  (sspts; slopes higher than 35°) are represented with red dots. The dotted black square represents the 15 <inline-formula><mml:math id="M14" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M15" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 15 <inline-formula><mml:math id="M16" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> FastEddy domain. The white squares in both domains indicate areas of terrain-driven numerical instabilities in the simulations. The zooms to the white squares show the vertical component of the wind right before the models crash.</p></caption>
            <graphic xlink:href="https://gmd.copernicus.org/articles/19/5139/2026/gmd-19-5139-2026-f01.png"/>

          </fig>

      <p id="d2e374">Terrain elevation data for domains 1 to 3 were obtained from the Global Multi-resolution Terrain Elevation Data 2010 <xref ref-type="bibr" rid="bib1.bibx6" id="paren.12"><named-content content-type="pre">GMTED2010;</named-content></xref> dataset with a spatial resolution of 30 <inline-formula><mml:math id="M17" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">arcsec</mml:mi></mml:mrow></mml:math></inline-formula> (<inline-formula><mml:math id="M18" display="inline"><mml:mo lspace="0mm">∼</mml:mo></mml:math></inline-formula> 1 <inline-formula><mml:math id="M19" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula>), which is the default option included in the WRF Preprocessing System (WPS). For the innermost domain (d04), covering an area of approximately 60 <inline-formula><mml:math id="M20" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M21" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 60 <inline-formula><mml:math id="M22" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> with <inline-formula><mml:math id="M23" display="inline"><mml:mi mathvariant="normal">Δ</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M24" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 200 <inline-formula><mml:math id="M25" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula>, the resolution of this default terrain dataset was found to be too coarse. Therefore, the Shuttle Radar Topography Mission dataset with a spatial resolution of 90 <inline-formula><mml:math id="M26" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> <xref ref-type="bibr" rid="bib1.bibx9" id="paren.13"><named-content content-type="pre">SRTM90;</named-content></xref> was used instead. Terrain data are interpolated onto the model grids using WPS spatial averaging options, which effectively filter out unresolved high-wavenumber components and prevent aliasing.  In the high-resolution domain, terrain slopes locally exceed the empirical thresholds recommended for mesoscale modeling. Specifically, Fig. <xref ref-type="fig" rid="F1"/>a shows the number and spatial distribution of grid points where such steep slopes of more than 30° are present. This more conservative threshold is required to ensure numerical stability in this WRF simulation, as discussed later in Sect. <xref ref-type="sec" rid="Ch1.S3.SS2"/>. The rest of the WRF configuration, including further surface characterization and physical parametrizations, is provided in Appendix <xref ref-type="sec" rid="App1.Ch1.S1"/>.</p>
</sec>
<sec id="Ch1.S2.SS1.SSS2">
  <label>2.1.2</label><title>FastEddy configuration</title>
      <p id="d2e479">The FastEddy simulations are performed over a 15 <inline-formula><mml:math id="M27" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M28" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 15 <inline-formula><mml:math id="M29" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> inner (simulation) domain approximately centered on the city of Murcia (see Fig. <xref ref-type="fig" rid="F1"/>b), with a horizontal spatial resolution of 10 <inline-formula><mml:math id="M30" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> ((<inline-formula><mml:math id="M31" display="inline"><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi>x</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>N</mml:mi><mml:mi>y</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) <inline-formula><mml:math id="M32" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> (1536, 1530)). The vertical extent reaches up to 2700 <inline-formula><mml:math id="M33" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> above sea level and is divided into 90 levels using vertical stretching, corresponding to more than 2 <inline-formula><mml:math id="M34" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> above ground level across the domain. This configuration is appropriate for assessing the numerical stability of the microscale LES setup under the stability conditions considered herein. The vertical grid is defined using a uniform spacing of 23 <inline-formula><mml:math id="M35" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> together with vertical deformation (with a vertical deformation factor of 0.264), enhancing the resolution near the surface. The lowest model level is located at approximately 6 <inline-formula><mml:math id="M36" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">a</mml:mi><mml:mo>.</mml:mo><mml:mi mathvariant="normal">g</mml:mi><mml:mo>.</mml:mo><mml:mi mathvariant="normal">l</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:math></inline-formula>, with a vertical spacing of approximately 12 <inline-formula><mml:math id="M37" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> near the surface that gradually increases with height. Figure <xref ref-type="fig" rid="F1"/>b also shows the 20 <inline-formula><mml:math id="M38" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M39" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 20 <inline-formula><mml:math id="M40" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> extended (preprocessing) FastEddy domain used only in the <italic>SimGrid</italic> step to generate the geographical fields (terrain elevation, land use, roughness length) for the inner domain. The different terrain-smoothing methods are applied and compared over this extended domain because it contains a larger fraction of steep-slope points, providing a more demanding test. The LES integration is performed exclusively in the inner domain to assess whether the smoothing yields numerically stable simulations. Nevertheless, any smaller domain extracted from the smoothed extended domain is expected to run without terrain-driven numerical instabilities.</p>
      <p id="d2e623">The terrain elevation data were extracted from the Spanish National 2nd-Coverage Digital Terrain Model <xref ref-type="bibr" rid="bib1.bibx13" id="paren.14"><named-content content-type="pre">MDT02; 2015–2021;</named-content></xref>, with a native grid spacing of 2 <inline-formula><mml:math id="M41" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula>, obtained from the download center of the National Geography Institute of Spain. The data were aggregated to the target FastEddy resolution (10 <inline-formula><mml:math id="M42" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula>) using spatial averaging.  Under this representation, problematic points emerge in areas with slopes exceeding 35° (Fig. <xref ref-type="fig" rid="F1"/>b). Details on land use, surface properties, the selected physical parametrizations, and the coupling with WRF are provided in Appendix <xref ref-type="sec" rid="App1.Ch1.S2"/>.</p>
</sec>
<sec id="Ch1.S2.SS1.SSS3">
  <label>2.1.3</label><title>Case study</title>
      <p id="d2e659">To explore the occurrence and impact of terrain-driven numerical instabilities under realistic atmospheric conditions, a representative case study was selected. The case study focuses on a warm and windy episode that occurred on 26–27 May 2023. The simulation period for WRF spans from 12:00 UTC on 26 May to 00:00 UTC on 28 May, with an hourly output frequency. The FastEddy simulation covers the period from 11:00 to 15:00 UTC on 27 May, with model output recorded at 5 <inline-formula><mml:math id="M43" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:math></inline-formula> intervals.</p>

      <fig id="F2" specific-use="star"><label>Figure 2</label><caption><p id="d2e672">Conceptualization of the smoothing approaches. From left to right: simple 3 <inline-formula><mml:math id="M44" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 3 method, 3 <inline-formula><mml:math id="M45" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 3 method with blending, and <inline-formula><mml:math id="M46" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M47" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> <inline-formula><mml:math id="M48" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula> method with progressive blending.</p></caption>
            <graphic xlink:href="https://gmd.copernicus.org/articles/19/5139/2026/gmd-19-5139-2026-f02.png"/>

          </fig>

      <p id="d2e716">This event features persistent north-easterly winds interacting with complex terrain. As illustrated in Fig. <xref ref-type="fig" rid="F1"/>, both models exhibit pronounced numerical instabilities visible in the vertical wind component – exceeding 100 <inline-formula><mml:math id="M49" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> in the case of WRF – which ultimately lead to CFL errors and cause the simulation to crash within just a few time steps.  In the case of FastEddy, these instabilities are particularly concentrated in the mountainous southeastern portion of the domain, where steep-slope points give rise to anomalous flow structures and unphysical vertical wind speeds. Note that the selected case is simply for illustration purposes, and that numerical instabilities may arise irrespective of the simulated days and/or weather conditions, since these are ultimately driven by static terrain features.</p>
</sec>
</sec>
<sec id="Ch1.S2.SS2">
  <label>2.2</label><title>Local smoothing approaches</title>
      <p id="d2e747">This study proposes and evaluates several terrain smoothing methodologies aimed at preventing the emergence of terrain-driven numerical instabilities, such as those illustrated in Fig. <xref ref-type="fig" rid="F1"/>. All the proposed methods apply a local smoothing based on the use of a Gaussian filter over a variable-size window centered on each grid point that exceeds a slope threshold. The Gaussian filter assigns weights to surrounding cells according to a normal distribution, with higher weights near the center and decreasing weights further away. The standard deviation parameter, <inline-formula><mml:math id="M50" display="inline"><mml:mi mathvariant="italic">σ</mml:mi></mml:math></inline-formula>, controls the spread of this distribution: smaller <inline-formula><mml:math id="M51" display="inline"><mml:mi mathvariant="italic">σ</mml:mi></mml:math></inline-formula> values result in more localized smoothing, while larger <inline-formula><mml:math id="M52" display="inline"><mml:mi mathvariant="italic">σ</mml:mi></mml:math></inline-formula> values produce a broader and stronger smoothing effect. The Gaussian filter was chosen due to its effectiveness in attenuating high-frequency noise while preserving larger-scale topographic features. Furthermore, the use of a localized method ensures that the majority of the grid points are not being modified in any way, as only the steep-slope points (and their immediate surroundings) are smoothed out.</p>
      <p id="d2e773">It is worth noting that global terrain smoothing is sometimes used in modeling workflows as a practical way to mitigate aliasing effects arising from the direct sampling of high-resolution datasets onto coarser grids. The local smoothing approaches proposed in this study are not intended to address aliasing, but rather to control excessive terrain slopes while preserving local features. Therefore, the input terrain is assumed to be already consistent with the target model resolution, with unresolved high-wavenumber components removed during the initial preprocessing stage (e.g., through spatial averaging). In the present work, this condition is ensured by the use of averaging-based interpolation in WRF and block-averaging procedures to preprocess the terrain datasets used in FastEddy.</p>
      <p id="d2e776">Two smoothing strategies are considered: sequential, in which only the steepest point is treated at each iteration, and simultaneous, where all problematic points are treated in a single iteration. In all cases, the maximum number of iterations is set to 1.5 times the number of grid points with steep slopes. This upper limit is introduced to prevent potentially unbounded iterations. The iterative process stops once the maximum slope falls below the prescribed threshold, so this upper limit is in the majority of instances not reached.</p>
      <p id="d2e779">The first step in all methods is the identification of grid points exhibiting steep slopes; that is, points where the terrain gradient in any direction exceeds a predefined threshold. This threshold was set to 35° throughout the testing phase to enable a consistent comparison between methods. Once the most suitable method is selected, the threshold remains a user-configurable parameter in the final implementation. Smoothing is then applied based on the specific characteristics of each method. The approaches evaluated in this study are summarized below. <list list-type="order"><list-item>
      <p id="d2e784">Simple sequential 3 <inline-formula><mml:math id="M53" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 3 method. In each iteration, a Gaussian filter with an adaptive <inline-formula><mml:math id="M54" display="inline"><mml:mi mathvariant="italic">σ</mml:mi></mml:math></inline-formula> is applied to a 3 <inline-formula><mml:math id="M55" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 3 window centered on the point of maximum slope (see the first method in Fig. <xref ref-type="fig" rid="F2"/>). The process is repeated until the maximum slope does not exceed the threshold. In each iteration, the value of <inline-formula><mml:math id="M56" display="inline"><mml:mi mathvariant="italic">σ</mml:mi></mml:math></inline-formula> starts at 1.0 and can be increased in steps of <inline-formula><mml:math id="M57" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi mathvariant="italic">σ</mml:mi></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M58" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 1 up to <inline-formula><mml:math id="M59" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">σ</mml:mi><mml:mtext>max</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M60" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 25 if no steep-slope points are corrected with the previous <inline-formula><mml:math id="M61" display="inline"><mml:mi mathvariant="italic">σ</mml:mi></mml:math></inline-formula> value.</p></list-item><list-item>
      <p id="d2e861">Sequential 3 <inline-formula><mml:math id="M62" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 3 with blending method. Similar to Method 1, but the window's edge points' altitude is a combination of the original and smoothed terrains according to a blending factor (BF). The BF represents the proportion of modified terrain in the combination with the original to obtain the smoothed one (see the second method in Fig. <xref ref-type="fig" rid="F2"/>). In this work, BFs of 0.2, 0.5, and 0.8 were tested. Method 1 is equivalent to Method 2 with a BF of 1.</p></list-item><list-item>
      <p id="d2e874">Sequential <inline-formula><mml:math id="M63" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M64" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> <inline-formula><mml:math id="M65" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula> with progressive blending method. Similar to Method 2, but the size of the window is adjustable and the altitude of each point inside it is a combination of the original and smoothed terrains according to its distance to the center. The further to the center, the smaller the proportion of the filtered terrain in the result. This study presents the <inline-formula><mml:math id="M66" display="inline"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M67" display="inline"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">7</mml:mn></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M68" display="inline"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">9</mml:mn></mml:mrow></mml:math></inline-formula> configurations with a progressive BF according to Eq. (<xref ref-type="disp-formula" rid="Ch1.E1"/>) (see also the third method in Fig. <xref ref-type="fig" rid="F2"/>). Method 2 with a BF <inline-formula><mml:math id="M69" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 0.5 is equivalent to Method 3 with <inline-formula><mml:math id="M70" display="inline"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:math></inline-formula>.<disp-formula id="Ch1.E1" content-type="numbered"><label>1</label><mml:math id="M71" display="block"><mml:mrow><mml:msub><mml:mtext>BF</mml:mtext><mml:mi>n</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msup><mml:mn mathvariant="normal">2</mml:mn><mml:mfrac><mml:mrow><mml:mi>n</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:msup></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo><mml:mtext>with</mml:mtext><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi>n</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</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:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:mi>N</mml:mi></mml:mrow></mml:math></disp-formula></p></list-item><list-item>
      <p id="d2e1017">Simultaneous 3 <inline-formula><mml:math id="M72" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 3 with blending method. Same as Method 2, but all the steep-slope points are treated in the same iteration. The following iteration first recomputes the slope field. Configurations with BF of 0.05, 0.1, 0.2, 0.5 and 0.8 are presented.</p></list-item><list-item>
      <p id="d2e1028">Simultaneous <inline-formula><mml:math id="M73" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M74" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> <inline-formula><mml:math id="M75" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula> with progressive blending method. Same as Method 3, but all the steep-slope points are treated in the same iteration. The following iteration first recomputes the slope. Configurations with <inline-formula><mml:math id="M76" display="inline"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">7</mml:mn></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M77" display="inline"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">9</mml:mn></mml:mrow></mml:math></inline-formula> are presented.</p></list-item></list></p>
</sec>
<sec id="Ch1.S2.SS3">
  <label>2.3</label><title>Performance evaluation and method selection</title>
      <p id="d2e1084">To identify the best method, a performance analysis was carried out to balance computational cost and terrain distortion. For comparison, the analysis also includes a global smoothing approach. This method applies a Gaussian filter over the entire domain, following the same adaptive-<inline-formula><mml:math id="M78" display="inline"><mml:mi mathvariant="italic">σ</mml:mi></mml:math></inline-formula> strategy as the local methods: each iteration begins with <inline-formula><mml:math id="M79" display="inline"><mml:mrow><mml:mi mathvariant="italic">σ</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1.0</mml:mn></mml:mrow></mml:math></inline-formula> and increases in increments of <inline-formula><mml:math id="M80" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi mathvariant="italic">σ</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> up to a maximum of 25 if no steep-slope points are corrected with the previous <inline-formula><mml:math id="M81" display="inline"><mml:mi mathvariant="italic">σ</mml:mi></mml:math></inline-formula> value.</p>
      <p id="d2e1127">The first part of the analysis focuses on a comparison of the 15 smoothing configurations in terms of computational time and number of iterations to convergence (i.e., maximum slope below the prescribed threshold, no remaining steep-slope points), aiming to identify the most time-efficient approaches. Next, terrain distortion is evaluated as the relative elevation difference with respect to the original topography. The optimal method is then selected based on a balance between efficiency and minimal topographic alteration. Finally, slope distributions and power spectral density are compared across the original, locally smoothed, and globally smoothed topographies.</p>

      <fig id="F3"><label>Figure 3</label><caption><p id="d2e1132">Extended FastEddy domain upscaled to 25 <inline-formula><mml:math id="M82" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> resolution. The steep-slope points (sspts; points with slopes exceeding 35°) are represented with red dots.</p></caption>
          <graphic xlink:href="https://gmd.copernicus.org/articles/19/5139/2026/gmd-19-5139-2026-f03.png"/>

        </fig>

      <p id="d2e1150">Since the extended FastEddy domain has a higher spatial resolution than the WRF domains, it presents a greater number of steep-slope points. Therefore, the performance analysis of the different smoothing methods is conducted using this 20 <inline-formula><mml:math id="M83" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M84" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 20 <inline-formula><mml:math id="M85" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> domain. For the sake of simplicity, the domain is upscaled to 25 <inline-formula><mml:math id="M86" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> (Fig. <xref ref-type="fig" rid="F3"/>) by block-averaging over non-overlapping 25 <inline-formula><mml:math id="M87" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M88" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 25 <inline-formula><mml:math id="M89" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> tiles, which significantly reduces the computational cost of the analysis while preserving the validity of the conclusions.  The 25 <inline-formula><mml:math id="M90" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> resolution domain is used only for method development and evaluation, whereas the FastEddy and WRF domains at their target resolutions (Fig. <xref ref-type="fig" rid="F1"/>) represent the configurations for which the smoothing approach is ultimately intended and where the simulations are carried out.  Once the most suitable method is identified, it is applied to the full-resolution FastEddy domain (<inline-formula><mml:math id="M91" display="inline"><mml:mi mathvariant="normal">Δ</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M92" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 10 <inline-formula><mml:math id="M93" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula>) and the fourth WRF domain (<inline-formula><mml:math id="M94" display="inline"><mml:mi mathvariant="normal">Δ</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M95" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 200 <inline-formula><mml:math id="M96" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula>). For both, computational time and induced terrain distortion are quantified, as well as the impacts on slope distribution and on the terrain power spectral density.</p>
      <p id="d2e1265">Finally, the originally numerically unstable simulations are re-run using the smoothed topography in order to verify whether the application of the selected method allows them to run successfully.</p>

      <fig id="F4" specific-use="star"><label>Figure 4</label><caption><p id="d2e1270">Number of steep-slope points and maximum slope as a function of the number of iterations for each local smoothing method. The panels on the right focus on the simultaneous methods, providing a zoomed-in view due to their faster convergence.</p></caption>
          <graphic xlink:href="https://gmd.copernicus.org/articles/19/5139/2026/gmd-19-5139-2026-f04.png"/>

        </fig>

</sec>
</sec>
<sec id="Ch1.S3">
  <label>3</label><title>Results and discussion</title>
<sec id="Ch1.S3.SS1">
  <label>3.1</label><title>Methods performance and selection</title>
      <p id="d2e1295">The performance of the 15 smoothing methods, including global smoothing, was evaluated for the extended FastEddy domain at 25 <inline-formula><mml:math id="M97" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> resolution. First, the computational efficiency of each method was assessed in terms of the number of iterations and total time required to reach convergence. Second, the terrain distortion introduced by each method was quantified relative to the original topography. Based on both criteria, the method that best balances computational speed and terrain preservation was selected.</p>

      <fig id="F5" specific-use="star"><label>Figure 5</label><caption><p id="d2e1308">Bar plot of the number of iterations to convergence for each smoothing method. The bar capped with a grey line indicates non-convergence within the maximum iteration limit. Red dots show relative convergence time compared to the simple sequential method.</p></caption>
          <graphic xlink:href="https://gmd.copernicus.org/articles/19/5139/2026/gmd-19-5139-2026-f05.png"/>

        </fig>

<sec id="Ch1.S3.SS1.SSS1">
  <label>3.1.1</label><title>Time/iterations to reach convergence</title>
      <p id="d2e1324">Figure <xref ref-type="fig" rid="F4"/> shows the performance of the 14 tested local smoothing methods. It displays the reduction in the number of steep-slope points and the corresponding decrease in slope magnitude as a function of the number of iterations. Sequential methods require significantly more iterations, especially the simple method and those approaches with BFs of 0.8, 0.5, and 0.2. In particular, the latter fails to reach convergence within the maximum allowed number of iterations. However, in cases with fewer problematic points, this method might still converge. The <inline-formula><mml:math id="M98" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M99" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> <inline-formula><mml:math id="M100" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula> methods with progressive blending require fewer iterations with larger values of <inline-formula><mml:math id="M101" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula>. Simultaneous methods are substantially faster, requiring up to two orders of magnitude fewer iterations. Among them, the 3 <inline-formula><mml:math id="M102" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 3 simultaneous methods with BF of 0.8 and 0.5 are the ones that need the fewest iterations. The number of required iterations decreases with higher BFs; i.e., when a smaller portion of the original terrain is preserved in the boundary cells of the smoothed surface. The 3 <inline-formula><mml:math id="M103" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 3 method with BF <inline-formula><mml:math id="M104" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 0.05 is the simultaneous approach that needs the most iterations, followed by the <inline-formula><mml:math id="M105" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M106" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> <inline-formula><mml:math id="M107" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula> method with <inline-formula><mml:math id="M108" display="inline"><mml:mrow><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">9</mml:mn></mml:mrow></mml:math></inline-formula>. For all methods, the majority of the iterations were performed with <inline-formula><mml:math id="M109" display="inline"><mml:mrow><mml:mi mathvariant="italic">σ</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>, indicating that minimal smoothing was sufficient in most cases.  A temporary increase in maximum slope can be observed in some cases during the smoothing procedure, as modifications to a localized area may increase elevation differences with adjacent untreated grid points. This increase is subsequently reduced in the following iterations as the affected points are progressively smoothed.</p>
      <p id="d2e1425">Figure <xref ref-type="fig" rid="F5"/> presents a bar plot showing the number of iterations required to reach convergence for the 14 local smoothing methods and the global method. Additionally, the computational time normalized relative to the simple sequential method is indicated in red. The global smoothing method is by far the fastest, followed by the simultaneous methods. In terms of computation time, all simultaneous methods significantly outperform the sequential methods. Specifically, for this domain with 8200 steep-slope points exceeding 35°, the simple method required 859 <inline-formula><mml:math id="M110" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">s</mml:mi></mml:mrow></mml:math></inline-formula> to reach convergence using an Intel Xeon Gold 6140 CPU (2.30 <inline-formula><mml:math id="M111" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">GHz</mml:mi></mml:mrow></mml:math></inline-formula>). In contrast, simultaneous methods completed in a range between 1.5 (BF0.8_sim) and 51 (proN9_sim) s. The global method required only 0.39 <inline-formula><mml:math id="M112" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">s</mml:mi></mml:mrow></mml:math></inline-formula> to solve the problematic points in 18 iterations with <inline-formula><mml:math id="M113" display="inline"><mml:mrow><mml:mi mathvariant="italic">σ</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>. All indicated runtimes may vary depending on the available computational resources. Based on computational time alone, any of the simultaneous methods would be suitable candidates for selection.</p>

      <fig id="F6" specific-use="star"><label>Figure 6</label><caption><p id="d2e1468">Relative elevation differences (%) between the smoothed and original terrains for all smoothing methods. For the BF0.2 method, its reported distortion correspond to non-converged results (indicated with a diagonal grey dashed line), which may differ from final greater modifications.</p></caption>
            <graphic xlink:href="https://gmd.copernicus.org/articles/19/5139/2026/gmd-19-5139-2026-f06.png"/>

          </fig>

</sec>
<sec id="Ch1.S3.SS1.SSS2">
  <label>3.1.2</label><title>Terrain modification</title>
      <p id="d2e1486">A terrain distortion analysis was performed to evaluate the impact of the smoothing process. Figure <xref ref-type="fig" rid="F6"/> shows the percentage differences between the smoothed and original terrains. The global method introduces the highest distortion, altering areas that did not require smoothing. In contrast, the 3 <inline-formula><mml:math id="M114" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 3 simultaneous methods with BFs of 0.05, 0.1, and 0.2 best preserve the original terrain, with lower differences observed for smaller BFs. Those methods with BFs of 0.5 and 0.8, as well as the approaches with progressive blending (both sequential and simultaneous), introduce more substantial modifications to the original terrain. The sequential method with BF <inline-formula><mml:math id="M115" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 0.2, which did not reach convergence, is excluded from this analysis, as the reported distortions correspond to a non-converged state and may not reflect the full extent of terrain modification that it would produce upon convergence.</p>

      <fig id="F7" specific-use="star"><label>Figure 7</label><caption><p id="d2e1507">Slope density distribution (left) and power spectral density (right) of the original (red), globally smoothed (green), and locally smoothed (blue) terrains of the different FastEddy and WRF domains. From top to bottom: fourth WRF domain (<inline-formula><mml:math id="M116" display="inline"><mml:mi mathvariant="normal">Δ</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M117" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 200 <inline-formula><mml:math id="M118" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula>), upscaled extended FastEddy domain (<inline-formula><mml:math id="M119" display="inline"><mml:mi mathvariant="normal">Δ</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M120" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 25 <inline-formula><mml:math id="M121" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula>), extended FastEddy domain (<inline-formula><mml:math id="M122" display="inline"><mml:mi mathvariant="normal">Δ</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M123" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 10 <inline-formula><mml:math id="M124" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula>). Grey dashed lines indicate the maximum slope thresholds, established at 30° for the mesoscale and at 35° for the microscale.</p></caption>
            <graphic xlink:href="https://gmd.copernicus.org/articles/19/5139/2026/gmd-19-5139-2026-f07.png"/>

          </fig>

      <fig id="F8" specific-use="star"><label>Figure 8</label><caption><p id="d2e1585">Comparison of original and smoothed topographies across the three modeling domains. Each row represents a different domain. From top to bottom: the fourth WRF domain (<inline-formula><mml:math id="M125" display="inline"><mml:mi mathvariant="normal">Δ</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M126" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 200 <inline-formula><mml:math id="M127" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula>), the upscaled extended FastEddy domain (<inline-formula><mml:math id="M128" display="inline"><mml:mi mathvariant="normal">Δ</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M129" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 25 <inline-formula><mml:math id="M130" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula>), and the extended FastEddy domain (<inline-formula><mml:math id="M131" display="inline"><mml:mi mathvariant="normal">Δ</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M132" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 10 <inline-formula><mml:math id="M133" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula>). Columns show, from left to right: the original topography (spatially aggregated to the corresponding model resolution), the terrain after global smoothing, the terrain after local smoothing, and the percentage elevation differences between the locally smoothed and the original topographies.</p></caption>
            <graphic xlink:href="https://gmd.copernicus.org/articles/19/5139/2026/gmd-19-5139-2026-f08.jpg"/>

          </fig>

</sec>
<sec id="Ch1.S3.SS1.SSS3">
  <label>3.1.3</label><title>Method selection</title>
      <p id="d2e1669">The simultaneous 3 <inline-formula><mml:math id="M134" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 3 method with a BF of 0.2 is the fastest among the least terrain-altering approaches. For this reason, it was selected as the most suitable method in terms of both efficiency and terrain preservation. Figure <xref ref-type="fig" rid="F7"/> presents the slope distribution and power spectral density of the terrain smoothed using this method, alongside those of the globally smoothed and original terrains (see panels with <inline-formula><mml:math id="M135" display="inline"><mml:mi mathvariant="normal">Δ</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M136" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 25 <inline-formula><mml:math id="M137" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula>). The local method effectively limits slopes to the defined threshold, while the global method produces a smoother terrain, yet some maximum slopes remain close to the threshold value.  Local smoothing leads to an increase in the frequency of slopes just below the threshold, as points originally exceeding it tend to cluster near this limit when smoothed. In contrast, global smoothing redistributes slopes toward lower gradients. Additionally, the local smoothing preserves the power spectrum of the original terrain to a large extent, closely matching it at both large and small wavelengths. A slight reduction of power is observed between 10<sup>−4</sup> and 10<sup>−2</sup> <inline-formula><mml:math id="M140" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>, corresponding to intermediate-to-large terrain features. A modest increase in power is observed for wavenumbers greater than 10<sup>−2</sup> <inline-formula><mml:math id="M142" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>, likely reflecting small-scale noise introduced during the blending process. In contrast, the global method strongly suppresses spectral power at wavenumbers larger than 3 <inline-formula><mml:math id="M143" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 10<sup>−4</sup> <inline-formula><mml:math id="M145" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>, removing all medium- and fine-scale terrain features. A comparison of the terrain distortion introduced by the global and local smoothing approaches is shown in Fig. <xref ref-type="fig" rid="F8"/>. In comparison to the global approach, the local smoothing technique preserves the terrain features to a much greater extent, introducing only minor, localized distortions.</p>
</sec>
</sec>
<sec id="Ch1.S3.SS2">
  <label>3.2</label><title>Model implementation and case study: preventing terrain-induced numerical instabilities</title>
      <p id="d2e1813">Once the optimal smoothing method was selected, it was implemented in both the WRF and FastEddy modeling systems. For WRF, the algorithm was integrated as an additional step within the WPS.  The default terrain smoothing is controlled through the <italic>GEOGRID.TBL</italic> file through the parameters <italic>smooth_option</italic> and <italic>smooth_passes</italic>, which define a global smoothing applied uniformly across the domain.  The local smoothing method developed in this study is applied to the terrain after the <italic>geogrid</italic> preprocessing, i.e., to the already interpolated topography, whether or not the <italic>geogrid</italic> smoothing has been applied. It is therefore conceived as a complementary preprocessing step in cases where the default <italic>geogrid</italic> smoothing is disabled or is not sufficient to prevent terrain-induced numerical instabilities. In the former case, appropriate interpolation options (e.g., spatial averaging) should be selected in the <italic>geogrid</italic> step to mitigate aliasing during preprocessing. The smoothing algorithm produces a new geographical file with locally smoothed topography, with all other fields preserved. The subsequent steps of the WPS workflow (<italic>ungrib</italic> and <italic>metgrid</italic>) remain unchanged.  The algorithm was implemented in Python using standard libraries. The Gaussian filter used for smoothing is imported from SciPy <xref ref-type="bibr" rid="bib1.bibx37" id="paren.15"/>. The source code, along with usage instructions and an example file, is openly available on Zenodo <xref ref-type="bibr" rid="bib1.bibx30" id="paren.16"/>. The maximum slope threshold can be adjusted by the user; however, a value around 30° is recommended to ensure stability in high-resolution WRF simulations. While the present analysis focuses on mesoscale WRF applications, the developed smoothing technique is fully compatible with WRF-LES setups as well.</p>
      <p id="d2e1850">When applied to the innermost WRF domain with a horizontal resolution of <inline-formula><mml:math id="M146" display="inline"><mml:mi mathvariant="normal">Δ</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M147" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 200 <inline-formula><mml:math id="M148" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> and an imposed maximum slope of 30°, the smoothing procedure completed in under one second, correcting 57 steep-slope points in just five iterations. Figure <xref ref-type="fig" rid="F7"/> (see panels with <inline-formula><mml:math id="M149" display="inline"><mml:mi mathvariant="normal">Δ</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M150" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 200 <inline-formula><mml:math id="M151" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula>) shows the slope distribution and power spectral density of the original and smoothed terrains. As previously seen for the upscaled FastEddy domain, the global smoothing method (2 iterations with <inline-formula><mml:math id="M152" display="inline"><mml:mrow><mml:mi mathvariant="italic">σ</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>) modifies the terrain to a large extent, eliminating most fine-scale details despite the presence of only a limited number of steep-slope points. Figure <xref ref-type="fig" rid="F8"/> displays the original terrain of this WRF domain alongside the globally and locally smoothed versions, as well as the corresponding elevation differences between the local smoothing results and the original topography. Notably, the terrain distortion introduced by the local smoothing method is minimal, particularly when compared to the substantial differences produced by the global smoothing approach.</p>
      <p id="d2e1914">Under the meteorological conditions described in Sect. <xref ref-type="sec" rid="Ch1.S2.SS1.SSS3"/>, the simulation would crash after only a few timesteps due to numerical instabilities that ultimately led to CFL errors. Without any terrain smoothing, the simulation could run successfully by applying high values of the time off-centering parameter for vertically propagating sound waves (<italic>epssm</italic> <inline-formula><mml:math id="M153" display="inline"><mml:mo>≥</mml:mo></mml:math></inline-formula> 0.9). However, as previously discussed in the Introduction, increasing this parameter may result in unphysical behavior and is therefore not recommended <xref ref-type="bibr" rid="bib1.bibx1" id="paren.17"/>. Alternatively, increasing the vertical grid spacing could also improve stability, but this would reduce the intended near-surface resolution and is therefore not considered in this study. With the implementation of the local smoothing method, the simulation successfully completes without terrain-induced numerical instabilities, requiring the modification of only a few points and resulting in only a modest increase in computational cost. In this case, the stricter 30° slope threshold was necessary, as the simulation failed when using a 35° threshold, underscoring a greater model sensitivity to steep terrain.</p>
      <p id="d2e1932">In FastEddy, terrain smoothing is handled as part of the preprocessing and is not exposed as a user-configurable namelist option. The selected local smoothing method has been fully integrated into the model source code, replacing the previously used global smoothing approach. Version 3.0 of the model <xref ref-type="bibr" rid="bib1.bibx27" id="paren.18"/> already includes this improvement. The algorithm is executed during the preprocessing <italic>SimGrid</italic> step, which performs the generation of the domain grid files including all geophysical variables. To ensure consistency with the model resolution and to minimize possible aliasing effects, the terrain should be aggregated onto the target grid prior to the application of the smoothing method (e.g., using the block-averaging option available in <italic>SimGrid</italic>). As an illustrative example, smoothing the extended 20 <inline-formula><mml:math id="M154" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M155" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 20 <inline-formula><mml:math id="M156" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> FastEddy domain at 10 <inline-formula><mml:math id="M157" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> takes less than three minutes, resolving 97 706 steep-slope points in 304 iterations using a single Intel Xeon Gold 6140 CPU (2.30 <inline-formula><mml:math id="M158" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">GHz</mml:mi></mml:mrow></mml:math></inline-formula>). The slope distributions and power spectral densities of the terrain before and after smoothing are shown in Fig. <xref ref-type="fig" rid="F7"/>. Figure <xref ref-type="fig" rid="F8"/> (see panels with <inline-formula><mml:math id="M159" display="inline"><mml:mi mathvariant="normal">Δ</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M160" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 10 <inline-formula><mml:math id="M161" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula>) compares the original terrain of the extended domain with the globally smoothed version (110 iterations with <inline-formula><mml:math id="M162" display="inline"><mml:mrow><mml:mi mathvariant="italic">σ</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>) and the locally smoothed version, also showing the elevation differences introduced by the local method. The conclusions drawn for the 10 <inline-formula><mml:math id="M163" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> resolution extended domain are consistent with those obtained from the upscaled analysis. Following the application of the local smoothing algorithm, the previously failing simulation runs to completion without any terrain-induced numerical instabilities and without the appearance of spurious values or structures.</p>
      <p id="d2e2032">Although the global smoothing method also ensures numerical stability in both models, it substantially compromises fine-scale terrain features. These high-resolution details are essential for accurately representing local processes, particularly in simulations aimed at capturing small-scale atmospheric dynamics. High-resolution simulations using terrain-following coordinates over steep topography remain challenging. Any terrain modification, including the proposed local smoothing approach, may introduce deviations from the original topographic representation. However, the original setups could not be integrated successfully without appropriate terrain treatment due to terrain-driven instabilities. Excessive global smoothing can significantly distort the topography, effectively undermining the benefits of high-resolution modeling. In contrast, the local smoothing approach restricts terrain modifications to a limited number of localized steep-slope points, leaving most of the domain unchanged. Compared to global smoothing methods, this preserves the original terrain and intended model configuration to a much greater extent, avoiding the use of artificial damping or reduced near-surface vertical resolution.</p>
      <p id="d2e2035">From a physical perspective, the realism of a simulation relies on an accurate representation of the modeled domain. Therefore, a more realistic terrain depiction is expected to contribute to improved simulation results. However, a detailed evaluation of this effect in terms of forecast skill is beyond the scope of the present study.</p>
      <p id="d2e2038">The local smoothing method offers improved preservation of the original fine-scale topography, allowing for more realistic terrain representation without sacrificing numerical stability. It introduces a slightly higher computational cost compared to global smoothing, but this difference remains small in practice. The benefits in terms of improved terrain representation and numerical robustness justify this minor additional cost. Furthermore, its local nature makes it suitable to also remove noise or other artifacts from terrain datasets that would similarly lead to numerical instabilities.</p>
</sec>
</sec>
<sec id="Ch1.S4" sec-type="conclusions">
  <label>4</label><title>Conclusions</title>
      <p id="d2e2050">High-resolution atmospheric modeling over complex terrain poses significant challenges due to the presence of steep slopes, which often lead to numerical instabilities and failed simulations. These problems are particularly relevant in models that employ terrain-following coordinate systems, such as WRF or FastEddy, where the accuracy of the simulations is tightly linked to the underlying topography. To avoid these instabilities, global terrain smoothing is frequently applied, but this solution inevitably compromises the representation of fine-scale terrain features that are essential for studying local meteorological processes. As model resolutions continue to increase and finer details become more relevant, there is a growing need for alternative approaches that ensure numerical stability while preserving the physical properties of the terrain.</p>
      <p id="d2e2053">In this work, a local terrain smoothing approach is developed and implemented. It is specifically designed to address numerical instabilities caused by steep slopes, while minimizing the loss of terrain detail. Several local smoothing strategies were tested and evaluated according to their performance in reducing steep-slope points, preserving topographic features, and maintaining a low computational cost. The best-performing method was the simultaneous 3 <inline-formula><mml:math id="M164" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 3 method with a blending factor of 0.2. It treats all the problematic points in the same iteration, applying a Gaussian filter with adaptive standard deviation over 3 <inline-formula><mml:math id="M165" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 3 cells. The central point is completely smoothed, while the edge cells preserve an 80 % of the original terrain information.</p>
      <p id="d2e2070">The selected local method was integrated into both WRF and FastEddy modeling frameworks, and its effectiveness was demonstrated in high-resolution domains. In WRF, it was added as an extra step within the WPS. In FastEddy, it replaced the previously implemented global smoother and is already included in the latest publicly available version of the model. Unlike traditional global smoothing methods, the local approach selectively modifies only problematic areas, allowing the rest of the terrain to remain unaltered and ensuring a more physically realistic representation of complex topography. Furthermore, the increase in preprocessing time was negligible, with even complex domains being smoothed in just a few minutes using standard hardware.</p>
      <p id="d2e2073">The application of the selected method successfully prevents terrain-driven instabilities, without the need for artificial damping or large-scale topographic simplifications. When applied to a complex terrain, prone to triggering numerical instabilities, it allows the previously failing simulations to complete without errors.</p>
      <p id="d2e2077">In conclusion, the developed local smoothing method helps ensure numerical stability while preserving the essential fine-scale structure of the original terrain. This makes it particularly well suited for applications that demand high spatial fidelity. This method has been successfully implemented in both a mesoscale and a microscale model, and its design allows for straightforward adaptation to other modeling frameworks.</p>
</sec>

      
      </body>
    <back><app-group>

<app id="App1.Ch1.S1">
  <label>Appendix A</label><title>WRF setup details</title>
      <p id="d2e2092">Across all domains, land cover information was derived from the CGLC-MODIS-LCZ dataset at 100 <inline-formula><mml:math id="M166" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> resolution <xref ref-type="bibr" rid="bib1.bibx8" id="paren.19"/>, and soil texture classification was obtained from the HWSD version 2-based global dataset tailored for WRF <xref ref-type="bibr" rid="bib1.bibx2" id="paren.20"/>, available at 30 <inline-formula><mml:math id="M167" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">arcsec</mml:mi></mml:mrow></mml:math></inline-formula> (<inline-formula><mml:math id="M168" display="inline"><mml:mo lspace="0mm">∼</mml:mo></mml:math></inline-formula> 1 <inline-formula><mml:math id="M169" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula>) resolution. All other geophysical datasets required by the WPS were used as provided by default.</p>
      <p id="d2e2133">The initial and boundary conditions were derived from the ERA5 reanalysis, with a spatial resolution of approximately 27 <inline-formula><mml:math id="M170" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula>, and updated in the model every 3 <inline-formula><mml:math id="M171" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">h</mml:mi></mml:mrow></mml:math></inline-formula>. This WRF configuration follows the CONUS physics suite, including: the Thompson microphysics scheme <xref ref-type="bibr" rid="bib1.bibx36" id="paren.21"/>; the Tiedtke cumulus parametrization <xref ref-type="bibr" rid="bib1.bibx40" id="paren.22"/>, activated only in the outermost domain, as domains 2 to 4 operate at convection-permitting scales; the Rapid Radiative Transfer Model for General circulation models for both shortwave and longwave radiation <xref ref-type="bibr" rid="bib1.bibx11" id="paren.23"><named-content content-type="pre">RRTMG;</named-content></xref>; the Mellor-Yamada-Janjic boundary layer scheme <xref ref-type="bibr" rid="bib1.bibx14" id="paren.24"><named-content content-type="pre">MYJ;</named-content></xref>; the Noah land surface model <xref ref-type="bibr" rid="bib1.bibx5" id="paren.25"/>; and the Eta similarity scheme for surface layer processes <xref ref-type="bibr" rid="bib1.bibx14" id="paren.26"/>. The Building Environment Parameterization <xref ref-type="bibr" rid="bib1.bibx21" id="paren.27"><named-content content-type="pre">BEP;</named-content></xref> urban canopy scheme is also activated, along with the use of the local climate zones (LCZs).</p>
      <p id="d2e2181">The eta-coordinate distribution used in the simulations was explicitly prescribed in the model configuration for enhanced near-surface resolution and was defined with <italic>eta_levels</italic> <inline-formula><mml:math id="M172" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 1.00000, 0.99629, 0.99257, 0.98879, 0.98486, 0.98071, 0.97622, 0.97130, 0.96585, 0.95977, 0.95299, 0.94540, 0.93692, 0.92744, 0.91686, 0.90507, 0.89195, 0.87737, 0.86120, 0.84331, 0.82356, 0.80181, 0.77793, 0.75181, 0.72335, 0.69246, 0.65911, 0.62329, 0.58506, 0.54455, 0.50195, 0.45755, 0.41175, 0.36503, 0.31802, 0.27144, 0.22617, 0.18317, 0.14344, 0.10788, 0.07710, 0.05132, 0.03028, 0.01343, 0.00000.</p>

      <fig id="FA1"><label>Figure A1</label><caption><p id="d2e2197">WRF study area, consisting in four one-way nested domains of 9, 3, 1, and 0.2 <inline-formula><mml:math id="M173" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> approximately centered in the city of Murcia (Spain).</p></caption>
        <graphic xlink:href="https://gmd.copernicus.org/articles/19/5139/2026/gmd-19-5139-2026-f09.png"/>

      </fig>

</app>

<app id="App1.Ch1.S2">
  <label>Appendix B</label><title>FastEddy setup details</title>
      <p id="d2e2222">Land cover information was derived from the 2014 SIOSE database, a high-resolution national land-use inventory with a minimum mapping unit of 1 <inline-formula><mml:math id="M174" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">ha</mml:mi></mml:mrow></mml:math></inline-formula> in urban areas, 2 <inline-formula><mml:math id="M175" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">ha</mml:mi></mml:mrow></mml:math></inline-formula> in rural areas, and 0.5 <inline-formula><mml:math id="M176" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">ha</mml:mi></mml:mrow></mml:math></inline-formula> in water bodies <xref ref-type="bibr" rid="bib1.bibx12" id="paren.28"/>. This dataset was translated into the MODIS-compatible land-use categories used by WRF (including the LCZs) using a reclassification table developed in this work and specifically adapted to the urban characteristics of the city of Murcia (Table <xref ref-type="table" rid="TB1"/>). The surface roughness length (<inline-formula><mml:math id="M177" display="inline"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mrow><mml:mn mathvariant="normal">0</mml:mn><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>) for each land-use category was assigned according to the new proposed values in Table <xref ref-type="table" rid="TB2"/>, based on the WRF LANDUSE.TBL and a supporting literature review. The effect of buildings was not explicitly included in these FastEddy simulations.</p>
      <p id="d2e2271">FastEddy was forced using the output from the WRF simulations, specifically from domain 3 (<inline-formula><mml:math id="M178" display="inline"><mml:mi mathvariant="normal">Δ</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M179" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 1 <inline-formula><mml:math id="M180" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula>), including all relevant prognostic variables. The coupling between WRF and FastEddy was performed in an offline, one-way manner. In this configuration, both two-dimensional (e.g., skin temperature and surface water vapor) and three-dimensional (e.g., wind components, temperature, and humidity) fields are extracted from the WRF simulation and interpolated onto the boundaries of the FastEddy domain. These interpolated fields are then applied as time-dependent Dirichlet boundary conditions along the lateral, top, and bottom boundaries. At the surface, time-evolving maps of skin temperature and specific humidity are imposed. The boundary conditions are updated every 5 <inline-formula><mml:math id="M181" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">min</mml:mi></mml:mrow></mml:math></inline-formula>. A model time step of 0.02 <inline-formula><mml:math id="M182" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">s</mml:mi></mml:mrow></mml:math></inline-formula> was selected to meet the numerical stability requirements associated with resolving acoustic wave propagation.</p>
      <p id="d2e2312">The physical configuration of FastEddy employs a prognostic subgrid-scale turbulence scheme based on the 1.5-order turbulence kinetic energy closure originally proposed by <xref ref-type="bibr" rid="bib1.bibx7" id="text.29"/>, and further refined by <xref ref-type="bibr" rid="bib1.bibx17" id="text.30"/>. Surface fluxes of momentum, sensible heat, and latent heat are computed using local surface-layer gradients according to the Monin–Obukhov similarity theory <xref ref-type="bibr" rid="bib1.bibx22" id="paren.31"/>, ensuring physically consistent exchange processes at the land–atmosphere interface. A saturation adjustment scheme is included to represent condensation and evaporation processes, with non-precipitating clouds.  Prognostic equations describe air density, the three velocity components, potential temperature, and water vapor mixing ratio. These are discretized using a fifth-order upwind advection scheme and integrated in time using a third-order Runge–Kutta method to ensure numerical stability and accuracy.  To promote the rapid development of realistic turbulent structures within the domain, which is initially forced with turbulence-free WRF boundary conditions, the cell perturbation method is applied <xref ref-type="bibr" rid="bib1.bibx24 bib1.bibx25 bib1.bibx23" id="paren.32"/>. This method efficiently triggers and sustains turbulence near the inflow boundaries. Finally, surface thermal roughness length (<inline-formula><mml:math id="M183" display="inline"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mrow><mml:mn mathvariant="normal">0</mml:mn><mml:mi mathvariant="normal">t</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>) is dynamically computed using the Zilitinkevich parametrization <xref ref-type="bibr" rid="bib1.bibx41" id="paren.33"/>.</p>

<table-wrap id="TB1"><label>Table B1</label><caption><p id="d2e2350">Reclassification from SIOSE (CODIIGE) to Modified MODIS IGBP Noah land-use categories without lakes, including the LCZs. The symbol “<sup>∗</sup>” indicates a specific reclassification for Murcia, may vary from city to city.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="4">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:colspec colnum="3" colname="col3" align="left"/>
     <oasis:colspec colnum="4" colname="col4" align="right"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">ID</oasis:entry>
         <oasis:entry colname="col2">SIOSE/CODIIGE classification</oasis:entry>
         <oasis:entry colname="col3">MODIS classification with LCZs</oasis:entry>
         <oasis:entry colname="col4">ID</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">111</oasis:entry>
         <oasis:entry colname="col2">Downtown urban area</oasis:entry>
         <oasis:entry colname="col3">Compact midrise<sup>∗</sup></oasis:entry>
         <oasis:entry colname="col4">52</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">112</oasis:entry>
         <oasis:entry colname="col2">Expansion urban area</oasis:entry>
         <oasis:entry colname="col3">Compact lowrise<sup>∗</sup></oasis:entry>
         <oasis:entry colname="col4">53</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">113</oasis:entry>
         <oasis:entry colname="col2">Discontinuous urban area</oasis:entry>
         <oasis:entry colname="col3">Open lowrise</oasis:entry>
         <oasis:entry colname="col4">56</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">114</oasis:entry>
         <oasis:entry colname="col2">Green urban area</oasis:entry>
         <oasis:entry colname="col3">Cropland/natural vegetation mosaic</oasis:entry>
         <oasis:entry colname="col4">14</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">121</oasis:entry>
         <oasis:entry colname="col2">Agricultural and/or livestock facility</oasis:entry>
         <oasis:entry colname="col3">Sparsely built</oasis:entry>
         <oasis:entry colname="col4">59</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">122</oasis:entry>
         <oasis:entry colname="col2">Forestry facility</oasis:entry>
         <oasis:entry colname="col3">Sparsely built</oasis:entry>
         <oasis:entry colname="col4">59</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">123</oasis:entry>
         <oasis:entry colname="col2">Mineral extraction site</oasis:entry>
         <oasis:entry colname="col3">Bare rock or paved</oasis:entry>
         <oasis:entry colname="col4">61</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">130</oasis:entry>
         <oasis:entry colname="col2">Industrial</oasis:entry>
         <oasis:entry colname="col3">Large lowrise<sup>∗</sup></oasis:entry>
         <oasis:entry colname="col4">58</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">140</oasis:entry>
         <oasis:entry colname="col2">Service infrastructure</oasis:entry>
         <oasis:entry colname="col3">Open midrise</oasis:entry>
         <oasis:entry colname="col4">55</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">150</oasis:entry>
         <oasis:entry colname="col2">Agricultural settlements and cropfields</oasis:entry>
         <oasis:entry colname="col3">Croplands</oasis:entry>
         <oasis:entry colname="col4">12</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">161</oasis:entry>
         <oasis:entry colname="col2">Road and rail networks</oasis:entry>
         <oasis:entry colname="col3">Bare rock or paved</oasis:entry>
         <oasis:entry colname="col4">61</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">162</oasis:entry>
         <oasis:entry colname="col2">Port</oasis:entry>
         <oasis:entry colname="col3">Large lowrise</oasis:entry>
         <oasis:entry colname="col4">58</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">163</oasis:entry>
         <oasis:entry colname="col2">Airport</oasis:entry>
         <oasis:entry colname="col3">Bare rock or paved</oasis:entry>
         <oasis:entry colname="col4">61</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">171–172</oasis:entry>
         <oasis:entry colname="col2">Supply infrastructure, waste infrastructure</oasis:entry>
         <oasis:entry colname="col3">Heavy industry</oasis:entry>
         <oasis:entry colname="col4">60</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">210</oasis:entry>
         <oasis:entry colname="col2">Herbaceous crops</oasis:entry>
         <oasis:entry colname="col3">Grasslands</oasis:entry>
         <oasis:entry colname="col4">10</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">220</oasis:entry>
         <oasis:entry colname="col2">Greenhouse</oasis:entry>
         <oasis:entry colname="col3">Sparsely built</oasis:entry>
         <oasis:entry colname="col4">59</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">231</oasis:entry>
         <oasis:entry colname="col2">Citrus fruit trees</oasis:entry>
         <oasis:entry colname="col3">Evergreen broadleaf forest</oasis:entry>
         <oasis:entry colname="col4">2</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">232</oasis:entry>
         <oasis:entry colname="col2">Non-citrus fruit trees</oasis:entry>
         <oasis:entry colname="col3">Deciduous broadleaf forest</oasis:entry>
         <oasis:entry colname="col4">4</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">233</oasis:entry>
         <oasis:entry colname="col2">Vineyard</oasis:entry>
         <oasis:entry colname="col3">Closed shrublands</oasis:entry>
         <oasis:entry colname="col4">6</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">234</oasis:entry>
         <oasis:entry colname="col2">Olive grove</oasis:entry>
         <oasis:entry colname="col3">Evergreen broadleaf forest</oasis:entry>
         <oasis:entry colname="col4">2</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">235–236</oasis:entry>
         <oasis:entry colname="col2">Other woody crops, combination of woody crops</oasis:entry>
         <oasis:entry colname="col3">Open shrublands</oasis:entry>
         <oasis:entry colname="col4">7</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">240</oasis:entry>
         <oasis:entry colname="col2">Pasture</oasis:entry>
         <oasis:entry colname="col3">Grasslands</oasis:entry>
         <oasis:entry colname="col4">10</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">250</oasis:entry>
         <oasis:entry colname="col2">Mixed crops</oasis:entry>
         <oasis:entry colname="col3">Croplands</oasis:entry>
         <oasis:entry colname="col4">12</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">260</oasis:entry>
         <oasis:entry colname="col2">Crops and natural vegetation</oasis:entry>
         <oasis:entry colname="col3">Cropland/natural vegetation mosaic</oasis:entry>
         <oasis:entry colname="col4">14</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">311</oasis:entry>
         <oasis:entry colname="col2">Broad-leaved forest</oasis:entry>
         <oasis:entry colname="col3">Deciduous broadleaf forest</oasis:entry>
         <oasis:entry colname="col4">4</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">312</oasis:entry>
         <oasis:entry colname="col2">Coniferous forest</oasis:entry>
         <oasis:entry colname="col3">Evergreen needleleaf forest</oasis:entry>
         <oasis:entry colname="col4">1</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">313</oasis:entry>
         <oasis:entry colname="col2">Mixed forest</oasis:entry>
         <oasis:entry colname="col3">Mixed forest</oasis:entry>
         <oasis:entry colname="col4">5</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">320</oasis:entry>
         <oasis:entry colname="col2">Grasslands</oasis:entry>
         <oasis:entry colname="col3">Grasslands</oasis:entry>
         <oasis:entry colname="col4">10</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">330, 340</oasis:entry>
         <oasis:entry colname="col2">Shrublands, mixed vegetation</oasis:entry>
         <oasis:entry colname="col3">Open shrubland</oasis:entry>
         <oasis:entry colname="col4">7</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">351</oasis:entry>
         <oasis:entry colname="col2">Beaches/dunes/sands</oasis:entry>
         <oasis:entry colname="col3">Barren or sparsely vegetated</oasis:entry>
         <oasis:entry colname="col4">16</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">352</oasis:entry>
         <oasis:entry colname="col2">Bare rocks</oasis:entry>
         <oasis:entry colname="col3">Bare rock or paved</oasis:entry>
         <oasis:entry colname="col4">61</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">353–354</oasis:entry>
         <oasis:entry colname="col2">Burnt, bare soil</oasis:entry>
         <oasis:entry colname="col3">Barren or sparsely vegetated</oasis:entry>
         <oasis:entry colname="col4">16</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">411–414</oasis:entry>
         <oasis:entry colname="col2">Inland marshes, peat bogs, salt marshes, salines</oasis:entry>
         <oasis:entry colname="col3">Permanent wetlands</oasis:entry>
         <oasis:entry colname="col4">11</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">511–515</oasis:entry>
         <oasis:entry colname="col2">Water course, lake or lagoon, water reservoir, artificial water surface, sea</oasis:entry>
         <oasis:entry colname="col3">Water</oasis:entry>
         <oasis:entry colname="col4">17</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">516</oasis:entry>
         <oasis:entry colname="col2">Glacier and perpetual snow</oasis:entry>
         <oasis:entry colname="col3">Snow and ice</oasis:entry>
         <oasis:entry colname="col4">15</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

<table-wrap id="TB2"><label>Table B2</label><caption><p id="d2e2956">Roughness length values (<inline-formula><mml:math id="M188" display="inline"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>) of the MODIS land cover categories including the LCZs according to the LANDUSE.TBL of WRF and our new proposal.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="4">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:colspec colnum="3" colname="col3" align="right"/>
     <oasis:colspec colnum="4" colname="col4" align="right"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Category</oasis:entry>
         <oasis:entry colname="col2">Description</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M189" display="inline"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mrow><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mtext>WRF</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> (<inline-formula><mml:math id="M190" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula>)</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M191" display="inline"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mrow><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mtext>new</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> (<inline-formula><mml:math id="M192" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">1</oasis:entry>
         <oasis:entry colname="col2">Evergreen needleleaf forest</oasis:entry>
         <oasis:entry colname="col3">0.50</oasis:entry>
         <oasis:entry colname="col4">0.67</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">2</oasis:entry>
         <oasis:entry colname="col2">Evergreen broadleaf forest</oasis:entry>
         <oasis:entry colname="col3">0.50</oasis:entry>
         <oasis:entry colname="col4">0.72</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">3</oasis:entry>
         <oasis:entry colname="col2">Deciduous needleleaf forest</oasis:entry>
         <oasis:entry colname="col3">0.50</oasis:entry>
         <oasis:entry colname="col4">0.60</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">4</oasis:entry>
         <oasis:entry colname="col2">Deciduous broadleaf forest</oasis:entry>
         <oasis:entry colname="col3">0.50</oasis:entry>
         <oasis:entry colname="col4">0.65</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">5</oasis:entry>
         <oasis:entry colname="col2">Mixed forests</oasis:entry>
         <oasis:entry colname="col3">0.35</oasis:entry>
         <oasis:entry colname="col4">0.66</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">6</oasis:entry>
         <oasis:entry colname="col2">Closed shrublands</oasis:entry>
         <oasis:entry colname="col3">0.03</oasis:entry>
         <oasis:entry colname="col4">0.10</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">7</oasis:entry>
         <oasis:entry colname="col2">Open shrublands</oasis:entry>
         <oasis:entry colname="col3">0.035</oasis:entry>
         <oasis:entry colname="col4">0.12</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">8</oasis:entry>
         <oasis:entry colname="col2">Woody savannas</oasis:entry>
         <oasis:entry colname="col3">0.03</oasis:entry>
         <oasis:entry colname="col4">0.06</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">9</oasis:entry>
         <oasis:entry colname="col2">Savannas</oasis:entry>
         <oasis:entry colname="col3">0.15</oasis:entry>
         <oasis:entry colname="col4">0.08</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">10</oasis:entry>
         <oasis:entry colname="col2">Grasslands</oasis:entry>
         <oasis:entry colname="col3">0.11</oasis:entry>
         <oasis:entry colname="col4">0.05</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">11</oasis:entry>
         <oasis:entry colname="col2">Permanent wetlands</oasis:entry>
         <oasis:entry colname="col3">0.30</oasis:entry>
         <oasis:entry colname="col4">0.25</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">12</oasis:entry>
         <oasis:entry colname="col2">Croplands</oasis:entry>
         <oasis:entry colname="col3">0.10</oasis:entry>
         <oasis:entry colname="col4">0.04</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">13</oasis:entry>
         <oasis:entry colname="col2">Urban and built-up</oasis:entry>
         <oasis:entry colname="col3">0.80</oasis:entry>
         <oasis:entry colname="col4">0.35</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">14</oasis:entry>
         <oasis:entry colname="col2">Cropland/natural vegetation mosaic</oasis:entry>
         <oasis:entry colname="col3">0.095</oasis:entry>
         <oasis:entry colname="col4">0.035</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">15</oasis:entry>
         <oasis:entry colname="col2">Snow and ice</oasis:entry>
         <oasis:entry colname="col3">0.001</oasis:entry>
         <oasis:entry colname="col4">0.001</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">16</oasis:entry>
         <oasis:entry colname="col2">Barren or sparsely vegetated</oasis:entry>
         <oasis:entry colname="col3">0.01</oasis:entry>
         <oasis:entry colname="col4">0.02</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">17</oasis:entry>
         <oasis:entry colname="col2">Water</oasis:entry>
         <oasis:entry colname="col3">0.0001</oasis:entry>
         <oasis:entry colname="col4">0.0005</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">18</oasis:entry>
         <oasis:entry colname="col2">Wooded tundra</oasis:entry>
         <oasis:entry colname="col3">0.30</oasis:entry>
         <oasis:entry colname="col4">0.30</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">19</oasis:entry>
         <oasis:entry colname="col2">Mixed tundra</oasis:entry>
         <oasis:entry colname="col3">0.15</oasis:entry>
         <oasis:entry colname="col4">0.15</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">20</oasis:entry>
         <oasis:entry colname="col2">Barren tundra</oasis:entry>
         <oasis:entry colname="col3">0.075</oasis:entry>
         <oasis:entry colname="col4">0.075</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">21–30</oasis:entry>
         <oasis:entry colname="col2">Unassigned</oasis:entry>
         <oasis:entry colname="col3">0.80</oasis:entry>
         <oasis:entry colname="col4">0.20</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">31</oasis:entry>
         <oasis:entry colname="col2">Low intensity residential</oasis:entry>
         <oasis:entry colname="col3">0.80</oasis:entry>
         <oasis:entry colname="col4">0.30</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">32</oasis:entry>
         <oasis:entry colname="col2">High intensity residential</oasis:entry>
         <oasis:entry colname="col3">0.80</oasis:entry>
         <oasis:entry colname="col4">0.70</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">33</oasis:entry>
         <oasis:entry colname="col2">Industrial or commercial</oasis:entry>
         <oasis:entry colname="col3">0.80</oasis:entry>
         <oasis:entry colname="col4">0.40</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">34–50</oasis:entry>
         <oasis:entry colname="col2">Unassigned</oasis:entry>
         <oasis:entry colname="col3">0.80</oasis:entry>
         <oasis:entry colname="col4">0.20</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">51</oasis:entry>
         <oasis:entry colname="col2">LCZ1 – Compact highrise</oasis:entry>
         <oasis:entry colname="col3">0.80</oasis:entry>
         <oasis:entry colname="col4">2.00</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">52</oasis:entry>
         <oasis:entry colname="col2">LCZ2 – Compact midrise</oasis:entry>
         <oasis:entry colname="col3">0.80</oasis:entry>
         <oasis:entry colname="col4">0.75</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">53</oasis:entry>
         <oasis:entry colname="col2">LCZ3 – Compact lowrise</oasis:entry>
         <oasis:entry colname="col3">0.80</oasis:entry>
         <oasis:entry colname="col4">0.50</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">54</oasis:entry>
         <oasis:entry colname="col2">LCZ4 – Open highrise</oasis:entry>
         <oasis:entry colname="col3">0.80</oasis:entry>
         <oasis:entry colname="col4">1.50</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">55</oasis:entry>
         <oasis:entry colname="col2">LCZ5 – Open midrise</oasis:entry>
         <oasis:entry colname="col3">0.80</oasis:entry>
         <oasis:entry colname="col4">0.40</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">56</oasis:entry>
         <oasis:entry colname="col2">LCZ6 – Open lowrise</oasis:entry>
         <oasis:entry colname="col3">0.80</oasis:entry>
         <oasis:entry colname="col4">0.35</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">57</oasis:entry>
         <oasis:entry colname="col2">LCZ7 – Lightweight lowrise</oasis:entry>
         <oasis:entry colname="col3">0.80</oasis:entry>
         <oasis:entry colname="col4">0.20</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">58</oasis:entry>
         <oasis:entry colname="col2">LCZ8 – Large lowrise</oasis:entry>
         <oasis:entry colname="col3">0.80</oasis:entry>
         <oasis:entry colname="col4">0.25</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">59</oasis:entry>
         <oasis:entry colname="col2">LCZ9 – Sparsely built</oasis:entry>
         <oasis:entry colname="col3">0.80</oasis:entry>
         <oasis:entry colname="col4">0.30</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">60</oasis:entry>
         <oasis:entry colname="col2">LCZ10 – Heavy industry</oasis:entry>
         <oasis:entry colname="col3">0.80</oasis:entry>
         <oasis:entry colname="col4">0.40</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">61</oasis:entry>
         <oasis:entry colname="col2">LCZ11 – Bare rock or paved</oasis:entry>
         <oasis:entry colname="col3">0.80</oasis:entry>
         <oasis:entry colname="col4">0.004</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

</app>
  </app-group><notes notes-type="codedataavailability"><title>Code and data availability</title>

      <p id="d2e3601">The code for the different smoothing approaches – both global and local, including the selected method – is openly available in a Zenodo repository (<ext-link xlink:href="https://doi.org/10.5281/zenodo.16635511" ext-link-type="DOI">10.5281/zenodo.16635511</ext-link>; <xref ref-type="bibr" rid="bib1.bibx29" id="altparen.34"/>), along with the high-resolution terrain files used by FastEddy and WRF. The repository also includes the preprocessing of the terrain data and the application of the smoothing methods required to reproduce the results presented in this paper. The developed terrain smoothing algorithm is also integrated into the FastEddy modeling system, included since the official release of FastEddy v3.0 (15 April 2025), which is publicly available via its GitHub repository <xref ref-type="bibr" rid="bib1.bibx27" id="paren.35"/>. A version adapted for the WRF model is likewise openly available on Zenodo (<ext-link xlink:href="https://doi.org/10.5281/zenodo.16265023" ext-link-type="DOI">10.5281/zenodo.16265023</ext-link>; <xref ref-type="bibr" rid="bib1.bibx30" id="altparen.36"/>), together with detailed usage instructions and a sample NetCDF terrain file.</p>
  </notes><notes notes-type="authorcontribution"><title>Author contributions</title>

      <p id="d2e3627">ERL developed the local terrain smoothing algorithms and performed the analyses presented in this paper. DME and JPM contributed to the conceptual design of the study and supported the analysis, providing critical scientific guidance throughout the development and implementation of the algorithm. ERL led the manuscript writing, with all authors contributing to the review and editing of the final text.</p>
  </notes><notes notes-type="competinginterests"><title>Competing interests</title>

      <p id="d2e3634">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="d2e3640">Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this paper. The authors bear the ultimate responsibility for providing appropriate place names. Views expressed in the text are those of the authors and do not necessarily reflect the views of the publisher.</p>
  </notes><ack><title>Acknowledgements</title><p id="d2e3646">The authors are thankful to Jeremy Sauer, who implemented the original version of the global terrain smoothing filter in FastEddy.</p></ack><notes notes-type="financialsupport"><title>Financial support</title>

      <p id="d2e3651">Eloisa Raluy-López and Juan Pedro Montávez have been supported by the  Ministerio de Ciencia e Innovación/Agencia Estatal de Investigación of Spain and FEDER, EU, through the ARUBA project (grant no. PID2023-149080OB-I00/MCIN/AEI/10.13039/501100011033). Moreover, Eloisa Raluy-López thanks her predoctoral contract FPU (FPU21/02464) to the Ministerio de Universidades of Spain.</p>
  </notes><notes notes-type="reviewstatement"><title>Review statement</title>

      <p id="d2e3657">This paper was edited by Chiel van Heerwaarden and reviewed by two anonymous referees.</p>
  </notes><ref-list>
    <title>References</title>

      <ref id="bib1.bibx1"><label>Arnold et al.(2012)Arnold, Morton, Schicker, Seibert, Rotach, Horvath, Dudhia, Satomura, Müller, Zängl, Takemi, Serafin, Schmidli, and Schneider</label><mixed-citation>Arnold, D., Morton, D., Schicker, I., Seibert, P., Rotach, M. W., Horvath, K., Dudhia, J., Satomura, T., Müller, M., Zängl, G., Takemi, T., Serafin, S., Schmidli, J., and Schneider, S.: High Resolution Modelling in Complex Terrain: Report on the HiRCoT 2012 Workshop, Vienna, 21–23 February 2012, BOKU-Met Report 21, Institut für Meteorologie, Department Wasser–Atmosphäre–Umwelt, Universität für Bodenkultur, Vienna, Vienna, Austria, <uri>http://www.boku.ac.at/met/report/BOKU-Met_Report_21_online.pdf</uri> (last access: June 2025), 2012.</mixed-citation></ref>
      <ref id="bib1.bibx2"><label>Bonafè et al.(2024)Bonafè, Bacer, Gallai, and Montanari</label><mixed-citation>Bonafè, G., Bacer, S., Gallai, I., and Montanari, F.: Global soil type dataset for WRF-ARW model, based on HWSD version 2, Zenodo [data set], <ext-link xlink:href="https://doi.org/10.5281/zenodo.10907096" ext-link-type="DOI">10.5281/zenodo.10907096</ext-link>, 2024.</mixed-citation></ref>
      <ref id="bib1.bibx3"><label>Bouëdec et al.(2025)Bouëdec, Chemel, and Staquet</label><mixed-citation>Bouëdec, E. L., Chemel, C., and Staquet, C.: Dealing with steep slopes when modeling stable boundary-layer flow in Alpine terrain, Q. J. Roy. Meteor. Soc., 151, e4835, <ext-link xlink:href="https://doi.org/10.1002/qj.4835" ext-link-type="DOI">10.1002/qj.4835</ext-link>, 2025.</mixed-citation></ref>
      <ref id="bib1.bibx4"><label>Cannon et al.(2017)Cannon, Carvalho, Jones, Norris, Bookhagen, and Kiladis</label><mixed-citation>Cannon, F., Carvalho, L. M. V., Jones, C., Norris, J., Bookhagen, B., and Kiladis, G. N.: Effects of topographic smoothing on the simulation of winter precipitation in High Mountain Asia, J. Geophys. Res.-Atmos., 122, 1456–1474, <ext-link xlink:href="https://doi.org/10.1002/2016JD026038" ext-link-type="DOI">10.1002/2016JD026038</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx5"><label>Chen and Dudhia(2001)</label><mixed-citation>Chen, F. and Dudhia, J.: Coupling an Advanced Land Surface–Hydrology Model with the Penn State–NCAR MM5 Modeling System. Part I: Model Implementation and Sensitivity, Mon. Weather Rev., 129, 569–585, <ext-link xlink:href="https://doi.org/10.1175/1520-0493(2001)129&lt;0569:CAALSH&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0493(2001)129&lt;0569:CAALSH&gt;2.0.CO;2</ext-link>, 2001.</mixed-citation></ref>
      <ref id="bib1.bibx6"><label>Danielson and Gesch(2011)</label><mixed-citation>Danielson, J. J. and Gesch, D. B.: Global Multi-resolution Terrain Elevation Data 2010 (GMTED2010), Open-File Report 2011–1073, U.S. Geological Survey, <uri>https://pubs.usgs.gov/of/2011/1073/</uri> (last access: June 2025), 2011.</mixed-citation></ref>
      <ref id="bib1.bibx7"><label>Deardorff(1980)</label><mixed-citation>Deardorff, J. W.: Stratocumulus-capped mixed layers derived from a three-dimensional model, Bound.-Lay. Meteorol., 18, 495–527, <ext-link xlink:href="https://doi.org/10.1007/BF00119502" ext-link-type="DOI">10.1007/BF00119502</ext-link>, 1980.</mixed-citation></ref>
      <ref id="bib1.bibx8"><label>Demuzere et al.(2023)Demuzere, He, Martilli, and Zonato</label><mixed-citation>Demuzere, M., He, C., Martilli, A., and Zonato, A.: Technical Documentation for the Hybrid 100-<inline-formula><mml:math id="M193" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> Global Land Cover Dataset with Local Climate Zones for WRF, Zenodo, <ext-link xlink:href="https://doi.org/10.5281/zenodo.7670791" ext-link-type="DOI">10.5281/zenodo.7670791</ext-link>, 2023.</mixed-citation></ref>
      <ref id="bib1.bibx9"><label>Farr et al.(2007)Farr, Rosen, Caro, Crippen, Duren, Hensley, Kobrick, Paller, Rodriguez, Roth, Seal, Shaffer, Shimada, Umland, Werner, Oskin, Burbank, and Alsdorf</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, <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.bibx10"><label>Geerts et al.(2011)Geerts, Miao, and Yang</label><mixed-citation>Geerts, B., Miao, Q., and Yang, Y.: Boundary Layer Turbulence and Orographic Precipitation Growth in Cold Clouds: Evidence from Profiling Airborne Radar Data, J. Atmos. Sci., 68, 2344–2365, <ext-link xlink:href="https://doi.org/10.1175/JAS-D-10-05009.1" ext-link-type="DOI">10.1175/JAS-D-10-05009.1</ext-link>, 2011.</mixed-citation></ref>
      <ref id="bib1.bibx11"><label>Iacono et al.(2008)Iacono, Delamere, Mlawer, Shephard, Clough, and Collins</label><mixed-citation>Iacono, M. J., Delamere, J. S., Mlawer, E. J., Shephard, M. W., Clough, S. A., and Collins, W. D.: Radiative forcing by long-lived greenhouse gases: Calculations with the AER radiative transfer models, J. Geophys. Res.-Atmos., 113, <ext-link xlink:href="https://doi.org/10.1029/2008JD009944" ext-link-type="DOI">10.1029/2008JD009944</ext-link>, 2008.</mixed-citation></ref>
      <ref id="bib1.bibx12"><label>Instituto Geográfico Nacional(2014)</label><mixed-citation>Instituto Geográfico Nacional: SIOSE (Sistema de Información de Ocupación del Suelo en España) a escala <inline-formula><mml:math id="M194" display="inline"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>:</mml:mo><mml:mn mathvariant="normal">25.000</mml:mn></mml:mrow></mml:math></inline-formula>, Instituto Geográfico Nacional, <uri>https://centrodedescargas.cnig.es/CentroDescargas/siose</uri> (last access: June 2024), 2014.</mixed-citation></ref>
      <ref id="bib1.bibx13"><label>Instituto Geográfico Nacional(2015)</label><mixed-citation>Instituto Geográfico Nacional: Modelo Digital del Terreno 2ª Cobertura (2015–2021) con paso de malla de 2 metros, Instituto Geográfico Nacional, <uri>https://centrodedescargas.cnig.es/CentroDescargas/modelo-digital-terreno-mdt02-segunda-cobertura</uri> (last access: June 2024), 2015.</mixed-citation></ref>
      <ref id="bib1.bibx14"><label>Janjić(1994)</label><mixed-citation>Janjić, Z. I.: The Step-Mountain Eta Coordinate Model: Further Developments of the Convection, Viscous Sublayer, and Turbulence Closure Schemes, Mon. Weather Rev., 122, 927–945, <ext-link xlink:href="https://doi.org/10.1175/1520-0493(1994)122&lt;0927:TSMECM&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0493(1994)122&lt;0927:TSMECM&gt;2.0.CO;2</ext-link>, 1994.</mixed-citation></ref>
      <ref id="bib1.bibx15"><label>Klemp et al.(2003)Klemp, Skamarock, and Fuhrer</label><mixed-citation>Klemp, J. B., Skamarock, W. C., and Fuhrer, O.: Numerical Consistency of Metric Terms in Terrain-Following Coordinates, Mon. Weather Rev., 131, 1229–1239, <ext-link xlink:href="https://doi.org/10.1175/1520-0493(2003)131&lt;1229:NCOMTI&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0493(2003)131&lt;1229:NCOMTI&gt;2.0.CO;2</ext-link>, 2003.</mixed-citation></ref>
      <ref id="bib1.bibx16"><label>Liang et al.(2020)Liang, Guo, Zhang, Zhang, Tian, and Zhang</label><mixed-citation>Liang, J., Guo, Q., Zhang, Z., Zhang, M., Tian, P., and Zhang, L.: Influence of Complex Terrain on Near-Surface Turbulence Structures over Loess Plateau, Atmosphere, 11, <ext-link xlink:href="https://doi.org/10.3390/atmos11090930" ext-link-type="DOI">10.3390/atmos11090930</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bibx17"><label>Lilly(1966)</label><mixed-citation>Lilly, D. K.: On the Application of the Eddy Viscosity Concept in the Inertial Sub-Range of Turbulence, Tech. rep., University Corporation for Atmospheric Research, <ext-link xlink:href="https://doi.org/10.5065/D67H1GGQ" ext-link-type="DOI">10.5065/D67H1GGQ</ext-link>, 1966.</mixed-citation></ref>
      <ref id="bib1.bibx18"><label>Lundquist et al.(2010)Lundquist, Chow, and Lundquist</label><mixed-citation>Lundquist, K. A., Chow, F. K., and Lundquist, J. K.: Numerical errors in flow over steep topography: analysis and alternatives, in: 14th Conference on Mountain Meteorology, 10.1, American Meteorological Society, Lake Tahoe, CA, <uri>https://ams.confex.com/ams/14MountMet/techprogram/paper_173801.htm</uri> (last access: June 2025), 2010.</mixed-citation></ref>
      <ref id="bib1.bibx19"><label>Mahrer(1984)</label><mixed-citation>Mahrer, Y.: An Improved Numerical Approximation of the Horizontal Gradients in a Terrain-Following Coordinate System, Mon. Weather Rev., 112, 918–922, <ext-link xlink:href="https://doi.org/10.1175/1520-0493(1984)112&lt;0918:AINAOT&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0493(1984)112&lt;0918:AINAOT&gt;2.0.CO;2</ext-link>, 1984.</mixed-citation></ref>
      <ref id="bib1.bibx20"><label>Marjanovic et al.(2014)Marjanovic, Wharton, and Chow</label><mixed-citation>Marjanovic, N., Wharton, S., and Chow, F. K.: Investigation of model parameters for high-resolution wind energy forecasting: Case studies over simple and complex terrain, J. Wind Eng. Ind. Aerodyn., 134, 10–24, <ext-link xlink:href="https://doi.org/10.1016/j.jweia.2014.08.007" ext-link-type="DOI">10.1016/j.jweia.2014.08.007</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx21"><label>Martilli et al.(2002)Martilli, Clappier, and Rotach</label><mixed-citation>Martilli, A., Clappier, A., and Rotach, M. W.: An Urban Surface Exchange Parameterisation for Mesoscale Models, Bound.-Lay. Meteorol., 104, 261–304, <ext-link xlink:href="https://doi.org/10.1023/A:1016099921195" ext-link-type="DOI">10.1023/A:1016099921195</ext-link>, 2002.</mixed-citation></ref>
      <ref id="bib1.bibx22"><label>Monin and Obukhov(1954)</label><mixed-citation> Monin, A. and Obukhov, A.: Basic turbulence mixing laws in the atmospheric surface layer, Trans. Geophys. Inst. Acad. Sci. USSR, 24, 163–187, 1954.</mixed-citation></ref>
      <ref id="bib1.bibx23"><label>Muñoz-Esparza and Kosović(2018)</label><mixed-citation>Muñoz-Esparza, D. and Kosović, B.: Generation of Inflow Turbulence in Large-Eddy Simulations of Nonneutral Atmospheric Boundary Layers with the Cell Perturbation Method, Mon. Weather Rev., 146, 1889–1909, <ext-link xlink:href="https://doi.org/10.1175/MWR-D-18-0077.1" ext-link-type="DOI">10.1175/MWR-D-18-0077.1</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx24"><label>Muñoz-Esparza et al.(2014)Muñoz-Esparza, Kosović, Mirocha, and van Beeck</label><mixed-citation>Muñoz-Esparza, D., Kosović, B., Mirocha, J., and van Beeck, J.: Bridging the Transition from Mesoscale to Microscale Turbulence in Numerical Weather Prediction Models, Bound.-Lay. Meteorol., 153, 409–440, <ext-link xlink:href="https://doi.org/10.1007/s10546-014-9956-9" ext-link-type="DOI">10.1007/s10546-014-9956-9</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx25"><label>Muñoz-Esparza et al.(2015)Muñoz-Esparza, Kosović, van Beeck, and Mirocha</label><mixed-citation>Muñoz-Esparza, D., Kosović, B., van Beeck, J., and Mirocha, J.: A stochastic perturbation method to generate inflow turbulence in large-eddy simulation models: Application to neutrally stratified atmospheric boundary layers, Phys. Fluids, 27, 035102, <ext-link xlink:href="https://doi.org/10.1063/1.4913572" ext-link-type="DOI">10.1063/1.4913572</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bibx26"><label>Muñoz-Esparza et al.(2022)Muñoz-Esparza, Sauer, Jensen, Xue, and Grabowski</label><mixed-citation>Muñoz-Esparza, D., Sauer, J. A., Jensen, A. A., Xue, L., and Grabowski, W. W.: The FastEddy<sup>®</sup> Resident-GPU Accelerated Large-Eddy Simulation Framework: Moist Dynamics Extension, Validation and Sensitivities of Modeling Non-Precipitating Shallow Cumulus Clouds, J. Adv. Model. Earth Sy., 14, e2021MS002904, <ext-link xlink:href="https://doi.org/10.1029/2021MS002904" ext-link-type="DOI">10.1029/2021MS002904</ext-link>, 2022.</mixed-citation></ref>
      <ref id="bib1.bibx27"><label>NCAR(2025)</label><mixed-citation>NCAR – National Center for Atmospheric Research: FastEddy v3.0's SimGrid, NCAR, <uri>https://github.com/NCAR/FastEddy-model/blob/main_v3.0/scripts/python_utilities/coupler/SimGrid.py</uri> (last access: July 2025), 2025.</mixed-citation></ref>
      <ref id="bib1.bibx28"><label>Raderschall et al.(2008)Raderschall, Lehning, and Schär</label><mixed-citation>Raderschall, N., Lehning, M., and Schär, C.: Fine-scale modeling of the boundary layer wind field over steep topography, Water Resour. Res., 44, <ext-link xlink:href="https://doi.org/10.1029/2007WR006544" ext-link-type="DOI">10.1029/2007WR006544</ext-link>, 2008.</mixed-citation></ref>
      <ref id="bib1.bibx29"><label>Raluy-López et al.(2025a)Raluy-López, Muñoz-Esparza, and Montávez</label><mixed-citation>Raluy-López, E., Muñoz-Esparza, D., and Montávez, J. P.: A Local Terrain Smoothing Approach for Stabilizing Microscale and High-Resolution Mesoscale Simulations: input data and tested methods, Zenodo [code], <ext-link xlink:href="https://doi.org/10.5281/zenodo.16635511" ext-link-type="DOI">10.5281/zenodo.16635511</ext-link>, 2025a.</mixed-citation></ref>
      <ref id="bib1.bibx30"><label>Raluy-López et al.(2025b)Raluy-López, Muñoz-Esparza, and Montávez</label><mixed-citation>Raluy-López, E., Muñoz-Esparza, D., and Montávez, J. P.: Local Terrain Smoother for WRF (v1.0), Zenodo [code], <ext-link xlink:href="https://doi.org/10.5281/zenodo.16265023" ext-link-type="DOI">10.5281/zenodo.16265023</ext-link>, 2025b.</mixed-citation></ref>
      <ref id="bib1.bibx31"><label>Ramelli et al.(2021)Ramelli, Henneberger, David, Lauber, Pasquier, Wieder, Bühl, Seifert, Engelmann, Hervo, and Lohmann</label><mixed-citation>Ramelli, F., Henneberger, J., David, R. O., Lauber, A., Pasquier, J. T., Wieder, J., Bühl, J., Seifert, P., Engelmann, R., Hervo, M., and Lohmann, U.: Influence of low-level blocking and turbulence on the microphysics of a mixed-phase cloud in an inner-Alpine valley, Atmos. Chem. Phys., 21, 5151–5172, <ext-link xlink:href="https://doi.org/10.5194/acp-21-5151-2021" ext-link-type="DOI">10.5194/acp-21-5151-2021</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bibx32"><label>Sauer and Muñoz-Esparza(2020)</label><mixed-citation>Sauer, J. A. and Muñoz-Esparza, D.: The FastEddy® Resident-GPU Accelerated Large-Eddy Simulation Framework: Model Formulation, Dynamical-Core Validation and Performance Benchmarks, J. Adv. Model. Earth Sy., 12, e2020MS002100, <ext-link xlink:href="https://doi.org/10.1029/2020MS002100" ext-link-type="DOI">10.1029/2020MS002100</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bibx33"><label>Schär et al.(2002)Schär, Leuenberger, Fuhrer, Lüthi, and Girard</label><mixed-citation>Schär, C., Leuenberger, D., Fuhrer, O., Lüthi, D., and Girard, C.: A New Terrain-Following Vertical Coordinate Formulation for Atmospheric Prediction Models, Mon. Weather Rev., 130, 2459–2480, <ext-link xlink:href="https://doi.org/10.1175/1520-0493(2002)130&lt;2459:ANTFVC&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0493(2002)130&lt;2459:ANTFVC&gt;2.0.CO;2</ext-link>, 2002.</mixed-citation></ref>
      <ref id="bib1.bibx34"><label>Sheridan et al.(2023)Sheridan, Xu, Li, and Furtado</label><mixed-citation>Sheridan, P., Xu, A., Li, J., and Furtado, K.: Use of Targeted Orographic Smoothing in Very High Resolution Simulations of a Downslope Windstorm and Rotor in a Sub-tropical Highland Location, Adv. Atmos. Sci., 40, 2043–2062, <ext-link xlink:href="https://doi.org/10.1007/s00376-023-2298-0" ext-link-type="DOI">10.1007/s00376-023-2298-0</ext-link>, 2023.</mixed-citation></ref>
      <ref id="bib1.bibx35"><label>Skamarock et al.(2021)Skamarock, Klemp, Dudhia, Gill, Liu, Berner, Wang, Powers, Duda, Barker, and Huang</label><mixed-citation>Skamarock, W., Klemp, J., Dudhia, J., Gill, D. O., Liu, Z., Berner, J., Wang, W., Powers, J. G., Duda, M. G., Barker, D., and Huang, X.-Y.: A Description of the Advanced Research WRF Model Version 4.3, Tech. Rep. NCAR/TN-556+STR, National Center for Atmospheric Research (NCAR), <ext-link xlink:href="https://doi.org/10.5065/1dfh-6p97" ext-link-type="DOI">10.5065/1dfh-6p97</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bibx36"><label>Thompson et al.(2008)Thompson, Field, Rasmussen, and Hall</label><mixed-citation>Thompson, G., Field, P. R., Rasmussen, R. M., and Hall, W. D.: Explicit Forecasts of Winter Precipitation Using an Improved Bulk Microphysics Scheme. Part II: Implementation of a New Snow Parameterization, Mon. Weather Rev., 136, 5095–5115, <ext-link xlink:href="https://doi.org/10.1175/2008MWR2387.1" ext-link-type="DOI">10.1175/2008MWR2387.1</ext-link>, 2008.</mixed-citation></ref>
      <ref id="bib1.bibx37"><label>Virtanen et al.(2020)Virtanen, Gommers, Oliphant, Haberland, Reddy, Cournapeau, Burovski, Peterson, Weckesser, Bright, van der Walt, Brett, Wilson, Millman, Mayorov, Nelson, Jones, Kern, Larson, Carey, Polat, Feng, Moore, VanderPlas, Laxalde, Perktold, Cimrman, Henriksen, Quintero, Harris, Archibald, Ribeiro, Pedregosa, van Mulbregt, and Contributors</label><mixed-citation>Virtanen, P., Gommers, R., Oliphant, T. E., Haberland, M., Reddy, T., Cournapeau, D., Burovski, E., Peterson, P., Weckesser, W., Bright, J., van der Walt, S. J., Brett, M., Wilson, J., Millman, K. J., Mayorov, N., Nelson, A. R. J., Jones, E., Kern, R., Larson, E., Carey, C. J., Polat, I., Feng, Y., Moore, E. W., VanderPlas, J., Laxalde, D., Perktold, J., Cimrman, R., Henriksen, I., Quintero, E. A., Harris, C. R., Archibald, A. M., Ribeiro, A. H., Pedregosa, F., van Mulbregt, P., and Contributors, S. .: SciPy 1.0: fundamental algorithms for scientific computing in Python, Nat. Methods, 17, 261–272, <ext-link xlink:href="https://doi.org/10.1038/s41592-019-0686-2" ext-link-type="DOI">10.1038/s41592-019-0686-2</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bibx38"><label>Wise et al.(2022)Wise, Neher, Arthur, Mirocha, Lundquist, and Chow</label><mixed-citation>Wise, A. S., Neher, J. M. T., Arthur, R. S., Mirocha, J. D., Lundquist, J. K., and Chow, F. K.: Meso- to microscale modeling of atmospheric stability effects on wind turbine wake behavior in complex terrain, Wind Energ. Sci., 7, 367–386, <ext-link xlink:href="https://doi.org/10.5194/wes-7-367-2022" ext-link-type="DOI">10.5194/wes-7-367-2022</ext-link>, 2022.</mixed-citation></ref>
      <ref id="bib1.bibx39"><label>Zängl et al.(2004)Zängl, Gantner, Hartjenstein, and Noppel</label><mixed-citation>Zängl, G., Gantner, L., Hartjenstein, G., and Noppel, H.: Numerical errors above steep topography: A model intercomparison, Meteorol. Z., 13, 69–76, <ext-link xlink:href="https://doi.org/10.1127/0941-2948/2004/0013-0069" ext-link-type="DOI">10.1127/0941-2948/2004/0013-0069</ext-link>, 2004.</mixed-citation></ref>
      <ref id="bib1.bibx40"><label>Zhang et al.(2011)Zhang, Wang, and Hamilton</label><mixed-citation>Zhang, C., Wang, Y., and Hamilton, K.: Improved Representation of Boundary Layer Clouds over the Southeast Pacific in ARW-WRF Using a Modified Tiedtke Cumulus Parameterization Scheme, Mon. Weather Rev., 139, 3489–3513, <ext-link xlink:href="https://doi.org/10.1175/MWR-D-10-05091.1" ext-link-type="DOI">10.1175/MWR-D-10-05091.1</ext-link>, 2011.</mixed-citation></ref>
      <ref id="bib1.bibx41"><label>Zilitinkevich(1995)</label><mixed-citation>Zilitinkevich, S.: Non-local turbulent transport: pollution dispersion aspects of coherent structure of convective flows, WIT Trans. Ecol. Environ., 6, 53–60, <ext-link xlink:href="https://doi.org/10.2495/AIR950071" ext-link-type="DOI">10.2495/AIR950071</ext-link>, 1995.</mixed-citation></ref>

  </ref-list></back>
    <!--<article-title-html>A local terrain smoothing approach for stabilizing microscale  and high-resolution mesoscale simulations: a case  study using FastEddy<span style="position:relative; bottom:0.5em; " class="text">®</span> (v3.0) and WRF (v4.6.0)</article-title-html>
<abstract-html/>
<ref-html id="bib1.bib1"><label>Arnold et al.(2012)Arnold, Morton, Schicker, Seibert, Rotach, Horvath, Dudhia, Satomura, Müller, Zängl, Takemi, Serafin, Schmidli, and Schneider</label><mixed-citation>
      
Arnold, D., Morton, D., Schicker, I., Seibert, P., Rotach, M. W., Horvath, K., Dudhia, J., Satomura, T., Müller, M., Zängl, G., Takemi, T., Serafin, S., Schmidli, J., and Schneider, S.: High Resolution Modelling in Complex Terrain: Report on the HiRCoT 2012 Workshop, Vienna, 21–23 February 2012, BOKU-Met Report 21, Institut für Meteorologie, Department Wasser–Atmosphäre–Umwelt, Universität für Bodenkultur, Vienna, Vienna, Austria, <a href="http://www.boku.ac.at/met/report/BOKU-Met_Report_21_online.pdf" target="_blank"/> (last access: June 2025), 2012.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>Bonafè et al.(2024)Bonafè, Bacer, Gallai, and Montanari</label><mixed-citation>
      
Bonafè, G., Bacer, S., Gallai, I., and Montanari, F.: Global soil type dataset for WRF-ARW model, based on HWSD version 2, Zenodo [data set], <a href="https://doi.org/10.5281/zenodo.10907096" target="_blank">https://doi.org/10.5281/zenodo.10907096</a>, 2024.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>Bouëdec et al.(2025)Bouëdec, Chemel, and Staquet</label><mixed-citation>
      
Bouëdec, E. L., Chemel, C., and Staquet, C.:
Dealing with steep slopes when modeling stable boundary-layer flow in Alpine terrain, Q. J. Roy. Meteor. Soc., 151, e4835, <a href="https://doi.org/10.1002/qj.4835" target="_blank">https://doi.org/10.1002/qj.4835</a>, 2025.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>Cannon et al.(2017)Cannon, Carvalho, Jones, Norris, Bookhagen, and Kiladis</label><mixed-citation>
      
Cannon, F., Carvalho, L. M. V., Jones, C., Norris, J., Bookhagen, B., and Kiladis, G. N.:
Effects of topographic smoothing on the simulation of winter precipitation in High Mountain Asia, J. Geophys. Res.-Atmos., 122, 1456–1474, <a href="https://doi.org/10.1002/2016JD026038" target="_blank">https://doi.org/10.1002/2016JD026038</a>, 2017.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>Chen and Dudhia(2001)</label><mixed-citation>
      
Chen, F. and Dudhia, J.:
Coupling an Advanced Land Surface–Hydrology Model with the Penn State–NCAR MM5 Modeling System. Part I: Model Implementation and Sensitivity, Mon. Weather Rev., 129, 569–585, <a href="https://doi.org/10.1175/1520-0493(2001)129&lt;0569:CAALSH&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0493(2001)129&lt;0569:CAALSH&gt;2.0.CO;2</a>, 2001.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>Danielson and Gesch(2011)</label><mixed-citation>
      
Danielson, J. J. and Gesch, D. B.: Global Multi-resolution Terrain Elevation Data 2010 (GMTED2010), Open-File Report 2011–1073, U.S. Geological Survey, <a href="https://pubs.usgs.gov/of/2011/1073/" target="_blank"/> (last access: June 2025), 2011.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>Deardorff(1980)</label><mixed-citation>
      
Deardorff, J. W.:
Stratocumulus-capped mixed layers derived from a three-dimensional model, Bound.-Lay. Meteorol., 18, 495–527, <a href="https://doi.org/10.1007/BF00119502" target="_blank">https://doi.org/10.1007/BF00119502</a>, 1980.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>Demuzere et al.(2023)Demuzere, He, Martilli, and Zonato</label><mixed-citation>
      
Demuzere, M., He, C., Martilli, A., and Zonato, A.:
Technical Documentation for the Hybrid 100-m Global Land Cover Dataset with Local Climate Zones for WRF, Zenodo, <a href="https://doi.org/10.5281/zenodo.7670791" target="_blank">https://doi.org/10.5281/zenodo.7670791</a>, 2023.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>Farr et al.(2007)Farr, Rosen, Caro, Crippen, Duren, Hensley, Kobrick, Paller, Rodriguez, Roth, Seal, Shaffer, Shimada, Umland, Werner, Oskin, Burbank, and Alsdorf</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, <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.bib10"><label>Geerts et al.(2011)Geerts, Miao, and Yang</label><mixed-citation>
      
Geerts, B., Miao, Q., and Yang, Y.:
Boundary Layer Turbulence and Orographic Precipitation Growth in Cold Clouds: Evidence from Profiling Airborne Radar Data, J. Atmos. Sci., 68, 2344–2365, <a href="https://doi.org/10.1175/JAS-D-10-05009.1" target="_blank">https://doi.org/10.1175/JAS-D-10-05009.1</a>, 2011.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>Iacono et al.(2008)Iacono, Delamere, Mlawer, Shephard, Clough, and Collins</label><mixed-citation>
      
Iacono, M. J., Delamere, J. S., Mlawer, E. J., Shephard, M. W., Clough, S. A., and Collins, W. D.:
Radiative forcing by long-lived greenhouse gases: Calculations with the AER radiative transfer models, J. Geophys. Res.-Atmos., 113, <a href="https://doi.org/10.1029/2008JD009944" target="_blank">https://doi.org/10.1029/2008JD009944</a>, 2008.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>Instituto Geográfico Nacional(2014)</label><mixed-citation>
      
Instituto Geográfico Nacional: SIOSE (Sistema de Información de Ocupación del Suelo en España) a escala 1:25.000, Instituto Geográfico Nacional, <a href="https://centrodedescargas.cnig.es/CentroDescargas/siose" target="_blank"/> (last access: June 2024), 2014.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>Instituto Geográfico Nacional(2015)</label><mixed-citation>
      
Instituto Geográfico Nacional:
Modelo Digital del Terreno 2ª Cobertura (2015–2021) con paso de malla de 2 metros, Instituto Geográfico Nacional, <a href="https://centrodedescargas.cnig.es/CentroDescargas/modelo-digital-terreno-mdt02-segunda-cobertura" target="_blank"/> (last access: June 2024), 2015.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>Janjić(1994)</label><mixed-citation>
      
Janjić, Z. I.:
The Step-Mountain Eta Coordinate Model: Further Developments of the Convection, Viscous Sublayer, and Turbulence Closure Schemes, Mon. Weather Rev., 122, 927–945, <a href="https://doi.org/10.1175/1520-0493(1994)122&lt;0927:TSMECM&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0493(1994)122&lt;0927:TSMECM&gt;2.0.CO;2</a>, 1994.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>Klemp et al.(2003)Klemp, Skamarock, and Fuhrer</label><mixed-citation>
      
Klemp, J. B., Skamarock, W. C., and Fuhrer, O.:
Numerical Consistency of Metric Terms in Terrain-Following Coordinates, Mon. Weather Rev., 131, 1229–1239, <a href="https://doi.org/10.1175/1520-0493(2003)131&lt;1229:NCOMTI&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0493(2003)131&lt;1229:NCOMTI&gt;2.0.CO;2</a>, 2003.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib16"><label>Liang et al.(2020)Liang, Guo, Zhang, Zhang, Tian, and Zhang</label><mixed-citation>
      
Liang, J., Guo, Q., Zhang, Z., Zhang, M., Tian, P., and Zhang, L.:
Influence of Complex Terrain on Near-Surface Turbulence Structures over Loess Plateau, Atmosphere, 11, <a href="https://doi.org/10.3390/atmos11090930" target="_blank">https://doi.org/10.3390/atmos11090930</a>, 2020.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>Lilly(1966)</label><mixed-citation>
      
Lilly, D. K.:
On the Application of the Eddy Viscosity Concept in the Inertial Sub-Range of Turbulence, Tech. rep., University Corporation for Atmospheric Research, <a href="https://doi.org/10.5065/D67H1GGQ" target="_blank">https://doi.org/10.5065/D67H1GGQ</a>, 1966.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>Lundquist et al.(2010)Lundquist, Chow, and Lundquist</label><mixed-citation>
      
Lundquist, K. A., Chow, F. K., and Lundquist, J. K.: Numerical errors in flow over steep topography: analysis and alternatives, in: 14th Conference on Mountain Meteorology, 10.1, American Meteorological Society, Lake Tahoe, CA, <a href="https://ams.confex.com/ams/14MountMet/techprogram/paper_173801.htm" target="_blank"/> (last access: June 2025), 2010.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>Mahrer(1984)</label><mixed-citation>
      
Mahrer, Y.:
An Improved Numerical Approximation of the Horizontal Gradients in a Terrain-Following Coordinate System, Mon. Weather Rev., 112, 918–922, <a href="https://doi.org/10.1175/1520-0493(1984)112&lt;0918:AINAOT&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0493(1984)112&lt;0918:AINAOT&gt;2.0.CO;2</a>, 1984.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>Marjanovic et al.(2014)Marjanovic, Wharton, and Chow</label><mixed-citation>
      
Marjanovic, N., Wharton, S., and Chow, F. K.:
Investigation of model parameters for high-resolution wind energy forecasting: Case studies over simple and complex terrain, J. Wind Eng. Ind. Aerodyn., 134, 10–24, <a href="https://doi.org/10.1016/j.jweia.2014.08.007" target="_blank">https://doi.org/10.1016/j.jweia.2014.08.007</a>, 2014.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>Martilli et al.(2002)Martilli, Clappier, and Rotach</label><mixed-citation>
      
Martilli, A., Clappier, A., and Rotach, M. W.:
An Urban Surface Exchange Parameterisation for Mesoscale Models, Bound.-Lay. Meteorol., 104, 261–304, <a href="https://doi.org/10.1023/A:1016099921195" target="_blank">https://doi.org/10.1023/A:1016099921195</a>, 2002.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>Monin and Obukhov(1954)</label><mixed-citation>
      
Monin, A. and Obukhov, A.:
Basic turbulence mixing laws in the atmospheric surface layer, Trans. Geophys. Inst. Acad. Sci. USSR, 24, 163–187, 1954.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>Muñoz-Esparza and Kosović(2018)</label><mixed-citation>
      
Muñoz-Esparza, D. and Kosović, B.:
Generation of Inflow Turbulence in Large-Eddy Simulations of Nonneutral Atmospheric Boundary Layers with the Cell Perturbation Method, Mon. Weather Rev., 146, 1889–1909, <a href="https://doi.org/10.1175/MWR-D-18-0077.1" target="_blank">https://doi.org/10.1175/MWR-D-18-0077.1</a>, 2018.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>Muñoz-Esparza et al.(2014)Muñoz-Esparza, Kosović, Mirocha, and van Beeck</label><mixed-citation>
      
Muñoz-Esparza, D., Kosović, B., Mirocha, J., and van Beeck, J.:
Bridging the Transition from Mesoscale to Microscale Turbulence in Numerical Weather Prediction Models, Bound.-Lay. Meteorol., 153, 409–440, <a href="https://doi.org/10.1007/s10546-014-9956-9" target="_blank">https://doi.org/10.1007/s10546-014-9956-9</a>, 2014.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib25"><label>Muñoz-Esparza et al.(2015)Muñoz-Esparza, Kosović, van Beeck, and Mirocha</label><mixed-citation>
      
Muñoz-Esparza, D., Kosović, B., van Beeck, J., and Mirocha, J.:
A stochastic perturbation method to generate inflow turbulence in large-eddy simulation models: Application to neutrally stratified atmospheric boundary layers, Phys. Fluids, 27, 035102, <a href="https://doi.org/10.1063/1.4913572" target="_blank">https://doi.org/10.1063/1.4913572</a>, 2015.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib26"><label>Muñoz-Esparza et al.(2022)Muñoz-Esparza, Sauer, Jensen, Xue, and Grabowski</label><mixed-citation>
      
Muñoz-Esparza, D., Sauer, J. A., Jensen, A. A., Xue, L., and Grabowski, W. W.: The FastEddy<span style="position:relative; bottom:0.5em; " class="text">®</span> Resident-GPU Accelerated Large-Eddy Simulation Framework: Moist Dynamics Extension, Validation and Sensitivities of Modeling Non-Precipitating Shallow Cumulus Clouds, J. Adv. Model. Earth Sy., 14, e2021MS002904, <a href="https://doi.org/10.1029/2021MS002904" target="_blank">https://doi.org/10.1029/2021MS002904</a>, 2022.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib27"><label>NCAR(2025)</label><mixed-citation>
      
NCAR – National Center for Atmospheric Research: FastEddy v3.0's SimGrid, NCAR, <a href="https://github.com/NCAR/FastEddy-model/blob/main_v3.0/scripts/python_utilities/coupler/SimGrid.py" target="_blank"/> (last access: July 2025), 2025.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib28"><label>Raderschall et al.(2008)Raderschall, Lehning, and Schär</label><mixed-citation>
      
Raderschall, N., Lehning, M., and Schär, C.:
Fine-scale modeling of the boundary layer wind field over steep topography, Water Resour. Res., 44, <a href="https://doi.org/10.1029/2007WR006544" target="_blank">https://doi.org/10.1029/2007WR006544</a>, 2008.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib29"><label>Raluy-López et al.(2025a)Raluy-López, Muñoz-Esparza, and Montávez</label><mixed-citation>
      
Raluy-López, E., Muñoz-Esparza, D., and Montávez, J. P.: A Local Terrain Smoothing Approach for Stabilizing Microscale and High-Resolution Mesoscale Simulations: input data and tested methods, Zenodo [code], <a href="https://doi.org/10.5281/zenodo.16635511" target="_blank">https://doi.org/10.5281/zenodo.16635511</a>, 2025a.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib30"><label>Raluy-López et al.(2025b)Raluy-López, Muñoz-Esparza, and Montávez</label><mixed-citation>
      
Raluy-López, E., Muñoz-Esparza, D., and Montávez, J. P.: Local Terrain Smoother for WRF (v1.0), Zenodo [code], <a href="https://doi.org/10.5281/zenodo.16265023" target="_blank">https://doi.org/10.5281/zenodo.16265023</a>, 2025b.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib31"><label>Ramelli et al.(2021)Ramelli, Henneberger, David, Lauber, Pasquier, Wieder, Bühl, Seifert, Engelmann, Hervo, and Lohmann</label><mixed-citation>
      
Ramelli, F., Henneberger, J., David, R. O., Lauber, A., Pasquier, J. T., Wieder, J., Bühl, J., Seifert, P., Engelmann, R., Hervo, M., and Lohmann, U.:
Influence of low-level blocking and turbulence on the microphysics of a mixed-phase cloud in an inner-Alpine valley, Atmos. Chem. Phys., 21, 5151–5172, <a href="https://doi.org/10.5194/acp-21-5151-2021" target="_blank">https://doi.org/10.5194/acp-21-5151-2021</a>, 2021.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib32"><label>Sauer and Muñoz-Esparza(2020)</label><mixed-citation>
      
Sauer, J. A. and Muñoz-Esparza, D.:
The FastEddy® Resident-GPU Accelerated Large-Eddy Simulation Framework: Model Formulation, Dynamical-Core Validation and Performance Benchmarks, J. Adv. Model. Earth Sy., 12, e2020MS002100, <a href="https://doi.org/10.1029/2020MS002100" target="_blank">https://doi.org/10.1029/2020MS002100</a>, 2020.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib33"><label>Schär et al.(2002)Schär, Leuenberger, Fuhrer, Lüthi, and Girard</label><mixed-citation>
      
Schär, C., Leuenberger, D., Fuhrer, O., Lüthi, D., and Girard, C.:
A New Terrain-Following Vertical Coordinate Formulation for Atmospheric Prediction Models, Mon. Weather Rev., 130, 2459–2480, <a href="https://doi.org/10.1175/1520-0493(2002)130&lt;2459:ANTFVC&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0493(2002)130&lt;2459:ANTFVC&gt;2.0.CO;2</a>, 2002.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib34"><label>Sheridan et al.(2023)Sheridan, Xu, Li, and Furtado</label><mixed-citation>
      
Sheridan, P., Xu, A., Li, J., and Furtado, K.:
Use of Targeted Orographic Smoothing in Very High Resolution Simulations of a Downslope Windstorm and Rotor in a Sub-tropical Highland Location, Adv. Atmos. Sci., 40, 2043–2062, <a href="https://doi.org/10.1007/s00376-023-2298-0" target="_blank">https://doi.org/10.1007/s00376-023-2298-0</a>, 2023.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib35"><label>Skamarock et al.(2021)Skamarock, Klemp, Dudhia, Gill, Liu, Berner, Wang, Powers, Duda, Barker, and Huang</label><mixed-citation>
      
Skamarock, W., Klemp, J., Dudhia, J., Gill, D. O., Liu, Z., Berner, J., Wang, W., Powers, J. G., Duda, M. G., Barker, D., and Huang, X.-Y.:
A Description of the Advanced Research WRF Model Version 4.3, Tech. Rep. NCAR/TN-556+STR, National Center for Atmospheric Research (NCAR), <a href="https://doi.org/10.5065/1dfh-6p97" target="_blank">https://doi.org/10.5065/1dfh-6p97</a>, 2021.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib36"><label>Thompson et al.(2008)Thompson, Field, Rasmussen, and Hall</label><mixed-citation>
      
Thompson, G., Field, P. R., Rasmussen, R. M., and Hall, W. D.:
Explicit Forecasts of Winter Precipitation Using an Improved Bulk Microphysics Scheme. Part II: Implementation of a New Snow Parameterization, Mon. Weather Rev., 136, 5095–5115, <a href="https://doi.org/10.1175/2008MWR2387.1" target="_blank">https://doi.org/10.1175/2008MWR2387.1</a>, 2008.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib37"><label>Virtanen et al.(2020)Virtanen, Gommers, Oliphant, Haberland, Reddy, Cournapeau, Burovski, Peterson, Weckesser, Bright, van der Walt, Brett, Wilson, Millman, Mayorov, Nelson, Jones, Kern, Larson, Carey, Polat, Feng, Moore, VanderPlas, Laxalde, Perktold, Cimrman, Henriksen, Quintero, Harris, Archibald, Ribeiro, Pedregosa, van Mulbregt, and Contributors</label><mixed-citation>
      
Virtanen, P., Gommers, R., Oliphant, T. E., Haberland, M., Reddy, T., Cournapeau, D., Burovski, E., Peterson, P., Weckesser, W., Bright, J., van der Walt, S. J., Brett, M., Wilson, J., Millman, K. J., Mayorov, N., Nelson, A. R. J., Jones, E., Kern, R., Larson, E., Carey, C. J., Polat, I., Feng, Y., Moore, E. W., VanderPlas, J., Laxalde, D., Perktold, J., Cimrman, R., Henriksen, I., Quintero, E. A., Harris, C. R., Archibald, A. M., Ribeiro, A. H., Pedregosa, F., van Mulbregt, P., and Contributors, S. .:
SciPy 1.0: fundamental algorithms for scientific computing in Python, Nat. Methods, 17, 261–272, <a href="https://doi.org/10.1038/s41592-019-0686-2" target="_blank">https://doi.org/10.1038/s41592-019-0686-2</a>, 2020.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib38"><label>Wise et al.(2022)Wise, Neher, Arthur, Mirocha, Lundquist, and Chow</label><mixed-citation>
      
Wise, A. S., Neher, J. M. T., Arthur, R. S., Mirocha, J. D., Lundquist, J. K., and Chow, F. K.:
Meso- to microscale modeling of atmospheric stability effects on wind turbine wake behavior in complex terrain, Wind Energ. Sci., 7, 367–386, <a href="https://doi.org/10.5194/wes-7-367-2022" target="_blank">https://doi.org/10.5194/wes-7-367-2022</a>, 2022.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib39"><label>Zängl et al.(2004)Zängl, Gantner, Hartjenstein, and Noppel</label><mixed-citation>
      
Zängl, G., Gantner, L., Hartjenstein, G., and Noppel, H.:
Numerical errors above steep topography: A model intercomparison, Meteorol. Z., 13, 69–76, <a href="https://doi.org/10.1127/0941-2948/2004/0013-0069" target="_blank">https://doi.org/10.1127/0941-2948/2004/0013-0069</a>, 2004.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib40"><label>Zhang et al.(2011)Zhang, Wang, and Hamilton</label><mixed-citation>
      
Zhang, C., Wang, Y., and Hamilton, K.:
Improved Representation of Boundary Layer Clouds over the Southeast Pacific in ARW-WRF Using a Modified Tiedtke Cumulus Parameterization Scheme, Mon. Weather Rev., 139, 3489–3513, <a href="https://doi.org/10.1175/MWR-D-10-05091.1" target="_blank">https://doi.org/10.1175/MWR-D-10-05091.1</a>, 2011.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib41"><label>Zilitinkevich(1995)</label><mixed-citation>
      
Zilitinkevich, S.:
Non-local turbulent transport: pollution dispersion aspects of coherent structure of convective flows, WIT Trans. Ecol. Environ., 6, 53–60, <a href="https://doi.org/10.2495/AIR950071" target="_blank">https://doi.org/10.2495/AIR950071</a>, 1995.

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