Is your feature request related to a problem? Please describe.
Currently there are instances where data is assigned to arrays in-place, e.g. here:
https://github.com/ecmwf/earthkit-transforms/blob/main/src/earthkit/transforms/aggregate/spatial.py#L159
This does not conform to the array-api standard, and could lead to issues when using non-numpy backends. Update using similar/the same techniques as ek-hydro.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response
Organisation
No response
Is your feature request related to a problem? Please describe.
Currently there are instances where data is assigned to arrays in-place, e.g. here:
https://github.com/ecmwf/earthkit-transforms/blob/main/src/earthkit/transforms/aggregate/spatial.py#L159
This does not conform to the array-api standard, and could lead to issues when using non-numpy backends. Update using similar/the same techniques as ek-hydro.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response
Organisation
No response