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
andssh
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
andssh
variables used to construct the vertical coordinate