mpas_tools.mesh.creation.jigsaw_driver.jigsaw_driver¶
-
mpas_tools.mesh.creation.jigsaw_driver.
jigsaw_driver
(cellWidth, x, y, on_sphere=True, 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 (ndarray) – The x and y coordinates of each point in the cellWidth array (lon and lat for spherical mesh)
y (ndarray) – The x and y coordinates of each point in the cellWidth array (lon and lat for spherical mesh)
on_sphere (logical) – Whether this mesh is spherical or planar
geom_points (list of point coordinates for bounding polygon for planar mesh) –
geom_edges (list of edges between points in geom_points that define the bounding polygon) –