= make_scriptAP = '''Purpose:''' Generates the run script and .INN files required to batch autoregister new images using parallel processing. === Requires === * make_script.in - text file containing the names of the images to batch autoregister. * [[make_scriptAP.seed]] - text file containing the [[autoregisterP]] option commands for batch registering images. NB: [[autoregisterP]] requires a number of directories and files - refer to relevant guide. === Output === make_scriptAP outputs: * run.sh - controlling run script for batch image auto registration using parallel processing. * run script for each core processor: * run_script01.b * run_script02.b * etc.. * .INN files - autoregisterP seed file for each image. run_script''nn''.b output: * .OOT files - standard output from autoregisterP for each image. * [[SUMFILES]]/ - Landmarks are added to the image's SUMFILE. Spacecraft/camera position/attitude are updated upon user acceptance of alignment shifts; * [[LMKFILES]]/ - Image names are added to the LMKFILES. == Using make_scriptAP == === Create Input Files === Example '''make_script.in''' file: {{{ P00045000450 P00045000451 P00045000452 END }}} NB: A space must precede each image filename. Example '''make_scriptAP.seed''' file (see [[make_scriptAP.seed]] for further details): {{{ ??? }}} == Run make_scriptAP == make_scriptAP generates a .INN file for each image (the image filename appended with the autoregisterP options contained in the make_scriptAP.seed file. Example '''P00045000450.INN''' file: {{{ P00045000450 ??? }}} make_scriptAP also generates the '''run.sh script''': {{{ chmod +x run_script01.b chmod +x run_script02.b ''etc..'' ./run_script01.b & ./run_script02.b & ''etc...'' }}} and the run_script01.b, run_script02.b, etc: {{{ rm -f P00045000450.OOT /usr/local/bin/AUTOREGISTERP < P00045000450.INN > P00045000450.OOT cp LMRK_DISPLAY1.pgm ./TESTFILES/P00045000450.pgm rm -f P00045000452.OOT /usr/local/bin/AUTOREGISTERP < P00045000451.INN > P00045000451.OOT cp LMRK_DISPLAY1.pgm ./TESTFILES/P00045000451.pgm }}} == Batch Autoregister Images Using Parallel Processing == [[autoregisterP]] uses the file [[LMRKLISTX.TXT]] to pre- screen the maplets, so if maplets have been added or deleted recently, the procedure [[make_lmrklistX]] should be run. {{{ sh run.sh }}} The autoregisterP standard output for each image is captured in the .OOT files. The user must review the .OOT files to ascertain the success of the batch image autoregistration process. (A ''find-nofit'' program does not currently exist for batch image autoregistration.)