mpas_tools.ocean.depth.compute_depth
- mpas_tools.ocean.depth.compute_depth(refBottomDepth)[source]
- Computes depth and depth bounds given refBottomDepth - Parameters:
- refBottomDepth (xarray.DataArray) – the depth of the bottom of each vertical layer in the initial state (perfect z-level coordinate) 
- Returns:
- depth (numpy.ndarray) – the vertical coordinate defining the middle of each layer 
- depth_bnds (numpy.ndarray) – the vertical coordinate defining the top and bottom of each layer