mpas_tools.mesh.creation.jigsaw_driver.jigsaw_driver

mpas_tools.mesh.creation.jigsaw_driver.jigsaw_driver(cellWidth, x, y, on_sphere=True, earth_radius=6371000.0, geom_points=None, geom_edges=None)[source]

A function for building a jigsaw mesh

Parameters
  • cellWidth (ndarray) – The size of each cell in the resulting mesh as a function of space

  • x, y (ndarray) – The x and y coordinates of each point in the cellWidth array (lon and lat for spherical mesh)

  • on_sphere (logical, optional) – Whether this mesh is spherical or planar

  • earth_radius (float, optional) – Earth radius in meters

  • geom_points (ndarray, optional) – list of point coordinates for bounding polygon for planar mesh

  • geom_edges (ndarray, optional) – list of edges between points in geom_points that define the bounding polygon