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

Splitting up 3D regridding into lateral + vertical regridding #164

Closed
NoraLoose opened this issue Oct 16, 2024 · 0 comments · Fixed by #174
Closed

Splitting up 3D regridding into lateral + vertical regridding #164

NoraLoose opened this issue Oct 16, 2024 · 0 comments · Fixed by #174
Milestone

Comments

@NoraLoose
Copy link
Collaborator

For 3D fields, we are currently using xarray's .interp method for 3D regridding (which is inefficient). We want to split up 3D regridding into 2 steps:

The vertical regridding is non-trivial since we have a spatially varying terrain-following target coordinate. We have two options:

  1. Write our own routine.
  2. Adapt xgcm.transform() to spatially varying target coordinates.

I'm in the process of pursuing 2. here: xgcm/xgcm#642

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

Successfully merging a pull request may close this issue.

1 participant