Closed phellipecouto closed 5 months ago
xarray.ufuncs was first deprecated in xarray v0.10.2 (13 March 2018) and was fully removed in v2022.06.0rc0 (9 June 2022).
I think that it's a safe change.
Thanks for the additional info, @jorgeperezg. Will tag a new version reflecting this change.
Recent
xarray
versions (not sure from which version exactly) no longer has numpy methods embedded inxarray.ufuncs
, instead, numpy methods must be provided as argument toxarray_apply_ufunc
- see example below:old syntax:
new syntax:
If the proposed changes are accepted, then limiting
xarray
to<2022.06.0
(as in de576eb) shall no longer be necessary (?)