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.

Parameters
  • inFileName (str) – An input MPAS-Ocean file that depth should be added to, used for coords if another file is not provided via coordFileName.

  • outFileName (str) – An output MPAS-Ocean file with depth added

  • coordFileName (str, optional) – An MPAS-Ocean file with refBottomDepth