Block 16 - Export Boulder V2

Description

Getting ready to export and input a boulder NOT using fill

Procedure

Get bigmap ready

Run bigmap to get it, coverage, INSIDE.TXT and the script to build the bigmap

ID=B-020A echo "Exporting boulder: $ID" | tee -a notes mkdir boulder-$ID bigMapRef < lsupport/$ID.IN cp MAPFILES/$ID.MAP boulder-$ID/ echo $ID | showmap convert $ID.pgm boulder-$ID/$ID.jpg echo $ID > temp.txt echo "0 0.00035" >> temp.txt map_coverage < temp.txt convert coverage_m.pgm boulder-$ID/coverage-$ID.jpg /opt/local/spc/bin/makeOBJ.sh $ID mv $ID.obj boulder-$ID/ cp lsupport/$ID.IN boulder-$ID

Export

Do if needed (setup)

mkdir -p NEW_FILES/LMKFILESmkdir -p NEW_FILES/MAPFILES

or reset from previous

rm NEW_FILES/LMRKLIST.TXT

echo y | cp INSIDE.TXT LMRKLIST1.TXT/usr/local/bin/EXPORTsh EXPORT.TXTmv NEW_FILES.TAR boulder-$ID/$ID.tar

Import - prep

Here we might get into trouble, so back things up first. Suggest a full backup just in case

Do this (get rid of LMRKLIST1.TXT only the 1st time setting up the boulders. We want to run a cumulative log of all the new maplets

rm LMRKLIST1.TXT

If you are using bigmap ref, make sure you have the reference map. Thus:

echo -n cp $ID MAPFILES/

In the production directory

pwdID=B-020Amurphy -mecho making bigmap of $ID | tee -a notesbigMapRef < lsupport/$ID.INls -l MAPFILES/$ID.MAP | tee -a noteswc INSIDE.TXTbatchDelete.sh INSIDE.TXT | tee -a noteslithos < tmpRun.txt | tee tmpOut.txtrm NEW_FILES/LMRKLIST.TXTrm NEW_FILES/LMKFILES/*.LMKrm NEW_FILES/MAPFILES/*.MAPsh rem_script.b

Import

Do the import. After untar'ing things, look at NEW_FILES to make sure things make sense.

tar -xvf $ID.tar | tee -a noteswc NEW_FILES/LMRKLIST.TXT | tee -a notesdu -ha NEW_FILES /usr/local/bin/IMPORTwc NEWLIST.TXTcat NEWLIST.TXT | tee -a notes

Post-import

After you have them added to the director, you need to connect everything with a make_scriptF that touches each new file. If needed, clean out *INN, *OOT and TESTFILES*/*

echo y | cp NEWLIST.TXT make_script.in relink.sh support/F-import.seed make_scriptF.seed | tee -a notesmake_scriptFsh run_script.bfind_nofit | tee -a notes

Evaluate the new bigmap

Use bigmap to see how things worked out

bigMapRef < lsupport/$ID.INmap_coverage<___ID___>0 0.00035convert coverage_m.pgm 1.jpgecho $ID | showmapconvert $ID.pgm ~/send/$ID-1.jpgconvert SIGMAS.pgm ~/send/$ID-sig-1.jpgtail -5 SIGMAS.TXT | tee -a notesmakeOBJ.sh $IDecho y | mv $ID.obj ~/send/

Finish the Block

blockFinish

(Compiled by EEP)