xgcm / xrft

Fourier transforms on xarray data structures
https://xrft.readthedocs.io/en/latest/
MIT License
154 stars 45 forks source link

`xrft.pad` does not work with dask array #201

Open cgahr opened 1 year ago

cgahr commented 1 year ago

Calling xrft.pad(da, ...) on a dask array result in a DataArray with slices in the frequency domain. As a result, it is not possible to perform an ifft on said array.

In my opinion, this is unwanted behavior since otherwise, xrft natively support parallel computing using dask.