Skip to content

F Wrapper

Eric E Palmer edited this page Oct 23, 2026 · 1 revision

Here is the MOSAICX I/F Wrapper.

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


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/

done 

Clone this wiki locally