X-Map

Steps for making an "X-map" for Lockheed NFT. An X-map is a single maplet that is exported from SPC and used for navigation on the OSIRIS-REx mission's NFT. The GSD and pixel width is what Lockheed defines in their feature definitions.

ID=00000Res=5logP=log/$ID$Resmkdir -p $logPcheckVar $ID $Res $logPbigmap < nftConfig/nftBigmap-$ID-A.IN

#Make bigmap over landmarkbigmap < nftConfig/nftBigmap-$ID-A.INcd MAPFILESrelink.sh ${ID}A.MAP XXXXXX.MAPcd ..# Generate in file for LITHOS based on existing bigmap and seed filesecho "c" > XTMP.INNecho "${ID}X" >> XTMP.INNhead -3 nftConfig/nftBigmap-$ID-A.IN >> XTMP.INNhead -4 nftConfig/nftBigmap-$ID-A.IN | tail -1 | cut -c1-20 >> XTMP.INNecho "i" >> XTMP.INNecho "${ID}X" >> XTMP.INNSleng=`wc nftConfig/nftSeed-$ID-6.seed | cut -c1-12 | bc`Tleng=`echo "$Sleng-4" | bc`tail -$Tleng nftConfig/nftSeed-$ID-6.seed >> XTMP.INN#Create X mapvi XTMP.INN# only paste down to just after the first eliminate (e-a).# Topo script until good. Overlaps, 4 topos, overlaps again, 5 topos.#Check OOT to make sure there are no *'srm XTMP.*

#Create W map

bigmap < nftConfig/nftBigmap-$ID-A.INcd MAPFILESrelink.sh ${ID}A.MAP XXXXXX.MAPcd ..# Generate in file for LITHOS based on existing bigmap and seed filesecho "c" > WTMP.INNecho "${ID}W" >> WTMP.INNhead -3 nftConfig/nftBigmap-$ID-A.IN >> WTMP.INNhead -4 nftConfig/nftBigmap-$ID-A.IN | tail -1 | cut -c1-20 >> WTMP.INNecho "i" >> WTMP.INNecho "${ID}W" >> WTMP.INNSleng=`wc nftConfig/nftSeed-$ID-6.seed | cut -c1-12 | bc`Tleng=`echo "$Sleng-4" | bc`tail -$Tleng nftConfig/nftSeed-$ID-6.seed >> WTMP.INN#Create W mapvi WTMP.INN# only paste down to just after the first eliminate (e-a).# Topo script until good. Overlaps, 4 topos, overlaps again, 5 topos.#Check OOT to make sure there are no *'srm WTMP.*

Evaluate

Run this when you are ready to evaluate. You can also run it at the start or intermediate steps so you can see the current state. Note, the entries on the web get added on, but the files get updated. Thus, you can see the table stats from earlier runs, but the actual files will be updated when you run mapletWeb.sh again

If you want to avoid adding an extra line to the web-table, use "mapletWeb.sh <id> n"

mapletWeb.sh $ID