-
Notifications
You must be signed in to change notification settings - Fork 1
/
CTX processing
64 lines (29 loc) · 1.23 KB
/
CTX processing
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
#Level 0 → Level 1
mroctx2isis from=P01_001472_1747_XI_05S146W.img to=P01_001472_1747_XI_05S146W.cub
spiceinit from=P01_001472_1747_XI_05S146W.cub
ctxevenodd from=P01_001472_1747_XI_05S146W.cub to=P01_001472_1747_XI_05S146W.eo.cub
ctxcal from=P01_001472_1747_XI_05S146W.eo.cub to=P01_001472_1747_XI_05S146W.cal.cub
#Level 1 → Level 2
# CREATE A MAP TEMPLATE SAME AS THE PROJ. OF YOUR PROJECT... e.g.
pico map_template_eqc.map
# with inside:
Group = Mapping
ProjectionName = EQUIRECTANGULAR
CenterLongitude = 0.0
CenterLatitude = 0.0
TargetName = Mars
EquatorialRadius = 3396190.0 <meters>
PolarRadius = 3396190.0 <meters>
LatitudeType = Planetocentric
LongitudeDirection = PositiveEast
LongitudeDomain = 180
End_Group
# THEN:
cam2map from=P01_001472_1747_XI_05S146W.cal.cub to=P01_001472_1747_XI_05S146W.eqc.cub map=map_template.eqc
# THEN:
isis2std from=P01_001472_1747_XI_05S146W.eqc.cub to=P01_001472_1747_XI_05S146W.tif mode=grayscale format=tiff bittype=8bit stretch=linear minpercent=0.2 maxpercent=99.8
#RUNNING WITH PARALLEL
# set up parallel.sh
#create a list of data files:
ls *.img > data_list.txt
./parallel.sh data_list.txt