Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Conventional_Monitor/data_extract/ush/ConMon_DE.sh
Original file line number Diff line number Diff line change
Expand Up @@ -231,12 +231,12 @@ if [ -s $cnvstat -a -s $pgrbf00 -a -s $pgrbf06 ]; then
${HOMEgdas_conmon}/jobs/JGDAS_ATMOS_CONMON

elif [[ $MY_MACHINE = "ursa" ]]; then
$SUB -A $ACCOUNT --ntasks=1 --time=01:30:00 \
$SUB -A $ACCOUNT --ntasks=1 --time=00:30:00 \
-J ${jobname} -o $C_LOGDIR/DE.${PDY}.${CYC}.log \
${HOMEgdas_conmon}/jobs/JGDAS_ATMOS_CONMON

elif [[ $MY_MACHINE = "wcoss2" ]]; then
$SUB -V -q $JOB_QUEUE -A $ACCOUNT -o ${logfile} -e ${logfile} -l walltime=2:15:00 -N ${jobname} \
$SUB -V -q $JOB_QUEUE -A $ACCOUNT -o ${logfile} -e ${logfile} -l walltime=0:30:00 -N ${jobname} \
-l select=1:mem=8gb ${HOMEgdas_conmon}/jobs/JGDAS_ATMOS_CONMON
fi

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,16 +223,34 @@
#------------------------------------------------------------------

#---------------------------------------
# run the time-vert extraction script
# Run the extraction scripts in parallel.
# Each script uses fixed scratch filenames, so give them
# separate work directories and stage the shared inputs.
#
${USHconmon}/time_vert.sh
time_vert_work=${C_DATA}/time_vert.${PDATE}
horz_hist_work=${C_DATA}/horz_hist.${PDATE}
rm -rf "${time_vert_work}" "${horz_hist_work}"
mkdir -p "${time_vert_work}" "${horz_hist_work}"

${NCP} "${convinfo}" "${time_vert_work}/convinfo"
${NCP} "${convinfo}" "${horz_hist_work}/convinfo"
${NCP} ./diag_conv* "${time_vert_work}/."
${NCP} ./diag_conv* "${horz_hist_work}/."

time_vert_log=${C_DATA}/time_vert.${PDATE}.log
horz_hist_log=${C_DATA}/horz_hist.${PDATE}.log

( cd "${time_vert_work}" && "${USHconmon}/time_vert.sh" ) > "${time_vert_log}" 2>&1 &
pid_time_vert=$!

( cd "${horz_hist_work}" && "${USHconmon}/horz_hist.sh" ) > "${horz_hist_log}" 2>&1 &
pid_horz_hist=$!

wait ${pid_time_vert}
rc_time_vert=$?
echo "rc_time_vert = $rc_time_vert"

#---------------------------------------
# run the horz-hist extraction script
#
${USHconmon}/horz_hist.sh
wait ${pid_horz_hist}
rc_horz_hist=$?
echo "rc_horz_hist = $rc_horz_hist"

Expand Down
Loading