xoa.interp

xoa.interp#

High level interpolation routines.

Provides grid2loc() for interpolating gridded data to random locations and isoslice() for extracting iso-surfaces.

Note

This module also provides backward compatibility by re-importing core routines from the xoa.core.interp and xoa.core.regrid modules.

Functions

clear_weights_cache()

Forget the weights that are shared by the Interpolator of the same grids

grid2loc(da, loc[, compat])

Interpolate a gridded data array to random locations

interpxy(da[, dst_lon, dst_lat, method, ...])

Interpolate horizontally to arbitrary destination points

isoslice(da, values, isoval, dim[, reverse, ...])

Extract a slice of da where values equals isoval

Classes

Interpolator(ds_src_grid, dst_lon, dst_lat)

Interpolate from a source grid to arbitrary destination points

xy_interp_methods(*values)

Supported Interpolator methods