polaris.ocean.vertical.partial_cells.alter_bottom_depth

polaris.ocean.vertical.partial_cells.alter_bottom_depth(config, bottomDepth, refBottomDepth, maxLevelCell)[source]

Alter bottomDepth and maxLevelCell for full or partial top cells, if requested

Parameters:
Returns:

  • bottomDepth (xarray.DataArray) – The positive-down depth of the seafloor, after alteration

  • maxLevelCell (xarray.DataArray) – The zero-based index of the bottom valid level, after alteration