1 | #! /bin/bash |
---|
2 | |
---|
3 | cd WPS_GEOG |
---|
4 | |
---|
5 | cp -rf res/albedo_TES . |
---|
6 | cd albedo_TES |
---|
7 | echo get TES albedo from PDS |
---|
8 | echo 1/2 |
---|
9 | wget http://pds-geosciences.wustl.edu/geo/mgs-m-tes-special-v1/global_albedo_8ppd.img . > /dev/null 2>&1 |
---|
10 | echo 2/2 |
---|
11 | wget http://pds-geosciences.wustl.edu/geo/mgs-m-tes-special-v1/global_albedo_8ppd.lbl . > /dev/null 2>&1 |
---|
12 | ls -l ./ | grep global_albedo* |
---|
13 | echo building... please wait |
---|
14 | ./tesalbedo_build.m |
---|
15 | \rm global_albedo* |
---|
16 | cd .. |
---|
17 | |
---|
18 | cp -rf res/thermal_TES . |
---|
19 | cd thermal_TES |
---|
20 | echo get TES thermal inertia from Univ. Colorado |
---|
21 | echo 1/2 |
---|
22 | wget http://lasp.colorado.edu/inertia/2007/NBmap2007.bin . > /dev/null 2>&1 |
---|
23 | echo 2/2 |
---|
24 | wget http://lasp.colorado.edu/inertia/2007/NBmap2007s.jpg . > /dev/null 2>&1 |
---|
25 | ls -l ./ | grep NBmap2007* |
---|
26 | echo building... please wait |
---|
27 | ./testhermal_build.m |
---|
28 | \rm NBmap2007* |
---|
29 | cd .. |
---|
30 | |
---|
31 | cp -rf res/mola_topo32 . |
---|
32 | cd mola_topo32 |
---|
33 | echo get MOLA 32 topography from PDS ... this could be long |
---|
34 | echo 1/2 |
---|
35 | wget http://pds-geosciences.wustl.edu/geo/mgs-m-mola-5-megdr-l3-v1/mgsl_300x/meg032/megt90n000fb.img . > /dev/null 2>&1 |
---|
36 | echo 2/2 |
---|
37 | wget http://pds-geosciences.wustl.edu/geo/mgs-m-mola-5-megdr-l3-v1/mgsl_300x/meg032/megt90n000fb.lbl . > /dev/null 2>&1 |
---|
38 | ls -l ./ | grep megt* |
---|
39 | echo building... please wait |
---|
40 | ./mola_build.m |
---|
41 | \rm megt* |
---|
42 | cd .. |
---|
43 | |
---|
44 | ### remove this line if you want to generate MOLA 64 |
---|
45 | exit |
---|
46 | |
---|
47 | cp -rf res/mola_topo64 . |
---|
48 | cd mola_topo64 |
---|
49 | echo get MOLA 64 topography from PDS ... this could be very long |
---|
50 | ls -l ./ | grep megt* |
---|
51 | echo 1/8 |
---|
52 | wget http://pds-geosciences.wustl.edu/geo/mgs-m-mola-5-megdr-l3-v1/mgsl_300x/meg064/megt90n000gb.img . > /dev/null 2>&1 |
---|
53 | echo 2/8 |
---|
54 | wget http://pds-geosciences.wustl.edu/geo/mgs-m-mola-5-megdr-l3-v1/mgsl_300x/meg064/megt90n000gb.lbl . > /dev/null 2>&1 |
---|
55 | echo 3/8 |
---|
56 | wget http://pds-geosciences.wustl.edu/geo/mgs-m-mola-5-megdr-l3-v1/mgsl_300x/meg064/megt90n180gb.img . > /dev/null 2>&1 |
---|
57 | echo 4/8 |
---|
58 | wget http://pds-geosciences.wustl.edu/geo/mgs-m-mola-5-megdr-l3-v1/mgsl_300x/meg064/megt90n180gb.lbl . > /dev/null 2>&1 |
---|
59 | echo 5/8 |
---|
60 | wget http://pds-geosciences.wustl.edu/geo/mgs-m-mola-5-megdr-l3-v1/mgsl_300x/meg064/megt00n000gb.img . > /dev/null 2>&1 |
---|
61 | echo 6/8 |
---|
62 | wget http://pds-geosciences.wustl.edu/geo/mgs-m-mola-5-megdr-l3-v1/mgsl_300x/meg064/megt00n000gb.lbl . > /dev/null 2>&1 |
---|
63 | echo 7/8 |
---|
64 | wget http://pds-geosciences.wustl.edu/geo/mgs-m-mola-5-megdr-l3-v1/mgsl_300x/meg064/megt00n180gb.img . > /dev/null 2>&1 |
---|
65 | echo 8/8 |
---|
66 | wget http://pds-geosciences.wustl.edu/geo/mgs-m-mola-5-megdr-l3-v1/mgsl_300x/meg064/megt00n180gb.lbl . > /dev/null 2>&1 |
---|
67 | echo building... please wait |
---|
68 | ./mola_buildNE.m |
---|
69 | ./mola_buildNW.m |
---|
70 | ./mola_buildSE.m |
---|
71 | ./mola_buildSW.m |
---|
72 | \rm megt* |
---|
73 | cd .. |
---|
74 | |
---|
75 | exit |
---|