Skip to content

Commit 350d1aa

Browse files
remove cat
1 parent 3767986 commit 350d1aa

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

dev/scripts/exglobal_enkf_update.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,14 +323,12 @@ export pgm=${ENKFEXEC}
323323
source prep_step
324324

325325
cpreq "${ENKFEXEC}" "${DATA}"
326-
${APRUN_ENKF} "${DATA}/$(basename "${ENKFEXEC}")" 1> stdout 2> stderr && true
326+
${APRUN_ENKF} "${DATA}/$(basename "${ENKFEXEC}")" 2>&1 | tee enkfstat.txt && true
327327
export err=$?
328328
if [[ ${err} -ne 0 ]]; then
329329
err_exit "Failed to run the EnKF!"
330330
fi
331331

332-
# Cat runtime output files.
333-
cat stdout stderr > enkfstat.txt
334332
cpfs enkfstat.txt "${COMOUT_ATMOS_ANALYSIS_STAT}/${APREFIX}enkfstat.txt"
335333

336334
################################################################################

0 commit comments

Comments
 (0)