-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIntarsis_00_run_all
executable file
·62 lines (57 loc) · 2.43 KB
/
Intarsis_00_run_all
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/bin/bash
# This program runs all steps of Intarsis workflow from
# file preparation to the SBAS procedure.
# It logs all the messaging into intarsis.runall.log file.
# It requires file intarsis.config properly configured.
if [ ! -f intarsis.config ]; then
echo "Configuration file intarsis.config not found"
echo "Please read the documentation and create it."
exit
fi
if [ ! -f SAFE_filelist ]; then
echo "SLC list file SAFE_fileslist not found"
echo "Please read the documentation and create it."
exit
fi
if [ ! -f pins.ll ]; then
echo "Configuration file pins.ll not found"
echo "Please read the documentation and create it."
exit
fi
if [ ! -f batch_tops.config ]; then
echo "Configuration file batch_tops.config not found"
echo "Please read the documentation and create it."
exit
fi
##################
# Run the steps: #
##################
echo "Starting Intarsis Workflow" &> intarsis.runall.log
echo "#########################" &>> intarsis.runall.log
echo "Step 01: File preparation" &>> intarsis.runall.log
echo "#########################" &>> intarsis.runall.log
Intarsis_01_file_preparation &>> intarsis.runall.log
echo "#########################" &>> intarsis.runall.log
echo "Step 02: Corregistration" &>> intarsis.runall.log
echo "#########################" &>> intarsis.runall.log
Intarsis_02_allign &>> intarsis.runall.log
echo "#########################" &>> intarsis.runall.log
echo "Step 03: Interferograms" &>> intarsis.runall.log
echo "#########################" &>> intarsis.runall.log
Intarsis_03_interferograms &>> intarsis.runall.log
echo "#########################" &>> intarsis.runall.log
echo "Step 04a: Merging" &>> intarsis.runall.log
echo "#########################" &>> intarsis.runall.log
Intarsis_04a_merge &>> intarsis.runall.log
echo "#########################" &>> intarsis.runall.log
echo "Step 04b: Masking" &>> intarsis.runall.log
echo "#########################" &>> intarsis.runall.log
Intarsis_04b_mask &>> intarsis.runall.log
echo "#########################" &>> intarsis.runall.log
echo "Step 05: Unwrapping" &>> intarsis.runall.log
echo "#########################" &>> intarsis.runall.log
Intarsis_05_unwrap &>> intarsis.runall.log
echo "#########################" &>> intarsis.runall.log
echo "Step 06: SBAS" &>> intarsis.runall.log
echo "#########################" &>> intarsis.runall.log
Intarsis_06_sbas &>> intarsis.runall.log