MPRRunner#
- class mhm_tools.pre.create_mhm_restart_file.MPRRunner(mpr_executable, mpr_packages=None, mpr_parameter_file=None)[source]#
Bases:
objectClass for running the mPR executable.
Methods
run_mpr(grid)Run the mPR executable with the given namelist and parameter file.
- run_mpr(grid: Grid)[source]#
Run the mPR executable with the given namelist and parameter file.
- Parameters:
grid (Grid) – The grid object containing the namelist file.
- Raises:
RuntimeError – If mPR fails with an error.:
TimeoutExpired – If mPR execution times out.: