multimodemodel.StaggeredGrid.regular_lat_lon_c_grid

multimodemodel.StaggeredGrid.regular_lat_lon_c_grid#

classmethod StaggeredGrid.regular_lat_lon_c_grid(shift=GridShift.LL, **kwargs)[source]#

Generate a Arakawa C-grid for a regular longitude/latitude 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.regular_lat_lon() to create the eta subgrid, i.e. the grid of the box centeroids.

Returns:

StaggeredGrid