Articles | Volume 19, issue 11
https://doi.org/10.5194/gmd-19-5139-2026
https://doi.org/10.5194/gmd-19-5139-2026
Development and technical paper
 | 
15 Jun 2026
Development and technical paper |  | 15 Jun 2026

A local terrain smoothing approach for stabilizing microscale and high-resolution mesoscale simulations: a case study using FastEddy® (v3.0) and WRF (v4.6.0)

Eloisa Raluy-López, Domingo Muñoz-Esparza, and Juan Pedro Montávez
Abstract

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 × 3 grid, with a blending factor of 0.2, and treating all the steep-slope points simultaneously. Integrated into the NCAR's FastEddy® 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.

Share
1 Introduction

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 (e.g., Raderschall et al.2008; Geerts et al.2011; Liang et al.2020; Ramelli et al.2021; Wise et al.2022). Many numerical models rely on terrain-following coordinate systems to capture these effects, such as the Weather Research and Forecasting model (WRF; Skamarock et al.2021), and the FastEddy® large-eddy simulation (LES) model (Sauer and Muñoz-Esparza2020; Muñoz-Esparza et al.2022). However, when working with high-resolution datasets, steep terrain slopes can introduce numerical instabilities, adversely affecting the accuracy of the simulations (Mahrer1984; Schär et al.2002; Klemp et al.2003; Zängl et al.2004; Lundquist et al.2010). 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 (e.g., Schär et al.2002; Klemp et al.2003). 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.

To address numerical instabilities over steep terrain, it is common to apply terrain smoothing (e.g., Cannon et al.2017; Skamarock et al.2021), or to increase damping constants (Arnold et al.2012) and time off-centering parameters for vertically propagating sound waves (see e.g., Marjanovic et al.2014). However, increasing these values may lead to unphysical results, thus its implementation is not advised (Arnold et al.2012). 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.

Some recent works tried to address the loss of terrain properties when a smoothing approach is applied. For instance, Bouëdec et al. (2025) 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. Sheridan et al. (2023) 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.

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®; 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. 2. Section 3 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. 4 summarizes the main conclusions.

2 Methodology

2.1 Model setup and terrain representation

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.

2.1.1 WRF configuration

The WRF configuration consists of four one-way nested domains with horizontal resolutions of 9, 3, 1, and 0.2 km (Fig. A1), approximately centered over the city of Murcia. The vertical grid includes 45 eta levels explicitly defined in the model configuration (see Appendix A), with enhanced resolution near the surface, and the model top set at 50 hPa. The cell center of the lowest model layer is located at approximately 15 m above ground level (domain average). Subsequent model-layer centers are located at approximately 46, 78, 110, 144, and 180 m, with a vertical spacing that gradually increases with height.

https://gmd.copernicus.org/articles/19/5139/2026/gmd-19-5139-2026-f01

Figure 1(a) Innermost WRF domain consisting on a 60 km× 60 km area at 200 m 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. (b) Extended FastEddy domain of 20 km× 20 km at 10 m 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 km× 15 km 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.

Terrain elevation data for domains 1 to 3 were obtained from the Global Multi-resolution Terrain Elevation Data 2010 (GMTED2010; Danielson and Gesch2011) dataset with a spatial resolution of 30 arcsec ( 1 km), which is the default option included in the WRF Preprocessing System (WPS). For the innermost domain (d04), covering an area of approximately 60 km× 60 km with Δ= 200 m, 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 m (SRTM90; Farr et al.2007) 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. 1a 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. 3.2. The rest of the WRF configuration, including further surface characterization and physical parametrizations, is provided in Appendix A.

2.1.2 FastEddy configuration

The FastEddy simulations are performed over a 15 km× 15 km inner (simulation) domain approximately centered on the city of Murcia (see Fig. 1b), with a horizontal spatial resolution of 10 m ((Nx,Ny) = (1536, 1530)). The vertical extent reaches up to 2700 m above sea level and is divided into 90 levels using vertical stretching, corresponding to more than 2 km 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 m 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 ma.g.l., with a vertical spacing of approximately 12 m near the surface that gradually increases with height. Figure 1b also shows the 20 km× 20 km extended (preprocessing) FastEddy domain used only in the SimGrid 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.

