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 also- bottomDepthand- maxLevelCellif no- coordFileNameis provided.
- outFileName (str) – An output MPAS-Ocean file with - zMidfor each time in the input file
- coordFileName (str, optional) – An MPAS-Ocean file with - bottomDepthand- maxLevelCell
- prefix (str, optional) – A prefix on - layerThickness(in) and- zMid(out), such as- timeMonthly_avg_