Differences between revisions 3 and 5 (spanning 2 versions)
Revision 3 as of 2015-06-02 23:33:14
Size: 2598
Editor: EricPalmer
Comment:
Revision 5 as of 2015-06-02 23:42:45
Size: 2732
Editor: EricPalmer
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Once the basic registration of images to landmarks are done, then it usually is time to do batch updating of the topography, what is typically called "iterating". There are several different templates that can be used (known as seeds). They usually contain variations of using stereo, number of passes, limbs and/or existing topography.

This procedure will get a list of landmarks to work on, build the scripts that LITHOSP (the parallel version of LITHOS) will run, start the scripts and monitor them.


1 - Choose a set of landmarks to process. Typically, we just copy [[LMRKLIST.TXT]] to [[make_script.in]].

2 - Ensure the fast lookup table is updated by running [[MAKE_LMRKLISTX.TXT]]. This file has every landmark in it, plus location data added. This lets [[LITHOS]] identify the boundaries much faster.

3 - Copy one of the seed files to be used. It is stored in the SPC directory under SEEDS. It is copied into the standard name [[make_scriptP.seed]]. [[make_scriptP]] uses that file to generate the run_script files

4 - Edit [[make_scriptP.seed]] to make sure it is what you want. The most likely thing is to comment out the "v" option. The "v" option will update the spacecraft pointing, which you might not want to do at this time.

5 - Generate the run_script files. Run the command [[make_scriptP]]. It will generate numerous make_scriptXX.b files (b is for batch -- nonstandard notion for a shell script). It will also display a set of commands that you need to run. You can retype them into a shell, copy and paste them, or direct their output to form a short shell program that you run next (which is what I normally do).

6 - Execute the output from [[make_scriptP]].

7 - Monitor using [[find_nofitP]]


