Skip to content

Commit af481f8

Browse files
committed
Updated examples and documentation addressing OFFBODY and OFFBODYTRIM parameters. Addresses DOI-USGS#3602.
1 parent a24237f commit af481f8

24 files changed

+311
-184
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Group = ShapeModel
2+
RayTraceEngine = Bullet
3+
OnError = Continue
4+
EndGroup
5+
End
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#!/bin/sh
2+
3+
# Get example image acquired by OREX OCAMS during "Detailed Survey" phase\
4+
dtype="map_iofL2b"\
5+
fbase="20190509T180552S020"\
6+
7+
# Download the OSIRIS-REx image. Note wget can be installed using the command\
8+
# "conda install wget"\
9+
wget -P . "https://sbnarchive.psi.edu/pds4/orex/orex.ocams/data_calibrated/detailed_survey/$\{fbase\}_$\{dtype\}.fits"\
10+
11+
# Import into ISIS\
12+
ocams2isis from="$\{fbase\}_$\{dtype\}.fits" to="$\{fbase\}_pck.cub"\
13+
ocams2isis from="$\{fbase\}_$\{dtype\}.fits" to="$\{fbase\}_dtm.cub"\
14+
15+
spiceinit from="$\{fbase\}_pck.cub" shape=ellipsoid\
16+
spiceinit from="$\{fbase\}_dtm.cub" shape=user model='$osirisrex/kernels/dsk/g_00880mm_alt_ptm_0000n00000_v020.bds' -pref=$ISISROOT/BulletEngineSelect.pref\
17+
18+
# Run cam2cam for each set\
19+
cam2cam from="$\{fbase\}_pck.cub" match="$\{fbase\}_dtm.cub" to="$\{fbase\}_pck_to_dtm_def.cub"\
20+
cam2cam from="$\{fbase\}_pck.cub" match="$\{fbase\}_dtm.cub" to="$\{fbase\}_pck_to_dtm_off.cub" offbody=true offbodytrim=false\
21+
cam2cam from="$\{fbase\}_pck.cub" match="$\{fbase\}_dtm.cub" to="$\{fbase\}_pck_to_dtm_offtrim.cub" offbody=true offbodytrim=true\
22+
23+
cam2cam from="$\{fbase\}_dtm.cub" match="$\{fbase\}_pck.cub" to="$\{fbase\}_dtm_to_pck_def.cub"\
24+
cam2cam from="$\{fbase\}_dtm.cub" match="$\{fbase\}_pck.cub" to="$\{fbase\}_dtm_to_pck_off.cub" offbody=true offbodytrim=false\
25+
cam2cam from="$\{fbase\}_dtm.cub" match="$\{fbase\}_pck.cub" to="$\{fbase\}_dtm_to_pck_offtrim.cub" offbody=true offbodytrim=true\
26+
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

Diff for: isis/src/base/apps/cam2cam/cam2cam.xml

+280-184
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)