Here is the MOSAICX I/F Wrapper.

# 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=$1
Img=$2
list=`cat $Img`

echo "$bigmap"

for i in $list
do

 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/

# exit
done 

MOSAICX I/F Wrapper (last edited 2019-08-07 10:54:00 by JohnWeirich)