In both z-coordinate and density-coordinate forward ocean models, the variables are often interpreted as being piecewise constant in the vertical, and this function, gsw_geo_strf_dyn_height_pc, calculates the dynamic height anomaly taking thisA SO...