The terrain elevation data were extracted from the Spanish National 2nd-Coverage Digital Terrain Model (MDT02; 2015–2021; Instituto Geográfico Nacional2015), with a native grid spacing of 2 m, obtained from the download center of the National Geography Institute of Spain. The data were aggregated to the target FastEddy resolution (10 m) using spatial averaging. Under this representation, problematic points emerge in areas with slopes exceeding 35° (Fig. 1b). Details on land use, surface properties, the selected physical parametrizations, and the coupling with WRF are provided in Appendix B.

2.1.3 Case study

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 min intervals.

https://gmd.copernicus.org/articles/19/5139/2026/gmd-19-5139-2026-f02

Figure 2Conceptualization of the smoothing approaches. From left to right: simple 3 × 3 method, 3 × 3 method with blending, and N×N method with progressive blending.

Download

This event features persistent north-easterly winds interacting with complex terrain. As illustrated in Fig. 1, both models exhibit pronounced numerical instabilities visible in the vertical wind component – exceeding 100 m s−1 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.

2.2 Local smoothing approaches

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. 1. 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, σ, controls the spread of this distribution: smaller σ values result in more localized smoothing, while larger σ 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.

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.

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.

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.

  1. Simple sequential 3 × 3 method. In each iteration, a Gaussian filter with an adaptive σ is applied to a 3 × 3 window centered on the point of maximum slope (see the first method in Fig. 2). The process is repeated until the maximum slope does not exceed the threshold. In each iteration, the value of σ starts at 1.0 and can be increased in steps of Δσ= 1 up to σmax= 25 if no steep-slope points are corrected with the previous σ value.

  2. Sequential 3 × 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. 2). 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.

  3. Sequential N×N 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 N=5, N=7 and N=9 configurations with a progressive BF according to Eq. (1) (see also the third method in Fig. 2). Method 2 with a BF = 0.5 is equivalent to Method 3 with N=3.

    (1) BF n = 1 2 n - 1 2 , with n = 1 , 3 , 5 , , N
  4. Simultaneous 3 × 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.

  5. Simultaneous N×N 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 N=7 and N=9 are presented.

2.3 Performance evaluation and method selection

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-σ strategy as the local methods: each iteration begins with σ=1.0 and increases in increments of Δσ=1 up to a maximum of 25 if no steep-slope points are corrected with the previous σ value.

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.

https://gmd.copernicus.org/articles/19/5139/2026/gmd-19-5139-2026-f03

Figure 3Extended FastEddy domain upscaled to 25 m resolution. The steep-slope points (sspts; points with slopes exceeding 35°) are represented with red dots.

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 km× 20 km domain. For the sake of simplicity, the domain is upscaled to 25 m (Fig. 3) by block-averaging over non-overlapping 25 m× 25 m tiles, which significantly reduces the computational cost of the analysis while preserving the validity of the conclusions. The 25 m resolution domain is used only for method development and evaluation, whereas the FastEddy and WRF domains at their target resolutions (Fig. 1) 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 (Δ= 10 m) and the fourth WRF domain (Δ= 200 m). 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.

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.

https://gmd.copernicus.org/articles/19/5139/2026/gmd-19-5139-2026-f04

Figure 4Number 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.

Download

3 Results and discussion

3.1 Methods performance and selection

The performance of the 15 smoothing methods, including global smoothing, was evaluated for the extended FastEddy domain at 25 m 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.

https://gmd.copernicus.org/articles/19/5139/2026/gmd-19-5139-2026-f05

Figure 5Bar 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.

Download

3.1.1 Time/iterations to reach convergence

Figure 4 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 N×N methods with progressive blending require fewer iterations with larger values of N. Simultaneous methods are substantially faster, requiring up to two orders of magnitude fewer iterations. Among them, the 3 × 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 × 3 method with BF = 0.05 is the simultaneous approach that needs the most iterations, followed by the N×N method with N=9. For all methods, the majority of the iterations were performed with σ=1, 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.

Figure 5 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 s to reach convergence using an Intel Xeon Gold 6140 CPU (2.30 GHz). 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 s to solve the problematic points in 18 iterations with σ=1. 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.

https://gmd.copernicus.org/articles/19/5139/2026/gmd-19-5139-2026-f06

Figure 6Relative 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.

3.1.2 Terrain modification

A terrain distortion analysis was performed to evaluate the impact of the smoothing process. Figure 6 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 × 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 = 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.

https://gmd.copernicus.org/articles/19/5139/2026/gmd-19-5139-2026-f07

