polaris.tasks.ocean.overflow.init_utils.build_overflow_mesh

polaris.tasks.ocean.overflow.init_utils.build_overflow_mesh(step)[source]

Build the overflow planar hex mesh, cull it, and add the Coriolis parameter, writing out base_mesh.nc, culled_mesh.nc and culled_graph.info.

Parameters:

step (polaris.ocean.model.OceanIOStep) – The init step the mesh is built for, used for its config, logger and model-aware dataset output methods.

Returns:

xarray.Dataset – The culled mesh dataset.