File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -624,7 +624,7 @@ MOM6_postdet() {
624624 case ${RUN} in
625625 gfs | enkfgfs | gefs | sfs | gcafs) # Link output files for RUN=gfs|enkfgfs|gefs|sfs
626626 # Looping over MOM6 output hours
627- local fhr fhr3 last_fhr interval midpoint vdate vdate_mid source_file dest_file
627+ local fhr fhr3 last_fhr interval midpoint vdate vdate_mid source_file dest_file ihour source_file_log dest_file_log
628628 for fhr in ${MOM6_OUTPUT_FH} ; do
629629 fhr3=$( printf %03i " ${fhr} " )
630630
@@ -650,8 +650,12 @@ MOM6_postdet() {
650650 else
651651 source_file=" ocn_${vdate_mid: 0: 4} _${vdate_mid: 4: 2} _${vdate_mid: 6: 2} _${vdate_mid: 8: 2} _00.nc"
652652 fi
653+ ihour=$( printf %02i " ${interval} " )
654+ source_file_log=" ${vdate: 0: 8} .${vdate: 8: 2} 0000.mom6.${ihour} h"
653655 dest_file=" ${RUN} .t${cyc} z.${interval} hr_avg.f${fhr3} .nc"
656+ dest_file_log=" ${RUN} .t${cyc} z.${interval} hr_avg.log.f${fhr3} .txt"
654657 ${NLN} " ${COMOUT_OCEAN_HISTORY} /${dest_file} " " ${DATAoutput} /MOM6_OUTPUT/${source_file} "
658+ ${NLN} " ${COMOUT_OCEAN_HISTORY} /${dest_file_log} " " ${DATA} /${source_file_log} "
655659
656660 last_fhr=${fhr}
657661
You can’t perform that action at this time.
0 commit comments