pangeo-data / xESMF

Universal Regridder for Geospatial Data
http://xesmf.readthedocs.io/
MIT License
188 stars 34 forks source link

add regrid_like #7

Open dcherian opened 4 years ago

dcherian commented 4 years ago

It would be nice to be able to do ds.xesmf.regrid_like(ds2, "bilinear")

This would be really powerful when composed with cf_xarray ds.xesmf.regrid_like(ds2.cf.rename_like(ds), "bilinear")

stefraynaud commented 3 years ago

It could even take the form of callable accessor like ds.regrid_like(ds2.cf.rename_like(ds), "bilinear").

huard commented 7 months ago

Unless someone wants to submit a PR for this, I'll close it.