Skip to content

Commit

Permalink
Remove implicit symlink names (#2527)
Browse files Browse the repository at this point in the history
Lustre has a defect under Rocky 9 that results in symlink sometimes
failing when the link name is not explicit. This updates all link
creation to use explicit names.

`config.base` is updated to turn off two monitor jobs on Hercules
because the executables are not yet built there. This, combined with the
previous change, should make workflow available for use on Hercules.

Also removes the redundant utility names for NCP, NLN, etc. in the gdas
scripts that are already defined in `config.base`.

Resolves #2131
Resolves #2522
  • Loading branch information
WalterKolczynski-NOAA authored Apr 30, 2024
1 parent 762f040 commit 53b6764
Show file tree
Hide file tree
Showing 57 changed files with 121 additions and 160 deletions.
4 changes: 2 additions & 2 deletions gempak/ush/gdas_ecmwf_meta_ver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fi

export COMIN="gdas.${PDY}${cyc}"
if [[ ! -L ${COMIN} ]]; then
ln -sf "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
fi
vergrid="F-GDAS | ${PDY:2}/0600"
fcsthr="0600f006"
Expand All @@ -49,7 +49,7 @@ for area in ${areas}; do
sdatenum=$(date --utc +%y%m%d -d "${PDY} ${cyc2} - ${fhr} hours")

if [[ ! -L "ecmwf.20${sdatenum}" ]]; then
ln -sf "${COMINecmwf}/ecmwf.20${sdatenum}/gempak" "ecmwf.20${sdatenum}"
${NLN} "${COMINecmwf}/ecmwf.20${sdatenum}/gempak" "ecmwf.20${sdatenum}"
fi
gdfile="ecmwf.20${sdatenum}/ecmwf_glob_20${sdatenum}12"

Expand Down
4 changes: 2 additions & 2 deletions gempak/ush/gdas_meta_loop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ device="nc | gdasloop.meta"
#
export COMIN="${RUN}.${PDY}${cyc}"
if [[ ! -L "${COMIN}" ]]; then
ln -sf "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
fi

if [[ "${envir}" == "para" ]] ; then
Expand Down Expand Up @@ -41,7 +41,7 @@ for (( fhr=24; fhr<=144; fhr+=24 )); do
YMD=${day} HH=${cyc} GRID=1p00 declare_from_tmpl "COM_ATMOS_GEMPAK_1p00_past:COM_ATMOS_GEMPAK_TMPL"
export COMIN="${RUN}.${day}${cycle}"
if [[ ! -L "${COMIN}" ]]; then
ln -sf "${COM_ATMOS_GEMPAK_1p00_past}" "${COMIN}"
${NLN} "${COM_ATMOS_GEMPAK_1p00_past}" "${COMIN}"
fi
gdfile="${COMIN}/gdas_1p00_${day}${cycle}f000"

Expand Down
2 changes: 1 addition & 1 deletion gempak/ush/gdas_meta_na.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ device="nc | gdas.meta"
#
export COMIN="${RUN}.${PDY}${cyc}"
if [[ ! -L "${COMIN}" ]]; then
ln -sf "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
fi

if [[ "${envir}" == "para" ]] ; then
Expand Down
4 changes: 2 additions & 2 deletions gempak/ush/gdas_ukmet_meta_ver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ cp "${HOMEgfs}/gempak/fix/datatype.tbl" datatype.tbl
# SET CURRENT CYCLE AS THE VERIFICATION GRIDDED FILE.
export COMIN="gdas.${PDY}${cyc}"
if [[ ! -L ${COMIN} ]]; then
ln -sf "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
fi
vergrid="F-GDAS | ${PDY:2}/0600"
fcsthr="0600f006"
Expand Down Expand Up @@ -54,7 +54,7 @@ for area in ${areas}; do
cyclenum=${stime:6}

if [[ ! -L "ukmet.20${sdatenum}" ]]; then
ln -sf "${COMINukmet}/ukmet.20${sdatenum}/gempak" "ukmet.20${sdatenum}"
${NLN} "${COMINukmet}/ukmet.20${sdatenum}/gempak" "ukmet.20${sdatenum}"
fi
gdfile="ukmet.20${sdatenum}/ukmet_20${sdatenum}${cyclenum}${dgdattim}"

Expand Down
2 changes: 1 addition & 1 deletion gempak/ush/gfs_meta_ak.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ device="nc | gfs.meta.ak"
#
export COMIN="${RUN}.${PDY}${cyc}"
if [[ ! -L ${COMIN} ]]; then
ln -sf "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
fi

fend=F216
Expand Down
2 changes: 1 addition & 1 deletion gempak/ush/gfs_meta_bwx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ device="nc | ${metaname}"
#
export COMIN="${RUN}.${PDY}${cyc}"
if [[ ! -L ${COMIN} ]]; then
ln -sf "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
fi

fend=F180
Expand Down
8 changes: 4 additions & 4 deletions gempak/ush/gfs_meta_comp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ for cycle in $(seq -f "%02g" -s ' ' 0 "${STEP_GFS}" "${cyc}"); do
for file_in in "${gempak_dir}/gfs_1p00_${PDY}${cycle}f"*; do
file_out="${COMIN}/$(basename "${file_in}")"
if [[ ! -L "${file_out}" ]]; then
ln -sf "${file_in}" "${file_out}"
${NLN} "${file_in}" "${file_out}"
fi
done
done

export HPCNAM="nam.${PDY}"
if [[ ! -L ${HPCNAM} ]]; then
ln -sf "${COMINnam}/nam.${PDY}/gempak" "${HPCNAM}"
${NLN} "${COMINnam}/nam.${PDY}/gempak" "${HPCNAM}"
fi

#
Expand Down Expand Up @@ -100,7 +100,7 @@ for gareas in US NP; do
HPCGFS="${RUN}.${init_time}"
if [[ ! -L ${HPCGFS} ]]; then
YMD="${init_PDY}" HH="${init_cyc}" GRID="1p00" declare_from_tmpl source_dir:COM_ATMOS_GEMPAK_TMPL
ln -sf "${source_dir}" "${HPCGFS}"
${NLN} "${source_dir}" "${HPCGFS}"
fi

if [[ ${init_PDY} == "${PDY}" ]]; then
Expand Down Expand Up @@ -230,7 +230,7 @@ EOF
ukmet_cyc=${ukmet_date:8:2}
export HPCUKMET=ukmet.${ukmet_PDY}
if [[ ! -L "${HPCUKMET}" ]]; then
ln -sf "${COMINukmet}/ukmet.${ukmet_PDY}/gempak" "${HPCUKMET}"
${NLN} "${COMINukmet}/ukmet.${ukmet_PDY}/gempak" "${HPCUKMET}"
fi
grid2="F-UKMETHPC | ${ukmet_PDY:2}/${ukmet_date}"

Expand Down
8 changes: 4 additions & 4 deletions gempak/ush/gfs_meta_crb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ device="nc | ${metaname}"
#
export COMIN="${RUN}.${PDY}${cyc}"
if [[ ! -L ${COMIN} ]]; then
ln -sf "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
fi

# DEFINE YESTERDAY
Expand Down Expand Up @@ -254,13 +254,13 @@ if [[ ${cyc} == 00 ]] ; then
HPCECMWF_m1=ecmwf.${PDY}
export HPCUKMET=ukmet.${PDYm1}
if [[ ! -L "${HPCECMWF}" ]]; then
ln -sf "${COMINecmwf}ecmwf.${PDY}/gempak" "${HPCECMWF}"
${NLN} "${COMINecmwf}ecmwf.${PDY}/gempak" "${HPCECMWF}"
fi
if [[ ! -L "${HPCECMWF_m1}" ]]; then
ln -sf "${COMINecmwf}ecmwf.${PDYm1}/gempak" "${HPCECMWF_m1}"
${NLN} "${COMINecmwf}ecmwf.${PDYm1}/gempak" "${HPCECMWF_m1}"
fi
if [[ ! -L "${HPCUKMET}" ]]; then
ln -sf "${COMINukmet}/ukmet.${PDYm1}/gempak" "${HPCUKMET}"
${NLN} "${COMINukmet}/ukmet.${PDYm1}/gempak" "${HPCUKMET}"
fi

grid1="F-${MDL} | ${PDY:2}/${cyc}00"
Expand Down
2 changes: 1 addition & 1 deletion gempak/ush/gfs_meta_hi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ device="nc | mrfhi.meta"
#
export COMIN="${RUN}.${PDY}${cyc}"
if [[ ! -L ${COMIN} ]]; then
ln -sf "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
fi

if [[ "${envir}" = "prod" ]] ; then
Expand Down
6 changes: 3 additions & 3 deletions gempak/ush/gfs_meta_hur.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ device="nc | ${metaname}"
#
export COMIN="${RUN}.${PDY}${cyc}"
if [[ ! -L ${COMIN} ]]; then
ln -sf "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
fi

#
Expand Down Expand Up @@ -307,13 +307,13 @@ if [[ ${cyc} -eq 00 ]] ; then
HPCECMWF_m1=ecmwf.${PDY}
export HPCUKMET=ukmet.${PDYm1}
if [[ ! -L "${HPCECMWF}" ]]; then
ln -sf "${COMINecmwf}ecmwf.${PDY}/gempak" "${HPCECMWF}"
${NLN} "${COMINecmwf}ecmwf.${PDY}/gempak" "${HPCECMWF}"
fi
if [[ ! -L "${HPCECMWF_m1}" ]]; then
Ln -sf "${COMINecmwf}ecmwf.${PDYm1}/gempak" "${HPCECMWF_m1}"
fi
if [[ ! -L "${HPCUKMET}" ]]; then
ln -sf "${COMINukmet}/ukmet.${PDYm1}/gempak" "${HPCUKMET}"
${NLN} "${COMINukmet}/ukmet.${PDYm1}/gempak" "${HPCUKMET}"
fi
grid1="F-${MDL} | ${PDY:2}/${cyc}00"
grid2="${HPCECMWF_m1}/ecmwf_glob_${PDYm1}12"
Expand Down
2 changes: 1 addition & 1 deletion gempak/ush/gfs_meta_mar_atl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cp "${HOMEgfs}/gempak/fix/datatype.tbl" datatype.tbl
#
export COMIN="${RUN}.${PDY}${cyc}"
if [[ ! -L ${COMIN} ]]; then
ln -sf "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
fi

mdl=gfs
Expand Down
10 changes: 5 additions & 5 deletions gempak/ush/gfs_meta_mar_comp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ for cycle in $(seq -f "%02g" -s ' ' 0 "${STEP_GFS}" "${cyc}"); do
for file_in in "${gempak_dir}/gfs_1p00_${PDY}${cycle}f"*; do
file_out="${COMIN}/$(basename "${file_in}")"
if [[ ! -L "${file_out}" ]]; then
ln -sf "${file_in}" "${file_out}"
${NLN} "${file_in}" "${file_out}"
fi
done
done
Expand All @@ -31,7 +31,7 @@ done
#
export HPCNAM="nam.${PDY}"
if [[ ! -L ${HPCNAM} ]]; then
ln -sf "${COMINnam}/nam.${PDY}/gempak" "${HPCNAM}"
${NLN} "${COMINnam}/nam.${PDY}/gempak" "${HPCNAM}"
fi

mdl=gfs
Expand Down Expand Up @@ -77,7 +77,7 @@ for garea in NAtl NPac; do
HPCGFS="${RUN}.${init_time}"
if [[ ! -L ${HPCGFS} ]]; then
YMD="${init_PDY}" HH="${init_cyc}" GRID="1p00" declare_from_tmpl source_dir:COM_ATMOS_GEMPAK_TMPL
ln -sf "${source_dir}" "${HPCGFS}"
${NLN} "${source_dir}" "${HPCGFS}"
fi

case ${cyc} in
Expand Down Expand Up @@ -222,7 +222,7 @@ EOF

export HPCUKMET="ukmet.${ukmet_PDY}"
if [[ ! -L "${HPCUKMET}" ]]; then
ln -sf "${COMINukmet}/ukmet.${ukmet_PDY}/gempak" "${HPCUKMET}"
${NLN} "${COMINukmet}/ukmet.${ukmet_PDY}/gempak" "${HPCUKMET}"
fi
grid2="F-UKMETHPC | ${ukmet_PDY:2}/${ukmet_date}"

Expand Down Expand Up @@ -310,7 +310,7 @@ EOF

HPCECMWF=ecmwf.${PDY}
if [[ ! -L "${HPCECMWF}" ]]; then
ln -sf "${COMINecmwf}/ecmwf.${ecmwf_PDY}/gempak" "${HPCECMWF}"
${NLN} "${COMINecmwf}/ecmwf.${ecmwf_PDY}/gempak" "${HPCECMWF}"
fi
grid2="${HPCECMWF}/ecmwf_glob_${ecmwf_date}"

Expand Down
2 changes: 1 addition & 1 deletion gempak/ush/gfs_meta_mar_pac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cp "${HOMEgfs}/gempak/fix/datatype.tbl" datatype.tbl
#
export COMIN="${RUN}.${PDY}${cyc}"
if [[ ! -L ${COMIN} ]]; then
ln -sf "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
fi

mdl=gfs
Expand Down
2 changes: 1 addition & 1 deletion gempak/ush/gfs_meta_mar_ql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cp "${HOMEgfs}/gempak/fix/datatype.tbl" datatype.tbl
#
export COMIN="${RUN}.${PDY}${cyc}"
if [[ ! -L ${COMIN} ]]; then
ln -sf "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
fi

mdl=gfs
Expand Down
2 changes: 1 addition & 1 deletion gempak/ush/gfs_meta_mar_skewt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cp "${HOMEgfs}/gempak/fix/datatype.tbl" datatype.tbl
#
export COMIN="${RUN}.${PDY}${cyc}"
if [[ ! -L ${COMIN} ]]; then
ln -sf "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
fi

mdl=gfs
Expand Down
2 changes: 1 addition & 1 deletion gempak/ush/gfs_meta_mar_ver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cp "${HOMEgfs}/gempak/fix/datatype.tbl" datatype.tbl
#
export COMIN="${RUN}.${PDY}${cyc}"
if [[ ! -L ${COMIN} ]]; then
ln -sf "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
fi

mdl=gfs
Expand Down
2 changes: 1 addition & 1 deletion gempak/ush/gfs_meta_nhsh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cp "${HOMEgfs}/gempak/fix/datatype.tbl" datatype.tbl
#
export COMIN="${RUN}.${PDY}${cyc}"
if [[ ! -L ${COMIN} ]]; then
ln -sf "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
fi

if [[ "${envir}" == "para" ]] ; then
Expand Down
4 changes: 2 additions & 2 deletions gempak/ush/gfs_meta_opc_na_ver
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cp "${HOMEgfs}/gempak/fix/datatype.tbl" datatype.tbl
#
export COMIN="${RUN}.${PDY}${cyc}"
if [[ ! -L ${COMIN} ]]; then
ln -sf "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
fi

mdl=gfs
Expand Down Expand Up @@ -64,7 +64,7 @@ for lookback in "${lookbacks[@]}"; do
HPCGFS="${RUN}.${init_time}"
if [[ ! -L ${HPCGFS} ]]; then
YMD=${init_PDY} HH=${init_cyc} GRID="1p00" declare_from_tmpl source_dir:COM_ATMOS_GEMPAK_TMPL
ln -sf "${source_dir}" "${HPCGFS}"
${NLN} "${source_dir}" "${HPCGFS}"
fi

grid="F-${MDL2} | ${init_PDY}/${init_cyc}00"
Expand Down
4 changes: 2 additions & 2 deletions gempak/ush/gfs_meta_opc_np_ver
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cp "${HOMEgfs}/gempak/fix/datatype.tbl" datatype.tbl
#
export COMIN="${RUN}.${PDY}${cyc}"
if [[ ! -L ${COMIN} ]]; then
ln -sf "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
fi

mdl=gfs
Expand Down Expand Up @@ -64,7 +64,7 @@ for lookback in "${lookbacks[@]}"; do
HPCGFS="${RUN}.${init_time}"
if [[ ! -L "${HPCGFS}" ]]; then
YMD=${init_PDY} HH=${init_cyc} GRID="1p00" declare_from_tmpl source_dir:COM_ATMOS_GEMPAK_TMPL
ln -sf "${source_dir}" "${HPCGFS}"
${NLN} "${source_dir}" "${HPCGFS}"
fi

grid="F-${MDL2} | ${init_PDY}/${init_cyc}00"
Expand Down
2 changes: 1 addition & 1 deletion gempak/ush/gfs_meta_precip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cp "${HOMEgfs}/gempak/fix/datatype.tbl" datatype.tbl
#
export COMIN="${RUN}.${PDY}${cyc}"
if [[ ! -L ${COMIN} ]]; then
ln -sf "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
fi

#
Expand Down
2 changes: 1 addition & 1 deletion gempak/ush/gfs_meta_qpf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cp "${HOMEgfs}/gempak/fix/datatype.tbl" datatype.tbl
#
export COMIN="${RUN}.${PDY}${cyc}"
if [[ ! -L ${COMIN} ]]; then
ln -sf "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
fi

mdl=gfs
Expand Down
2 changes: 1 addition & 1 deletion gempak/ush/gfs_meta_sa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cp "${HOMEgfs}/gempak/fix/datatype.tbl" datatype.tbl
#
export COMIN="${RUN}.${PDY}${cyc}"
if [[ ! -L ${COMIN} ]]; then
ln -sf "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
fi

mdl=gfs
Expand Down
6 changes: 3 additions & 3 deletions gempak/ush/gfs_meta_sa2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ cp "${HOMEgfs}/gempak/fix/datatype.tbl" datatype.tbl
#
export HPCGFS="${RUN}.${PDY}${cyc}"
if [[ ! -L ${HPCGFS} ]]; then
ln -sf "${COM_ATMOS_GEMPAK_1p00}" "${HPCGFS}"
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${HPCGFS}"
fi

mdl=gfs
Expand All @@ -38,10 +38,10 @@ PDYm1="$(date --utc +%Y%m%d -d "${PDY} ${cyc} - 24 hours")"
HPCECMWF="ecmwf.${PDYm1}"
HPCUKMET="ukmet.${PDY}"
if [[ ! -L "${HPCECMWF}" ]]; then
ln -sf "${COMINecmwf}/ecmwf.${PDYm1}/gempak" "${HPCECMWF}"
${NLN} "${COMINecmwf}/ecmwf.${PDYm1}/gempak" "${HPCECMWF}"
fi
if [[ ! -L "${HPCUKMET}" ]]; then
ln -sf "${COMINukmet}/ukmet.${PDY}/gempak" "${HPCUKMET}"
${NLN} "${COMINukmet}/ukmet.${PDY}/gempak" "${HPCUKMET}"
fi

"${GEMEXE}/gdplot2_nc" << EOF
Expand Down
2 changes: 1 addition & 1 deletion gempak/ush/gfs_meta_trop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cp "${HOMEgfs}/gempak/fix/datatype.tbl" datatype.tbl
#
export COMIN="${RUN}.${PDY}${cyc}"
if [[ ! -L ${COMIN} ]]; then
ln -sf "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
fi

mdl=gfs
Expand Down
2 changes: 1 addition & 1 deletion gempak/ush/gfs_meta_us.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cp "${HOMEgfs}/gempak/fix/datatype.tbl" datatype.tbl
#
export COMIN="${RUN}.${PDY}${cyc}"
if [[ ! -L ${COMIN} ]]; then
ln -sf "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
fi

device="nc | gfs.meta"
Expand Down
2 changes: 1 addition & 1 deletion gempak/ush/gfs_meta_usext.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cp "${HOMEgfs}/gempak/fix/ak_sfstns.tbl" alaska.tbl
#
export COMIN="${RUN}.${PDY}${cyc}"
if [[ ! -L ${COMIN} ]]; then
ln -sf "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
${NLN} "${COM_ATMOS_GEMPAK_1p00}" "${COMIN}"
fi

device="nc | mrf.meta"
Expand Down
Loading

0 comments on commit 53b6764

Please sign in to comment.