Skip to content

Update xgcm_util.relabel_pop_dims to fix Issue #97#183

Open
cohenjt wants to merge 1 commit intoNCAR:mainfrom
cohenjt:z_w_top-fix
Open

Update xgcm_util.relabel_pop_dims to fix Issue #97#183
cohenjt wants to merge 1 commit intoNCAR:mainfrom
cohenjt:z_w_top-fix

Conversation

@cohenjt
Copy link
Copy Markdown

@cohenjt cohenjt commented Sep 4, 2025

If the budget data does not include a z_w dimension, then to_xgcm_grid_dataset() does not make z_w_top a Z axis. This occurs when relabeling the POP dimensions and converting back and forth between z_w and z_w_top. This PR adds a line in xgcm_util.relabel_pop_dims() to explicitly define z_w.

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

Successfully merging this pull request may close these issues.

1 participant