uxarray
uxarray copied to clipboard
Optimize `UxDataArray.gradient()`
Currently, we are excplicitly converting our data array into Numpy with the .values method.
https://github.com/UXARRAY/uxarray/blob/778e05e27af90a27e4ea81d84e137a33b6064a7a/uxarray/core/dataarray.py#L896
To support Dask, we should avoid this.
Similar to what was done in #890 for reference.