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 23, 2022
1 parent c2a7988 commit ec9e67a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 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,10 +173,10 @@ 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=$?

#--------------------------------------
Expand Down

0 comments on commit ec9e67a

Please sign in to comment.