Here is the MOSAICX I/F Wrapper.

Note that scale should be read from the original IMG header, and the offset is zero.

# Aug 5 2018 - John R. Weirich# Run e.rawMOSAICXjrw for all bigmaps in MosaicList# Requires lots of directory setup# Run from $dir/working/# Modified Nov 21 to work with RG2 and loop over images instead of over bigmaps# Usage : sh rawMOSAICX.sh <bigmap> <list of images in NEW_IMAGES>bigmap=$1Img=$2list=`cat $Img`echo "$bigmap"for i in $listdo RtStr=`echo "$i" | cut -c2-11` SUMFILE="N$RtStr" echo $SUMFILE lastFive=`echo $SUMFILE | cut -c6-` echo $lastFive echo $SUMFILE > MOSAICX.TXT echo "END" >> MOSAICX.TXT echo $bigmap > tinJRW echo "3.05185094759972e-05" >> tinJRW echo "0" >> tinJRW ../bin/e.rawMOSAICXjrw < tinJRW mv -f raw.txt IoverF-$bigmap.txt ascii2isis from=IoverF-$bigmap.txt to=IoverF-$bigmap.cub samples=1415 lines=1415 mv -f IoverF* ../img-$lastFive/# exitdone