Skip to content

Commit

Permalink
feature/rm_cpreq (#643)
Browse files Browse the repository at this point in the history
* Remove cpreq usage

* Set KEEPDATA to YES

* Use PB2NC_SKIP_VALID_TIMES

* Update PR template

* Add exclhost for jevs_mesoscale_headline_plots

* Increase mesoscale walltimes
  • Loading branch information
malloryprow authored Jan 10, 2025
1 parent cb714db commit 6c4bae9
Show file tree
Hide file tree
Showing 31 changed files with 45 additions and 45 deletions.
6 changes: 3 additions & 3 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
> Please include a summary of the changes and the related GitHub issue(s). Please also include relevant motivation and context.
## Developer Questions and Checklist
* Is this a high priorty PR? If so, why and is there a date it needs to be merged by?
* Is this a high priority PR? If so, why and is there a date it needs to be merged by?
* Do you have any planned upcoming annual leave/PTO?
* Are there any changes needed for when the jobs are supposed to run?
* Are there any changes needed in the times when the jobs are supposed to run/kick-off?

- [ ] The code changes follow [NCO's EE2 Standards](https://www.nco.ncep.noaa.gov/idsb/implementation_standards/ImplementationStandards.v11.0.0.pdf).
- [ ] Developer's name is removed throughout the code and have used `${USER}` where necessary throughout the code.
- [ ] References the feature branch for `HOMEevs` are removed from the code.
- [ ] J-Job environment variables, COMIN and COMOUT directories, and output follow what has been [defined](https://docs.google.com/document/d/1JWg_4q80aYmmAoD21GFjp9R9y5-3w7WGM3-0HJk0Pjs/edit#heading=h.7ysbr191vzu4) for EVS.
- [ ] Jobs over 15 minutes in runtime have restart capability.
- [ ] If applicable, changes in the `dev/drivers/scripts` or `dev/modulefiles` have been made in the corresponding `ecf/scripts` and `ecf/defs/evs-nco.def`?
- [ ] Jobs contain the approriate file checking and don't run METplus for any missing data.
- [ ] Jobs contain the appropriate file checking and don't run METplus for any missing data.
- [ ] Code is using METplus wrappers structure and not calling MET executables directly.
- [ ] Log is free of any ERRORs or WARNINGs.

Expand Down
2 changes: 1 addition & 1 deletion dev/drivers/scripts/plots/cam/jevs_cam_radar_plots.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export SENDMAIL=${SENDMAIL:-YES}
export SENDCOM=${SENDCOM:-YES}
export SENDECF=${SENDECF:-YES}
export SENDDBN=${SENDDBN:-NO}
export KEEPDATA=${KEEPDATA:-NO}
export KEEPDATA=${KEEPDATA:-YES}

export MAILTO=${MAILTO:-'[email protected],[email protected]'}

Expand Down
2 changes: 1 addition & 1 deletion dev/drivers/scripts/plots/cam/jevs_cam_severe_plots.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export SENDMAIL=${SENDMAIL:-YES}
export SENDCOM=${SENDCOM:-YES}
export SENDECF=${SENDECF:-YES}
export SENDDBN=${SENDDBN:-NO}
export KEEPDATA=${KEEPDATA:-NO}
export KEEPDATA=${KEEPDATA:-YES}

export MAILTO=${MAILTO:-'[email protected],[email protected]'}

Expand Down
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=00:30:00
#PBS -l place=vscatter:select=1:ncpus=16:ompthreads=1:mem=35GB
#PBS -l place=vscatter:exclhost:select=1:ncpus=16:ompthreads=1:mem=35GB
#PBS -l debug=true

set -x
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#PBS -S /bin/bash
#PBS -q dev
#PBS -A VERF-DEV
#PBS -l walltime=05:00:00
#PBS -l walltime=09:45:00
#PBS -l place=vscatter:exclhost,select=12:ncpus=128:mem=500GB
#PBS -l debug=true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#PBS -S /bin/bash
#PBS -q dev
#PBS -A VERF-DEV
#PBS -l walltime=6:00:00
#PBS -l walltime=11:30:00
#PBS -l place=vscatter:exclhost,select=12:ncpus=128:mem=500GB
#PBS -l debug=true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export SENDMAIL=${SENDMAIL:-YES}
export SENDCOM=${SENDCOM:-YES}
export SENDECF=${SENDECF:-YES}
export SENDDBN=${SENDDBN:-NO}
export KEEPDATA=${KEEPDATA:-NO}
export KEEPDATA=${KEEPDATA:-YES}

export MAILTO=${MAILTO:-'[email protected],[email protected]'}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export SENDMAIL=${SENDMAIL:-YES}
export SENDCOM=${SENDCOM:-YES}
export SENDECF=${SENDECF:-YES}
export SENDDBN=${SENDDBN:-NO}
export KEEPDATA=${KEEPDATA:-NO}
export KEEPDATA=${KEEPDATA:-YES}

export MAILTO=${MAILTO:-'[email protected],[email protected]'}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export SENDMAIL=${SENDMAIL:-YES}
export SENDCOM=${SENDCOM:-YES}
export SENDECF=${SENDECF:-YES}
export SENDDBN=${SENDDBN:-NO}
export KEEPDATA=${KEEPDATA:-NO}
export KEEPDATA=${KEEPDATA:-YES}

export MAILTO=${MAILTO:-'[email protected],[email protected]'}

Expand Down
4 changes: 2 additions & 2 deletions dev/drivers/scripts/prep/cam/jevs_cam_href_severe_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export vhr=${vhr:-${vhr}}
############################################################
export envir=prod
export DATAROOT=/lfs/h2/emc/stmp/${USER}/evs_test/$envir/tmp
export KEEPDATA=NO
export KEEPDATA=YES
export VERIF_CASE=severe
export MODELNAME=href
export modsys=href
Expand All @@ -53,7 +53,7 @@ export COMOUT=/lfs/h2/emc/vpppg/noscrub/$USER/$NET/$evs_ver_2d/$STEP/$COMPONENT
export SENDCOM=${SENDCOM:-YES}
export SENDECF=${SENDECF:-YES}
export SENDDBN=${SENDDBN:-NO}
export KEEPDATA=${KEEPDATA:-NO}
export KEEPDATA=${KEEPDATA:-YES}

export MAILTO=${MAILTO:-'[email protected],[email protected]'}

Expand Down
2 changes: 1 addition & 1 deletion dev/drivers/scripts/prep/cam/jevs_cam_hrrr_severe_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export SENDMAIL=${SENDMAIL:-YES}
export SENDCOM=${SENDCOM:-YES}
export SENDECF=${SENDECF:-YES}
export SENDDBN=${SENDDBN:-NO}
export KEEPDATA=${KEEPDATA:-NO}
export KEEPDATA=${KEEPDATA:-YES}

export MAILTO=${MAILTO:-'[email protected],[email protected]'}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export SENDMAIL=${SENDMAIL:-YES}
export SENDCOM=${SENDCOM:-YES}
export SENDECF=${SENDECF:-YES}
export SENDDBN=${SENDDBN:-NO}
export KEEPDATA=${KEEPDATA:-NO}
export KEEPDATA=${KEEPDATA:-YES}

export MAILTO=${MAILTO:-'[email protected],[email protected]'}

Expand Down
2 changes: 1 addition & 1 deletion dev/drivers/scripts/prep/cam/jevs_cam_radar_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export SENDMAIL=${SENDMAIL:-YES}
export SENDCOM=${SENDCOM:-YES}
export SENDECF=${SENDECF:-YES}
export SENDDBN=${SENDDBN:-NO}
export KEEPDATA=${KEEPDATA:-NO}
export KEEPDATA=${KEEPDATA:-YES}

export MAILTO=${MAILTO:-'[email protected],[email protected]'}

Expand Down
2 changes: 1 addition & 1 deletion dev/drivers/scripts/prep/cam/jevs_cam_severe_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export SENDMAIL=${SENDMAIL:-YES}
export SENDCOM=${SENDCOM:-YES}
export SENDECF=${SENDECF:-YES}
export SENDDBN=${SENDDBN:-NO}
export KEEPDATA=${KEEPDATA:-NO}
export KEEPDATA=${KEEPDATA:-YES}

export MAILTO=${MAILTO:-'[email protected],[email protected]'}

Expand Down
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=00:30:00
#PBS -l place=vscatter:select=1:ncpus=16:ompthreads=1:mem=35GB
#PBS -l place=vscatter:exclhost:select=1:ncpus=16:ompthreads=1:mem=35GB
#PBS -l debug=true

export model=evs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#PBS -S /bin/bash
#PBS -q %QUEUE%
#PBS -A %PROJ%-%PROJENVIR%
#PBS -l walltime=05:00:00
#PBS -l walltime=09:45:00
#PBS -l place=vscatter:exclhost,select=12:ncpus=128:mem=500GB
#PBS -l debug=true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#PBS -S /bin/bash
#PBS -q %QUEUE%
#PBS -A %PROJ%-%PROJENVIR%
#PBS -l walltime=06:00:00
#PBS -l walltime=11:30:00
#PBS -l place=vscatter:exclhost,select=12:ncpus=128:mem=500GB
#PBS -l debug=true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ PB2NC_CONFIG_FILE = {ENV[METPLUS_PATH]}/parm/met_config/PB2NCConfig_wrapped
# filename template already exists
PB2NC_SKIP_IF_OUTPUT_EXISTS = False

PB2NC_SKIP_TIMES =
PB2NC_SKIP_VALID_TIMES =
SKIP_TIMES =
PB2NC_MANDATORY = True
INPUT_MUST_EXIST = True
Expand Down
8 changes: 4 additions & 4 deletions scripts/plots/aqm/exevs_aqm_grid2obs_plots.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ for aqmtyp in ozone pm25 ozmax8 pmave; do
cpfile=evs.stats.${COMPONENT}_${biasc}.${RUN}.${VERIF_CASE}_${aqmtyp}.v${DAY}.stat
sedfile=evs.stats.${aqmtyp}_${biasc}.${RUN}.${VERIF_CASE}.v${DAY}.stat
if [ -s ${EVSINaqm}.${DAY}/${cpfile} ]; then
cpreq ${EVSINaqm}.${DAY}/${cpfile} ${STATDIR}
cp -v ${EVSINaqm}.${DAY}/${cpfile} ${STATDIR}
sed "s/${model1}/${aqmtyp}_${biasc}/g" ${STATDIR}/${cpfile} > ${STATDIR}/${sedfile}
else
echo "WARNING ${COMPONENT} ${STEP} :: Can not find ${EVSINaqm}.${DAY}/${cpfile}"
Expand Down Expand Up @@ -139,7 +139,7 @@ for region in CONUS CONUS_East CONUS_West CONUS_South CONUS_Central Appalachia C
export err=$?; err_chk
else
echo "RESTART - ${var} ${figtype} ${region} plot exists; copying over to plot directory"
cpreq ${cpfile} ${PLOTDIR}
cp -v ${cpfile} ${PLOTDIR}
fi

cpfile=${PLOTDIR}/${figfile}
Expand Down Expand Up @@ -198,7 +198,7 @@ for region in CONUS CONUS_East CONUS_West CONUS_South CONUS_Central Appalachia C
export err=$?; err_chk
else
echo "RESTART - plot exists; copying over to plot directory"
cpreq ${cpfile} ${PLOTDIR}
cp -v ${cpfile} ${PLOTDIR}
fi

cpfile=${PLOTDIR}/${figfile}
Expand Down Expand Up @@ -302,7 +302,7 @@ for region in CONUS CONUS_East CONUS_West CONUS_South CONUS_Central; do
export err=$?; err_chk
else
echo "RESTART - plot exists; copying over to plot directory"
cpreq ${cpfile} ${PLOTDIR_headline}
cp -v ${cpfile} ${PLOTDIR_headline}
fi

cpfile=${PLOTDIR_headline}/${figfile}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ theDate=${plot_start_date}
while (( ${theDate} <= ${plot_end_date} )); do
EVSINstats=${COMIN}/stats/${COMPONENT}/${MODELNAME}.${theDate}
if [[ -s ${EVSINstats}/evs.stats.${MODELNAME}.${RUN}.${VERIF_CASE}.v${theDate}.stat ]]; then
cpreq -v ${EVSINstats}/evs.stats.${MODELNAME}.${RUN}.${VERIF_CASE}.v${theDate}.stat ${DATA}/stats/.
cp -v ${EVSINstats}/evs.stats.${MODELNAME}.${RUN}.${VERIF_CASE}.v${theDate}.stat ${DATA}/stats/.
else
echo "WARNING: DOES NOT EXIST ${EVSINstats}/evs.stats.${MODELNAME}.${RUN}.${VERIF_CASE}.v${theDate}.stat"
fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/plots/mesoscale/exevs_mesoscale_grid2obs_plots.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ done
find ${DATA}/${VERIF_CASE}/out/* -name "*.png" -type f -not -path "*workdirs*" -print | tar -cvf ${DATA}/${NET}.${STEP}.${COMPONENT}.${RUN}.${VERIF_CASE}.v${VDATE}.tar --transform='s#.*/##' -T -

if [ $SENDCOM = YES ]; then
cpreq -v ${DATA}/${NET}.${STEP}.${COMPONENT}.${RUN}.${VERIF_CASE}.v${VDATE}.tar ${COMOUTplots}/.
cp -v ${DATA}/${NET}.${STEP}.${COMPONENT}.${RUN}.${VERIF_CASE}.v${VDATE}.tar ${COMOUTplots}/.
fi

if [ $SENDDBN = YES ]; then
Expand Down
2 changes: 1 addition & 1 deletion scripts/plots/mesoscale/exevs_mesoscale_headline_plots.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ done
find ${DATA}/${VERIF_CASE}/out/* -name "*.png" -type f -not -path "*workdirs*" -print | tar -cvf ${DATA}/${NET}.${STEP}.${COMPONENT}.${RUN}.${VERIF_CASE}.v${VDATE}.tar --transform='s#.*/##' -T -

if [ $SENDCOM = YES ]; then
cpreq -v ${DATA}/${NET}.${STEP}.${COMPONENT}.${RUN}.${VERIF_CASE}.v${VDATE}.tar ${COMOUTplots}/.
cp -v ${DATA}/${NET}.${STEP}.${COMPONENT}.${RUN}.${VERIF_CASE}.v${VDATE}.tar ${COMOUTplots}/.
fi

if [ $SENDDBN = YES ]; then
Expand Down
2 changes: 1 addition & 1 deletion scripts/plots/mesoscale/exevs_mesoscale_precip_plots.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ done
find ${DATA}/${VERIF_CASE}/out/* -type f \( -name "*.png" -o -name "*.gif" \) -not -path "*workdirs*" -print | tar -cvf ${DATA}/${NET}.${STEP}.${COMPONENT}.${RUN}.${VERIF_CASE}.v${VDATE}.tar --transform='s#.*/##' -T -

if [ $SENDCOM = YES ]; then
cpreq -v ${DATA}/${NET}.${STEP}.${COMPONENT}.${RUN}.${VERIF_CASE}.v${VDATE}.tar ${COMOUTplots}/.
cp -v ${DATA}/${NET}.${STEP}.${COMPONENT}.${RUN}.${VERIF_CASE}.v${VDATE}.tar ${COMOUTplots}/.
fi

if [ $SENDDBN = YES ]; then
Expand Down
2 changes: 1 addition & 1 deletion scripts/plots/mesoscale/exevs_mesoscale_snowfall_plots.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ done
find ${DATA}/${VERIF_CASE}/out/* -name "*.png" -type f -not -path "*workdirs*" -print | tar -cvf ${DATA}/${NET}.${STEP}.${COMPONENT}.${RUN}.${VERIF_CASE}.v${VDATE}.tar --transform='s#.*/##' -T -

if [ $SENDCOM = YES ]; then
cpreq ${DATA}/${NET}.${STEP}.${COMPONENT}.${RUN}.${VERIF_CASE}.v${VDATE}.tar ${COMOUTplots}/.
cp -v ${DATA}/${NET}.${STEP}.${COMPONENT}.${RUN}.${VERIF_CASE}.v${VDATE}.tar ${COMOUTplots}/.
fi

if [ $SENDDBN = YES ]; then
Expand Down
4 changes: 2 additions & 2 deletions scripts/prep/cam/exevs_href_severe_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ i=1
# Copy the member files to working directory if they exist
if [ -s $fcst_file ]; then
echo "File found for member $i. Copying to working directory."
cpreq -v $fcst_file ${MODEL_INPUT_DIR}
cp -v $fcst_file ${MODEL_INPUT_DIR}
nfiles=$((nfiles+1))
else
echo "Forecast file $fcst_file not found for member $i." >> missing_file_list
Expand Down Expand Up @@ -210,7 +210,7 @@ i=1
if [ $SENDCOM = YES ]; then
mkdir -p $COMOUT/${modsys}.${IDATE}
for FILE in $DATA/sspf/${modsys}.${IDATE}/*; do
cpreq -v $FILE $COMOUT/${modsys}.${IDATE}
cp -v $FILE $COMOUT/${modsys}.${IDATE}
done
fi

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ for ihour in ${inithours} ; do
fi
else
if [ ! -s ${COMOUTgefs}/${newname} ]; then
cpreq -v ${COMINgefs}/${MODELNAME}.${INITDATE}/${ihour}/wave/gridded/${filename} $DATA/gefs_wave_grib2/${newname}
cp -v ${COMINgefs}/${MODELNAME}.${INITDATE}/${ihour}/wave/gridded/${filename} $DATA/gefs_wave_grib2/${newname}
if [ $SENDCOM = YES ]; then
if [ -s $DATA/gefs_wave_grib2/${newname} ]; then
cp -v $DATA/gefs_wave_grib2/${newname} ${COMOUTgefs}/${newname}
Expand Down Expand Up @@ -91,7 +91,7 @@ for ihour in 00 06 12 18 ; do
cat mailmsg | mail -s "$subject" $MAILTO
fi
else
cpreq -v ${COMINobsproc}.${INITDATE}/${ihour}/atmos/gdas.${inithour}.prepbufr ${DATA}/gdas.${INITDATE}${ihour}.prepbufr
cp -v ${COMINobsproc}.${INITDATE}/${ihour}/atmos/gdas.${inithour}.prepbufr ${DATA}/gdas.${INITDATE}${ihour}.prepbufr
chmod 640 ${DATA}/gdas.${INITDATE}${ihour}.prepbufr
chgrp rstprod ${DATA}/gdas.${INITDATE}${ihour}.prepbufr
fi
Expand Down
6 changes: 3 additions & 3 deletions scripts/stats/aqm/exevs_aqm_grid2obs_stats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ for outtyp in awpozcon pm25; do
mkdir -p ${COMOUTfinal}
stat_file_count=$(find ${COMOUTsmall} -name "*${outtyp}${bcout}*" | wc -l)
if [ ${stat_file_count} -ne 0 ]; then
cpreq ${COMOUTsmall}/*${outtyp}${bcout}* ${finalstat}
cp -v ${COMOUTsmall}/*${outtyp}${bcout}* ${finalstat}
cd ${finalstat}
run_metplus.py ${conf_file_dir}/${stat_analysis_conf_file} ${PARMevs}/metplus_config/machine.conf
export err=$?; err_chk
Expand Down Expand Up @@ -290,7 +290,7 @@ if [ ${vhr} = 11 ]; then
fi
stat_file_count=$(find ${COMOUTsmall} -name "*${outtyp}${bcout}*" | wc -l)
if [ ${stat_file_count} -ne 0 ]; then
cpreq ${COMOUTsmall}/*${outtyp}${bcout}* ${finalstat}
cp -v ${COMOUTsmall}/*${outtyp}${bcout}* ${finalstat}
run_metplus.py ${conf_file_dir}/${stat_analysis_conf_file} ${PARMevs}/metplus_config/machine.conf
export err=$?; err_chk
if [ ${SENDCOM} = "YES" ]; then
Expand Down Expand Up @@ -383,7 +383,7 @@ if [ ${vhr} = 04 ]; then
fi
stat_file_count=$(find ${COMOUTsmall} -name "*${outtyp}${bcout}*" | wc -l)
if [ ${stat_file_count} -ne 0 ]; then
cpreq ${COMOUTsmall}/*${outtyp}${bcout}* ${finalstat}
cp -v ${COMOUTsmall}/*${outtyp}${bcout}* ${finalstat}
run_metplus.py ${conf_file_dir}/${stat_analysis_conf_file} ${PARMevs}/metplus_config/machine.conf
export err=$?; err_chk
if [ ${SENDCOM} = "YES" ]; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ for ObsType in ${grid2obs_list}; do
if [ "${vhr}" == "21" ]; then
stat_file_count=$(find ${COMOUTsmall} -name "*${OutputId}*" | wc -l)
if [ ${stat_file_count} -ne 0 ]; then
cpreq ${COMOUTsmall}/*${OutputId}* ${finalstat}
cp -v ${COMOUTsmall}/*${OutputId}* ${finalstat}
cd ${finalstat}
run_metplus.py ${stat_analysis_conf_file} ${config_common}
export err=$?; err_chk
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,19 +91,19 @@ for vhour in ${validhours} ; do
DATAstatfilename=$DATA/all_stats/point_stat_fcst${MODNAM}_obsGDAS_climoERA5_${flead2}0000L_${VDATE}_${vhour2}0000V.stat
COMOUTstatfilename=$COMOUTsmall/point_stat_fcst${MODNAM}_obsGDAS_climoERA5_${flead2}0000L_${VDATE}_${vhour2}0000V.stat
if [[ -s $COMOUTstatfilename ]]; then
cpreq -v $COMOUTstatfilename $DATAstatfilename
cp -v $COMOUTstatfilename $DATAstatfilename
else
if [[ ! -s $DATAgdasncfilename ]]; then
if [[ -s $EVSgdasncfilename ]]; then
cpreq -v $EVSgdasncfilename $DATAgdasncfilename
cp -v $EVSgdasncfilename $DATAgdasncfilename
else
echo "WARNING: DOES NOT EXIST $EVSgdasncfilename"
fi
fi
if [[ -s $DATAgdasncfilename ]]; then
if [[ ! -s $DATAmodelfilename ]]; then
if [[ -s $EVSmodelfilename ]]; then
cpreq -v $EVSmodelfilename $DATAmodelfilename
cp -v $EVSmodelfilename $DATAmodelfilename
else
echo "WARNING: DOES NOT EXIST $EVSmodelfilename"
fi
Expand Down
6 changes: 3 additions & 3 deletions ush/global_ens/evs_get_gens_atmos_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if [ $modnam = gfsanl ]; then
cat mailmsg | mail -s "$subject" $MAILTO
fi
else
cpreq -v $COMINgfs/gfs.$vday/${ihour}/atmos/gfs.t${ihour}z.pgrb2.1p00.anl $WORK/gfsanl.t${ihour}z.grid3.f000.grib2
cp -v $COMINgfs/gfs.$vday/${ihour}/atmos/gfs.t${ihour}z.pgrb2.1p00.anl $WORK/gfsanl.t${ihour}z.grid3.f000.grib2
fi
if [ ! -s $COMINgfs/gfs.$vday/${ihour}/atmos/gfs.t${ihour}z.pgrb2.1p00.f000 ]; then
echo "WARNING: $COMINgfs/gfs.$vday/${ihour}/atmos/gfs.t${ihour}z.pgrb2.1p00.f000 is not available"
Expand Down Expand Up @@ -467,7 +467,7 @@ if [ $modnam = ccpa ] ; then
source_ccpa_file=${COMIN}/$STEP/${COMPONENT}/atmos.${vday_1}/gefs/ccpa.t18z.grid3.06h.f00.grib2
fi
if [ -s $source_ccpa_file ]; then
cpreq -v $source_ccpa_file ${WORK}/ccpa24/ccpa${nccpa_file}
cp -v $source_ccpa_file ${WORK}/ccpa24/ccpa${nccpa_file}
else
echo "WARNING: $source_ccpa_file is not available"
if [ $SENDMAIL = YES ]; then
Expand Down Expand Up @@ -702,7 +702,7 @@ if [ $modnam = nohrsc24h ] ; then
for ihour in 00 12 ; do
snowfall=$DCOMINnohrsc/${vday}/wgrbbul/nohrsc_snowfall/sfav2_CONUS_24h_${vday}${ihour}_grid184.grb2
if [ -s $snowfall ] ; then
cpreq -v $snowfall $WORK/nohrsc.t${ihour}z.grid184.grb2
cp -v $snowfall $WORK/nohrsc.t${ihour}z.grid184.grb2
if [ $SENDCOM="YES" ] ; then
if [ -s $WORK/nohrsc.t${ihour}z.grid184.grb2 ]; then
cp -v $WORK/nohrsc.t${ihour}z.grid184.grb2 $COMOUTgefs/nohrsc.t${ihour}z.grid184.grb2
Expand Down
2 changes: 1 addition & 1 deletion ush/global_ens/evs_get_gens_headline_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ done

for hhh in 024 048 072 096 120 144 168 192 216 240 264 288 312 336 360 384 ; do
if [ -s $EVSINgefs/gfs.t00z.grid3.f${hhh}.grib2 ]; then
cpreq -v $EVSINgefs/gfs.t00z.grid3.f${hhh}.grib2 $WORK/gfs.t00z.grid3.f${hhh}.grib2
cp -v $EVSINgefs/gfs.t00z.grid3.f${hhh}.grib2 $WORK/gfs.t00z.grid3.f${hhh}.grib2
if [ $SENDCOM="YES" ] ; then
if [ -s $WORK/gfs.t00z.grid3.f${hhh}.grib2 ]; then
cp -v $WORK/gfs.t00z.grid3.f${hhh}.grib2 $COMOUTgefs/gfs.t00z.grid3.f${hhh}.grib2
Expand Down

0 comments on commit 6c4bae9

Please sign in to comment.