easyclimate.interp.barnes

easyclimate.interp.barnes#

Fast Barnes interpolation

Functions

interp_spatial_barnes(data, var_name, *[, ...])

Computes Barnes interpolation for observation values var_name sampled at irregular locations in data (lon/lat in degrees), using Gaussian weights with width parameter sigma_deg and returning a regular lon/lat grid as an xarray.DataArray.

interp_spatial_barnesS2(data, var_name, *[, ...])

Computes Barnes interpolation on the unit sphere \(S^2\) (spherical metric) for observations given in lon/lat degrees, returning a regular lon/lat grid as an xarray.DataArray.

interp_spatial_barnesS2_rs(data, var_name, *)

Rust-accelerated Barnes interpolation on the unit sphere \(S^2\) (spherical metric).

interp_spatial_barnes_rs(data, var_name, *)

Rust-accelerated Barnes interpolation wrapper (lon/lat in degrees).