How to Iterate Landmarks V0

Description

This block iterates a set of landmarks sepcified by the user, using the lithosP options contained in the file /SPC_Test/F3-base/base/scripts.make_scriptP.seed.

Assumptions

You have invoked a Bourne-Again Shell (bash) on ormacsrv1.lpl.arizona.edu

You are a member of the group OREX\spc

You have set up a skeleton directory in the following format:

/SPC_Test/F3G-Nav/ ORex/ DATA/ base/ IMAGEFILES/ SHAPEFILES/ lsupport/ orig/ results/ test/

You have completed the processing steps in How to Test Directory Set-Up - ORIG

If you are working in the test/ sub-directory, you have set up the test sub-directory following the steps in How to Test Directory Set-Up - TEST

User inputs

testID - Name of the F3 test directory (for example, 'F3E-Limbs')

subTestID (if required) - Identifier for sub-test work (for example, 'F3G1')

dirID - Name of sub-directory in which to work (e.g. 'orig', or 'test')

blockID - User-specified identifier for typescript textfile name (for example, 'Block-04-01-Iterate-Landmarks-01stInvocation-PostRegistrationOfDSNavCamImages')

Procedure

1. Initial Inputs

# User inputs:testID=F3G-Nav#subTestID=F3G1#subTestID=F3G2#subTestID=F3G3#subTestID=F3G4#subTestID=F3G5#subTestID=F3G6subTestID=F3G7#dirID=origdirID=test#blockID=Block-04-01-Iterate-Landmarks-PostRegistrationOfDSNavCamImages#blockID=Block-04-01-Iterate-Landmarks-${subTestID}-Post20cmTiling#blockID=Block-04-01-Iterate-Landmarks-${subTestID}-Post10cmTilingblockID=Block-04-01-Iterate-Landmarks-${subTestID}-Post05cmTiling

2. Set-up

# Set-Upcd /SPC_Test/$testID/$dirID/scriptdatepwdls -l

3. Set-up batch iteration files

(./) How to handle the different scenarios? Perhaps needs sub headings?

# Set-up batch iteration files## DECISION## SCENARIO 1: Iterate all landmarks lised in LMRKLIST.TXTcp LMRKLIST.TXT make_script.in ## END OF SCENARIO 1## SCENARIO 2: Iterate landmarks which overlap a region-of-interest defined via a bigmap .in file## TAG100.in is a 100m x 100m region around the center of TAG site 1cat support/TAG100.inls -l /usr/local/bin/bigmapbigmap < support/TAG100.incp USED_MAPS.TXT LIST.TXT duplicates## END OF SCENARIO 2cat make_script.inls -l /usr/local/bin/MAKE_LMRKLISTXMAKE_LMRKLISTX cp scripts/make_scriptP.seed .cat make_scriptP.seedmake_scriptP | tee run.shls -l

4. Invoke batch iteration

# Invoke batch iterationcat INIT_LITHOS.TXTlithosP -vnohup sh run.sh &

5. Monitor progress

# Monitor progresslsls -l *.INN *.OOTfind_nofitPsh support/logEvalP.sh

6. Check results

# Check resultsfind_nofitP | tee log-fitPsh support/logEvalP.shcat logResults.txt cat lowImg.txtcat redo.txt

7. Fix uncorrelated images

# Fix uncorrelated images.........

8. Clean directory

# Clean directorysh rem_script.brm TESTFILES/*rm TESTFILES1/*

9. Complete procedure

# Block Completeexit# Save block logif [ ! -d /SPC_Test/$testID/log ]; then mkdir /SPC_Test/$testID/logfimv typescript /SPC_Test/$testID/log/log-typescript-${blockID}

(Compiled by DL)

CategoryHowTos