Preprints
https://doi.org/10.5194/egusphere-2024-1119
https://doi.org/10.5194/egusphere-2024-1119
25 Jul 2024
 | 25 Jul 2024
Status: this preprint is open for discussion.

Implementation of implicit filter for spatial spectra extraction

Kacper Nowak, Sergey Danilov, Vasco Müller, and Caili Liu

Abstract. Scale analysis based on coarse-graining has been proposed recently as an alternative to Fourier analysis. It is now broadly used to analyze energy spectra and energy transfers in eddy-resolving ocean simulations. However, for data from unstructured-mesh models it requires interpolation to a regular grid. We present a high-performance Python implementation of an alternative coarse-graining method which relies on implicit filters using discrete Laplacians. This method can work on arbitrary (structured or unstructured) meshes and is applicable to the direct output of unstructured-mesh ocean circulation atmosphere models. The computation is split into two phases: preparation and solving. The first one is specific only to the mesh. This allows for auxiliary arrays that are then computed to be reused, significantly reducing the computation time. The second part consists of sparse matrix algebra and solving linear system. Our implementation is accelerated by GPUs to achieve unmatched performance and scalability. This results in processing data based on meshes with more than 10M surface vertices in a matter of seconds. As an illustration, the method is applied to compute spatial spectra of ocean currents from high-resolution FESOM2 simulations.

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 preprint. The responsibility to include appropriate place names lies with the authors.
Kacper Nowak, Sergey Danilov, Vasco Müller, and Caili Liu

Status: open (extended)

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
  • RC1: 'Comment on egusphere-2024-1119', Anonymous Referee #1, 10 Oct 2024 reply
Kacper Nowak, Sergey Danilov, Vasco Müller, and Caili Liu

Model code and software

Implicit_filter: v1.0.0 Kacper Nowak and Sergey Danilov https://zenodo.org/records/10907365

Interactive computing environment

Implementation of implicit filter for spatial spectra extraction Kacper Nowak, Sergey Danilov, Vasco Müller, and Caili Liu https://zenodo.org/records/10957614

Kacper Nowak, Sergey Danilov, Vasco Müller, and Caili Liu

Viewed

Total article views: 230 (including HTML, PDF, and XML)
HTML PDF XML Total BibTeX EndNote
152 48 30 230 9 12
  • HTML: 152
  • PDF: 48
  • XML: 30
  • Total: 230
  • BibTeX: 9
  • EndNote: 12
Views and downloads (calculated since 25 Jul 2024)
Cumulative views and downloads (calculated since 25 Jul 2024)

Viewed (geographical distribution)

Total article views: 242 (including HTML, PDF, and XML) Thereof 242 with geography defined and 0 with unknown origin.
Country # Views %
  • 1
1
 
 
 
 
Latest update: 13 Dec 2024
Download
Short summary
A new method called coarse-graining scale analysis is gaining traction as an alternative to Fourier analysis. However, it requires data to be on a regular grid. To address this, we present a high-performance Python package of coarse-graining technique using discrete Laplacians. This method can handle any mesh type and is ideal for processing output directly from unstructured-mesh models. Computation is split into preparation and solving phases, with GPU acceleration ensuring fast processing.