Skip to content

xarray accessor: regrid #8260

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

Closed
BSchilperoort opened this issue Oct 2, 2023 · 3 comments
Closed

xarray accessor: regrid #8260

BSchilperoort opened this issue Oct 2, 2023 · 3 comments

Comments

@BSchilperoort
Copy link
Contributor

What is your issue?

For regridding (rectilinear) geospatial data, we are working on an xarray plugin "xarray-regrid".

As accessor we use regrid.

Currently we have a few methods implemented:

  • linear, nearest neighbor, cubic (simple wrappers around xr.interp)
  • conservative (custom method, based on a comment by Stephan Hoyer here)
    • It is compatible with dask.distributed and outperforms xESMF, on par with CDO.
  • A "most common value" zonal statistics method.

On our repository we also have some notebooks benchmarking the results against xESMF and CDO.

I read I should let you know about using the accessor, hope you are interested!

@BSchilperoort BSchilperoort added the needs triage Issue that has not been reviewed by xarray team member label Oct 2, 2023
@welcome
Copy link

welcome bot commented Oct 2, 2023

Thanks for opening your first issue here at xarray! Be sure to follow the issue template!
If you have an idea for a solution, we would really welcome a Pull Request with proposed changes.
See the Contributing Guide for more.
It may take us a while to respond here, but we really value your contribution. Contributors like you help make xarray better.
Thank you!

@TomNicholas TomNicholas removed the needs triage Issue that has not been reviewed by xarray team member label Oct 2, 2023
@TomNicholas
Copy link
Member

Thanks for pointing us to this! A performant replacement for xESMF would be extremely valuable!

Feel free to submit a PR adding a link to xarray-regrid to our Ecosystem page.

@TomNicholas
Copy link
Member

Closed by #8270. Thanks @BSchilperoort !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants