Skip to content

Instantly share code, notes, and snippets.

@jbusecke
Created October 29, 2020 15:24
Show Gist options
  • Save jbusecke/c8ba950c1a9e5bc7340189781089a298 to your computer and use it in GitHub Desktop.
Save jbusecke/c8ba950c1a9e5bc7340189781089a298 to your computer and use it in GitHub Desktop.
# create the grid object
from xgcm import Grid
grid = Grid(
ds,
periodic=False,
coords={'Z':{'center':'lev', 'outer':'lev_outer'}})
grid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment