From 94fba2e18e6b1037b3e5736ce3a438d86312f20e Mon Sep 17 00:00:00 2001 From: "Walter.Kolczynski" Date: Tue, 11 Apr 2023 04:07:24 -0500 Subject: [PATCH] Clean up some miscellaneous comments Refs: #761 --- scripts/exgfs_atmos_awips_20km_1p0deg.sh | 2 +- scripts/exgfs_atmos_grib_awips.sh | 2 +- scripts/exgfs_wave_prdgen_bulls.sh | 1 - scripts/exglobal_archive.sh | 3 --- ush/forecast_postdet.sh | 2 +- ush/forecast_predet.sh | 5 ----- 6 files changed, 3 insertions(+), 12 deletions(-) diff --git a/scripts/exgfs_atmos_awips_20km_1p0deg.sh b/scripts/exgfs_atmos_awips_20km_1p0deg.sh index 380d42f6e6..0f9868a506 100755 --- a/scripts/exgfs_atmos_awips_20km_1p0deg.sh +++ b/scripts/exgfs_atmos_awips_20km_1p0deg.sh @@ -27,7 +27,7 @@ job_name=${job/[jpt]gfs/gfs} if (( num != 1 )); then echo "" - echo " FATAL ERROR: Incorrect number of argumentS " + echo " FATAL ERROR: Incorrect number of arguments " echo "" echo "" echo "Usage: $0 \${fcsthrs} (3 digits) " diff --git a/scripts/exgfs_atmos_grib_awips.sh b/scripts/exgfs_atmos_grib_awips.sh index dd669bdbfa..f10508626f 100755 --- a/scripts/exgfs_atmos_grib_awips.sh +++ b/scripts/exgfs_atmos_grib_awips.sh @@ -29,7 +29,7 @@ job_name=${job/[jpt]gfs/gfs} if (( num != 1 )); then echo "" - echo " FATAL ERROR: Incorrect number of argumentS " + echo " FATAL ERROR: Incorrect number of arguments " echo "" echo "" echo "Usage: $0 \${fcsthrs} (3 digits) " diff --git a/scripts/exgfs_wave_prdgen_bulls.sh b/scripts/exgfs_wave_prdgen_bulls.sh index ac0218c0da..e75df8dfd1 100755 --- a/scripts/exgfs_wave_prdgen_bulls.sh +++ b/scripts/exgfs_wave_prdgen_bulls.sh @@ -146,7 +146,6 @@ source "$HOMEgfs/ush/preamble.sh" # 2.c Generate list of bulletins to process echo ' Generating buoy list ...' - # echo 'bulls=$(sed -e 's/export b//g' -e 's/=/ /' awipsbull.data | grep -v "#" |awk '{ print $1}')' bulls=$(sed -e 's/export b//g' -e 's/=/ /' awipsbull.data | grep -v "#" |awk '{print $1}') # 2.d Looping over buoys running formbul diff --git a/scripts/exglobal_archive.sh b/scripts/exglobal_archive.sh index 252440b01c..1997eec9eb 100755 --- a/scripts/exglobal_archive.sh +++ b/scripts/exglobal_archive.sh @@ -29,9 +29,6 @@ PDY_MOS="${CDATE_MOS:0:8}" ############################################################### # Archive online for verification and diagnostics ############################################################### -# COMIN=${COMINatmos:-"${ROTDIR}/${RUN}.${PDY}/${cyc}/atmos"} -# cd "${COMIN}" - source "${HOMEgfs}/ush/file_utils.sh" [[ ! -d ${ARCDIR} ]] && mkdir -p "${ARCDIR}" diff --git a/ush/forecast_postdet.sh b/ush/forecast_postdet.sh index 3f4b0d58bf..cfe54fc879 100755 --- a/ush/forecast_postdet.sh +++ b/ush/forecast_postdet.sh @@ -928,7 +928,7 @@ MOM6_nml() { MOM6_out() { echo "SUB ${FUNCNAME[0]}: Copying output data for MOM6" - # Copy MOM_input from DATA to COMOUTocean after the forecast is run (and successfull) + # Copy MOM_input from DATA to COM_OCEAN_INPUT after the forecast is run (and successfull) if [[ ! -d ${COM_OCEAN_INPUT} ]]; then mkdir -p "${COM_OCEAN_INPUT}"; fi ${NCP} "${DATA}/INPUT/MOM_input" "${COM_OCEAN_INPUT}/" diff --git a/ush/forecast_predet.sh b/ush/forecast_predet.sh index ec122ef7ce..334eacedef 100755 --- a/ush/forecast_predet.sh +++ b/ush/forecast_predet.sh @@ -253,11 +253,6 @@ FV3_GFS_predet(){ WW3_predet(){ echo "SUB ${FUNCNAME[0]}: Defining variables for WW3" - # if [[ $CDUMP =~ "gdas" ]]; then - # export RSTDIR_WAVE=$ROTDIR/${CDUMP}.${PDY}/${cyc}/wave/restart - # else - # export RSTDIR_WAVE=${RSTDIR_WAVE:-$ROTDIR/${CDUMP}.${PDY}/${cyc}/wave/restart} - # fi if [[ ! -d "${COM_WAVE_RESTART}" ]]; then mkdir -p "${COM_WAVE_RESTART}" ; fi ${NLN} "${COM_WAVE_RESTART}" "restart_wave" }