-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild_fo.sh
executable file
·42 lines (42 loc) · 1.07 KB
/
build_fo.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
#build and install find orb
mkdir -p find_orb
cd find_orb
git clone https://github.com/Bill-Gray/lunar.git
cd lunar
git checkout 005ccaa469b32abc0df84b512d52e8b1c80efbda
cd ..
git clone https://github.com/Bill-Gray/sat_code.git
cd sat_code
git checkout 66afa0860da796a4ff4b4557531fb4e6ae44a095
cd ..
git clone https://github.com/Bill-Gray/jpl_eph.git
cd jpl_eph
git checkout 0c2782e86e42df69a55c2b2db0b72a40312c79c0
cd ..
git clone https://github.com/Bill-Gray/find_orb.git
cd find_orb
git checkout f574af87ed11f5ec5b69ef8125e8b539de6d6645
cd ..
git clone https://github.com/Bill-Gray/miscell.git
cd miscell
git checkout f4565afdf9d0324e798527f837e0814f8de0abe0
cd ..
cd jpl_eph
make libjpl.a
make install
cd ../lunar
make
make integrat
make install
cd ../sat_code
make sat_id
make install
cd ../find_orb
make
make install
cd ../.find_orb
cd ../.find_orb
[ ! -f linux_p1550p2650.440t ] && wget https://ssd.jpl.nasa.gov/ftp/eph/planets/Linux/de440t/linux_p1550p2650.440t
[ ! -f bc405.dat ] && wget -O bc405.dat https://storage.googleapis.com/asteroid-institute-data/ephemeris/bc405.dat
cd -
cd ../..