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
zMid
should be added to, used for coords if another file is not provided viacoordFileName
.outFileName (str) – An output MPAS-Ocean file with
zMid
addedcoordFileName (str, optional) – An MPAS-Ocean file with
bottomDepth
,maxLevelCell
andlayerThickness
but notzMid