Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create generic regridder from user provided weights. #5162

Open
stephenworsley opened this issue Feb 16, 2023 · 3 comments
Open

Create generic regridder from user provided weights. #5162

stephenworsley opened this issue Feb 16, 2023 · 3 comments

Comments

@stephenworsley
Copy link
Contributor

✨ 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.

Copy link
Contributor

github-actions bot commented Jul 1, 2024

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.

@github-actions github-actions bot added the Stale A stale issue/pull-request label Jul 1, 2024
Copy link
Contributor

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.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 30, 2024
@trexfeathers
Copy link
Contributor

I'm assuming this one needs to stay open @stephenworsley ?

@trexfeathers trexfeathers reopened this Aug 5, 2024
@github-actions github-actions bot removed the Stale A stale issue/pull-request label Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants