mpas_tools.ocean.depth.add_depth
- mpas_tools.ocean.depth.add_depth(inFileName, outFileName, coordFileName=None)[source]
Add a 1D depth coordinate to an MPAS-Ocean file.
Note
This adds a 1D
depthcoordinate derived fromrefBottomDepth, which assumes a z-level/z-star vertical coordinate. It is not supported for Omega or other general vertical coordinates, which do not providerefBottomDepth. Useadd_zmid()for a 3DzMidcoordinate instead.