xarray-tutorial icon indicating copy to clipboard operation
xarray-tutorial copied to clipboard

Update deprecated scipy.integrate.trapz to trapezoid

Open scottyhq opened this issue 4 months ago • 0 comments

DeprecationWarning: 'scipy.integrate.trapz' is deprecated in favour of 'scipy.integrate.trapezoid' and will be removed in SciPy 1.14.0

Used here:

  • https://tutorial.xarray.dev/advanced/apply_ufunc/dask_apply_ufunc.html?highlight=trapz#basics
  • https://tutorial.xarray.dev/advanced/apply_ufunc/core-dimensions.html?highlight=trapz#

scottyhq avatar Feb 21 '24 19:02 scottyhq