polaris.tasks.e3sm.init.topo.cull.CullMaskStep.refine_ocean_cull_mask

CullMaskStep.refine_ocean_cull_mask(ds_base_mesh, ds_topo, cull_mask)[source]

Refine the mask for culling land and (optionally) grounded ice from the ocean. Subclasses can override this method to first refine the mask and then call the base class method to handle critical transects and land-locked cells.

Parameters:
Returns:

cull_mask (xarray.DataArray) – The refined cull mask