mpas_tools.ocean.depth.write_time_varying_zmid¶
- mpas_tools.ocean.depth.write_time_varying_zmid(inFileName, outFileName, coordFileName=None, prefix='')[source]¶
Add a 3D, time-independent depth coordinate to an MPAS-Ocean file.
- Parameters:
inFileName (str) – An input MPAS-Ocean file with some form of
layerThickness, and alsobottomDepthandmaxLevelCellif nocoordFileNameis provided.outFileName (str) – An output MPAS-Ocean file with
zMidfor each time in the input filecoordFileName (str, optional) – An MPAS-Ocean file with
bottomDepthandmaxLevelCellprefix (str, optional) – A prefix on
layerThickness(in) andzMid(out), such astimeMonthly_avg_