Skip to content

Commit

Permalink
Ref #1028
Browse files Browse the repository at this point in the history
Linter changes.
  • Loading branch information
EdwardSafford-NOAA committed Sep 26, 2022
1 parent c2a7988 commit 1bfae09
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/exgdas_atmos_verfrad.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,15 +144,15 @@ if [[ -s ${radstat} && -s ${biascr} ]]; then
netcdf=1
fi

if [[ $(find . -maxdepth 1 -type f -name diag_${type}_ges.${PDATE}*.${Z} | wc -l) > 0 ]]; then
if [[ $(find . -maxdepth 1 -type f -name "diag_${type}_ges.${PDATE}*.${Z}" | wc -l) -gt 0 ]]; then
mv diag_${type}_ges.${PDATE}*.${Z} ${type}.${Z}
${UNCOMPRESS} ./${type}.${Z}
else
echo "WARNING: diag_${type}_ges.${PDATE}*.${Z} not available, skipping"
fi

if [[ $USE_ANL -eq 1 ]]; then
if [[ $(find . -maxdepth 1 -type f -name diag_${type}_anl.${PDATE}*.${Z} | wc -l) > 0 ]]; then
if [[ $(find . -maxdepth 1 -type f -name "diag_${type}_anl.${PDATE}*.${Z}" | wc -l) -gt 0 ]]; then
mv diag_${type}_anl.${PDATE}*.${Z} ${type}_anl.${Z}
${UNCOMPRESS} ./${type}_anl.${Z}
else
Expand All @@ -173,17 +173,17 @@ if [[ -s ${radstat} && -s ${biascr} ]]; then
${USHradmon}/radmon_verf_bcoef.sh ${PDATE}
rc_bcoef=$?

${USHradmon}/radmon_verf_bcor.sh ${PDATE}
${USHradmon}/radmon_verf_bcor.sh "${PDATE}"
rc_bcor=$?

${USHradmon}/radmon_verf_time.sh ${PDATE}
${USHradmon}/radmon_verf_time.sh "${PDATE}"
rc_time=$?

#--------------------------------------
# optionally run clean_tankdir script
#
if [[ ${CLEAN_TANKVERF:-0} -eq 1 ]]; then
"${USHradmon}/clean_tankdir.sh glb 60"
"${USHradmon}/clean_tankdir.sh" glb 60
rc_clean_tankdir=$?
echo "rc_clean_tankdir = $rc_clean_tankdir"
fi
Expand Down Expand Up @@ -214,7 +214,7 @@ export CHGRP_CMD=${CHGRP_CMD:-"chgrp ${group_name:-rstprod}"}
rlist="saphir"
for rtype in $rlist; do
if compgen -G "$TANKverf_rad/*${rtype}*" > /dev/null; then
${CHGRP_CMD} "$TANKverf_rad/*${rtype}*"
${CHGRP_CMD} "${TANKverf_rad}"/*${rtype}*
fi
done

Expand Down

0 comments on commit 1bfae09

Please sign in to comment.