Skip to content

Commit

Permalink
AQM EVS2.0 FIX Feature/fixplotcpu (NOAA-EMC#598)
Browse files Browse the repository at this point in the history
* update cpu=1 for plots and change headline location

* use ncpus=1

* test new setting for PBS cpu and mem
  • Loading branch information
Ho-ChunHuang-NOAA authored Oct 29, 2024
1 parent 862639f commit 9cbba58
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dev/drivers/scripts/plots/aqm/jevs_aqm_grid2obs_plots.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#PBS -q "dev"
#PBS -A VERF-DEV
#PBS -l walltime=02:00:00
#PBS -l place=shared,select=1:ncpus=128:mem=500GB
#PBS -l place=shared,select=1:ncpus=1:mem=20GB
#PBS -l debug=true

set -x
Expand Down
2 changes: 1 addition & 1 deletion ecf/scripts/plots/aqm/jevs_aqm_plots.ecf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#PBS -q %QUEUE%
#PBS -A %PROJ%-%PROJENVIR%
#PBS -l walltime=01:00:00
#PBS -l place=vscatter:exclhost,select=1:ncpus=128:mem=500GB
#PBS -l place=shared,select=1:ncpus=1:mem=20GB
#PBS -l debug=true

export model=evs
Expand Down
6 changes: 3 additions & 3 deletions scripts/plots/aqm/exevs_aqm_grid2obs_plots.sh
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ fi
##
## Headline Plots
##
mkdir -p ${COMOUTplots}/headline
mkdir -p ${COMOUTheadline}/headline
for region in CONUS CONUS_East CONUS_West CONUS_South CONUS_Central; do
export region
case ${region} in
Expand Down Expand Up @@ -296,7 +296,7 @@ for region in CONUS CONUS_East CONUS_West CONUS_South CONUS_Central; do
figtype=csi

figfile=headline_${COMPONENT}.${figtype}_gt${select_headline_csi}.${smvar}.${smlev}.last31days.timeseries_init${inithr}z_f${flead}.buk_${smregion}.png
cpfile=${COMOUTplots}/headline/${figfile}
cpfile=${COMOUTheadline}/headline/${figfile}
if [ ! -e ${cpfile} ]; then
${PARMevs}/metplus_config/${STEP}/${COMPONENT}/${VERIF_CASE}/py_plotting_${smvar}_headline.config
export err=$?; err_chk
Expand All @@ -308,7 +308,7 @@ for region in CONUS CONUS_East CONUS_West CONUS_South CONUS_Central; do
cpfile=${PLOTDIR_headline}/${figfile}
if [ -e ${PLOTDIR_headline}/aq/*/evs*png ]; then
mv ${PLOTDIR_headline}/aq/*/evs*png ${cpfile}
cp -v ${cpfile} ${COMOUTplots}/headline
cp -v ${cpfile} ${COMOUTheadline}/headline
elif [ ! -e ${cpfile} ]; then
echo "WARNING: NO HEADLINE PLOT FOR ${var} ${figtype} ${region}"
echo "WARNING: This is possible where there is no exceedance of the critical threshold in the last 31 days"
Expand Down

0 comments on commit 9cbba58

Please sign in to comment.