⇤ ← Revision 1 as of 2016-02-16 18:08:34
Size: 2091
Comment:
|
Size: 3686
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 7: | Line 7: |
## BLOCK 01-02 ## ## TEST DIRECTORY SET-UP - TEST ## |
## BLOCK 02-01 ## ## INGEST IMAGES - TEST-SPECIFIC ## |
Line 12: | Line 12: |
## This block additionally populates the F3 orig directory's IMAGEFILES/ ## NOMINALS/ and SUMFILES/ sub-directories with Detailed Survey image files ## which are consistent across sub-tests in readiness for registering ## Detailed Survey images |
|
Line 13: | Line 17: |
## This block populates an F3 test sub-directory from the F3 orig sub-directory ## in readiness for sensitivity testing |
|
Line 30: | Line 32: |
## User has completed the processing steps comprising Block 01-01 - TEST DIRECTORY | ## User has completed the processing steps comprising Block 01-01 - TEST DIRECTORY |
Line 35: | Line 37: |
## subTestID: (if required) Identifier for sub-test work (for example, F3G1) | |
Line 37: | Line 38: |
## (for example, Block-01-02-TestDirSetUp-Test-F3G1) |
## (for example, Block-02-01-IngestImages-TestSpecific) |
Line 42: | Line 42: |
#subTestID=F3G1 #subTestID=F3G2 #subTestID=F3G3 #subTestID=F3G4 #subTestID=F3G5 #subTestID=F3G6 subTestID=F3G7 blockID=Block-01-02-TestDirSetUp-Test-${subTestID} |
blockID=Block-02-01-IngestImages-TestSpecific |
Line 58: | Line 51: |
rsync --delete -ha orig/ test/ ls -l test |
## VARIANCE-F3G: # Populate base/IMAGEFILES/ with Detailed Survey test image files rsync -ha base/F3G-IMAGEFILES/M60* base/IMAGEFILES/ rsync -ha base/F3G-IMAGEFILES/P60* base/IMAGEFILES/ ls -l base/IMAGEFILES/ # Populate orig/NOMINALS/ with Detailed Survey MapCam image nominals rsync -ha base/F3G-DSM-NOMINALS/M60* orig/NOMINALS/ ls -l orig/NOMINALS # Populate orig/SUMFILES/ with Detailed Survey MapCam image sumfiles rsync -ha base/F3G-DSM-SUMFILES/M60* orig/SUMFILES/ ls -l orig/SUMFILES ## END OF VARIANCE # Generate lsupport/PICTLIST.TXT ls base/IMAGEFILES/M* | cut -d '/' -f 3 | cut -d '.' -f 1 > lsupport/PICTLIST.TXT ls base/IMAGEFILES/P* | cut -d '/' -f 3 | cut -d '.' -f 1 >> lsupport/PICTLIST.TXT sed -i -e 's/^/ /' lsupport/PICTLIST.TXT echo END >> lsupport/PICTLIST.TXT ## VARIANCE-F3G: # App and PS MapCam and PolyCam images and DS MapCam images # in the region-of-interest only awk '/M/ { print $1 }' lsupport/PICTLIST-TAG1-100mx100m.TXT > lsupport/PICTLIST.TXT awk '/P59/ { print $1 }' lsupport/PICTLIST-TAG1-100mx100m.TXT >> lsupport/PICTLIST.TXT sed -i -e 's/^/ /' lsupport/PICTLIST.TXT echo END >> lsupport/PICTLIST.TXT ## END OF VARIANCE cat lsupport/PICTLIST.TXT # Generate list of images which require registering/autoregistering ## VARIANCE-F3G: # DS MapCam images within the region-of-interest only. # (PolyCam imgaes not included since the perturbations differ from sub-test to sub-test.) awk '/M60/ { print $1 }' lsupport/PICTLIST-TAG1-100mx100m.TXT > lsupport/PICTLIST-forRegistering.TXT sed -i -e 's/^/ /' lsupport/PICTLIST-forRegistering.TXT echo END >> lsupport/PICTLIST-forRegistering.TXT ## END OF VARIANCE cat lsupport/PICTLIST-forRegistering.TXT |
Line 68: | Line 100: |
Block-02-01 - INGEST IMAGES - TEST-SPECIFIC
########################################################################## ## ## ## BLOCK 02-01 ## ## INGEST IMAGES - TEST-SPECIFIC ## ## ## ########################################################################## ## This block additionally populates the F3 orig directory's IMAGEFILES/ ## NOMINALS/ and SUMFILES/ sub-directories with Detailed Survey image files ## which are consistent across sub-tests in readiness for registering ## Detailed Survey images ## Assumptions: ## User has invoked a Bourne-Again Shell (bash) on ormacsrv1.lpl.arizona.edu ## User is a member of the group OREX\spc ## User has set up a skeleton directory in the following format: ## /SPC_Test/F3G-Nav/ ## ORex/ ## DATA/ ## base/ ## IMAGEFILES/ ## SHAPEFILES/ ## lsupport/ ## orig/ ## results/ ## test/ ## User has completed the processing steps comprising Block 01-01 - TEST DIRECTORY ## SET-UP - ORIG ## User inputs: ## testID: Name of the F3 test directory (for example, F3E-Limbs) ## blockID: User-specified identifier for typescript textfile name ## (for example, Block-02-01-IngestImages-TestSpecific) # User inputs: testID=F3G-Nav blockID=Block-02-01-IngestImages-TestSpecific # Set-Up cd /SPC_Test/$testID script date pwd ls -l ## VARIANCE-F3G: # Populate base/IMAGEFILES/ with Detailed Survey test image files rsync -ha base/F3G-IMAGEFILES/M60* base/IMAGEFILES/ rsync -ha base/F3G-IMAGEFILES/P60* base/IMAGEFILES/ ls -l base/IMAGEFILES/ # Populate orig/NOMINALS/ with Detailed Survey MapCam image nominals rsync -ha base/F3G-DSM-NOMINALS/M60* orig/NOMINALS/ ls -l orig/NOMINALS # Populate orig/SUMFILES/ with Detailed Survey MapCam image sumfiles rsync -ha base/F3G-DSM-SUMFILES/M60* orig/SUMFILES/ ls -l orig/SUMFILES ## END OF VARIANCE # Generate lsupport/PICTLIST.TXT ls base/IMAGEFILES/M* | cut -d '/' -f 3 | cut -d '.' -f 1 > lsupport/PICTLIST.TXT ls base/IMAGEFILES/P* | cut -d '/' -f 3 | cut -d '.' -f 1 >> lsupport/PICTLIST.TXT sed -i -e 's/^/ /' lsupport/PICTLIST.TXT echo END >> lsupport/PICTLIST.TXT ## VARIANCE-F3G: # App and PS MapCam and PolyCam images and DS MapCam images # in the region-of-interest only awk '/M/ { print $1 }' lsupport/PICTLIST-TAG1-100mx100m.TXT > lsupport/PICTLIST.TXT awk '/P59/ { print $1 }' lsupport/PICTLIST-TAG1-100mx100m.TXT >> lsupport/PICTLIST.TXT sed -i -e 's/^/ /' lsupport/PICTLIST.TXT echo END >> lsupport/PICTLIST.TXT ## END OF VARIANCE cat lsupport/PICTLIST.TXT # Generate list of images which require registering/autoregistering ## VARIANCE-F3G: # DS MapCam images within the region-of-interest only. # (PolyCam imgaes not included since the perturbations differ from sub-test to sub-test.) awk '/M60/ { print $1 }' lsupport/PICTLIST-TAG1-100mx100m.TXT > lsupport/PICTLIST-forRegistering.TXT sed -i -e 's/^/ /' lsupport/PICTLIST-forRegistering.TXT echo END >> lsupport/PICTLIST-forRegistering.TXT ## END OF VARIANCE cat lsupport/PICTLIST-forRegistering.TXT # Block Complete exit # Save block log if [ ! -d /SPC_Test/$testID/log ]; then mkdir /SPC_Test/$testID/log fi mv typescript /SPC_Test/$testID/log/log-typescript-${blockID}