compass.landice.tests.mismipplus.tasks.exact_cell_count

compass.landice.tests.mismipplus.tasks.exact_cell_count(mesh_filename)[source]

Get the number of cells from an already generated mesh file.

Parameters:

mesh_filename (str) – A file containing the MPAS mesh (specifically nCells)

Returns:

cell_count (int) – the number of cells in the mesh