in3Utils.MoTUtils.copyMoTDirs

copyMoTDirs(workDir, outputDir, simKey, dirName)[source]

Copy timestep directory from work directory to output directory.

Parameters
  • workDir (pathlib.Path) – Source work directory containing the simulation results

  • outputDir (pathlib.Path) – Destination directory where timestep directories will be copied to

  • simKey (str) – Simulation key used to construct source and target paths

  • dirName (str) – Directory name to copy (e.g., ‘s’ or ‘h’)

Returns

Directory is copied to the destination directory structure

Return type

None

Notes

Creates a timesteps/{simKey}/{dirName} subdirectory structure in the output directory. Only copies files, not subdirectories within the specified directory.