xcdat icon indicating copy to clipboard operation
xcdat copied to clipboard

[Enhancement]: Improve Regrid2 performance

Open jasonb5 opened this issue 8 months ago • 0 comments

Is your feature request related to a problem?

Slow performance in Regrid2

Describe the solution you'd like

The #752 PR added support for Regrid2 to output weights as a sparse array. The regridder should utilize weights stored in this format. I'm proposing the following changes:

  • Create weights directly into sparse array
  • Update the algorithm to utilize apply_ufunc and the sparse array weights

The end goal should be an improvement to the Regrid2 performance.

Describe alternatives you've considered

No response

Additional context

No response

jasonb5 avatar Apr 14 '25 19:04 jasonb5