Differences between revisions 9 and 10
Revision 9 as of 2015-05-20 11:46:22
Size: 1947
Comment:
Revision 10 as of 2016-01-14 09:57:17
Size: 1979
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
make_sumfiles ingests in images into SPC. It takes in, as standard input, the name and camera position of the images. It will convert the image into the <filename>.DAT format in [IMAGEFILES]. It will also generate <filename>.SUM in [SUMFILES] and <filename>.NOM in [NOMINALS]. Finally, it will append the image name onto [PICTLIST.TXT]. === Description ===
In general,
make_sumfiles ingests images into SPC. It takes in, as a standard input, the name and camera position of the images. It will convert the image into the <filename>.DAT format in [IMAGEFILES]. It will also generate <filename>.SUM in [SUMFILES] and <filename>.NOM in [NOMINALS]. Finally, it will append the image name onto [PICTLIST.TXT].

make_sumfiles

Description

In general, make_sumfiles ingests images into SPC. It takes in, as a standard input, the name and camera position of the images. It will convert the image into the <filename>.DAT format in [IMAGEFILES]. It will also generate <filename>.SUM in [SUMFILES] and <filename>.NOM in [NOMINALS]. Finally, it will append the image name onto [PICTLIST.TXT].

Builds the sumfile and nominals

B-Frame let's you set the NOM and SUM to the body fixed frame.

You must update the ck and spk entries in make_sumfiles.txt. You must have entries that cover the time of all of your images.

This program is non-standard. While the goal is to make a single version that does it all, each mission has a different image format. This program frequently has different versions for different missions to get the data in a form usable by SPC.

Input - files

 ~/bin/e.make_sumfiles 
 Use B-Frame? (y/n)
n
 0.  Create SUMFILES & NOMINALS and ..
 1.  Update old NOMINALS and ..
 2.  Update old SUMFILES 
0

Output

Example for Mercator

  • Image name (the name of the image in pgm format, and stored in [NEW_IMAGES])

 A1_05
  • Image time

 410256.22608  (this is GPS time, but sometimes UTC is used)
  • Camera Location

 31.69495, -110.62658, 17716.61873  (for Mercator, this is Lat/Lon and altitude of the aircraft)

Alternative Description

  • Combines the converted image file with the image number, spacecraft state, spacecraft position & velocity and pointing information along with the associated calculated errors (Sigmas)

make_sumfiles (last edited 2018-05-05 19:07:31 by BMittan)