Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions sorc/link_workflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ if [ -d "${script_dir}/gdas.cd" ]; then
[[ ! -d gdas ]] && mkdir -p gdas
cd gdas || exit 1
for gdas_sub in bump crtm fv3jedi; do
if [ -d "${gdas_sub}" ]; then
rm -rf "${gdas_sub}"
fi
fix_ver="gdas_${gdas_sub}_ver"
${LINK} "${FIX_DIR}/gdas/${gdas_sub}/${!fix_ver}" "${gdas_sub}"
done
Expand All @@ -203,7 +206,7 @@ if [ -d "${script_dir}/gsi_monitor.fd" ]; then
[[ ! -d gdas ]] && ( mkdir -p gdas || exit 1 )
cd gdas || exit 1
${LINK} "${script_dir}/gsi_monitor.fd/src/Minimization_Monitor/nwprod/gdas/fix/gdas_minmon_cost.txt" .
${LINK} "${script_dir}/gsi_monitor.fd/src/Minimization_Monitor/nwprod/gdas/fix/gdas_minmon_gnorm.txt " .
${LINK} "${script_dir}/gsi_monitor.fd/src/Minimization_Monitor/nwprod/gdas/fix/gdas_minmon_gnorm.txt" .
${LINK} "${script_dir}/gsi_monitor.fd/src/Ozone_Monitor/nwprod/gdas_oznmon/fix/gdas_oznmon_base.tar" .
${LINK} "${script_dir}/gsi_monitor.fd/src/Ozone_Monitor/nwprod/gdas_oznmon/fix/gdas_oznmon_satype.txt" .
${LINK} "${script_dir}/gsi_monitor.fd/src/Radiance_Monitor/nwprod/gdas_radmon/fix/gdas_radmon_base.tar" .
Expand Down Expand Up @@ -245,7 +248,7 @@ if [ -d "${script_dir}/gfs_wafs.fd" ]; then
wafs_awc_wafavn.x wafs_blending.x wafs_blending_0p25.x \
wafs_cnvgrib2.x wafs_gcip.x wafs_grib2_0p25.x \
wafs_makewafs.x wafs_setmissing.x; do
[[ -s ${wafsexe} ]] && rm -f ${wafsexe}
[[ -s ${wafsexe} ]] && rm -f "${wafsexe}"
${LINK} "${script_dir}/gfs_wafs.fd/exec/${wafsexe}" .
done
fi
Expand All @@ -269,7 +272,7 @@ if [ -d "${script_dir}/gsi_utils.fd" ]; then
for exe in calc_analysis.x calc_increment_ens_ncio.x calc_increment_ens.x \
getsfcensmeanp.x getsigensmeanp_smooth.x getsigensstatp.x \
interp_inc.x recentersigp.x;do
[[ -s "${exe}" ]] && rm -f ${exe}
[[ -s "${exe}" ]] && rm -f "${exe}"
${LINK} "${script_dir}/gsi_utils.fd/install/bin/${exe}" .
done
fi
Expand Down Expand Up @@ -371,7 +374,7 @@ cd "${script_dir}" || exit 8
emcsfc_ice_blend.fd \
emcsfc_snow2mdl.fd ;do
[[ -d "${prog}" ]] && rm -rf "${prog}"
${SLINK} "ufs_utils.fd/sorc/${prog}" ${prog}
${SLINK} "ufs_utils.fd/sorc/${prog}" "${prog}"
done

for prog in enkf_chgres_recenter.fd \
Expand All @@ -395,7 +398,7 @@ cd "${script_dir}" || exit 8
webtitle.fd
do
if [[ -d "${prog}" ]]; then rm -rf "${prog}"; fi
${LINK} gfs_utils.fd/src/${prog} .
${LINK} "gfs_utils.fd/src/${prog}" .
done

if [ -d "${script_dir}/gfs_wafs.fd" ]; then
Expand Down