forked from technogeeky/MapSatAltitude
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathall-scanners-bodies.sh
executable file
·79 lines (64 loc) · 1.62 KB
/
all-scanners-bodies.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#!/usr/bin/env sh
# small bodies get special treatment
SCANNERS="AltLo1 AltLo2 AltHi1 AltHi2 AltHi3 ResLo0 ResHi0 ResHi1 ResHi2 ResHi3 ResHi4 Multi1 Multi2 Multi3 VisHi1 VisHi2 VisHi3"
#rm -rf planets
#mkdir planets
for p in "Gilly" "Minmus" "Dres"
do
echo "on $p"
for s in $SCANNERS; do
./MapSatAltitude.sh -p $p -s $s -r Low -pp -q -os forum >> $p.txt
done
mv $p_*.png planets
mv $p.txt planets
done
# big bodies get special treatment (Kerbol is incompat. with SCANsat)
for p in "Jool"
do
echo "on $p"
for s in $SCANNERS; do
./MapSatAltitude.sh -p $p -s $s -r Very -pp -q -os forum >> $p.txt
done
mv $p_*.png planets
mv $p.txt planets
done
# all the normies go here
for p in "Moho" "Eve" "Kerbin" "Mun" "Duna" "Ike" "Laythe" "Vall" "Tylo" "Bop"
do
echo "on $p"
for s in $SCANNERS; do
./MapSatAltitude.sh -p $p -s $s -r Hi -pp -q -os forum >> $p.txt
done
mv $p_*.png planets
mv $p.txt planets
done
# Pol is super-special; if you don't allow it to consider huge
# sidelap then it won't find anything
for p in "Pol"
do
echo "on $p"
for s in $SCANNERS; do
./MapSatAltitude.sh -p $p -s $s -r Very -pp -smin 1.00 -smax 3.00 -q -os forum >> $p.txt
done
mv $p_*.png planets
mv $p.txt planets
done
# RSS Bodies Go Here (-q overrides the VeryHi default setting)
for p in "Earth" "Moon"
do
echo "on $p"
for s in $SCANNERS; do
./MapSatAltitude.sh -p $p -s $s -r Very -pp -q -os forum >> $p.txt
done
mv $p_*.png planets
mv $p.txt planets
done
for p in "Eeloo"
do
echo "on $p"
for s in $SCANNERS; do
./MapSatAltitude.sh -p $p -s $s -r Low -pp -q -os forum >> $p.txt
done
mv $p_*.png planets
mv $p.txt planets
done