== Basic instructions from testing procedures ==
{{{

For this procedure, we will use the entire list of landmarks -- so we are processing the entire surface.

cp LMRKLIST.TXT make_script.in
/usr/local/bin/MAKE_LMRKLISTX

Set up the seed file
cp <SPC Source>/SEEDS/Piterate2.seed make_scriptP.seed

Generate the scripts (This makes the scripts and also outputs several commands to run the scripts to standard output)
/usr/local/bin/make_scriptP > run.sh

Run the scripts (this will execute the shell commands)
sh run.sh

Monitor progress
/usr/local/bin/find_nofitP

It will generate output that shows the progress and landmarks with problems. If the landmark has a leading *, then there is a serious problem that must be fixed. Try to align the landmarks by hand, or try methods suggested by "Problems".



shape model



== Bob's Script ==
Taken from densify.txt

{{{....................................
do this
....................................

cd SHAPEFILES
chmod +w SHAPE.TXT
cd ..

~/Planets/Real/Shaper/dumber.e
SHAPEFILES/SHAPE.TXT
SHAPEFILES/SHAPED.TXT
16
y
ed SCRIPTS/view_shape.txt

....................................
optional equalize ICQ cells (can be iterated)
....................................

EQUALIZE
SHAPEFILES/SHAPED.TXT
SHAPEFILES/SHAPEE.TXT
shape2maps
SHAPEFILES/SHAPEE.TXT
cp SHAPEFILES/SHAPEE.TXT SHAPEFILES/SHAPED.TXT

....................................
then do this
....................................

densify
SHAPEFILES/SHAPED.TXT
2, 30, 1.8675743
SHAPEFILES/SHAPEX.TXT
1
.005
.025
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
shape2maps
SHAPEFILES/SHAPEX.TXT
shape_info
SHAPEFILES/SHAPEX.TXT
cp SHAPEFILES/SHAPEX.TXT SHAPEFILES/SHAPE0.TXT

densify
SHAPEFILES/SHAPE0.TXT
2, 10, 1.6938756
SHAPEFILES/SHAPEX.TXT
1
.005
.025
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
shape2maps
SHAPEFILES/SHAPEX.TXT
shape_info
SHAPEFILES/SHAPEX.TXT
cp SHAPEFILES/SHAPEX.TXT SHAPEFILES/SHAPE1.TXT

densify
SHAPEFILES/SHAPE1.TXT
2, 10, 1.5691027
SHAPEFILES/SHAPEX.TXT
1
.005
.025
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
shape2maps
SHAPEFILES/SHAPEX.TXT
shape_info
SHAPEFILES/SHAPEX.TXT
cp SHAPEFILES/SHAPEX.TXT SHAPEFILES/SHAPE2.TXT

....................................
do this for
SHAPE AND SIGMA
....................................

densify
SHAPEFILES/SHAPE2.TXT
2, 10, 1.7041457
SHAPEFILES/SHAPEX.TXT
1
.005
.025
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
shape2maps
SHAPEFILES/SHAPEX.TXT
shape_info
SHAPEFILES/SHAPEX.TXT
cp SHAPEFILES/SHAPEX.TXT SHAPEFILES/SHAPE.TXT
cp SHAPEFILES/SHAPEX.TXT SHAPEFILES/SHAPE3.TXT

....................................
do this for
SHAPE AND ALBEDO
....................................

densifya
SHAPEFILES/SHAPE2.TXT
2, 10, 1.7041457
SHAPEFILES/SHAPEA.TXT
1
.005
.025
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
shape2mapsA
SHAPEFILES/SHAPEA.TXT
shape_info
SHAPEFILES/SHAPEA.TXT


dumber
./SHAPEFILES/SHAPEA.TXT
./SHAPEFILES/SHAPE.TXT
1
y

cp SHAPEFILES/SHAPE.TXT SHAPEFILES/SHAPE3.TXT

dumber
./SHAPEFILES/SHAPE.TXT
./SHAPEFILES/SHAPE0.TXT
8
y

....................................
Make DSK files (optional)
....................................

cd SHAPEFILES
rm -f ceres512.bds
~/alpha_dsk/exe/mkdsk
COMMAND.TXT
cd ..

cd SHAPEFILES
rm -f ceres064.bds
~/alpha_dsk/exe/mkdsk
COMMAND0.TXT
cd ..

cd SHAPEFILES
rm -f ceres128.bds
~/alpha_dsk/exe/mkdsk
COMMAND1.TXT
cd ..

....................................

shape model

Bob's Script

Taken from densify.txt

{{{.................................... do this ....................................

cd SHAPEFILES chmod +w SHAPE.TXT cd ..

~/Planets/Real/Shaper/dumber.e SHAPEFILES/SHAPE.TXT SHAPEFILES/SHAPED.TXT 16 y ed SCRIPTS/view_shape.txt

.................................... optional equalize ICQ cells (can be iterated) ....................................

EQUALIZE SHAPEFILES/SHAPED.TXT SHAPEFILES/SHAPEE.TXT shape2maps SHAPEFILES/SHAPEE.TXT cp SHAPEFILES/SHAPEE.TXT SHAPEFILES/SHAPED.TXT

.................................... then do this ....................................

densify SHAPEFILES/SHAPED.TXT 2, 30, 1.8675743 SHAPEFILES/SHAPEX.TXT 1 .005 .025 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 shape2maps SHAPEFILES/SHAPEX.TXT shape_info SHAPEFILES/SHAPEX.TXT cp SHAPEFILES/SHAPEX.TXT SHAPEFILES/SHAPE0.TXT

densify SHAPEFILES/SHAPE0.TXT 2, 10, 1.6938756 SHAPEFILES/SHAPEX.TXT 1 .005 .025 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 shape2maps SHAPEFILES/SHAPEX.TXT shape_info SHAPEFILES/SHAPEX.TXT cp SHAPEFILES/SHAPEX.TXT SHAPEFILES/SHAPE1.TXT

densify SHAPEFILES/SHAPE1.TXT 2, 10, 1.5691027 SHAPEFILES/SHAPEX.TXT 1 .005 .025 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 shape2maps SHAPEFILES/SHAPEX.TXT shape_info SHAPEFILES/SHAPEX.TXT cp SHAPEFILES/SHAPEX.TXT SHAPEFILES/SHAPE2.TXT

.................................... do this for SHAPE AND SIGMA ....................................

densify SHAPEFILES/SHAPE2.TXT 2, 10, 1.7041457 SHAPEFILES/SHAPEX.TXT 1 .005 .025 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 shape2maps SHAPEFILES/SHAPEX.TXT shape_info SHAPEFILES/SHAPEX.TXT cp SHAPEFILES/SHAPEX.TXT SHAPEFILES/SHAPE.TXT cp SHAPEFILES/SHAPEX.TXT SHAPEFILES/SHAPE3.TXT

.................................... do this for SHAPE AND ALBEDO ....................................

densifya SHAPEFILES/SHAPE2.TXT 2, 10, 1.7041457 SHAPEFILES/SHAPEA.TXT 1 .005 .025 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 shape2mapsA SHAPEFILES/SHAPEA.TXT shape_info SHAPEFILES/SHAPEA.TXT

dumber ./SHAPEFILES/SHAPEA.TXT ./SHAPEFILES/SHAPE.TXT 1 y

cp SHAPEFILES/SHAPE.TXT SHAPEFILES/SHAPE3.TXT

dumber ./SHAPEFILES/SHAPE.TXT ./SHAPEFILES/SHAPE0.TXT 8 y

.................................... Make DSK files (optional) ....................................

cd SHAPEFILES rm -f ceres512.bds ~/alpha_dsk/exe/mkdsk COMMAND.TXT cd ..

cd SHAPEFILES rm -f ceres064.bds ~/alpha_dsk/exe/mkdsk COMMAND0.TXT cd ..

cd SHAPEFILES rm -f ceres128.bds ~/alpha_dsk/exe/mkdsk COMMAND1.TXT cd ..

.................................... }}}

Building a shape model (last edited 2015-06-02 23:46:53 by EricPalmer)