Skip to content

Commit

Permalink
Merge branch 'develop' into para
Browse files Browse the repository at this point in the history
  • Loading branch information
PerryShafran-NOAA committed Feb 21, 2024
2 parents 8cad503 + 86d2de2 commit da92efc
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#PBS -q dev
#PBS -A EVS-DEV
#PBS -l walltime=06:00:00
#PBS -l place=vscatter,select=1:ncpus=83:mem=350GB
#PBS -l place=vscatter:exclhost,select=2:ncpus=42:mem=500GB
#PBS -l debug=true

set -x
Expand Down
2 changes: 1 addition & 1 deletion ecf/scripts/prep/global_ens/jevs_global_ens_atmos_prep.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=06:25:00
#PBS -l place=vscatter:exclhost,select=2:ncpus=84:mem=500GB
#PBS -l place=vscatter:exclhost,select=2:ncpus=42:mem=500GB
#PBS -l debug=true

export model=evs
Expand Down
6 changes: 4 additions & 2 deletions scripts/stats/cam/exevs_href_precip_stats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ export run_mpi=${run_mpi:-'yes'}
export verif_precip=${verif_precip:-'yes'}
export verif_snowfall=${verif_snowfall:-'yes'}
if [ "$verif_precip" = "no" ] && [ "$verif_snowfall" = "no" ] ; then
export gather='no'
export prepare='no'
fi
export prepare=${prepare:-'yes'}
Expand Down Expand Up @@ -65,7 +64,7 @@ fi

# Build sub-jobs for snowfall
if [ $verif_snowfall = yes ] ; then
$USHevs/cam/evs_href_snowfall.sh
source $USHevs/cam/evs_href_snowfall.sh
export err=$?; err_chk
cat ${DATA}/run_all_href_snowfall_poe.sh >> run_all_precip_poe.sh
fi
Expand All @@ -90,6 +89,9 @@ fi
#******************************************************************
# Run gather job to combine the small stats to form a big stat file
#******************************************************************
if [ "$verif_precip" = "no" ] && [ "$verif_snowfall" = "no" ] ; then
export gather='no'
fi
if [ $gather = yes ] ; then
$USHevs/cam/evs_href_gather.sh precip
export err=$?; err_chk
Expand Down
4 changes: 2 additions & 2 deletions ush/cam/cam_prep_precip_create_job_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
for infile in glob.glob(infiles):
job_cmd_list.append(
f"if [ -f \"{infile}\" ]; then cp \"{infile}\""
+ f" \"{COMOUTobs}/.\"; else echo \"Input {OBSNAME}"
+ f" \"{COMOUTobs}/.\"; else echo \"WARNING: Input {OBSNAME}"
+ f" file does not exist: {infile} ..."
+ f" Continuing to the next valid datetime.\"; fi"
)
Expand Down Expand Up @@ -179,7 +179,7 @@
+ f" else echo \"Output {OBSNAME} file already"
+ f" exists: {COMOUTobs}/{outfilename} ..."
+ f" Continuing to the next valid datetime.\"; fi"
+ f" else echo \"Input {OBSNAME}"
+ f" else echo \"WARNING: Input {OBSNAME}"
+ f" file does not exist: {infilepath} ..."
+ f" Continuing to the next valid datetime.\"; fi"
)
Expand Down
8 changes: 7 additions & 1 deletion ush/cam/evs_href_gather.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ modnam=href
verify=$1

if [ $verify = precip ] ; then
MODELS='HREF HREF_MEAN HREF_PMMN HREF_LPMM HREF_AVRG HREF_PROB HREF_EAS HREF_SNOW'
if [ "$verif_precip" = "no" ] ; then
MODELS='HREF_SNOW'
elif [ "$verif_snowfall" = "no" ] ; then
MODELS='HREF HREF_MEAN HREF_PMMN HREF_LPMM HREF_AVRG HREF_PROB HREF_EAS'
else
MODELS='HREF HREF_MEAN HREF_PMMN HREF_LPMM HREF_AVRG HREF_PROB HREF_EAS HREF_SNOW'
fi
elif [ $verify = grid2obs ] ; then
MODELS='HREF HREF_MEAN HREF_PROB'
elif [ $verify = spcoutlook ] ; then
Expand Down
1 change: 1 addition & 0 deletions ush/cam/evs_href_snowfall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ if [ ! -s $COMSNOW/${VDATE}/wgrbbul/nohrsc_snowfall/sfav2_CONUS_24h_${VDATE}12_g
fi
echo "WARNING: No NOHRSC data $COMSNOW/${VDATE}/wgrbbul/nohrsc_snowfall/sfav2_CONUS_24h_${VDATE}12_grid184.grb2 available for ${VDATE}! Terminate snowfall verification"
export write_job_cards=no
export verif_snowfall=no
fi

if [ "$write_job_cards" = "yes" ] ; then
Expand Down
2 changes: 1 addition & 1 deletion ush/global_ens/evs_global_ens_atmos_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ if [ $run_mpi = yes ] ; then

if [ -s run_get_all_gens_atmos_poe.sh ] ; then
chmod +x run_get_all_gens_atmos_poe.sh
mpiexec -n 83 -ppn 83 --cpu-bind verbose,core cfp ${DATA}/run_get_all_gens_atmos_poe.sh
mpiexec -n 84 -ppn 42 --cpu-bind verbose,core cfp ${DATA}/run_get_all_gens_atmos_poe.sh
export err=$?; err_chk
fi

Expand Down
6 changes: 3 additions & 3 deletions ush/mesoscale/evs_check_sref_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ missing=0
for vhr in 00 06 12 18 ; do
if [ ! -s $COMINobsproc/gfs.${vday}/${vhr}/atmos/gfs.t${vhr}z.prepbufr ] ; then
missing=$((missing + 1 ))
echo $COMINobsproc/gfs.${vday}/${vhr}/atmos/gfs.t${vhr}z.prepbufr is missing
echo "WARNING: $COMINobsproc/gfs.${vday}/${vhr}/atmos/gfs.t${vhr}z.prepbufr is missing"
fi
done

Expand Down Expand Up @@ -61,7 +61,7 @@ for vhr in 00 03 06 09 12 15 18 21 ; do

if [ ! -s $ccpa ] ; then
missing=$((missing + 1 ))
echo $ccpa is missing
echo "WARNING: $ccpa is missing"
fi
done

Expand Down Expand Up @@ -107,7 +107,7 @@ for vhr in 00 06 12 18 ; do #SREF grid2obs validation is by gfs prepbufr
if [ -s $sref ] ; then
sref_mbrs=$((sref_mbrs+1))
else
echo $sref is missing
echo "WARNING: $sref is missing"
fi
done
done
Expand Down
4 changes: 2 additions & 2 deletions ush/narre/check_files_existing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ missing=0
while [ $vhr -le 23 ] ; do
if [ ! -s $COMINobsproc/rap.${vday}/rap.t${vhr}z.prepbufr.tm00.nr ] ; then
missing=$((missing + 1 ))
echo $COMINobsproc/rap.${vday}/rap.t${vhr}z.prepbufr.tm00.nr is missing
echo "WARNING: $COMINobsproc/rap.${vday}/rap.t${vhr}z.prepbufr.tm00.nr is missing"
fi
vhr=$((vhr+1))
done
Expand Down Expand Up @@ -54,7 +54,7 @@ for grid in 130 242 ; do
if [ -s $narre_mean ] ; then
has_narre=$((has_narre+1))
else
echo $narre_mean is missing
echo "WARNING: $narre_mean is missing"
fi
done

Expand Down

0 comments on commit da92efc

Please sign in to comment.