polaris.ocean.vertical.zlevel.compute_z_level_resting_thickness

polaris.ocean.vertical.zlevel.compute_z_level_resting_thickness(layerThickness, ssh, bottomDepth, minLevelCell, maxLevelCell)[source]

Compute z-level resting thickness by “unstretching” layerThickness based on ssh and bottomDepth

Parameters:
Returns:

restingThickness (xarray.DataArray) – The thickness of z-star layers when ssh = 0