compass.ocean.vertical.partial_cells.alter_ssh

compass.ocean.vertical.partial_cells.alter_ssh(config, ssh, refBottomDepth, minLevelCell)[source]

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

Parameters:
Returns:

  • ssh (xarray.DataArray) – The sea surface height, after alteration

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