🍾 Xarray is now 10 years old! πŸŽ‰

xarray.polyval

Contents

xarray.polyval#

xarray.polyval(coord, coeffs, degree_dim='degree')[source]#

Evaluate a polynomial at specific values

Parameters:
  • coord (DataArray or Dataset) – Values at which to evaluate the polynomial.

  • coeffs (DataArray or Dataset) – Coefficients of the polynomial.

  • degree_dim (Hashable, default: "degree") – Name of the polynomial degree dimension in coeffs.

Returns:

DataArray or Dataset – Evaluated polynomial.