Figure 7Slope 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 (Δ= 200 m), upscaled extended FastEddy domain (Δ= 25 m), extended FastEddy domain (Δ= 10 m). Grey dashed lines indicate the maximum slope thresholds, established at 30° for the mesoscale and at 35° for the microscale.

Download

https://gmd.copernicus.org/articles/19/5139/2026/gmd-19-5139-2026-f08

Figure 8Comparison of original and smoothed topographies across the three modeling domains. Each row represents a different domain. From top to bottom: the fourth WRF domain (Δ= 200 m), the upscaled extended FastEddy domain (Δ= 25 m), and the extended FastEddy domain (Δ= 10 m). 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.

3.1.3 Method selection

The simultaneous 3 × 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 7 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 Δ= 25 m). 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−4 and 10−2m−1, corresponding to intermediate-to-large terrain features. A modest increase in power is observed for wavenumbers greater than 10−2m−1, likely reflecting small-scale noise introduced during the blending process. In contrast, the global method strongly suppresses spectral power at wavenumbers larger than 3 × 10−4m−1, 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. 8. In comparison to the global approach, the local smoothing technique preserves the terrain features to a much greater extent, introducing only minor, localized distortions.

3.2 Model implementation and case study: preventing terrain-induced numerical instabilities

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 GEOGRID.TBL file through the parameters smooth_option and smooth_passes, 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 geogrid preprocessing, i.e., to the already interpolated topography, whether or not the geogrid smoothing has been applied. It is therefore conceived as a complementary preprocessing step in cases where the default geogrid 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 geogrid 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 (ungrib and metgrid) remain unchanged. The algorithm was implemented in Python using standard libraries. The Gaussian filter used for smoothing is imported from SciPy (Virtanen et al.2020). The source code, along with usage instructions and an example file, is openly available on Zenodo (Raluy-López et al.2025b). 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.

When applied to the innermost WRF domain with a horizontal resolution of Δ= 200 m 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 7 (see panels with Δ= 200 m) 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 σ=1) 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 8 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.

Under the meteorological conditions described in Sect. 2.1.3, 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 (epssm 0.9). However, as previously discussed in the Introduction, increasing this parameter may result in unphysical behavior and is therefore not recommended (Arnold et al.2012). 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.

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 (NCAR2025) already includes this improvement. The algorithm is executed during the preprocessing SimGrid 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 SimGrid). As an illustrative example, smoothing the extended 20 km× 20 km FastEddy domain at 10 m takes less than three minutes, resolving 97 706 steep-slope points in 304 iterations using a single Intel Xeon Gold 6140 CPU (2.30 GHz). The slope distributions and power spectral densities of the terrain before and after smoothing are shown in Fig. 7. Figure 8 (see panels with Δ= 10 m) compares the original terrain of the extended domain with the globally smoothed version (110 iterations with σ=1) and the locally smoothed version, also showing the elevation differences introduced by the local method. The conclusions drawn for the 10 m 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.

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.

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.

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.

4 Conclusions

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.

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 × 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 × 3 cells. The central point is completely smoothed, while the edge cells preserve an 80 % of the original terrain information.

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.

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.

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.

Appendix A: WRF setup details

Across all domains, land cover information was derived from the CGLC-MODIS-LCZ dataset at 100 m resolution (Demuzere et al.2023), and soil texture classification was obtained from the HWSD version 2-based global dataset tailored for WRF (Bonafè et al.2024), available at 30 arcsec ( 1 km) resolution. All other geophysical datasets required by the WPS were used as provided by default.

The initial and boundary conditions were derived from the ERA5 reanalysis, with a spatial resolution of approximately 27 km, and updated in the model every 3 h. This WRF configuration follows the CONUS physics suite, including: the Thompson microphysics scheme (Thompson et al.2008); the Tiedtke cumulus parametrization (Zhang et al.2011), 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 (RRTMG; Iacono et al.2008); the Mellor-Yamada-Janjic boundary layer scheme (MYJ; Janjić1994); the Noah land surface model (Chen and Dudhia2001); and the Eta similarity scheme for surface layer processes (Janjić1994). The Building Environment Parameterization (BEP; Martilli et al.2002) urban canopy scheme is also activated, along with the use of the local climate zones (LCZs).

The eta-coordinate distribution used in the simulations was explicitly prescribed in the model configuration for enhanced near-surface resolution and was defined with eta_levels= 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.

https://gmd.copernicus.org/articles/19/5139/2026/gmd-19-5139-2026-f09

