-
Notifications
You must be signed in to change notification settings - Fork 0
/
masterscript.sh
45 lines (45 loc) · 2.12 KB
/
masterscript.sh
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
#!/bin/bash
shopt -s extglob
echo "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
echo
echo "Reattaching FITs headers to data files within the /mnt/d/UKRIT_2021/ToBeProcessed directory."
echo
echo "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
python3 /mnt/d/UKRIT_2021/Scripts/rebuildFITS.py /mnt/d/UKRIT_2021/ToBeProcessed;
echo "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
echo
echo "Making Master Dark calibration files."
echo
echo "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
~/createmasterdarks.sh;
echo "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
echo
echo "Building Directories in NewlyProcessed."
echo
echo "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
python3 /mnt/d/UKRIT_2021/Scripts/buildimageDirectory.py /mnt/d/UKRIT_2021/ToBeProcessed /mnt/d/UKRIT_2021/NewlyProcessed;
echo "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
echo
echo "Running QuickReduce on the data files."
echo
echo "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
python3 /mnt/d/UKRIT_2021/Scripts/quickReduce.py /mnt/d/UKRIT_2021/NewlyProcessed /mnt/d/UKRIT_2021/Masters/Darks /mnt/d/UKRIT_2021/Masters/CASU_Flats;
echo "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
echo
echo "Using Astrometry.net to do blind plate solutions on images."
echo
echo "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
echo "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
echo
echo "Current directory is now /mnt/d/UKRIT_2021/NewlyProcessed."
echo
echo "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
cd /mnt/d/UKRIT_2021/NewlyProcessed;
~/astrometry.sh
cd /mnt/d/UKRIT_2021/NewlyProcessed;
echo "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
echo
echo "MasterScript is now handing off to (launching) firststeps.sh ."
echo
echo "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
~/firststeps.sh;