Articles | Volume 16, issue 6
https://doi.org/10.5194/gmd-16-1697-2023
https://doi.org/10.5194/gmd-16-1697-2023
Development and technical paper
 | 
27 Mar 2023
Development and technical paper |  | 27 Mar 2023

Fast approximate Barnes interpolation: illustrated by Python-Numba implementation fast-barnes-py v1.0

Bruno K. Zürcher

Model code and software

MeteoSwiss/fast-barnes-py: fast-barnes-py v1.0.0 Bruno Zürcher https://doi.org/10.5281/zenodo.7651530

Download
Short summary
We present a novel algorithm to efficiently compute Barnes interpolation, which is a method for transforming data values recorded at irregularly spaced points into a corresponding regular grid. In contrast to naive implementations with an algorithmic complexity that depends on the product of the number of sample points and the number of grid points, our approach reduces this dependency to their sum.