Test F3E Bigmap Tiling

Description

This block tiles a bigmap with a new suite of landmarks. Bigmap and maplet parameters are specified by the user, using the bigmap in files contained in /SPC_Test/F3-base/base/support/ and the lithos options contained in the seed files in /SPC_Test/F3-base/base/scripts/.

Assumptions

User inputs

Procedure

1. Initial Inputs

# User inputs:
GSD=0.00020
bigmapName=TILE20

2. Set-up

# Set-Up
cd /SPC_Test/$testID/test/
script
date
pwd
ls -l
ls -l /usr/local/bin
rm LMRKLIST1.TXT           # Empties the list of new landmarks

3. Make tiling bigmap

# Make tiling bigmap
echo "Bigmap .in file: support/$bigmapName.in"
cat lsupport/$bigmapName.in
ls -l /usr/local/bin/bigmap
bigmap < lsupport/$bigmapName.in 

4. Check resulting file

# check resulting file
## Tiling bigmap has the same name as the .in file, 
## i.e. TILE20.in, produces the tiling bigmap: TILE20
echo $bigmapName | showmap
convert $bigmapName.pgm ~/send/$bigmapName.jpg

5. Setup tiling

# Set up tiling
/bin/cp -f MAPFILES/$bigmapName.MAP MAPFILES/XXXXXX.MAP

ls -l /usr/local/bin/map_coverage
echo "XXXXXX" > map_coverage.in
echo 0 >> map_coverage.in
echo $GSD >> map_coverage.in
map_coverage < map_coverage.in
convert coverage_m.pgm ~/send/$bigmapName-beforeTiling.jpg

echo "N" | make_tilefile | tee make_tilefile.out
sed 1d make_tilefile.out > temp.out
echo "XXXXXX" > make_scriptT.in
echo "scripts/$GSD.seed" >> make_scriptT.in
cat temp.out >> make_scriptT.in 
cat make_scriptT.in
make_scriptT
ls -l

6. Invoke tiling script

# Invoke tiling script
cat INIT_LITHOS.TXT
lithos -v
nohup sh run_script.b &

7. Monitor progress

# Monitor progress
ls -l *.INN *.OOT
find_nofitT
sh support/logEvalP.sh

8. Clean directory

# Clean directory
sh rem_script.b
rm TESTFILES/*
rm TESTFILES1/*

9. Complete procedure

# Block Complete
exit
# Save block log
mv typescript typescript-$bigmapName


(Compiled by DL)

CategoryHowTos

Test F3E Bigmap Tiling (last edited 2016-03-16 14:32:25 by KristoferDrozd)