mpas_tools.ocean.depth.add_zmid¶
- mpas_tools.ocean.depth.add_zmid(inFileName, outFileName, coordFileName=None)[source]¶
- Add a 3D, time-independent depth coordinate to an MPAS-Ocean file. - Parameters
- inFileName (str) – An input MPAS-Ocean file that - zMidshould be added to, used for coords if another file is not provided via- coordFileName.
- outFileName (str) – An output MPAS-Ocean file with - zMidadded
- coordFileName (str, optional) – An MPAS-Ocean file with - bottomDepth,- maxLevelCelland- layerThicknessbut not- zMid