Closed lanougue closed 1 year ago
Hello,
I tried to apply fft on an xarray whose one of coordinates are not numerical (string in my case). The returned error is not explicit:
TypeError: unsupported operand type(s) for -: 'str' and 'str'
I think that an explicit error should be raised when the coordinate is not numerical.
Hi @lanougue , I support this idea. Would you mind making a PR?
Hi @roxyboy , Ok, I will try to do a PR when I'll find some spare time !
Opening PR #190
Closing with PR #190
Hello,
I tried to apply fft on an xarray whose one of coordinates are not numerical (string in my case). The returned error is not explicit:
I think that an explicit error should be raised when the coordinate is not numerical.