iris
iris copied to clipboard
Create generic regridder from user provided weights.
✨ Feature Request
Following on from ideas in #4754, design a regridder/scheme which allows arbitrary regridding with user supplied weights. The idea being that a user can calculate weights for unusual types of regridding, put them in a standard form and have Iris handle the rest of the regridding process. This object would be initialised with a source cube, target cube and regridding weights provided in some form (probably as a sparse matrix).
Potential examples of use:
regridder = CustomRegridder(source, target, weights_matrix)
result = regridder(source)
or else:
result = source.regrid(target, CustomScheme(weights_matrix))
There is some potential for also specifying the masked data handling behaviour with something like mdtol in AreaWeighted. There is also some potential for flexibility with the types of coordinates this works over.
In order to maintain a backlog of relevant issues, we automatically label them as stale after 500 days of inactivity.
If this issue is still important to you, then please comment on this issue and the stale label will be removed.
Otherwise this issue will be automatically closed in 28 days time.
This stale issue has been automatically closed due to a lack of community activity.
If you still care about this issue, then please either:
- Re-open this issue, if you have sufficient permissions, or
- Add a comment stating that this is still relevant and someone will re-open it on your behalf.
I'm assuming this one needs to stay open @stephenworsley ?