I was looking at weatherbench's conservative regridding implementation here and realized we could also einsum over all dimensions simultaneously. This simplifies the code and also makes the NaN tracking implementation way more efficient.
I added a benchmarking notebook following from the example in #42 and I think the results look quite good now.
I was looking at weatherbench's conservative regridding implementation here and realized we could also einsum over all dimensions simultaneously. This simplifies the code and also makes the NaN tracking implementation way more efficient.
I added a benchmarking notebook following from the example in #42 and I think the results look quite good now.