multimodemodel.StaggeredGrid

multimodemodel.StaggeredGrid#

class multimodemodel.StaggeredGrid(eta, u, v, q)[source]#

Staggered Grid.

Subgrids are available as attributes eta, u, v and q where the grid box centers are located at eta, the faces are at u and v, and the vertices are located at q.

Parameters:
  • eta (Grid) – Grid of the box centeroids

  • u (Grid) – Grid of the box faces perpendicular to the fist spatial dimension

  • v (Grid) – Grid of the box faces perpendicular to the second spatial dimension

  • q (Grid) – Grid of the box vertices

__init__(eta, u, v, q)#

Initialize StaggeredGrid instance.

Methods

__init__(eta, u, v, q)

Initialize StaggeredGrid instance.

cartesian_c_grid([shift])

Generate a Cartesian Arakawa C-Grid.

items()

Generate tuples of (grid_name, grid_obj).

merge(others, merger)

Merge staggered grids.

regular_lat_lon_c_grid([shift])

Generate a Arakawa C-grid for a regular longitude/latitude grid.

split(splitter)

Split staggered grids.

Attributes

eta

u

v

q