polaris.ocean.vertical.zstar.update_z_star_layer_thickness

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

Update the z-star vertical coordinate layer thicknesses 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