polaris.ocean.vertical.update_layer_thickness

polaris.ocean.vertical.update_layer_thickness(config, ds)[source]

Update the layer thicknesses in ds after the vertical coordinate has already been initialized based on the bottomDepth and ssh variables of the mesh data set.

Parameters:
  • config (polaris.config.PolarisConfigParser) – Configuration options with parameters used to construct the vertical grid

  • ds (xarray.Dataset) – A data set containing bottomDepth and ssh variables used to construct the vertical coordinate