multimodemodel.StaggeredGrid.cartesian_c_grid

multimodemodel.StaggeredGrid.cartesian_c_grid#

classmethod StaggeredGrid.cartesian_c_grid(shift=GridShift.LL, **grid_kwargs)[source]#

Generate a Cartesian Arakawa C-Grid.

Parameters:
  • shift (GridShift, default GridShift.LL) – Direction of shift of staggered grids with respect to the eta-grid. See GridShift for more details.

  • **grid_kwargs (dict[str, Any]) – Keyword arguments are passed to Grid.cartesian() to create the eta subgrid, i.e. the grid of the box centeroids.

Returns:

StaggeredGrid