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

Using xesmf to efficiently regrid data to another resolution including vertical dimension #133

Open
nuvolet opened this issue Jun 7, 2023 · 0 comments

Comments

@nuvolet
Copy link

nuvolet commented Jun 7, 2023

Greetings,

I found a very useful reference this website to use xesmf to regrid data to another resolution:

https://climate-cms.org/posts/2021-04-09-xesmf-regrid.html

Nevertheless, here it is also detailed to do it for horizontal coordinates (lat, lon).

ds_out = xe.util.grid_2d(-180.0, 180.0, 2.5, -90.0, 90.0, 2.5)
regridder = xe.Regridder(ds, ds_out, 'bilinear', periodic=True)

I was wondering if is possible do it for vertical coordinates (vertical levels) by specifying by an array the number and intervals?.

Thanks in advance

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

1 participant