Skip to content

Commit 2423ed7

Browse files
author
Marcus Thatcher
committed
Bug fix for cordex output in run_ccam.py
1 parent 3ce878e commit 2423ed7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

run_ccam.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1987,7 +1987,7 @@ def write_output_cordex(outmode, singlefile, ftest, newcordex):
19871987
run_cmdline('srun -n {nproc} {pcc2hist} --cordex --multioutput > surf.pcc2hist.log')
19881988
else:
19891989
run_cmdline('mpirun -np {nproc} {pcc2hist} --cordex --multioutput > surf.pcc2hist.log')
1990-
check_msg_in_log("pcc2hist","pcc2hist.log","pcc2hist completed successfully")
1990+
check_msg_in_log("pcc2hist","surf.pcc2hist.log","pcc2hist completed successfully")
19911991

19921992
if singlefile is True:
19931993
run_cmdline('mv surf.{histfile}.nc {hdir}/cordex')
@@ -2045,7 +2045,7 @@ def write_output_highfreq(outmode, singlefile, ftest, newhighfreq):
20452045
run_cmdline('srun -n {nproc} {pcc2hist} --cordex --multioutput > freq.pcc2hist.log')
20462046
else:
20472047
run_cmdline('mpirun -np {nproc} {pcc2hist} --cordex --multioutput > freq.pcc2hist.log')
2048-
check_msg_in_log("pcc2hist","pcc2hist.log","pcc2hist completed successfully")
2048+
check_msg_in_log("pcc2hist","freq.pcc2hist.log","pcc2hist completed successfully")
20492049

20502050
if singlefile is True:
20512051
run_cmdline('mv freq.{histfile}.nc {hdir}/highfreq')

0 commit comments

Comments
 (0)