Commit c9b2d94 1 parent ebc063e commit c9b2d94 Copy full SHA for c9b2d94
File tree 4 files changed +14
-10
lines changed
4 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,10 @@ OUTDIR=/lfs/h2/emc/stmp/$USER/gdas.init/output
79
79
#---------------------------------------------------------
80
80
# Dont touch anything below here.
81
81
#---------------------------------------------------------
82
+
83
+ GDAS_INIT_DIR=$UFS_DIR/util/gdas_init
84
+ EXEC_DIR=$UFS_DIR/exec
85
+
82
86
if [ "$use_v16retro" = "yes" ]; then
83
87
84
88
gfs_ver=v16retro
113
117
fi
114
118
115
119
export EXTRACT_DIR yy mm dd hh UFS_DIR OUTDIR CRES_HIRES CRES_ENKF FRAC_ORO
116
- export LEVS gfs_ver
120
+ export LEVS gfs_ver EXEC_DIR GDAS_INIT_DIR
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ rm -fr $WORKDIR
22
22
mkdir -p $WORKDIR
23
23
cd $WORKDIR
24
24
25
- source $UFS_DIR /util/gdas_init /set_fixed_files.sh
25
+ source $GDAS_INIT_DIR /set_fixed_files.sh
26
26
27
27
cat << EOF > fort.41
28
28
@@ -47,14 +47,14 @@ cat << EOF > fort.41
47
47
/
48
48
EOF
49
49
50
- $APRUN $UFS_DIR /exec /chgres_cube
50
+ $APRUN $EXEC_DIR /chgres_cube
51
51
rc=$?
52
52
53
53
if [ $rc != 0 ]; then
54
54
exit $rc
55
55
fi
56
56
57
- $UFS_DIR /util/gdas_init /copy_coldstart_files.sh gfs $OUTDIR $yy $mm $dd $hh $INPUT_DATA_DIR
57
+ $GDAS_INIT_DIR /copy_coldstart_files.sh gfs $OUTDIR $yy $mm $dd $hh $INPUT_DATA_DIR
58
58
59
59
rm -fr $WORKDIR
60
60
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ rm -fr $WORKDIR
38
38
mkdir -p $WORKDIR
39
39
cd $WORKDIR
40
40
41
- source $UFS_DIR /util/gdas_init /set_fixed_files.sh
41
+ source $GDAS_INIT_DIR /set_fixed_files.sh
42
42
43
43
cat << EOF > fort.41
44
44
@@ -66,14 +66,14 @@ cat << EOF > fort.41
66
66
/
67
67
EOF
68
68
69
- $APRUN $UFS_DIR /exec /chgres_cube
69
+ $APRUN $EXEC_DIR /chgres_cube
70
70
rc=$?
71
71
72
72
if [ $rc != 0 ]; then
73
73
exit $rc
74
74
fi
75
75
76
- $UFS_DIR /util/gdas_init /copy_coldstart_files.sh $MEMBER $OUTDIR $yy $mm $dd $hh $RADSTAT_DATA_DIR
76
+ $GDAS_INIT_DIR /copy_coldstart_files.sh $MEMBER $OUTDIR $yy $mm $dd $hh $RADSTAT_DATA_DIR
77
77
78
78
rm -fr $WORKDIR
79
79
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ rm -fr $WORKDIR
56
56
mkdir -p $WORKDIR
57
57
cd $WORKDIR
58
58
59
- source $UFS_DIR /util/gdas_init /set_fixed_files.sh
59
+ source $GDAS_INIT_DIR /set_fixed_files.sh
60
60
61
61
cat << EOF > fort.41
62
62
@@ -84,14 +84,14 @@ cat << EOF > fort.41
84
84
/
85
85
EOF
86
86
87
- $APRUN $UFS_DIR /exec /chgres_cube
87
+ $APRUN $EXEC_DIR /chgres_cube
88
88
rc=$?
89
89
90
90
if [ $rc != 0 ]; then
91
91
exit $rc
92
92
fi
93
93
94
- $UFS_DIR /util/gdas_init /copy_coldstart_files.sh $MEMBER $OUTDIR $yy $mm $dd $hh $RADSTAT_DATA_DIR
94
+ $GDAS_INIT_DIR /copy_coldstart_files.sh $MEMBER $OUTDIR $yy $mm $dd $hh $RADSTAT_DATA_DIR
95
95
96
96
rm -fr $WORKDIR
97
97
You can’t perform that action at this time.
0 commit comments