Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2014-02-03 10:39:17
Size: 431
Editor: EricPalmer
Comment:
Revision 4 as of 2015-04-06 12:04:01
Size: 1640
Editor: EricPalmer
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
["Test Files"] = make_sumfiles.e =
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].
Line 6: Line 7:
I don't know what B-Frame is. B-Frame let's you set the NOM and SUM to the body fixed frame.

Line 10: Line 13:
This program is non-standard. 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.
Line 11: Line 15:
{{{ === Input - files ===
 * ["make_sumfiles.txt"] - list of SPICE kernels
 * ["make_sumfiles.in"] - list of files from ["process_img"]
Line 13: Line 19:
~/bin/e.make_sumfiles
Line 15: Line 20:
}}} === Output ===
 * ["PICTLIST.TXT"]
 * ["IMAGEFILES"]
 * ["SUMFILES"]
 * ["NOMINALS"]



Line 29: Line 42:

== Output ==

 * ["PICTLIST.TXT"]
 * ["NOMINALS"]
 * ["SUMFILES"]



== 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)
}}}

make_sumfiles.e

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].

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. 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

  • ["make_sumfiles.txt"] - list of SPICE kernels
  • ["make_sumfiles.in"] - list of files from ["process_img"]

Output

  • ["PICTLIST.TXT"]
  • ["IMAGEFILES"]
  • ["SUMFILES"]
  • ["NOMINALS"]

 ~/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

  • ["PICTLIST.TXT"]
  • ["NOMINALS"]
  • ["SUMFILES"]

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)

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