Skip to content

Commit 4529e8c

Browse files
Bug fix.
1 parent 8e4f94d commit 4529e8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ush/load_ufsda_modules.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ module use "${HOMEgfs}/sorc/gdas.cd/modulefiles"
3636
case "${MACHINE_ID}" in
3737
("hera" | "orion" | "hercules")
3838
module load "${MODS}/${MACHINE_ID}"
39-
NETCDF=$( command -v ncdump )
39+
ncdump=$( command -v ncdump )
40+
NETCDF=$( echo "${ncdump}" | cut -d " " -f 3 )
4041
export NETCDF
4142
;;
4243
("wcoss2" | "acorn" | "jet" | "gaea" | "s4")

0 commit comments

Comments
 (0)