Skip to content

Commit 7b95068

Browse files
Add new path variables to remaining run scripts.
Fixes ufs-community#772.
1 parent c9b2d94 commit 7b95068

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

util/gdas_init/copy_coldstart_files.sh

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/bash
22

3+
# Copy files from the working directory to the
4+
# output directory.
5+
36
copy_data()
47
{
58

util/gdas_init/run_pre-v14.chgres.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ rm -fr $WORKDIR
3636
mkdir -p $WORKDIR
3737
cd $WORKDIR
3838

39-
source $UFS_DIR/util/gdas_init/set_fixed_files.sh
39+
source $GDAS_INIT_DIR/set_fixed_files.sh
4040

4141
cat << EOF > fort.41
4242
@@ -61,14 +61,14 @@ cat << EOF > fort.41
6161
/
6262
EOF
6363

64-
$APRUN $UFS_DIR/exec/chgres_cube
64+
$APRUN $EXEC_DIR/chgres_cube
6565
rc=$?
6666

6767
if [ $rc != 0 ]; then
6868
exit $rc
6969
fi
7070

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
7272

7373
rm -fr $WORKDIR
7474

util/gdas_init/run_v14.chgres.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ rm -fr $WORKDIR
3232
mkdir -p $WORKDIR
3333
cd $WORKDIR
3434

35-
source $UFS_DIR/util/gdas_init/set_fixed_files.sh
35+
source $GDAS_INIT_DIR/set_fixed_files.sh
3636

3737
cat << EOF > fort.41
3838
@@ -58,14 +58,14 @@ cat << EOF > fort.41
5858
/
5959
EOF
6060

61-
$APRUN $UFS_DIR/exec/chgres_cube
61+
$APRUN $EXEC_DIR/chgres_cube
6262
rc=$?
6363

6464
if [ $rc != 0 ]; then
6565
exit $rc
6666
fi
6767

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
6969

7070
rm -fr $WORKDIR
7171

util/gdas_init/run_v16.chgres.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ rm -fr $WORKDIR
4646
mkdir -p $WORKDIR
4747
cd $WORKDIR
4848

49-
source $UFS_DIR/util/gdas_init/set_fixed_files.sh
49+
source $GDAS_INIT_DIR/set_fixed_files.sh
5050

5151
cat << EOF > fort.41
5252
@@ -71,14 +71,14 @@ cat << EOF > fort.41
7171
/
7272
EOF
7373

74-
$APRUN $UFS_DIR/exec/chgres_cube
74+
$APRUN $EXEC_DIR/chgres_cube
7575
rc=$?
7676

7777
if [ $rc != 0 ]; then
7878
exit $rc
7979
fi
8080

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
8282

8383
rm -fr $WORKDIR
8484

0 commit comments

Comments
 (0)