Figure A1WRF study area, consisting in four one-way nested domains of 9, 3, 1, and 0.2 km approximately centered in the city of Murcia (Spain).

Appendix B: FastEddy setup details

Land cover information was derived from the 2014 SIOSE database, a high-resolution national land-use inventory with a minimum mapping unit of 1 ha in urban areas, 2 ha in rural areas, and 0.5 ha in water bodies (Instituto Geográfico Nacional2014). 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 B1). The surface roughness length (z0m) for each land-use category was assigned according to the new proposed values in Table B2, based on the WRF LANDUSE.TBL and a supporting literature review. The effect of buildings was not explicitly included in these FastEddy simulations.

FastEddy was forced using the output from the WRF simulations, specifically from domain 3 (Δ= 1 km), 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 min. A model time step of 0.02 s was selected to meet the numerical stability requirements associated with resolving acoustic wave propagation.

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 Deardorff (1980), and further refined by Lilly (1966). Surface fluxes of momentum, sensible heat, and latent heat are computed using local surface-layer gradients according to the Monin–Obukhov similarity theory (Monin and Obukhov1954), 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 (Muñoz-Esparza et al.2014, 2015; Muñoz-Esparza and Kosović2018). This method efficiently triggers and sustains turbulence near the inflow boundaries. Finally, surface thermal roughness length (z0t) is dynamically computed using the Zilitinkevich parametrization (Zilitinkevich1995).

Table B1Reclassification from SIOSE (CODIIGE) to Modified MODIS IGBP Noah land-use categories without lakes, including the LCZs. The symbol “” indicates a specific reclassification for Murcia, may vary from city to city.

Download Print Version | Download XLSX

Table B2Roughness length values (z0) of the MODIS land cover categories including the LCZs according to the LANDUSE.TBL of WRF and our new proposal.

Download Print Version | Download XLSX

Code and data availability

The code for the different smoothing approaches – both global and local, including the selected method – is openly available in a Zenodo repository (https://doi.org/10.5281/zenodo.16635511; Raluy-López et al.2025a), 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 (NCAR2025). A version adapted for the WRF model is likewise openly available on Zenodo (https://doi.org/10.5281/zenodo.16265023; Raluy-López et al.2025b), together with detailed usage instructions and a sample NetCDF terrain file.

Author contributions

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.

Competing interests

The contact author has declared that none of the authors has any competing interests.

Disclaimer

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.

Acknowledgements

The authors are thankful to Jeremy Sauer, who implemented the original version of the global terrain smoothing filter in FastEddy.

Financial support

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.

Review statement

This paper was edited by Chiel van Heerwaarden and reviewed by two anonymous referees.

References

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, http://www.boku.ac.at/met/report/BOKU-Met_Report_21_online.pdf (last access: June 2025), 2012. a, b, c

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], https://doi.org/10.5281/zenodo.10907096, 2024. a

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, https://doi.org/10.1002/qj.4835, 2025. a

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, https://doi.org/10.1002/2016JD026038, 2017. a

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, https://doi.org/10.1175/1520-0493(2001)129<0569:CAALSH>2.0.CO;2, 2001. a

Danielson, J. J. and Gesch, D. B.: Global Multi-resolution Terrain Elevation Data 2010 (GMTED2010), Open-File Report 2011–1073, U.S. Geological Survey, https://pubs.usgs.gov/of/2011/1073/ (last access: June 2025), 2011. a

Deardorff, J. W.: Stratocumulus-capped mixed layers derived from a three-dimensional model, Bound.-Lay. Meteorol., 18, 495–527, https://doi.org/10.1007/BF00119502, 1980. a

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, https://doi.org/10.5281/zenodo.7670791, 2023. a

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, https://doi.org/10.1029/2005RG000183, 2007. a

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, https://doi.org/10.1175/JAS-D-10-05009.1, 2011. a

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, https://doi.org/10.1029/2008JD009944, 2008. a

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, https://centrodedescargas.cnig.es/CentroDescargas/siose (last access: June 2024), 2014. a

Instituto Geográfico Nacional: Modelo Digital del Terreno 2ª Cobertura (2015–2021) con paso de malla de 2 metros, Instituto Geográfico Nacional, https://centrodedescargas.cnig.es/CentroDescargas/modelo-digital-terreno-mdt02-segunda-cobertura (last access: June 2024), 2015. a

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, https://doi.org/10.1175/1520-0493(1994)122<0927:TSMECM>2.0.CO;2, 1994. a, b

