Commit 7b95068 1 parent c9b2d94 commit 7b95068 Copy full SHA for 7b95068
File tree 4 files changed +12
-9
lines changed
4 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
+ # Copy files from the working directory to the
4
+ # output directory.
5
+
3
6
copy_data ()
4
7
{
5
8
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ rm -fr $WORKDIR
36
36
mkdir -p $WORKDIR
37
37
cd $WORKDIR
38
38
39
- source $UFS_DIR /util/gdas_init /set_fixed_files.sh
39
+ source $GDAS_INIT_DIR /set_fixed_files.sh
40
40
41
41
cat << EOF > fort.41
42
42
@@ -61,14 +61,14 @@ cat << EOF > fort.41
61
61
/
62
62
EOF
63
63
64
- $APRUN $UFS_DIR /exec /chgres_cube
64
+ $APRUN $EXEC_DIR /chgres_cube
65
65
rc=$?
66
66
67
67
if [ $rc != 0 ]; then
68
68
exit $rc
69
69
fi
70
70
71
- $UFS_DIR /util/gdas_init /copy_coldstart_files.sh $MEMBER $OUTDIR $yy $mm $dd $hh $INPUT_DATA_DIR
71
+ $GDAS_INIT_DIR /copy_coldstart_files.sh $MEMBER $OUTDIR $yy $mm $dd $hh $INPUT_DATA_DIR
72
72
73
73
rm -fr $WORKDIR
74
74
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ rm -fr $WORKDIR
32
32
mkdir -p $WORKDIR
33
33
cd $WORKDIR
34
34
35
- source $UFS_DIR /util/gdas_init /set_fixed_files.sh
35
+ source $GDAS_INIT_DIR /set_fixed_files.sh
36
36
37
37
cat << EOF > fort.41
38
38
@@ -58,14 +58,14 @@ cat << EOF > fort.41
58
58
/
59
59
EOF
60
60
61
- $APRUN $UFS_DIR /exec /chgres_cube
61
+ $APRUN $EXEC_DIR /chgres_cube
62
62
rc=$?
63
63
64
64
if [ $rc != 0 ]; then
65
65
exit $rc
66
66
fi
67
67
68
- $UFS_DIR /util/gdas_init /copy_coldstart_files.sh $MEMBER $OUTDIR $yy $mm $dd $hh $INPUT_DATA_DIR
68
+ $GDAS_INIT_DIR /copy_coldstart_files.sh $MEMBER $OUTDIR $yy $mm $dd $hh $INPUT_DATA_DIR
69
69
70
70
rm -fr $WORKDIR
71
71
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ rm -fr $WORKDIR
46
46
mkdir -p $WORKDIR
47
47
cd $WORKDIR
48
48
49
- source $UFS_DIR /util/gdas_init /set_fixed_files.sh
49
+ source $GDAS_INIT_DIR /set_fixed_files.sh
50
50
51
51
cat << EOF > fort.41
52
52
@@ -71,14 +71,14 @@ cat << EOF > fort.41
71
71
/
72
72
EOF
73
73
74
- $APRUN $UFS_DIR /exec /chgres_cube
74
+ $APRUN $EXEC_DIR /chgres_cube
75
75
rc=$?
76
76
77
77
if [ $rc != 0 ]; then
78
78
exit $rc
79
79
fi
80
80
81
- $UFS_DIR /util/gdas_init /copy_coldstart_files.sh $MEMBER $OUTDIR $yy $mm $dd $hh $INPUT_DATA_DIR
81
+ $GDAS_INIT_DIR /copy_coldstart_files.sh $MEMBER $OUTDIR $yy $mm $dd $hh $INPUT_DATA_DIR
82
82
83
83
rm -fr $WORKDIR
84
84
You can’t perform that action at this time.
0 commit comments