Differences between revisions 37 and 66 (spanning 29 versions)
Revision 37 as of 2016-02-25 16:02:12
Size: 6213
Editor: JohnWeirich
Comment:
Revision 66 as of 2016-03-16 08:34:58
Size: 4754
Editor: JohnWeirich
Comment:
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
||Sub-Test||Latitude||Number of Images||Emission Range||Incidence Range||
||F3H-1||0°||TBD||TBD||TBD||
||Sub-Test||Latitude||Number of Images||Emission Range||Incidence Range||RMS w/ opt trans rot (cm)||RMS w/o opt trans rot (cm)||
||Preliminary Survey||NA||NA||NA||NA||19||59
||
||F3H-1||0°||TBD||TBD||TBD||21||71||
Line 21: Line 22:
||F3H-3||-20°||TBD||TBD||TBD|| ||F3H-3||-20°||TBD||TBD||TBD||16||70||
Line 23: Line 24:
||F3H-5||-40°||TBD||TBD||TBD|| ||F3H-5||-40°||TBD||TBD||TBD||18||67||
Line 25: Line 26:
||F3H-7||-60°||TBD||TBD||TBD||
||F3H-8||-70°||TBD||TBD||TBD||
||F3H-7||-60°||TBD||TBD||TBD||20||72||
||F3H-8||-70°||TBD||TBD||TBD||14||75||
Line 73: Line 74:
ln -s lsupport/PICTLIST_$testID.TXT test/PICTLIST.TXT cp lsupport/PICTLIST_$testID.TXT test/PICTLIST.TXT
Line 78: Line 79:
== 3. Tile at XXcm ==
=== 3.1 User input ===
{{{
export gsd=XX #Enter ground sample distance in cm (ex. 20 for 20cm, 05 for 5cm)
}}}
=== 3.2 Tile ===
{{{
cd test
rm LMRKLIST1.TXT
cat support/TILE${gsd}.in
ls -l /usr/local/bin/bigmap
/usr/local/bin/bigmap < support/TILE${gsd}.in | tee log-TILE${gsd}
echo "TILE${gsd}" | showmap
convert TILE20.pgm TILE${gsd}.jpg
cp TILE${gsd}.jpg ~/send/
== 3. Tile at 20cm ==
Execute tile block with 20cm GSD.
Line 94: Line 82:
rm MAPFILES/XXXXXX.MAP
ln -s TILE${gsd}.MAP MAPFILES/XXXXXX.MAP

rm make_scriptT.in
ln -s lsupport/tile${gsd}_make_scriptT.in make_scriptT.in
cat make_scriptT.in
make_scriptT
ls -l

cat INIT_LITHOS.TXT
lithos -v
nohup sh run_script.b &

#since this will take awhile
exit
#copy typescript file somewhere...

#when finished tiling
script

cd test
date
pwd
ls -l
[[F3H-Tile]]
Line 120: Line 85:
find_nofitT == 4. Iterate ==
Execute iteration
Line 122: Line 88:
#fix landmarks
#after fixing, continue on
[[F3H-Iterate]]
Line 125: Line 90:
map_coverage
XXXXXX
0 .000XX # NEED TO REPLACE THE XX WITH THE GSD!
convert coverage_m.pgm coverage_m-TILE${gsd}-afterTiling.jpg
cp coverage_m-TILE${gsd}-afterTiling.jpg ~/send/
== 5. Tile at 10cm ==
Execute tile block with 10cm GSD.
Line 131: Line 93:
#Run this solo to make sure it works [[F3H-Tile]]
Line 133: Line 95:
mkdir log/TILE${gsd} == 6. Iterate ==
Execute iteration
Line 135: Line 98:
find_nofitT | tee log/TILE${gsd}/log-fit
sh support/logEvalP.sh
cat logResults.txt
cat lowImg.txt
cat redo.txt
cp *INN *OOT run_script*.b log/TILE${gsd}
[[F3H-Iterate]]
Line 142: Line 100:
# Clean directory
sh rem_script.b
rm TESTFILES/*
rm TESTFILES1/*
== 7. Clean landmarks ==
Execute [[Block 7B - Clean Bigmap]]
Line 147: Line 103:
#copy typescript somewhere... == 8. Geometry ==
[[Block 8 - Geometry/Residuals]]

Before running geometry, make sure there are no outliers. Run RESIDUALS with the following inputs...
{{{
5 .005 .0002
Line 150: Line 111:
== 4. Iterate ==
=== 4.1 Setup Iteration ===
{{{
script
== 9. Iterate ==
Execute iteration
Line 155: Line 114:
cd test
date
pwd
ls -l
[[F3H-Iterate]]
== 10. Tile at 5cm ==
Execute tile block with 5cm GSD.
Line 160: Line 118:
cat support/TAG100.in
ls -l /usr/local/bin/bigmap
/usr/local/bin/bigmap < support/TAG100.in
cp USED_MAPS.TXT LIST.TXT
duplicates
[[F3H-Tile]]
Line 166: Line 120:
cat make_script.in
ls -l /usr/local/bin/MAKE_LMRKLISTX
MAKE_LMRKLISTX
ln -s scripts/make_scriptP.seed make_scriptP.seed
cat make_scriptP.seed
make_scriptP | tee run.sh
ls -l
== 11. Iterate ==
Execute iteration
Line 174: Line 123:
# Invoke batch iteration
cat INIT_LITHOS.TXT
lithosP -v
nohup sh run.sh &
[[F3H-Iterate]]
Line 179: Line 125:
#since this will take awhile
exit
#copy typescript file somewhere...
== 12. Clean landmarks ==
Execute [[Block 7B - Clean Bigmap]]
Line 183: Line 128:
#when finished iterating Ensure the following states:
Line 185: Line 130:
#clean landmarks  * Tiled
 * Correlated
 * Imaged
 * Fitted
 * Geometry ( use 5 .0025 .0001 in RESIDUALS prior to running GEOMETRY)
 * Residualed ( use 5 .001 .00005)
 * Re-tiled
Line 187: Line 138:
script

cd test
date
pwd
ls -l

# Check results
find_nofitP | tee log-fitP
sh support/logEvalP.sh
cat logResults.txt
cat lowImg.txt
cat redo.txt

# Fix uncorrelated images
# Manual correlation as required
}}}
=== 4.2 User input prior to saving ===
{{{
gsd=XX #Enter ground sample distance in cm (ex. 20 for 20cm, 05 for 5cm)
Itnum=XX #Enter iteration number
}}}
=== 4.3 Save files ===
{{{
#Save files
mkdir log/${gsd}cmIt${Itnum} #need to change XX as appropriate to gsd and iteration number

find_nofitP | tee log/${gsd}cmIt${Itnum}/log-fit
sh support/logEvalP.sh
cat logResults.txt
cat lowImg.txt
cat redo.txt
cp *INN *OOT run_script*.b log/${gsd}cmIt${Itnum}

# Clean directory
sh rem_script.b
rm TESTFILES/*
rm TESTFILES1/*
Do not ensure Sigma'ed since SIGMAS.TXT doesn't have enough significant figures for the ground sample distance this test requires.
Line 227: Line 141:
== 13. Run Stats ==
[[F3H-Stats]]
Line 228: Line 144:
#copy typescript somewhere == 14. Archive the test directory ==
{{{
mv test/ F3H-X_archive/ # X is the sub-test number
Line 230: Line 148:

== 5. Clean landmarks ==
Execute [[Block 7 - Clean]]

Test F3H - Latitude

Goal: Physical characteristics of the object. The maximum variation in sub-solar position is a function of the latitude of the TAG site. The higher in latitude the TAG site is, the lower quality the variations in Sun vector. Thus, we can get a better idea about how big this error is as we move to the polar regions.

Test Set Up

Data: Detailed Survey.

Start: 75cm Preliminary Survey Shape Model.

Build: Build TAG Site 1 for each Sub-Test, but using different images than standard. Because the shape model has different topography, we would not be able to build a TAG Site at each latitude and compare results -- RMS is strongly effected by variations in topography. As such, we will adjust the position of the Sun so that the images match the observing/illumination conditions that DS would have if TAG Site 1 was at different latitudes.

Sub-Test F3H-1 to F3H-9

For each Sub-Test, we start with the Preliminary Survey Shape Model. We build the topography using the Detailed Survey Images that are available at each latitude. Images will need to be generated with Bennu with the Sun position that cannot really exist. Either Bennu can be inclined by the needed number of degrees with the pole and date matching the summer solstist, or the SPOC has tools to generate images and SUMFILES for specific illumination geometries. The SPOC has conducted similar variations in illumination parameters so this is well understood. For this test, the SPOC would use Imager_MG to generate the images, which generated almost all of the images needed for Test F2-Calibration. The Test Engineer has compared the output of Freespace and Imager_MG and has determined that the variations between the two systems are not significant.

Details for Sub-Test F3H-1 to F3H-9:

Sub-Test

Latitude

Number of Images

Emission Range

Incidence Range

RMS w/ opt trans rot (cm)

RMS w/o opt trans rot (cm)

Preliminary Survey

NA

NA

NA

NA

19

59

F3H-1

TBD

TBD

TBD

21

71

F3H-2

-8°

TBD

TBD

TBD

F3H-3

-20°

TBD

TBD

TBD

16

70

F3H-4

-30°

TBD

TBD

TBD

F3H-5

-40°

TBD

TBD

TBD

18

67

F3H-6

-50°

TBD

TBD

TBD

F3H-7

-60°

TBD

TBD

TBD

20

72

F3H-8

-70°

TBD

TBD

TBD

14

75

F3H-9

-80°

TBD

TBD

TBD

Evaluate:

  • Relative Accuracy. Create truth models for each of the latitude TAG sties. Then compute the RMS deviation between the truth and the model.

Examples:

F3H-ex1.png F3H-ex2.png F3H-ex3.png F3H-ex4.png

Directory Setup

Run from the F3H-Lat directory

0. Start typescript

script
date
pwd
ls -l

1. Create Sub-Test directory

rsync --delete  -ha orig/ test/

2. Add Sub-Test images

  • /SPC_Test/F3H-Lat/base/IMAGEFILES/ should already have all the images. We will control the images used by SPC via PICTLIST.TXT

  • Should also set up a PICTLIST.TXT for each sub-test and put it in lsupport/

2.1 User Input

testID=F3H-X

cp registered_images/$testID/NOMINALS/* test/NOMINALS/
ls -l test/NOMINALS
cp registered_images/$testID/SUMFILES/* test/SUMFILES/
ls -l test/SUMFILES
rm test/PICTLIST.TXT
cp lsupport/PICTLIST_$testID.TXT test/PICTLIST.TXT
cat test/PICTLIST.TXT
mkdir test/log

3. Tile at 20cm

Execute tile block with 20cm GSD.

F3H-Tile

4. Iterate

Execute iteration

F3H-Iterate

5. Tile at 10cm

Execute tile block with 10cm GSD.

F3H-Tile

6. Iterate

Execute iteration

F3H-Iterate

7. Clean landmarks

Execute Block 7B - Clean Bigmap

8. Geometry

Block 8 - Geometry/Residuals

Before running geometry, make sure there are no outliers. Run RESIDUALS with the following inputs...

5 .005 .0002

9. Iterate

Execute iteration

F3H-Iterate

10. Tile at 5cm

Execute tile block with 5cm GSD.

F3H-Tile

11. Iterate

Execute iteration

F3H-Iterate

12. Clean landmarks

Execute Block 7B - Clean Bigmap

Ensure the following states:

  • Tiled
  • Correlated
  • Imaged
  • Fitted
  • Geometry ( use 5 .0025 .0001 in RESIDUALS prior to running GEOMETRY)
  • Residualed ( use 5 .001 .00005)
  • Re-tiled

Do not ensure Sigma'ed since SIGMAS.TXT doesn't have enough significant figures for the ground sample distance this test requires.

13. Run Stats

F3H-Stats

14. Archive the test directory

mv test/ F3H-X_archive/ # X is the sub-test number

TestF3H (last edited 2016-03-16 08:34:58 by JohnWeirich)