Klemp, J. B., Skamarock, W. C., and Fuhrer, O.: Numerical Consistency of Metric Terms in Terrain-Following Coordinates, Mon. Weather Rev., 131, 1229–1239, https://doi.org/10.1175/1520-0493(2003)131<1229:NCOMTI>2.0.CO;2, 2003. a, b

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, https://doi.org/10.3390/atmos11090930, 2020. a

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, https://doi.org/10.5065/D67H1GGQ, 1966. a

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, https://ams.confex.com/ams/14MountMet/techprogram/paper_173801.htm (last access: June 2025), 2010. a

Mahrer, Y.: An Improved Numerical Approximation of the Horizontal Gradients in a Terrain-Following Coordinate System, Mon. Weather Rev., 112, 918–922, https://doi.org/10.1175/1520-0493(1984)112<0918:AINAOT>2.0.CO;2, 1984. a

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, https://doi.org/10.1016/j.jweia.2014.08.007, 2014. a

Martilli, A., Clappier, A., and Rotach, M. W.: An Urban Surface Exchange Parameterisation for Mesoscale Models, Bound.-Lay. Meteorol., 104, 261–304, https://doi.org/10.1023/A:1016099921195, 2002. a

Monin, A. and Obukhov, A.: Basic turbulence mixing laws in the atmospheric surface layer, Trans. Geophys. Inst. Acad. Sci. USSR, 24, 163–187, 1954. a

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, https://doi.org/10.1175/MWR-D-18-0077.1, 2018. a

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, https://doi.org/10.1007/s10546-014-9956-9, 2014. a

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, https://doi.org/10.1063/1.4913572, 2015. a

Muñoz-Esparza, D., Sauer, J. A., Jensen, A. A., Xue, L., and Grabowski, W. W.: The FastEddy® 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, https://doi.org/10.1029/2021MS002904, 2022. a

NCAR – National Center for Atmospheric Research: FastEddy v3.0's SimGrid, NCAR, https://github.com/NCAR/FastEddy-model/blob/main_v3.0/scripts/python_utilities/coupler/SimGrid.py (last access: July 2025), 2025. a, b

Raderschall, N., Lehning, M., and Schär, C.: Fine-scale modeling of the boundary layer wind field over steep topography, Water Resour. Res., 44, https://doi.org/10.1029/2007WR006544, 2008. a

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], https://doi.org/10.5281/zenodo.16635511, 2025a. a

Raluy-López, E., Muñoz-Esparza, D., and Montávez, J. P.: Local Terrain Smoother for WRF (v1.0), Zenodo [code], https://doi.org/10.5281/zenodo.16265023, 2025b. a, b

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, https://doi.org/10.5194/acp-21-5151-2021, 2021. a

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, https://doi.org/10.1029/2020MS002100, 2020. a

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, https://doi.org/10.1175/1520-0493(2002)130<2459:ANTFVC>2.0.CO;2, 2002. a, b

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, https://doi.org/10.1007/s00376-023-2298-0, 2023. a

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), https://doi.org/10.5065/1dfh-6p97, 2021. a, b

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, https://doi.org/10.1175/2008MWR2387.1, 2008. a

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, https://doi.org/10.1038/s41592-019-0686-2, 2020. a

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, https://doi.org/10.5194/wes-7-367-2022, 2022. a

Zängl, G., Gantner, L., Hartjenstein, G., and Noppel, H.: Numerical errors above steep topography: A model intercomparison, Meteorol. Z., 13, 69–76, https://doi.org/10.1127/0941-2948/2004/0013-0069, 2004. a

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, https://doi.org/10.1175/MWR-D-10-05091.1, 2011. a

Zilitinkevich, S.: Non-local turbulent transport: pollution dispersion aspects of coherent structure of convective flows, WIT Trans. Ecol. Environ., 6, 53–60, https://doi.org/10.2495/AIR950071, 1995. a

Download
Short summary
High-resolution atmospheric simulations can become numerically unstable over steep terrain. Traditional terrain smoothing approaches modify the domain globally, reducing terrain detail. We developed a local smoothing method that improves simulation stability while only modifying steep-slope points, helping to retain the benefits of high-resolution modeling. Tested in a mesoscale and a microscale atmospheric model, it is computationally efficient, easy to implement, and adaptable to other models.
Share