DLDavid Leutwyler

David Leutwyler

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


David Leutwyler has a total of 127 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    A Subgrid Topography–Surface Radiation Parameterisation in ICON for NWP

    by Christian R. Steger, David Leutwyler, Marco Arpagaus, Christoph Schär

    Incoming surface radiation in mountainous terrain is strongly modulated by topography. Direct shortwave radiation can be blocked by shadow casting from surrounding terrain and depends on local slope and aspect. Diffuse shortwave and longwave radiation are also affected by terrain, although typically to a lesser extent. These terrain-induced effects on surface radiation influence surface energy balance components such as ground temperature and snow cover, as well as near-surface atmospheric variables including 2 m air temperature and humidity. Through land–atmosphere interactions, such impacts can propagate vertically and affect boundary-layer processes, valley wind systems, and convection.In atmospheric models such as ICON, topographic influences on surface radiation are not explicitly resolved. The radiative transfer scheme operates in the vertical direction only and assumes horizontally aligned grid cells, thereby neglecting the influence of local and surrounding terrain on radiation. To address these limitations, ICON includes a parameterisation that accounts for terrain effects on direct shortwave radiation on the model grid scale.At MeteoSwiss, ICON is operated for numerical weather prediction at horizontal resolutions of 1–2 km. At these scales, fine-scale topographic features present in the high-resolution input dataset, available at 30 m, are substantially smoothed and thus not considered in the grid-scale topography-surface radiation parameterisation. To capture these unresolved effects, we implemented a subgrid-scale extension of the topography–radiation parameterisation in ICON. The required static input fields are derived using a high-performance ray-tracing algorithm. The new parameterisation is verified against station observations of global radiation, sunshine duration, and 2 m air temperature. Results show clear improvements, particularly in mountainous valleys and during winter months when solar elevation angles are low. In addition, a comparison of simulated snow cover with a satellite-derived product also reveals improved performance on seasonal timescales.

  • Open Access

    On the optimisation of numerical weather prediction model configuration for improved flood forecasting

    by Elena Leonarduzzi, Katrin Ehlert, David Leutwyler, Massimiliano Zappa

    Hydrological forecasts are essential for the timely and accurate prediction of flooding events, which are among the most impactful natural hazards for both infrastructure and human life in Europe and many other regions worldwide. Most existing flood warning systems are supported by hydrological models. Their accuracy depends not only on the representativeness and proper calibration (when required) of the model itself, but also on the quality of its inputs. While static inputs, particularly soil parameters, are highly uncertain, weather forecasts are arguably the most influential drivers.In this study, we recreate the entire operational modelling framework used in Switzerland. Weather forecasts are provided by ICON (MeteoSwiss) and are used as input for WaSiM (FOEN), which produces streamflow predictions and issues warnings when necessary. We focus on several case studies, including selected catchments (e.g., Thur) and historical events that exceeded national flood warning levels (e.g., 30 May–2 June 2024).This setup allows us to experiment with different configurations of the numerical weather prediction (NWP) model and to assess their downstream impacts on hydrological forecasts. We test different lead times to evaluate how early flood peaks can be detected, varying ensemble sizes to determine how many members are required to capture “extreme” flooding scenarios, and different spatial resolutions (500m – 2km) to assess the impact of resolving small-scale processes (e.g., convection).Model performance is evaluated using classical hydrological metrics (NSE, KGE, RMSE, etc.), as well as more operationally relevant metrics for warning systems, such as whether thresholds are exceeded, how early exceedances occur, and their duration. Finally, we test different products for initializing model runs, either interpolated station-based products or NWP analysis products and assess the influence of the hydrological model itself through a sensitivity analysis of its parameters.The results of this study will shed light on how NWP model configurations affect flood forecasting and, in turn, improve flood early warning design and decision-making.

  • Open Access

    Generative Diffusion Downscaling for the Alps: Benchmarking CorrDiff against MeteoSwiss Operational NWP Ensemble

    by David Leutwyler, Petar Stamenkovic, Marco Arpagaus, Mary McGlohon, Siddhartha Mishra, Xavier Lapillonne, Sebastian Schemm, Oliver Fuhrer

    Kilometre-scale weather and climate datasets are invaluable for quantifying, forecasting and projecting hazards in areas of complex topography, such as the Alps. However, producing such datasets using traditional numerical weather prediction (NWP) models is becoming prohibitively expensive, particularly for climate-timescale simulations and large ensembles. Probabilistic generative downscaling offers a potential alternative, as it learns the conditional mapping from coarse global drivers to kilometre-scale regional fields.Here, we evaluate a modified conditional generative correction–diffusion model (CorrDiff) for downscaling the ERA5 and IFS-ENS datasets over the Greater Alpine Region. The modified CorrDiff model was trained using a 20-year, 1-km resolution dataset produced with the ICON numerical model, with precipitation constrained to Swiss radar observations using a latent-heat nudging scheme. This setup allows us to make a direct comparison with MeteoSwiss' operational NWP ensemble.Verification against observations and gridded products reveals that CorrDiff achieves competitive performance following substantial targeted adaptations to the model. Although not explicitly encoded in the loss function, the adapted model reproduces emergent climatological indices, including the diurnal cycle of land precipitation and exceedance probabilities for heavy precipitation. It also captures the spatial patterns of consecutive dry and wet days, as well as prevailing wind direction and directional variability.

  • Top Cited Papers
    Open Access

    Operational numerical weather prediction with ICON on GPUs (version 2024.10)

    by Xavier Lapillonne, Daniel Hupp, Fabian Gessler, André Walser, Andreas Pauling, Annika Lauber, Benjamin Cumming, Carlos Osuna, Christoph Müller, Claire Merker, et al.

    Numerical weather prediction and climate models require continuous adaptation to take advantage of advances in high-performance computing hardware. This paper presents the port of the ICON model to GPUs using OpenACC compiler directives for numerical weather prediction applications. In the context of an end-to-end operational forecast application, we adopted a full-port strategy: the entire workflow, from physical parameterizations to data assimilation, was analyzed and ported to GPUs as needed. Performance tuning and mixed-precision optimization yield a 5.5× speed-up compared to the CPU baseline in a socket-to-socket comparison. The ported ICON model meets strict requirements for time-to-solution and meteorological quality, in order for MeteoSwiss to be the first national weather service to run ICON operationally on GPUs with its ICON-CH1-EPS and ICON-CH2-EPS ensemble forecasting systems. We discuss key performance strategies, operational challenges, and the broader implications of transitioning community models to GPU-based platforms.


  • Open Access

    Comment on egusphere-2025-3585

    by Xavier Lapillonne, Daniel Hupp, Fabian Gessler, André Walser, Andreas Pauling, Annika Lauber, Benjamin Cumming, Carlos Osuna, Christoph Müller, Claire Merker, et al.

    Numerical weather prediction and climate models require continuous adaptation to take advantage of advances in high-performance computing hardware. This paper presents the port of the ICON model to GPUs using OpenACC compiler directives for numerical weather prediction applications. In the context of an end-to-end operational forecast application, we adopted a full-port strategy: the entire workflow, from physical parameterizations to data assimilation, was analyzed and ported to GPUs as needed. Performance tuning and mixed-precision optimization yield a 5.6x speed-up compared to the CPU baseline in a socket-to-socket comparison. The ported ICON model meets strict requirements for time-to-solution and meteorological quality, in order for MeteoSwiss to be the first national weather service to run ICON operationally on GPUs with its ICON-CH1-EPS and ICON-CH2-EPS ensemble forecasting systems. We discuss key performance strategies, operational challenges, and the broader implications of transitioning community models to GPU-based platforms.

  • Open Access

    Comment on egusphere-2025-3585

    by Xavier Lapillonne, Daniel Hupp, Fabian Gessler, André Walser, Andreas Pauling, Annika Lauber, Benjamin Cumming, Carlos Osuna, Christoph Müller, Claire Merker, et al.

    Numerical weather prediction and climate models require continuous adaptation to take advantage of advances in high-performance computing hardware. This paper presents the port of the ICON model to GPUs using OpenACC compiler directives for numerical weather prediction applications. In the context of an end-to-end operational forecast application, we adopted a full-port strategy: the entire workflow, from physical parameterizations to data assimilation, was analyzed and ported to GPUs as needed. Performance tuning and mixed-precision optimization yield a 5.6x speed-up compared to the CPU baseline in a socket-to-socket comparison. The ported ICON model meets strict requirements for time-to-solution and meteorological quality, in order for MeteoSwiss to be the first national weather service to run ICON operationally on GPUs with its ICON-CH1-EPS and ICON-CH2-EPS ensemble forecasting systems. We discuss key performance strategies, operational challenges, and the broader implications of transitioning community models to GPU-based platforms.

  • Open Access

    Operational numerical weather prediction with ICON on GPUs (version 2024.10)

    by Xavier Lapillonne, Daniel Hupp, Fabian Gessler, André Walser, Andreas Pauling, Annika Lauber, Benjamin Cumming, Carlos Osuna, Christoph Müller, Claire Merker, et al.

    Numerical weather prediction and climate models require continuous adaptation to take advantage of advances in high-performance computing hardware. This paper presents the port of the ICON model to GPUs using OpenACC compiler directives for numerical weather prediction applications. In the context of an end-to-end operational forecast application, we adopted a full-port strategy: the entire workflow, from physical parameterizations to data assimilation, was analyzed and ported to GPUs as needed. Performance tuning and mixed-precision optimization yield a 5.6x speed-up compared to the CPU baseline in a socket-to-socket comparison. The ported ICON model meets strict requirements for time-to-solution and meteorological quality, in order for MeteoSwiss to be the first national weather service to run ICON operationally on GPUs with its ICON-CH1-EPS and ICON-CH2-EPS ensemble forecasting systems. We discuss key performance strategies, operational challenges, and the broader implications of transitioning community models to GPU-based platforms.


  • Open Access

    Reduced floating-point precision in regional climate simulations: an ensemble-based statistical verification

    by Hugo Banderier, Christian Zeman, David Leutwyler, Stefan Rüdisühli, Christoph Schär

    The use of single precision in floating-point representation has become increasingly common in operational weather prediction. Meanwhile, climate simulations are still typically run in double precision. The reasons for this are likely manifold and range from concerns about compliance and conservation laws to the unknown effect of single precision on slow processes or simply the less frequent opportunity and higher computational costs of validation. Using an ensemble-based statistical methodology, Zeman and Schär (2022) could detect differences between double- and single-precision simulations from the regional weather and climate model COSMO. However, these differences are minimal and often only detectable during the first few hours or days of the simulation. To evaluate whether these differences are relevant for regional climate simulations, we have conducted 10-year-long ensemble simulations over the European domain of the Coordinated Regional Climate Downscaling Experiment (EURO-CORDEX) in single and double precision with 100 ensemble members. By applying the statistical testing at a grid-cell level for 47 output variables every 12 or 24 h, we only detected a marginally increased rejection rate for the single-precision climate simulations compared to the double-precision reference based on the differences in distribution for all tested variables. This increase in the rejection rate is much smaller than that arising from minor variations of the horizontal diffusion coefficient in the model. Therefore, we deem it negligible as it is masked by model uncertainty. To our knowledge, this study represents the most comprehensive analysis so far on the effects of reduced precision in a climate simulation for a realistic setting, namely with a fully fledged regional climate model in a configuration that has already been used for climate change impact and adaptation studies. The ensemble-based verification of model output at a grid-cell level and high temporal resolution is very sensitive and suitable for verifying climate models. Furthermore, the verification methodology is model-agnostic, meaning it can be applied to any model. Our findings encourage exploiting the reduction of computational costs (∼30 % for COSMO) obtained from reduced precision for regional climate simulations.


  • Open Access

    Comment on egusphere-2023-2263

    by Hugo Banderier, Christian Zeman, David Leutwyler, Stefan Rüdisühli, Christoph Schär

    The use of single precision in floating-point representation has become increasingly common in operational weather prediction. Meanwhile, climate simulations are still typically run in double precision. The reasons for this are likely manifold and range from concerns about compliance to conservation laws to the unknown effect of single precision on slow processes, or simply the less frequent opportunity and higher computational costs of validation. Using an ensemble-based statistical methodology, Zeman and Schär (2022) could detect differences between double- and single-precision simulations from the regional weather and climate model COSMO. However, these differences are minimal and often only detectable during the first few hours or days of the simulation. To evaluate whether these differences are relevant for regional climate simulations, we have conducted 10-year-long ensemble simulations over the EURO-CORDEX domain in single and double precision with 100 ensemble members. By applying the statistical testing at a grid-cell level for 47 output variables every 12 or 24 hours, we only detected a marginally increased rejection rate for the single-precision climate simulations compared to the double-precision reference. This increase in the rejection rate is much smaller than that arising from minor variations of the horizontal diffusion coefficient in the model. Therefore, we deem it negligible. To our knowledge, this study represents the most comprehensive analysis so far on the effects of reduced precision in a climate simulation for a realistic setting, namely with a fully-fledged regional climate model in a configuration that has already been used for climate change impact and adaptation studies. The ensemble-based verification of model output at a grid-cell level and high temporal resolution is very sensitive and suitable for verifying climate models. Furthermore, the verification methodology is model agnostic, meaning it can be applied to any model. Our findings encourage exploiting the reduction of computational costs ( ∼ 30 % for COSMO) obtained from reduced precision for regional climate simulations.

  • Open Access

    Comment on egusphere-2023-2263

    by Hugo Banderier, Christian Zeman, David Leutwyler, Stefan Rüdisühli, Christoph Schär

    The use of single precision in floating-point representation has become increasingly common in operational weather prediction. Meanwhile, climate simulations are still typically run in double precision. The reasons for this are likely manifold and range from concerns about compliance to conservation laws to the unknown effect of single precision on slow processes, or simply the less frequent opportunity and higher computational costs of validation. Using an ensemble-based statistical methodology, Zeman and Schär (2022) could detect differences between double- and single-precision simulations from the regional weather and climate model COSMO. However, these differences are minimal and often only detectable during the first few hours or days of the simulation. To evaluate whether these differences are relevant for regional climate simulations, we have conducted 10-year-long ensemble simulations over the EURO-CORDEX domain in single and double precision with 100 ensemble members. By applying the statistical testing at a grid-cell level for 47 output variables every 12 or 24 hours, we only detected a marginally increased rejection rate for the single-precision climate simulations compared to the double-precision reference. This increase in the rejection rate is much smaller than that arising from minor variations of the horizontal diffusion coefficient in the model. Therefore, we deem it negligible. To our knowledge, this study represents the most comprehensive analysis so far on the effects of reduced precision in a climate simulation for a realistic setting, namely with a fully-fledged regional climate model in a configuration that has already been used for climate change impact and adaptation studies. The ensemble-based verification of model output at a grid-cell level and high temporal resolution is very sensitive and suitable for verifying climate models. Furthermore, the verification methodology is model agnostic, meaning it can be applied to any model. Our findings encourage exploiting the reduction of computational costs ( ∼ 30 % for COSMO) obtained from reduced precision for regional climate simulations.