polaris.tasks.ocean.overflow.init_utils.compute_bottom_depth
- polaris.tasks.ocean.overflow.init_utils.compute_bottom_depth(config, x_cell)[source]
Compute the overflow continental shelf-like bathymetry, a tanh profile between the shelf depth and the maximum bottom depth.
- Parameters:
config (polaris.config.PolarisConfigParser) – Configuration with the
[overflow]geometry options.x_cell (xarray.DataArray) – The x-coordinates of the cells (m) with dimension
nCells.
- Returns:
xarray.DataArray – The positive-down bottom depth (m) with dimension
nCells.